Spaces:
Running
Running
File size: 3,920 Bytes
28f4aa5 8afc128 28f4aa5 8afc128 28f4aa5 8afc128 28f4aa5 8afc128 28f4aa5 8afc128 28f4aa5 8afc128 28f4aa5 8afc128 28f4aa5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 | /* Global Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
background-color: #000;
color: #fff;
}
/* Scrollbar Styling */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
background: #333;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #444;
}
/* Button Hover Effects */
.btn-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
transition: all 0.3s ease;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}
/* Card Animations */
.card {
transition: all 0.3s ease;
}
.card:hover {
transform: translateY(-4px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
/* Chart Container Responsive */
.chart-container {
position: relative;
height: 300px;
width: 100%;
}
@media (max-width: 768px) {
.chart-container {
height: 250px;
}
}
/* Loading Animation */
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
.loading {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
/* Recovery Score Animation */
@keyframes scoreReveal {
from {
transform: scale(0);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
.score-animate {
animation: scoreReveal 0.6s ease-out;
}
/* Stress Button Active State */
.stress-btn.active {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-color: #667eea;
}
/* Chat Message Animation */
@keyframes slideIn {
from {
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.chat-message {
animation: slideIn 0.3s ease-out;
}
/* Navigation Active State */
.nav-active {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
/* Recovery Zone Colors */
.recovery-green {
color: #10b981;
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.recovery-yellow {
color: #f59e0b;
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.recovery-red {
color: #ef4444;
background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}
/* Mobile Responsiveness */
@media (max-width: 640px) {
.container {
padding-left: 1rem;
padding-right: 1rem;
}
.text-5xl {
font-size: 2.5rem;
}
.text-3xl {
font-size: 1.5rem;
}
}
/* Glass Morphism Effect */
.glass {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Progress Ring Styles */
.progress-ring {
transform: rotate(-90deg);
}
.progress-ring-circle {
transition: stroke-dashoffset 0.35s;
stroke: #10b981;
}
/* Activity Card Styles */
.activity-card {
transition: all 0.3s ease;
cursor: pointer;
}
.activity-card:hover {
transform: translateX(8px);
}
/* Journal Entry Styles */
.journal-entry {
border-left: 3px solid #667eea;
transition: all 0.3s ease;
}
.journal-entry:hover {
border-left-color: #764ba2;
background: rgba(102, 126, 234, 0.1);
}
/* Custom Checkbox */
.custom-checkbox {
appearance: none;
width: 20px;
height: 20px;
border: 2px solid #444;
border-radius: 4px;
position: relative;
cursor: pointer;
transition: all 0.3s ease;
}
.custom-checkbox:checked {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-color: #667eea;
}
.custom-checkbox:checked::after {
content: '✓';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-size: 14px;
} |