/* Sign-in pages (login, forgot password, new password): direction C, approved 22 Oct 2026 */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700&family=Figtree:wght@400;500;600;800&family=Space+Grotesk:wght@700&display=swap');

:root { --cherry: #CA2026; --cherry-dark: #A21D27; --ink: #1B1D24; --muted: #5B6070; --ground: #F4F5F8; --line: #D7D9E0; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: Figtree, system-ui, sans-serif; }
a { color: var(--cherry); }
a:hover { color: var(--cherry-dark); }

.auth { min-height: 100vh; display: flex; flex-wrap: wrap; gap: 20px; padding: 20px; }
.auth-form-side { flex: 1 1 420px; background: #fff; border-radius: 28px; display: flex; flex-direction: column; padding: 40px 48px; }
.auth-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.auth-brand img { height: 40px; width: 40px; display: block; }
.brand-word { font-family: "Space Grotesk", Figtree, system-ui, sans-serif; font-size: 24px; font-weight: 700; color: #960F2E; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.auth-main { flex: 1; display: flex; align-items: center; padding: 32px 0; }
.auth-box { width: 100%; max-width: 380px; margin: 0 auto; }
.auth-box h1 { margin: 0 0 8px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 500; font-size: 40px; letter-spacing: -0.03em; line-height: 1.1; }
.auth-lead { margin: 0 0 32px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.auth-box label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.auth-input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); margin-bottom: 20px; }
.auth-input:focus { outline: none; border-color: var(--cherry); box-shadow: 0 0 0 4px rgba(202, 32, 38, 0.12); }
.auth-pw { position: relative; }
.auth-pw .auth-input { padding-right: 72px; }
.auth-pw-toggle { position: absolute; right: 8px; top: 8px; height: 36px; min-width: 56px; padding: 0 10px; border: 0; border-radius: 10px; background: var(--ground); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.auth-row { display: flex; justify-content: space-between; align-items: center; margin: -8px 0 24px; font-size: 14px; }
.auth-submit { width: 100%; height: 54px; border: 0; border-radius: 999px; background: var(--cherry); color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.auth-submit:hover { background: var(--cherry-dark); }
.auth-submit:focus-visible, .auth-pw-toggle:focus-visible, .auth-box a:focus-visible { outline: 3px solid #F4A7AA; outline-offset: 2px; }
.auth-alert { padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.45; margin-bottom: 20px; }
.auth-alert.error { background: #FDECEE; color: #8A1C2B; }
.auth-alert.ok { background: #E7F6EE; color: #0B5E34; }
.auth-back { display: inline-block; margin-top: 20px; font-size: 14px; }
.auth-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
/* Standard Furiosa pill, same as every Furiosa product */
.built-by { display: inline-flex; align-items: center; gap: 6px; background: #25404b; color: rgba(255, 255, 255, 0.45); font-size: 0.7rem; padding: 6px 12px; border-radius: 6px; }
.built-by a { display: inline-flex; align-items: center; opacity: 0.75; transition: opacity 0.25s; }
.built-by a:hover { opacity: 1; }
.built-by img { height: 16px; width: auto; vertical-align: middle; }

.auth-story { flex: 1 1 420px; background: var(--cherry); color: #fff; border-radius: 28px; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; min-height: 420px; }
.auth-story svg { position: absolute; right: -120px; top: -80px; opacity: 0.16; }
.auth-story-kicker { font-size: 15px; opacity: 0.85; position: relative; }
.auth-story h2 { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 500; font-size: clamp(2.5rem, 4.4vw, 3.5rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 13ch; position: relative; }
.auth-story p { margin: 20px 0 0; font-size: 17px; line-height: 1.5; max-width: 440px; opacity: 0.9; position: relative; }

@media (max-width: 720px) {
    .auth { padding: 12px; gap: 12px; }
    .auth-form-side { padding: 28px 24px; }
    .auth-story { order: -1; min-height: 0; padding: 28px 24px; }
    .auth-story p { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
