/* Auth screens — split brand panel + form, on BudgetMaster tokens. */
.auth-page { display: flex; min-height: 100vh; background: var(--bc-app-bg); font-family: var(--bc-font-ui); }

/* left brand panel */
.auth-brand { flex: 1 1 46%; display: none; flex-direction: column; justify-content: space-between;
    padding: 44px 48px; background: linear-gradient(160deg, #0B0F1E 0%, #16213c 100%); color: #fff; position: relative; overflow: hidden; }
.auth-brand::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
    background: radial-gradient(circle, rgba(18,184,134,.25), transparent 70%); }
.auth-brand-logo { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; z-index: 1; }
.auth-brand-logo .dot { width: 10px; height: 10px; border-radius: 3px; background: #12B886; }
.auth-brand-mid { z-index: 1; }
.auth-brand-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #12B886; margin-bottom: 14px; }
.auth-brand-head { font-size: 34px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 14px; }
.auth-brand-head em { font-style: normal; color: #12B886; }
.auth-brand-sub { font-size: 14.5px; line-height: 1.6; color: #AEB7C7; max-width: 380px; }
.auth-brand-foot { font-size: 12px; color: #7C889C; z-index: 1; }
@media (min-width: 900px) { .auth-brand { display: flex; } }

/* right form panel */
.auth-form-wrap { flex: 1 1 54%; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-form { width: 100%; max-width: 388px; }
.auth-form-logo { display: none; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; margin-bottom: 30px; }
.auth-form-logo .dot { width: 9px; height: 9px; border-radius: 3px; background: var(--bc-primary); }
@media (max-width: 899px) { .auth-form-logo { display: flex; } }

.auth-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--bc-primary-strong); margin-bottom: 8px; }
.auth-title { font-size: 24px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; color: var(--bc-text); }
.auth-subtitle { font-size: 13.5px; color: var(--bc-text-muted); line-height: 1.5; margin-bottom: 24px; }

.auth-formbody { display: block; }
.auth-field { margin-bottom: 15px; }
.auth-field label { display: block; font-size: 12px; font-weight: 600; color: var(--bc-text-2); margin-bottom: 6px; }
.auth-input { width: 100%; height: 42px; padding: 0 13px; border: 1px solid var(--bc-border); border-radius: var(--bc-r-md);
    font-family: inherit; font-size: 14px; color: var(--bc-text); box-sizing: border-box; background: var(--bc-surface); transition: border-color .12s, box-shadow .12s; }
.auth-input:focus { border-color: var(--bc-primary); outline: none; box-shadow: 0 0 0 3px var(--bc-primary-ring); }
.auth-input.err { border-color: var(--bc-danger-border); }
.auth-row2 { display: flex; gap: 12px; }
.auth-row2 > .auth-field { flex: 1; }

.auth-btn { width: 100%; height: 44px; border: 0; border-radius: var(--bc-r-md); background: var(--bc-primary); color: #fff;
    font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .12s; margin-top: 4px; }
.auth-btn:hover:not(:disabled) { background: var(--bc-primary-strong); }
.auth-btn:disabled { opacity: .6; cursor: default; }
.auth-btn.ghost { background: transparent; border: 1px solid var(--bc-border); color: var(--bc-text-2); }
.auth-btn.ghost:hover:not(:disabled) { border-color: var(--bc-primary); color: var(--bc-primary-strong); background: var(--bc-primary-wash); }

.auth-alert { display: flex; align-items: flex-start; gap: 8px; padding: 11px 13px; border-radius: var(--bc-r-md);
    background: var(--bc-danger-bg); border: 1px solid var(--bc-danger-border); color: var(--bc-danger-text); font-size: 13px; line-height: 1.45; margin-bottom: 18px; }
.auth-alert.info { background: var(--bc-info-bg); border-color: var(--bc-info-bar); color: var(--bc-text-2); }
.auth-field-err { margin-top: 5px; font-size: 12px; color: var(--bc-danger); }

.auth-switch { margin-top: 20px; font-size: 13px; color: var(--bc-text-muted); text-align: center; }
.auth-switch a, .auth-link { color: var(--bc-primary-strong); font-weight: 600; text-decoration: none; cursor: pointer; background: none; border: 0; font: inherit; padding: 0; }
.auth-switch a:hover, .auth-link:hover { text-decoration: underline; }
.auth-meta-row { display: flex; justify-content: space-between; align-items: center; margin-top: -4px; margin-bottom: 18px; }

.auth-email-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px;
    background: var(--bc-chip-bg); font-size: 12.5px; color: var(--bc-text-2); margin-bottom: 20px; }
.auth-email-chip b { color: var(--bc-text); font-weight: 600; }

/* OTP input */
.auth-otp { width: 100%; height: 54px; text-align: center; font-family: var(--bc-font-mono); font-size: 26px; font-weight: 700;
    letter-spacing: 0.5em; padding-left: 0.5em; border: 1px solid var(--bc-border); border-radius: var(--bc-r-md); box-sizing: border-box; color: var(--bc-text); }
.auth-otp:focus { border-color: var(--bc-primary); outline: none; box-shadow: 0 0 0 3px var(--bc-primary-ring); }
.auth-resend { margin-top: 16px; text-align: center; font-size: 12.5px; color: var(--bc-text-faint); }
