/* Shared styling for /login and /register — matches the Sep-2026 "fl-*"
   home redesign (home_redesign.css). Loaded alongside it, never standalone,
   so it reuses the same :root color/font variables and .fl-button/.fl-shell. */

.fl-auth-page {
    min-height: calc(100vh - 80px);
    padding: 128px 24px 64px;
    background:
        radial-gradient(820px 380px at 8% -8%, rgba(71, 151, 255, .32), transparent 62%),
        radial-gradient(640px 340px at 100% 0%, rgba(26, 115, 232, .18), transparent 58%),
        linear-gradient(180deg, #e7f1ff 0%, #fff 46%, #eef5ff 100%);
}
.fl-auth-card { width: min(1080px, 100%); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--fl-border); border-radius: 20px; background: #fff; box-shadow: 0 22px 48px rgba(21, 82, 163, .14); animation: fl-auth-rise .65s ease both; }
@keyframes fl-auth-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.fl-auth-form { padding: 48px 44px; }
.fl-auth-eyebrow { display: inline-flex; margin-bottom: 14px; padding: 6px 10px; border: 1px solid #bfdbfe; border-radius: 6px; color: var(--fl-blue-dark); background: var(--fl-muted); font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.fl-auth-form h1 { margin-bottom: 8px; font-family: var(--font-sans); font-size: 30px; font-weight: 700; letter-spacing: -.01em; color: var(--fl-ink); }
.fl-auth-form > p { margin-bottom: 24px; color: var(--fl-body); font-size: 14px; }

.fl-auth-social { display: grid; gap: 10px; margin-bottom: 22px; }
.fl-auth-social--row { grid-template-columns: 1fr 1fr; }
.fl-auth-social--row .fl-auth-social-btn { justify-content: center; padding-inline: 10px; font-size: 13px; }
.fl-auth-social-btn { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border: 1px solid var(--fl-border); border-radius: 10px; color: var(--fl-ink); background: #fff; font-size: 14px; font-weight: 600; transition: .2s ease; }
.fl-auth-social-btn:hover { border-color: #93c5fd; background: var(--fl-muted); transform: translateY(-1px); }
.fl-auth-social-btn img { width: 20px; height: 20px; flex-shrink: 0; }

.fl-auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--fl-body); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.fl-auth-divider::before, .fl-auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--fl-border); }

.fl-auth-field { margin-bottom: 16px; }
.fl-auth-field input { width: 100%; padding: 12px 14px; border: 1px solid var(--fl-border); border-radius: 10px; color: var(--fl-ink); background: #fbfdff; font-family: var(--font-sans); font-size: 14px; transition: .2s ease; }
.fl-auth-field input:focus { outline: none; border-color: var(--fl-blue); background: #fff; box-shadow: 0 0 0 3px rgba(26,115,232,.12); }
.fl-auth-field input.is-invalid { border-color: var(--fl-red); }
.fl-auth-field-error { margin: 6px 0 0; color: var(--fl-red); font-size: 12px; }

.fl-auth-submit { width: 100%; margin-top: 6px; justify-content: center; font-size: 14px; }
.fl-auth-assurance { margin: 12px 0 0; color: var(--fl-body); font-size: 12px; line-height: 1.5; text-align: center; }

.fl-auth-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; color: var(--fl-body); font-size: 13px; }
.fl-auth-checkbox { display: flex; align-items: center; gap: 8px; }
.fl-auth-checkbox input { accent-color: var(--fl-blue); }
.fl-auth-link { color: var(--fl-blue); font-weight: 600; }
.fl-auth-link:hover { text-decoration: underline; }

.fl-auth-footnote { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--fl-border); color: var(--fl-body); font-size: 13px; text-align: center; }
.fl-auth-legal { margin-top: 14px; color: var(--fl-body); font-size: 11px; line-height: 1.6; text-align: center; }

.fl-auth-copy { display: flex; flex-direction: column; justify-content: center; padding: 40px 40px 48px; background: linear-gradient(180deg, #e8f3ff 0%, #f7fbff 42%, #fff 100%); border-left: 1px solid var(--fl-border); }
.fl-auth-radar { position: relative; width: 210px; height: 210px; margin: 4px auto 22px; border-radius: 50%; overflow: hidden; border: 1px solid #93c5fd; background: radial-gradient(circle at 50% 50%, #f8fbff 0%, #dbeafe 58%, #bfdbfe 100%); box-shadow: inset 0 0 24px rgba(26, 115, 232, .16), 0 12px 28px rgba(21, 82, 163, .12); }
.fl-auth-radar__rings, .fl-auth-radar__cross, .fl-auth-radar__sweep { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.fl-auth-radar__rings { background: repeating-radial-gradient(circle at 50% 50%, transparent 0 27px, rgba(26, 115, 232, .34) 28px 29px); }
.fl-auth-radar__cross::before, .fl-auth-radar__cross::after { content: ""; position: absolute; background: rgba(26, 115, 232, .22); }
.fl-auth-radar__cross::before { left: 50%; top: 10%; bottom: 10%; width: 1px; }
.fl-auth-radar__cross::after { top: 50%; left: 10%; right: 10%; height: 1px; }
.fl-auth-radar__sweep { background: conic-gradient(from 0deg, rgba(26, 115, 232, .62), rgba(71, 151, 255, .14) 48deg, transparent 82deg); animation: fl-auth-sweep 6s linear infinite; }
.fl-auth-radar__hub { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--fl-blue); box-shadow: 0 0 0 4px rgba(26, 115, 232, .18); }
.fl-auth-radar__blip { position: absolute; left: var(--bx); top: var(--by); width: 16px; height: 16px; margin: -8px 0 0 -8px; color: var(--fl-blue-dark); opacity: .45; animation: fl-auth-blip 6s ease-out infinite; animation-delay: var(--d); }
.fl-auth-radar__blip svg { display: block; width: 16px; height: 16px; fill: currentColor; transform: rotate(var(--h)); }
@keyframes fl-auth-sweep { to { transform: rotate(360deg); } }
@keyframes fl-auth-blip {
    0%, 72% { opacity: .4; filter: drop-shadow(0 0 0 transparent); }
    80% { opacity: 1; filter: drop-shadow(0 0 3px rgba(26, 115, 232, .85)); }
    100% { opacity: .4; }
}
.fl-auth-copy__brand { margin-bottom: 22px; }
.fl-auth-copy__brand img { width: 180px; }
.fl-auth-copy h2 { margin-bottom: 20px; font-family: var(--font-sans); font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--fl-ink); }
.fl-auth-benefits { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.fl-auth-benefits li { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--fl-border); border-radius: 10px; background: #fff; color: var(--fl-ink); font-size: 13px; font-weight: 600; animation: fl-auth-pop .5s ease both; }
.fl-auth-benefits li:nth-child(1) { animation-delay: .15s; }
.fl-auth-benefits li:nth-child(2) { animation-delay: .25s; }
.fl-auth-benefits li:nth-child(3) { animation-delay: .35s; }
.fl-auth-benefits li:nth-child(4) { animation-delay: .45s; }
@keyframes fl-auth-pop { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.fl-auth-benefits .material-symbols-outlined { color: var(--fl-green); font-size: 18px; flex-shrink: 0; }
.fl-auth-benefits--terms li { align-items: flex-start; line-height: 1.45; }
.fl-auth-clients { margin-top: 4px; margin-bottom: 22px; }

.fl-auth-page--brand {
    background: linear-gradient(155deg, #1a73e8 0%, #1565c0 46%, #0d3f80 100%);
}
.fl-auth-page--brand .fl-auth-card { box-shadow: 0 24px 56px rgba(8, 30, 70, .28); }

.fl-auth-copy--return { align-items: center; text-align: center; background: linear-gradient(155deg, #1a73e8 0%, #1565c0 46%, #0d3f80 100%); border-left-color: transparent; }
.fl-auth-copy--return .fl-auth-radar { width: min(320px, 100%); height: auto; aspect-ratio: 1; margin-bottom: 32px; border-color: rgba(255, 255, 255, .38); background: radial-gradient(circle at 50% 50%, #1565c0 0%, #0d3f80 58%, #071e3d 100%); box-shadow: inset 0 0 28px rgba(0, 0, 0, .2), 0 12px 28px rgba(8, 30, 70, .28); }
.fl-auth-copy--return .fl-auth-radar__rings { background: repeating-radial-gradient(circle at 50% 50%, transparent 0 27px, rgba(255, 255, 255, .42) 28px 29px); }
.fl-auth-copy--return .fl-auth-radar__cross::before,
.fl-auth-copy--return .fl-auth-radar__cross::after { background: rgba(255, 255, 255, .45); }
.fl-auth-copy--return .fl-auth-radar__sweep { background: conic-gradient(from 0deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .12) 48deg, transparent 82deg); }
.fl-auth-copy--return .fl-auth-radar__hub { width: 10px; height: 10px; margin: -5px 0 0 -5px; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .22); }
.fl-auth-copy--return .fl-auth-radar__blip { width: 22px; height: 22px; margin: -11px 0 0 -11px; color: #fff; opacity: 1; animation-name: fl-auth-blip-light; }
.fl-auth-copy--return .fl-auth-radar__blip svg { width: 22px; height: 22px; fill: #fff; stroke: #0b2f66; stroke-width: .7; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .45)); }
.fl-auth-copy--return h2 { max-width: 18em; margin-bottom: 0; color: #fff; }
@keyframes fl-auth-blip-light {
    0%, 72% { opacity: .72; }
    80% { opacity: 1; }
    100% { opacity: .72; }
}

.fl-auth-copy--decide { background: #fff; }
.fl-auth-copy--decide .fl-clients { padding-top: 0; border-top: 0; margin-bottom: 28px; }
.fl-auth-copy--decide .fl-clients__label { text-align: left; }
.fl-auth-copy--decide h2 { margin-bottom: 0; }

@media (max-width: 900px) {
    .fl-auth-card { grid-template-columns: 1fr; }
    .fl-auth-copy { border-left: 0; border-top: 1px solid var(--fl-border); }
    .fl-auth-form, .fl-auth-copy { padding: 32px 24px; }
}

.fl-auth-card--compact { max-width: 560px; grid-template-columns: minmax(0, 1fr); }
.fl-auth-field label { display: block; margin-bottom: 8px; color: var(--fl-ink); font-size: 13px; font-weight: 600; }
@media (max-width: 560px) {
    .fl-auth-page { padding: 104px 16px 40px; }
    .fl-auth-copy--return .fl-auth-radar { width: min(240px, 72vw); }
    .fl-auth-social--row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .fl-auth-card, .fl-auth-benefits li, .fl-auth-radar__sweep, .fl-auth-radar__blip { animation: none; }
    .fl-auth-radar__blip { opacity: .9; }
}

.fl-auth-split { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, 45%) minmax(0, 1fr); background: #f7f8fa; }
.fl-auth-stage { display: flex; align-items: center; justify-content: center; padding: 48px 40px; background: linear-gradient(155deg, #1a73e8 0%, #1565c0 46%, #0d3f80 100%); }
.fl-auth-stage__inner { width: min(420px, 100%); text-align: center; }
.fl-auth-stage__logo { display: inline-block; margin-bottom: 28px; }
.fl-auth-stage__logo img { width: 180px; height: auto; }
.fl-auth-stage h2 { max-width: 18em; margin: 28px auto 0; color: #fff; font-family: var(--font-sans); font-size: 22px; font-weight: 700; line-height: 1.4; }
.fl-auth-checks { display: grid; gap: 12px; width: min(360px, 100%); margin: 18px auto 0; padding: 0; list-style: none; text-align: left; }
.fl-auth-checks li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255, 255, 255, .92); font-size: 15px; line-height: 1.4; }
.fl-auth-checks .material-symbols-outlined { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; font-size: 16px; line-height: 22px; text-align: center; }
.fl-auth-stage--offer .fl-auth-stage__inner { text-align: left; }
.fl-auth-stage--offer h2 { margin-left: 0; margin-right: 0; }
.fl-auth-stage--offer .fl-auth-checks { margin-left: 0; }
.fl-auth-clients { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .22); }
.fl-auth-clients p { margin: 0 0 14px; color: rgba(255, 255, 255, .78); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.fl-auth-brands { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fl-auth-brands div { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 10px 14px; border-radius: 12px; background: #fff; }
.fl-auth-brands img { max-width: 100%; height: 28px; width: auto; object-fit: contain; }
.fl-auth-agent { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; background: rgba(8, 30, 70, .28); }
.fl-auth-agent__icon { flex-shrink: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .14); color: #fff; }
.fl-auth-agent__icon .material-symbols-outlined { font-size: 20px; }
.fl-auth-agent strong { display: block; color: #fff; font-size: 14px; line-height: 1.3; }
.fl-auth-agent p { margin: 4px 0 0; color: rgba(255, 255, 255, .78); font-size: 13px; line-height: 1.45; }
.fl-auth-stage .fl-auth-radar { width: min(300px, 100%); height: auto; aspect-ratio: 1; margin: 0 auto; border-color: rgba(255, 255, 255, .38); background: radial-gradient(circle at 50% 50%, #1565c0 0%, #0d3f80 58%, #071e3d 100%); box-shadow: inset 0 0 28px rgba(0, 0, 0, .2), 0 12px 28px rgba(8, 30, 70, .28); }
.fl-auth-stage .fl-auth-radar__rings { background: repeating-radial-gradient(circle at 50% 50%, transparent 0 27px, rgba(255, 255, 255, .42) 28px 29px); }
.fl-auth-stage .fl-auth-radar__cross::before,
.fl-auth-stage .fl-auth-radar__cross::after { background: rgba(255, 255, 255, .45); }
.fl-auth-stage .fl-auth-radar__sweep { background: conic-gradient(from 0deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .12) 48deg, transparent 82deg); }
.fl-auth-stage .fl-auth-radar__hub { width: 10px; height: 10px; margin: -5px 0 0 -5px; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .22); }
.fl-auth-stage .fl-auth-radar__blip { width: 22px; height: 22px; margin: -11px 0 0 -11px; color: #fff; opacity: 1; animation-name: fl-auth-blip-light; }
.fl-auth-stage .fl-auth-radar__blip svg { width: 22px; height: 22px; fill: #fff; stroke: #0b2f66; stroke-width: .7; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .45)); }
.fl-auth-pane { display: flex; align-items: center; justify-content: center; padding: 40px 32px; background: #f7f8fa; overflow-y: auto; }
.fl-auth-pane__inner { width: 100%; max-width: 440px; }
.fl-auth-pane .fl-auth-form { padding: 0; }
.fl-auth-pane__logo { display: none; margin-bottom: 24px; }
.fl-auth-pane__logo img { height: 36px; width: auto; }
@media (max-width: 900px) {
    .fl-auth-split { grid-template-columns: 1fr; }
    .fl-auth-stage { display: none; }
    .fl-auth-pane { min-height: 100vh; align-items: flex-start; padding: 28px 20px 40px; }
    .fl-auth-pane__logo { display: block; }
}
