|
65 | 65 | radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 34%), |
66 | 66 | radial-gradient(circle at bottom right, rgba(93, 64, 55, 0.12), transparent 28%), |
67 | 67 | var(--bg-color); |
| 68 | + color: var(--text-main); |
68 | 69 | } |
69 | 70 |
|
70 | 71 | body.auth-page::before, |
|
129 | 130 | flex-direction: column; |
130 | 131 | justify-content: space-between; |
131 | 132 | min-height: 100%; |
| 133 | + color: #fff7ef; |
132 | 134 | } |
133 | 135 |
|
134 | 136 | .auth-intro::after { |
|
147 | 149 | text-transform: uppercase; |
148 | 150 | font-size: 0.78rem; |
149 | 151 | font-weight: 700; |
| 152 | + line-height: 1.25; |
150 | 153 | } |
151 | 154 |
|
152 | 155 | .auth-intro h1 { |
153 | 156 | margin-top: 0.85rem; |
154 | 157 | max-width: 10ch; |
155 | | - font-size: clamp(2.25rem, 4vw, 4.25rem); |
156 | | - line-height: 0.98; |
| 158 | + font-size: var(--type-display-size, clamp(2.05rem, 4vw, 4rem)); |
| 159 | + line-height: 1.02; |
| 160 | + color: #fff7ef; |
157 | 161 | } |
158 | 162 |
|
159 | 163 | .auth-copy { |
160 | 164 | margin-top: 1.25rem; |
161 | | - max-width: 34rem; |
162 | | - font-size: 1.05rem; |
163 | | - line-height: 1.7; |
| 165 | + max-width: 32rem; |
| 166 | + font-size: 1rem; |
| 167 | + line-height: 1.75; |
164 | 168 | color: rgba(255, 247, 239, 0.84); |
165 | 169 | } |
166 | 170 |
|
|
197 | 201 | padding: clamp(2rem, 4vw, 3.25rem); |
198 | 202 | border-radius: 28px; |
199 | 203 | text-align: left; |
200 | | - background: var(--book-bg); |
| 204 | + background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 249, 0.9)); |
201 | 205 | backdrop-filter: blur(14px); |
202 | 206 | box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12); |
203 | | - border: 1px solid rgba(0, 0, 0, 0.06); |
| 207 | + border: 1px solid rgba(93, 64, 55, 0.12); |
| 208 | + color: var(--text-main); |
204 | 209 | } |
205 | 210 |
|
206 | 211 | .auth-kicker { |
|
209 | 214 |
|
210 | 215 | #authTitle { |
211 | 216 | margin-top: 0.7rem; |
212 | | - font-size: clamp(2rem, 3vw, 2.6rem); |
213 | | - line-height: 1.05; |
| 217 | + font-size: var(--type-heading-1-size, clamp(1.95rem, 3vw, 2.55rem)); |
| 218 | + line-height: 1.08; |
| 219 | + color: var(--text-main); |
214 | 220 | } |
215 | 221 |
|
216 | 222 | .auth-subtitle { |
217 | 223 | margin-top: 0.75rem; |
218 | 224 | color: var(--text-muted); |
219 | | - line-height: 1.6; |
| 225 | + font-size: 0.98rem; |
| 226 | + line-height: 1.68; |
220 | 227 | } |
221 | 228 |
|
222 | 229 | #authForm { |
|
287 | 294 | background: linear-gradient(135deg, var(--wood-dark), #1f1a17); |
288 | 295 | color: #fff7ef; |
289 | 296 | font-family: 'Playfair Display', serif; |
290 | | - font-size: 1.08rem; |
| 297 | + font-size: 1rem; |
291 | 298 | letter-spacing: 0.03em; |
292 | 299 | box-shadow: 0 14px 30px rgba(44, 36, 32, 0.22); |
293 | 300 | transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; |
|
308 | 315 | width: 100%; |
309 | 316 | padding: 0.9rem 1rem; |
310 | 317 | margin-top: 1rem; |
311 | | - background: #fff; |
312 | | - color: #2c2c2c; |
313 | | - border: 1px solid #ddd; |
314 | | - border-radius: 6px; |
| 318 | + background: rgba(255, 255, 255, 0.92); |
| 319 | + color: var(--text-main); |
| 320 | + border: 1px solid rgba(93, 64, 55, 0.16); |
| 321 | + border-radius: 12px; |
315 | 322 | cursor: pointer; |
316 | 323 | font-family: 'Playfair Display', serif; |
317 | | - font-size: 1rem; |
| 324 | + font-size: 0.96rem; |
318 | 325 | display: flex; |
319 | 326 | align-items: center; |
320 | 327 | justify-content: center; |
|
323 | 330 |
|
324 | 331 | .toggle-link { |
325 | 332 | display: inline-flex; |
326 | | - color: var(--text-muted); |
| 333 | + color: var(--wood-dark); |
327 | 334 | font-size: 0.96rem; |
328 | 335 | cursor: pointer; |
329 | 336 | text-decoration: underline; |
330 | 337 | text-underline-offset: 0.2em; |
| 338 | + line-height: 1.5; |
331 | 339 | } |
332 | 340 |
|
333 | 341 | @media (max-width: 900px) { |
|
359 | 367 | border-radius: 22px; |
360 | 368 | } |
361 | 369 |
|
| 370 | + .auth-intro h1 { |
| 371 | + font-size: var(--type-display-size, clamp(1.9rem, 8vw, 2.9rem)); |
| 372 | + } |
| 373 | + |
| 374 | + .auth-copy { |
| 375 | + font-size: 0.96rem; |
| 376 | + line-height: 1.7; |
| 377 | + } |
| 378 | + |
| 379 | + #authTitle { |
| 380 | + font-size: var(--type-heading-1-size, clamp(1.75rem, 6vw, 2.2rem)); |
| 381 | + } |
| 382 | + |
| 383 | + .auth-subtitle { |
| 384 | + font-size: 0.95rem; |
| 385 | + line-height: 1.65; |
| 386 | + } |
| 387 | + |
362 | 388 | .auth-highlights li { |
363 | 389 | padding: 0.9rem 0.95rem; |
364 | 390 | } |
365 | 391 | } |
366 | 392 |
|
367 | | - #forgotPasswordPanel, |
368 | | - #resetPasswordPanel { |
369 | | - display: none; |
| 393 | + [data-theme="night"] body.auth-page { |
| 394 | + background: |
| 395 | + radial-gradient(circle at top left, rgba(252, 203, 78, 0.12), transparent 34%), |
| 396 | + radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.04), transparent 28%), |
| 397 | + var(--bg-color); |
| 398 | + color: var(--text-main); |
370 | 399 | } |
371 | 400 |
|
372 | | - .auth-panel-actions { |
373 | | - margin-top: 1rem; |
| 401 | + [data-theme="night"] body.auth-page::before { |
| 402 | + background: rgba(252, 203, 78, 0.08); |
374 | 403 | } |
375 | 404 |
|
376 | | - .auth-hint { |
377 | | - font-size: 0.85rem; |
378 | | - color: #666; |
379 | | - margin-bottom: 1rem; |
380 | | - line-height: 1.4; |
| 405 | + [data-theme="night"] body.auth-page::after { |
| 406 | + background: rgba(255, 255, 255, 0.04); |
381 | 407 | } |
382 | 408 |
|
383 | | - #forgotResetLinkBox { |
384 | | - display: none; |
385 | | - margin-top: 1rem; |
386 | | - padding: 0.75rem; |
387 | | - background: #f5f5f0; |
388 | | - border-radius: 6px; |
389 | | - text-align: left; |
390 | | - font-size: 0.85rem; |
391 | | - word-break: break-all; |
| 409 | + [data-theme="night"] .auth-intro { |
| 410 | + background: |
| 411 | + linear-gradient(145deg, rgba(60, 40, 30, 0.96), rgba(34, 24, 20, 0.94)), |
| 412 | + var(--wood-dark); |
| 413 | + color: #fff1e6; |
| 414 | + border-color: rgba(252, 203, 78, 0.18); |
| 415 | + } |
| 416 | + |
| 417 | + [data-theme="night"] .auth-intro h1, |
| 418 | + [data-theme="night"] .auth-eyebrow, |
| 419 | + [data-theme="night"] .auth-copy, |
| 420 | + [data-theme="night"] .auth-highlights li { |
| 421 | + color: #fff1e6; |
| 422 | + } |
| 423 | + |
| 424 | + [data-theme="night"] .auth-highlights li { |
| 425 | + background: rgba(255, 255, 255, 0.06); |
| 426 | + border-color: rgba(252, 203, 78, 0.14); |
392 | 427 | } |
393 | 428 |
|
394 | | - #forgotResetLinkBox a { |
395 | | - color: #2c2c2c; |
396 | | - font-weight: 600; |
| 429 | + [data-theme="night"] .auth-container { |
| 430 | + background: linear-gradient(180deg, rgba(33, 26, 22, 0.95), rgba(24, 19, 16, 0.92)); |
| 431 | + color: #f5e9db; |
| 432 | + border-color: rgba(252, 203, 78, 0.12); |
| 433 | + box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28); |
| 434 | + } |
| 435 | + |
| 436 | + [data-theme="night"] #authTitle, |
| 437 | + [data-theme="night"] .auth-subtitle, |
| 438 | + [data-theme="night"] .toggle-link { |
| 439 | + color: #f5e9db; |
| 440 | + } |
| 441 | + |
| 442 | + [data-theme="night"] .auth-input { |
| 443 | + background: rgba(255, 255, 255, 0.06); |
| 444 | + color: #f5e9db; |
| 445 | + border-color: rgba(252, 203, 78, 0.16); |
| 446 | + } |
| 447 | + |
| 448 | + [data-theme="night"] .auth-input::placeholder { |
| 449 | + color: rgba(245, 233, 219, 0.68); |
| 450 | + } |
| 451 | + |
| 452 | + [data-theme="night"] .auth-input:focus { |
| 453 | + background: rgba(255, 255, 255, 0.08); |
| 454 | + border-color: rgba(252, 203, 78, 0.55); |
| 455 | + } |
| 456 | + |
| 457 | + [data-theme="night"] .google-auth-btn { |
| 458 | + background: rgba(255, 255, 255, 0.08); |
| 459 | + color: #f5e9db; |
| 460 | + border-color: rgba(252, 203, 78, 0.16); |
397 | 461 | } |
398 | 462 |
|
399 | 463 | /* Password Strength Styles */ |
|
0 commit comments