Spaces:
Sleeping
Sleeping
Latest Style changes including profile and past report (#41)
Browse files- Latest Style changes including profile and past report (be1a0389f144d816ade5e5eaf8c78c467727434e)
Co-authored-by: Aanya Choudhary <[email protected]>
- web/style.css +585 -332
web/style.css
CHANGED
|
@@ -1,334 +1,587 @@
|
|
| 1 |
:root {
|
| 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 |
-
color: #333;
|
| 60 |
-
transition: color 0.3s ease;
|
| 61 |
-
}
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
/* ---------- BUTTONS ---------- */
|
| 65 |
-
#editProfileBtn,
|
| 66 |
-
#saveProfileBtn,
|
| 67 |
-
#cancelProfileBtn,
|
| 68 |
-
#addEntryBtn,
|
| 69 |
-
#resetChartBtn,
|
| 70 |
-
#analyzerBtn {
|
| 71 |
-
background-color: var(--tropical-indigo);
|
| 72 |
-
color: white;
|
| 73 |
-
transition: background-color 0.3s ease;
|
| 74 |
-
}
|
| 75 |
-
#editProfileBtn:hover,
|
| 76 |
-
#saveProfileBtn:hover,
|
| 77 |
-
#addEntryBtn:hover,
|
| 78 |
-
#analyzerBtn:hover {
|
| 79 |
-
background-color: #5ba5dd;
|
| 80 |
-
}
|
| 81 |
-
#resetChartBtn:hover {
|
| 82 |
-
background-color: #e63946;
|
| 83 |
-
}
|
| 84 |
-
|
| 85 |
-
/* ---------- INPUTS ---------- */
|
| 86 |
-
input,
|
| 87 |
-
textarea {
|
| 88 |
-
border: 1px solid var(--wisteria);
|
| 89 |
-
background-color: #fafbfc;
|
| 90 |
-
}
|
| 91 |
-
input:focus,
|
| 92 |
-
textarea:focus {
|
| 93 |
-
outline: none;
|
| 94 |
-
border-color: var(--tropical-indigo);
|
| 95 |
-
box-shadow: 0 0 0 2px rgba(120, 187, 242, 0.3);
|
| 96 |
-
}
|
| 97 |
-
|
| 98 |
-
/* HEADINGS */
|
| 99 |
-
h1,
|
| 100 |
-
h2,
|
| 101 |
-
h3,
|
| 102 |
-
h4 {
|
| 103 |
-
color: var(--tropical-indigo);
|
| 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 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
| 254 |
-
|
| 255 |
-
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
.
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
|
| 283 |
-
|
| 284 |
-
|
| 285 |
-
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
|
| 290 |
-
|
| 291 |
-
|
| 292 |
-
|
| 293 |
-
|
| 294 |
-
|
| 295 |
-
|
| 296 |
-
|
| 297 |
-
|
| 298 |
-
|
| 299 |
-
|
| 300 |
-
|
| 301 |
-
|
| 302 |
-
|
| 303 |
-
|
| 304 |
-
|
| 305 |
-
|
| 306 |
-
|
| 307 |
-
|
| 308 |
-
|
| 309 |
-
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
|
| 313 |
-
|
| 314 |
-
|
| 315 |
-
|
| 316 |
-
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
|
| 320 |
-
|
| 321 |
-
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
|
| 328 |
-
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
|
| 334 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
:root {
|
| 2 |
+
--tropical-indigo: rgb(120, 187, 242);
|
| 3 |
+
--latte-cream: #ffffff;
|
| 4 |
+
--wisteria: #c5dcff;
|
| 5 |
+
--navbar-height: 0px; /* dynamic padding */
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
body {
|
| 9 |
+
padding-top: var(--navbar-height);
|
| 10 |
+
transition: padding-top 0.2s ease;
|
| 11 |
+
font-family: "Rubik", sans-serif;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
/* ---------- NAVBAR area---------- */
|
| 15 |
+
nav {
|
| 16 |
+
backdrop-filter: blur(12px);
|
| 17 |
+
background-color: rgba(255, 255, 255, 0.2);
|
| 18 |
+
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
|
| 19 |
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
/* Logo */
|
| 23 |
+
nav .logo {
|
| 24 |
+
color: #333;
|
| 25 |
+
font-weight: bold;
|
| 26 |
+
transition: color 0.3s ease;
|
| 27 |
+
}
|
| 28 |
+
nav .logo:hover {
|
| 29 |
+
color: var(--tropical-indigo);
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
/* Desktop links and buttons */
|
| 33 |
+
nav a.nav-link,
|
| 34 |
+
nav button.nav-link {
|
| 35 |
+
color: #333;
|
| 36 |
+
transition: color 0.3s ease;
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
/* Hamburger */
|
| 40 |
+
#hamburger {
|
| 41 |
+
color: #333;
|
| 42 |
+
transition: color 0.3s ease;
|
| 43 |
+
}
|
| 44 |
+
#hamburger:hover {
|
| 45 |
+
color: var(--tropical-indigo);
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
/* Mobile Menu */
|
| 49 |
+
#mobile-menu {
|
| 50 |
+
backdrop-filter: blur(12px);
|
| 51 |
+
background-color: rgba(255, 255, 255, 0.3);
|
| 52 |
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
| 53 |
+
border-radius: 1rem;
|
| 54 |
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
| 55 |
+
}
|
| 56 |
+
#mobile-menu a,
|
| 57 |
+
#mobile-menu button {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
+
color: #333;
|
| 60 |
+
transition: color 0.3s ease;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
/* ---------- BUTTONS ---------- */
|
| 65 |
+
#editProfileBtn,
|
| 66 |
+
#saveProfileBtn,
|
| 67 |
+
#cancelProfileBtn,
|
| 68 |
+
#addEntryBtn,
|
| 69 |
+
#resetChartBtn,
|
| 70 |
+
#analyzerBtn {
|
| 71 |
+
background-color: var(--tropical-indigo);
|
| 72 |
+
color: white;
|
| 73 |
+
transition: background-color 0.3s ease;
|
| 74 |
+
}
|
| 75 |
+
#editProfileBtn:hover,
|
| 76 |
+
#saveProfileBtn:hover,
|
| 77 |
+
#addEntryBtn:hover,
|
| 78 |
+
#analyzerBtn:hover {
|
| 79 |
+
background-color: #5ba5dd;
|
| 80 |
+
}
|
| 81 |
+
#resetChartBtn:hover {
|
| 82 |
+
background-color: #e63946;
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
/* ---------- INPUTS ---------- */
|
| 86 |
+
input,
|
| 87 |
+
textarea {
|
| 88 |
+
border: 1px solid var(--wisteria);
|
| 89 |
+
background-color: #fafbfc;
|
| 90 |
+
}
|
| 91 |
+
input:focus,
|
| 92 |
+
textarea:focus {
|
| 93 |
+
outline: none;
|
| 94 |
+
border-color: var(--tropical-indigo);
|
| 95 |
+
box-shadow: 0 0 0 2px rgba(120, 187, 242, 0.3);
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
/* HEADINGS */
|
| 99 |
+
h1,
|
| 100 |
+
h2,
|
| 101 |
+
h3,
|
| 102 |
+
h4 {
|
| 103 |
+
color: var(--tropical-indigo);
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
/* Chart Card */
|
| 107 |
+
#chartSection > div {
|
| 108 |
+
background-color: var(--latte-cream);
|
| 109 |
+
border: 1px solid var(--wisteria);
|
| 110 |
+
border-radius: 1rem;
|
| 111 |
+
padding: 1.5rem;
|
| 112 |
+
}
|
| 113 |
+
.rec-card {
|
| 114 |
+
background-color: var(--latte-cream);
|
| 115 |
+
border: 1px solid var(--wisteria);
|
| 116 |
+
border-radius: 1rem;
|
| 117 |
+
padding: 1.25rem;
|
| 118 |
+
margin-bottom: 1.5rem;
|
| 119 |
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
| 120 |
+
transition: all 0.3s ease;
|
| 121 |
+
}
|
| 122 |
+
.rec-card:hover {
|
| 123 |
+
transform: translateY(-3px);
|
| 124 |
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
|
| 125 |
+
}
|
| 126 |
+
.rec-title {
|
| 127 |
+
font-size: 1.125rem;
|
| 128 |
+
font-weight: 700;
|
| 129 |
+
color: var(--tropical-indigo);
|
| 130 |
+
margin-bottom: 0.5rem;
|
| 131 |
+
}
|
| 132 |
+
.rec-badge {
|
| 133 |
+
font-size: 0.75rem;
|
| 134 |
+
font-weight: 600;
|
| 135 |
+
padding: 0.25rem 0.75rem;
|
| 136 |
+
border-radius: 9999px;
|
| 137 |
+
}
|
| 138 |
+
.badge-high {
|
| 139 |
+
background-color: #fee2e2;
|
| 140 |
+
color: #b91c1c;
|
| 141 |
+
}
|
| 142 |
+
.badge-medium {
|
| 143 |
+
background-color: #fef3c7;
|
| 144 |
+
color: #92400e;
|
| 145 |
+
}
|
| 146 |
+
.badge-low {
|
| 147 |
+
background-color: #d1fae5;
|
| 148 |
+
color: #065f46;
|
| 149 |
+
}
|
| 150 |
+
.rec-content {
|
| 151 |
+
list-style-type: disc;
|
| 152 |
+
margin-left: 1.25rem;
|
| 153 |
+
font-size: 0.875rem;
|
| 154 |
+
color: #374151;
|
| 155 |
+
}
|
| 156 |
+
.rec-link {
|
| 157 |
+
color: var(--tropical-indigo);
|
| 158 |
+
text-decoration: underline;
|
| 159 |
+
}
|
| 160 |
+
.rec-link:hover {
|
| 161 |
+
color: #4b7bbd;
|
| 162 |
+
}
|
| 163 |
+
.btn-primary {
|
| 164 |
+
background-color: var(--tropical-indigo);
|
| 165 |
+
color: white;
|
| 166 |
+
transition: background-color 0.3s ease;
|
| 167 |
+
}
|
| 168 |
+
.btn-primary:hover {
|
| 169 |
+
background-color: #5ba5dd;
|
| 170 |
+
}
|
| 171 |
+
input,
|
| 172 |
+
textarea {
|
| 173 |
+
border: 1px solid var(--wisteria);
|
| 174 |
+
background-color: #fafbfc;
|
| 175 |
+
}
|
| 176 |
+
input:focus,
|
| 177 |
+
textarea:focus {
|
| 178 |
+
outline: none;
|
| 179 |
+
border-color: var(--tropical-indigo);
|
| 180 |
+
box-shadow: 0 0 0 2px rgba(120, 187, 242, 0.3);
|
| 181 |
+
}
|
| 182 |
+
h2,
|
| 183 |
+
h3 {
|
| 184 |
+
color: var(--tropical-indigo);
|
| 185 |
+
}
|
| 186 |
+
#chat-output {
|
| 187 |
+
background-color: #f7f9fc;
|
| 188 |
+
border: 1px solid var(--wisteria);
|
| 189 |
+
}
|
| 190 |
+
.fade-in {
|
| 191 |
+
opacity: 0;
|
| 192 |
+
transform: translateY(30px);
|
| 193 |
+
transition: all 0.8s ease-out;
|
| 194 |
+
}
|
| 195 |
+
.fade-in.show {
|
| 196 |
+
opacity: 1;
|
| 197 |
+
transform: translateY(0);
|
| 198 |
+
}
|
| 199 |
+
|
| 200 |
+
.glass-card {
|
| 201 |
+
background: rgba(162, 160, 160, 0.075);
|
| 202 |
+
backdrop-filter: blur(12px);
|
| 203 |
+
border-radius: 1rem;
|
| 204 |
+
border: 1px solid rgba(255, 255, 255, 0.3);
|
| 205 |
+
padding: 2rem;
|
| 206 |
+
text-align: center;
|
| 207 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 208 |
+
}
|
| 209 |
+
.glass-card:hover {
|
| 210 |
+
transform: translateY(-5px);
|
| 211 |
+
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
|
| 212 |
+
}
|
| 213 |
+
|
| 214 |
+
.nav-link {
|
| 215 |
+
position: relative;
|
| 216 |
+
padding-bottom: 4px;
|
| 217 |
+
transition: color 0.3s;
|
| 218 |
+
}
|
| 219 |
+
.nav-link::after {
|
| 220 |
+
content: "";
|
| 221 |
+
position: absolute;
|
| 222 |
+
width: 0%;
|
| 223 |
+
height: 2px;
|
| 224 |
+
bottom: 0;
|
| 225 |
+
left: 0;
|
| 226 |
+
background-color: black;
|
| 227 |
+
transition: width 0.3s ease;
|
| 228 |
+
}
|
| 229 |
+
.nav-link:hover::after {
|
| 230 |
+
width: 100%;
|
| 231 |
+
}
|
| 232 |
+
|
| 233 |
+
.parallax {
|
| 234 |
+
background-attachment: fixed;
|
| 235 |
+
background-size: cover;
|
| 236 |
+
background-position: center;
|
| 237 |
+
position: relative;
|
| 238 |
+
}
|
| 239 |
+
|
| 240 |
+
/* Typing effect styles */
|
| 241 |
+
#typed-heading,
|
| 242 |
+
#typed-paragraph {
|
| 243 |
+
overflow: hidden;
|
| 244 |
+
white-space: nowrap;
|
| 245 |
+
border-right: 2px solid var(--tropical-indigo);
|
| 246 |
+
}
|
| 247 |
+
.rec-card {
|
| 248 |
+
background-color: var(--latte-cream);
|
| 249 |
+
border: 1px solid var(--wisteria);
|
| 250 |
+
border-radius: 1rem;
|
| 251 |
+
padding: 1.25rem;
|
| 252 |
+
margin-bottom: 1.5rem;
|
| 253 |
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
| 254 |
+
transition: all 0.3s ease;
|
| 255 |
+
}
|
| 256 |
+
.rec-card:hover {
|
| 257 |
+
transform: translateY(-3px);
|
| 258 |
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
|
| 259 |
+
}
|
| 260 |
+
|
| 261 |
+
.rec-title {
|
| 262 |
+
font-size: 1.125rem;
|
| 263 |
+
font-weight: 700;
|
| 264 |
+
color: var(--tropical-indigo);
|
| 265 |
+
margin-bottom: 0.5rem;
|
| 266 |
+
}
|
| 267 |
+
|
| 268 |
+
.rec-badge {
|
| 269 |
+
font-size: 0.75rem;
|
| 270 |
+
font-weight: 600;
|
| 271 |
+
padding: 0.25rem 0.75rem;
|
| 272 |
+
border-radius: 9999px;
|
| 273 |
+
}
|
| 274 |
+
.badge-high {
|
| 275 |
+
background-color: #fee2e2;
|
| 276 |
+
color: #b91c1c;
|
| 277 |
+
}
|
| 278 |
+
.badge-medium {
|
| 279 |
+
background-color: #fef3c7;
|
| 280 |
+
color: #92400e;
|
| 281 |
+
}
|
| 282 |
+
.badge-low {
|
| 283 |
+
background-color: #d1fae5;
|
| 284 |
+
color: #065f46;
|
| 285 |
+
}
|
| 286 |
+
|
| 287 |
+
.rec-content {
|
| 288 |
+
list-style-type: disc;
|
| 289 |
+
margin-left: 1.25rem;
|
| 290 |
+
font-size: 0.875rem;
|
| 291 |
+
color: #374151;
|
| 292 |
+
}
|
| 293 |
+
|
| 294 |
+
.rec-link {
|
| 295 |
+
color: var(--tropical-indigo);
|
| 296 |
+
text-decoration: underline;
|
| 297 |
+
}
|
| 298 |
+
.rec-link:hover {
|
| 299 |
+
color: #4b7bbd;
|
| 300 |
+
}
|
| 301 |
+
|
| 302 |
+
.btn-primary {
|
| 303 |
+
background-color: var(--tropical-indigo);
|
| 304 |
+
color: white;
|
| 305 |
+
transition: background-color 0.3s ease;
|
| 306 |
+
}
|
| 307 |
+
.btn-primary:hover {
|
| 308 |
+
background-color: #5ba5dd;
|
| 309 |
+
}
|
| 310 |
+
|
| 311 |
+
input,
|
| 312 |
+
textarea {
|
| 313 |
+
border: 1px solid var(--wisteria);
|
| 314 |
+
background-color: #fafbfc;
|
| 315 |
+
}
|
| 316 |
+
input:focus,
|
| 317 |
+
textarea:focus {
|
| 318 |
+
outline: none;
|
| 319 |
+
border-color: var(--tropical-indigo);
|
| 320 |
+
box-shadow: 0 0 0 2px rgba(120, 187, 242, 0.3);
|
| 321 |
+
}
|
| 322 |
+
|
| 323 |
+
h2,
|
| 324 |
+
h3 {
|
| 325 |
+
color: var(--tropical-indigo);
|
| 326 |
+
}
|
| 327 |
+
|
| 328 |
+
#chat-output {
|
| 329 |
+
background-color: #f7f9fc;
|
| 330 |
+
border: 1px solid var(--wisteria);
|
| 331 |
+
}
|
| 332 |
+
.hidden-by-default {
|
| 333 |
+
display: none;
|
| 334 |
+
}
|
| 335 |
+
/* ---------- PROFILE CARD ---------- */
|
| 336 |
+
.profile-card {
|
| 337 |
+
background-color: var(--latte-cream);
|
| 338 |
+
border: 1px solid var(--wisteria);
|
| 339 |
+
border-radius: 1rem;
|
| 340 |
+
padding: 1.5rem;
|
| 341 |
+
display: flex;
|
| 342 |
+
flex-direction: column;
|
| 343 |
+
gap: 1.25rem;
|
| 344 |
+
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
|
| 345 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 346 |
+
}
|
| 347 |
+
|
| 348 |
+
.profile-card:hover {
|
| 349 |
+
transform: translateY(-4px);
|
| 350 |
+
box-shadow: 0 8px 20px rgba(0,0,0,0.12);
|
| 351 |
+
}
|
| 352 |
+
|
| 353 |
+
.profile-card .avatar {
|
| 354 |
+
width: 112px;
|
| 355 |
+
height: 112px;
|
| 356 |
+
border-radius: 9999px;
|
| 357 |
+
background: linear-gradient(135deg, #3b82f6, var(--tropical-indigo));
|
| 358 |
+
position: relative;
|
| 359 |
+
overflow: hidden;
|
| 360 |
+
}
|
| 361 |
+
|
| 362 |
+
.profile-card .avatar::after {
|
| 363 |
+
content: "";
|
| 364 |
+
position: absolute;
|
| 365 |
+
width: 100%;
|
| 366 |
+
height: 100%;
|
| 367 |
+
background: rgba(255,255,255,0.1);
|
| 368 |
+
border-radius: 9999px;
|
| 369 |
+
animation: pulse 2s infinite;
|
| 370 |
+
}
|
| 371 |
+
|
| 372 |
+
@keyframes pulse {
|
| 373 |
+
0% { transform: scale(0.9); opacity: 0.6; }
|
| 374 |
+
50% { transform: scale(1.1); opacity: 0.3; }
|
| 375 |
+
100% { transform: scale(0.9); opacity: 0.6; }
|
| 376 |
+
}
|
| 377 |
+
|
| 378 |
+
.profile-card h2 {
|
| 379 |
+
font-size: 1.5rem;
|
| 380 |
+
font-weight: 700;
|
| 381 |
+
color: var(--tropical-indigo);
|
| 382 |
+
}
|
| 383 |
+
|
| 384 |
+
.profile-card p {
|
| 385 |
+
font-size: 1rem;
|
| 386 |
+
color: #374151;
|
| 387 |
+
}
|
| 388 |
+
|
| 389 |
+
.profile-card .btn {
|
| 390 |
+
background-color: var(--tropical-indigo);
|
| 391 |
+
color: white;
|
| 392 |
+
padding: 0.5rem 1.25rem;
|
| 393 |
+
border-radius: 9999px;
|
| 394 |
+
font-weight: 500;
|
| 395 |
+
transition: background-color 0.3s ease;
|
| 396 |
+
}
|
| 397 |
+
|
| 398 |
+
.profile-card .btn:hover {
|
| 399 |
+
background-color: #5ba5dd;
|
| 400 |
+
}
|
| 401 |
+
|
| 402 |
+
/* ---------- HEALTH INSIGHTS COLLAPSIBLE ---------- */
|
| 403 |
+
#toggleInsights {
|
| 404 |
+
background: linear-gradient(135deg,#6366f1,#3b82f6);
|
| 405 |
+
color: white;
|
| 406 |
+
padding: 1rem 1.25rem;
|
| 407 |
+
border-radius: 1rem;
|
| 408 |
+
font-weight: 600;
|
| 409 |
+
display: flex;
|
| 410 |
+
justify-content: space-between;
|
| 411 |
+
align-items: center;
|
| 412 |
+
transition: opacity 0.3s ease;
|
| 413 |
+
}
|
| 414 |
+
|
| 415 |
+
#toggleInsights:hover {
|
| 416 |
+
opacity: 0.95;
|
| 417 |
+
}
|
| 418 |
+
|
| 419 |
+
.collapse-content {
|
| 420 |
+
max-height: 0;
|
| 421 |
+
overflow: hidden;
|
| 422 |
+
transition: max-height 0.5s ease;
|
| 423 |
+
}
|
| 424 |
+
|
| 425 |
+
.collapse-content.open {
|
| 426 |
+
max-height: 4000px;
|
| 427 |
+
}
|
| 428 |
+
|
| 429 |
+
.chart-wrap {
|
| 430 |
+
background-color: var(--latte-cream);
|
| 431 |
+
border: 1px solid var(--wisteria);
|
| 432 |
+
border-radius: 1rem;
|
| 433 |
+
padding: 1rem;
|
| 434 |
+
box-shadow: 0 4px 14px rgba(0,0,0,0.05);
|
| 435 |
+
}
|
| 436 |
+
|
| 437 |
+
/* ---------- SEVERITY SUMMARY CARDS ---------- */
|
| 438 |
+
.severity-card {
|
| 439 |
+
background-color: var(--latte-cream);
|
| 440 |
+
border: 1px solid var(--wisteria);
|
| 441 |
+
border-radius: 1rem;
|
| 442 |
+
padding: 1rem;
|
| 443 |
+
text-align: center;
|
| 444 |
+
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
|
| 445 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 446 |
+
}
|
| 447 |
+
|
| 448 |
+
.severity-card:hover {
|
| 449 |
+
transform: translateY(-3px);
|
| 450 |
+
box-shadow: 0 4px 12px rgba(0,0,0,0.12);
|
| 451 |
+
}
|
| 452 |
+
|
| 453 |
+
.severity-card .rec-title {
|
| 454 |
+
color: var(--tropical-indigo);
|
| 455 |
+
font-weight: 700;
|
| 456 |
+
font-size: 1.125rem;
|
| 457 |
+
margin-bottom: 0.5rem;
|
| 458 |
+
}
|
| 459 |
+
|
| 460 |
+
.severity-card .count {
|
| 461 |
+
font-size: 2rem;
|
| 462 |
+
font-weight: 700;
|
| 463 |
+
color: #374151;
|
| 464 |
+
}
|
| 465 |
+
|
| 466 |
+
/* ---------- FADE-IN EFFECT ---------- */
|
| 467 |
+
.fade-in {
|
| 468 |
+
opacity: 0;
|
| 469 |
+
transform: translateY(30px);
|
| 470 |
+
transition: all 0.8s ease-out;
|
| 471 |
+
}
|
| 472 |
+
.fade-in.show {
|
| 473 |
+
opacity: 1;
|
| 474 |
+
transform: translateY(0);
|
| 475 |
+
}
|
| 476 |
+
.section-heading {
|
| 477 |
+
font-size: 2rem; /* bigger, prominent */
|
| 478 |
+
font-weight: 800; /* bold */
|
| 479 |
+
margin-bottom: 1.5rem; /* spacing from tabs */
|
| 480 |
+
color: #1e40af; /* nice indigo shade */
|
| 481 |
+
text-align: center; /* centered */
|
| 482 |
+
letter-spacing: 0.5px; /* subtle letter spacing */
|
| 483 |
+
background: linear-gradient(90deg, #78bbf2, #22c55e); /* gradient text effect */
|
| 484 |
+
background-clip: text;
|
| 485 |
+
-webkit-background-clip: text;
|
| 486 |
+
-webkit-text-fill-color: transparent;
|
| 487 |
+
}
|
| 488 |
+
:root {
|
| 489 |
+
--green: #22c55e;
|
| 490 |
+
--red: #ef4444;
|
| 491 |
+
}
|
| 492 |
+
.range-card h3 {
|
| 493 |
+
color: #78bbf2;
|
| 494 |
+
}
|
| 495 |
+
.impact-label {
|
| 496 |
+
font-size: 0.85rem;
|
| 497 |
+
font-weight: 500;
|
| 498 |
+
color: #6b7280;
|
| 499 |
+
margin-bottom: 0.25rem;
|
| 500 |
+
}
|
| 501 |
+
.range-bar-container {
|
| 502 |
+
position: relative;
|
| 503 |
+
margin-bottom: 1rem;
|
| 504 |
+
}
|
| 505 |
+
.range-bar {
|
| 506 |
+
position: relative;
|
| 507 |
+
height: 30px;
|
| 508 |
+
border-radius: 12px;
|
| 509 |
+
background: transparent;
|
| 510 |
+
overflow: visible;
|
| 511 |
+
}
|
| 512 |
+
.normal-range {
|
| 513 |
+
position: absolute;
|
| 514 |
+
top: 10px;
|
| 515 |
+
left: 0;
|
| 516 |
+
height: 10px;
|
| 517 |
+
border-radius: 12px;
|
| 518 |
+
background: linear-gradient(to right, #d1fae5, var(--green));
|
| 519 |
+
}
|
| 520 |
+
.overflow-range {
|
| 521 |
+
position: absolute;
|
| 522 |
+
top: 10px;
|
| 523 |
+
height: 10px;
|
| 524 |
+
background: var(--red);
|
| 525 |
+
border-radius: 12px;
|
| 526 |
+
}
|
| 527 |
+
.marker {
|
| 528 |
+
position: absolute;
|
| 529 |
+
top: 0;
|
| 530 |
+
width: 2px;
|
| 531 |
+
height: 30px;
|
| 532 |
+
background: #111827;
|
| 533 |
+
}
|
| 534 |
+
.value-label {
|
| 535 |
+
position: absolute;
|
| 536 |
+
top: -20px;
|
| 537 |
+
font-weight: 700;
|
| 538 |
+
color: #111827;
|
| 539 |
+
font-size: 0.9rem;
|
| 540 |
+
transform: translateX(-50%);
|
| 541 |
+
}
|
| 542 |
+
.min-max-labels {
|
| 543 |
+
display: flex;
|
| 544 |
+
justify-content: space-between;
|
| 545 |
+
margin-top: 4px;
|
| 546 |
+
font-size: 0.8rem;
|
| 547 |
+
font-weight: 500;
|
| 548 |
+
color: #111827;
|
| 549 |
+
}
|
| 550 |
+
.tabs {
|
| 551 |
+
display: flex;
|
| 552 |
+
gap: 1rem;
|
| 553 |
+
margin-bottom: 1rem;
|
| 554 |
+
}
|
| 555 |
+
.tab {
|
| 556 |
+
flex: 1;
|
| 557 |
+
text-align: center;
|
| 558 |
+
padding: 0.75rem;
|
| 559 |
+
cursor: pointer;
|
| 560 |
+
background: #e5e7eb;
|
| 561 |
+
border-radius: 0.75rem;
|
| 562 |
+
display: flex;
|
| 563 |
+
justify-content: center;
|
| 564 |
+
gap: 0.5rem;
|
| 565 |
+
}
|
| 566 |
+
.tab.active {
|
| 567 |
+
background: #78bbf2;
|
| 568 |
+
color: rgb(0, 0, 0);
|
| 569 |
+
}
|
| 570 |
+
.count-badge {
|
| 571 |
+
background: rgba(255, 255, 255, 0.9);
|
| 572 |
+
padding: 0.2rem 0.6rem;
|
| 573 |
+
border-radius: 9999px;
|
| 574 |
+
font-weight: bold;
|
| 575 |
+
}
|
| 576 |
+
.tab-content {
|
| 577 |
+
display: none;
|
| 578 |
+
flex-direction: column;
|
| 579 |
+
gap: 1.5rem;
|
| 580 |
+
}
|
| 581 |
+
.tab-content.active {
|
| 582 |
+
display: flex;
|
| 583 |
+
}
|
| 584 |
+
|
| 585 |
+
.text-green-700 {
|
| 586 |
+
color: #4f46e5; /* your new tropical-indigo hover color */
|
| 587 |
+
}
|