/* ============================================================
   Learn Venice — auth / sign-in (the /login page)
   Extracted from the login page's inline <style> so it survives the production
   CSP (`default-src https:` with no 'unsafe-inline' — inline styles are dropped,
   same-origin https stylesheets load fine). Same pattern as coming-soon.css.
   Loaded per-page by app/login/page.tsx.
   ============================================================ */
.auth-wrap { max-width: 460px; margin: 0 auto; padding: 60px 28px 40px; text-align: center; }
.auth-wrap .eyebrow { color: var(--stucco); }
.auth-wrap h1 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -0.015em; margin: 12px 0 10px; }
.auth-wrap > p { color: var(--ink-dim); font-size: 16px; margin: 0 0 28px; }

.auth-card { display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); text-align: left; }
.auth-discord-form { display: flex; flex-direction: column; gap: 12px; }
.auth-discord { justify-content: center; width: 100%; }

.auth-or { display: flex; align-items: center; gap: 12px; color: var(--ink-faint); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.12em; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.auth-email { display: flex; flex-direction: column; gap: 10px; }
.auth-email label { font-size: 13.5px; color: var(--ink-dim); }
.auth-email input { background: var(--midnight); border: 1px solid var(--border-strong); border-radius: 9px; color: var(--ink); font-family: var(--sans); font-size: 15px; padding: 11px 14px; width: 100%; }
.auth-email input:focus { outline: none; border-color: var(--venetian); box-shadow: 0 0 0 3px rgba(60,143,221,0.16); }
.auth-email .btn { justify-content: center; width: 100%; }

/* --- Step 2: the one-time code --- */
.auth-step { display: flex; flex-direction: column; gap: 16px; }

.auth-code { display: flex; flex-direction: column; gap: 10px; }
.auth-code label { font-size: 13.5px; color: var(--ink-dim); }
.auth-sent-to { color: var(--ink-faint); font-size: 12.5px; margin: -4px 0 2px; }
.auth-sent-to strong { color: var(--ink-dim); font-weight: 500; overflow-wrap: anywhere; }

/* One input rather than six boxes: paste, backspace and screen-reader behaviour
   all come free, and the tracking below still reads as discrete digits. */
.auth-code-input { background: var(--midnight); border: 1px solid var(--border-strong); border-radius: 9px; color: var(--ink); font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: 26px; letter-spacing: 0.34em; text-align: center; text-indent: 0.34em; padding: 13px 14px; width: 100%; }
.auth-code-input::placeholder { color: var(--ink-faint); opacity: 0.5; letter-spacing: 0.34em; }
.auth-code-input:focus { outline: none; border-color: var(--venetian); box-shadow: 0 0 0 3px rgba(60,143,221,0.16); }
.auth-verify { justify-content: center; width: 100%; }

.auth-code-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }

/* Text-button: a real <button> (so it is keyboard- and AT-reachable) that reads
   as a link. Used for resend / change-email, which are actions, not navigation. */
.auth-linkbtn { background: none; border: 0; padding: 0; color: var(--sea-light); cursor: pointer; font-family: inherit; font-size: 12.5px; text-decoration: underline; text-underline-offset: 2px; }
.auth-linkbtn:hover:not(:disabled) { color: var(--ink); }
.auth-linkbtn:disabled { color: var(--ink-faint); cursor: default; text-decoration: none; }

/* Single shared captcha, rendered explicitly into this holder (so it carries no
   .cf-turnstile class of its own). No reserved height: the widget runs in
   Cloudflare's Invisible mode and draws nothing, so a min-height would leave a
   permanent empty gap under the button. It sizes itself if the widget mode is
   ever switched back to Managed/Non-Interactive. */
.auth-captcha:not(:empty) { margin-top: 2px; }

.auth-ok { color: var(--sea-light); font-size: 14px; margin: 4px 0 0; }
.auth-err { color: var(--stucco); font-size: 14px; margin: 4px 0 0; }
.auth-note { color: var(--ink-faint); font-size: 12.5px; line-height: 1.5; margin: 6px 0 0; }

/* Profile page (/profile) — reuses the sign-in card's shell. */
.profile-facts { display: flex; flex-wrap: wrap; gap: 18px 28px; margin: 0; }
.profile-facts div { display: flex; flex-direction: column; gap: 3px; }
.profile-facts dt { color: var(--ink-faint); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.profile-facts dd { margin: 0; font-size: 15px; }
