:root { color-scheme: dark; --bg: #111111; --panel: #191919; --field: #222222; --border: #353535; --text: #f4f4f3; --muted: #9b9995; --accent: #5999d9; --accent-hover: #6aa6e2; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--text); background: var(--bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: min(100%, 430px); padding: 32px; background: var(--panel); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 22px 65px rgba(0,0,0,.3); }
.auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; font-weight: 650; }
.auth-brand img { width: 34px; height: 34px; object-fit: contain; }
h1 { margin: 0 0 8px; font-size: 25px; letter-spacing: -.025em; }
.auth-intro, .auth-switch { color: var(--muted); font-size: 13px; line-height: 1.55; }
.auth-intro { margin: 0 0 24px; }
.auth-form { display: grid; gap: 9px; }
.auth-form label { margin-top: 5px; font-size: 12px; font-weight: 600; }
.auth-form input { width: 100%; padding: 11px 12px; color: var(--text); background: var(--field); border: 1px solid var(--border); border-radius: 8px; outline: none; font: inherit; font-size: 14px; }
.auth-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(89,153,217,.16); }
.auth-form button { margin-top: 12px; padding: 11px 16px; color: white; background: var(--accent); border: 0; border-radius: 8px; cursor: pointer; font: inherit; font-weight: 650; }
.auth-form button:hover { background: var(--accent-hover); }
.auth-switch { margin: 22px 0 0; text-align: center; }
.auth-secondary-link { margin: 12px 0 0; font-size: 12px; text-align: center; }
.auth-message { margin: 0 0 18px; padding: 10px 12px; color: var(--text); background: var(--field); border: 1px solid var(--border); border-radius: 8px; font-size: 12px; line-height: 1.5; }
.auth-message.error { color: #f2a5a5; }
.verification-copy { text-align: center; }
.verification-copy h1 { margin-bottom: 12px; }
.verification-copy .auth-intro { max-width: 350px; margin-right: auto; margin-left: auto; }
.auth-eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.verification-icon { display: grid; width: 58px; height: 58px; margin: 2px auto 20px; place-items: center; color: var(--accent); background: rgba(89,153,217,.12); border: 1px solid rgba(89,153,217,.28); border-radius: 50%; }
.verification-icon svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.verification-icon.success { color: #70c995; background: rgba(72,173,116,.12); border-color: rgba(72,173,116,.28); }
.verification-waiting { display: flex; width: max-content; margin: 0 auto 22px; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.verification-waiting span { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 0 rgba(89,153,217,.5); animation: verification-pulse 1.8s infinite; }
.verification-waiting.verified { color: #70c995; }
.verification-waiting.verified span { background: #70c995; animation: none; }
.auth-secondary-button { display: inline-block; padding: 10px 15px; color: var(--text); text-decoration: none; background: var(--field); border: 1px solid var(--border); border-radius: 8px; }
.auth-secondary-button:hover { border-color: var(--accent); }
.verification-continue-form { margin-top: 4px; }
@keyframes verification-pulse { 70% { box-shadow: 0 0 0 7px rgba(89,153,217,0); } 100% { box-shadow: 0 0 0 0 rgba(89,153,217,0); } }
@media (prefers-reduced-motion: reduce) { .verification-waiting span { animation: none; } }
a { color: #84baf0; }
.auth-help { color: var(--muted); font-size: 11px; line-height: 1.45; }
.auth-help ul, .auth-errors ul { margin: 4px 0 0; padding-left: 18px; }
.auth-errors { color: #f2a5a5; font-size: 12px; line-height: 1.45; }
@media (max-width: 520px) { .auth-card { padding: 24px 20px; } }
