:root {
  --uc-blue: #0b4479;
  --uc-blue-deep: #062b50;
  --uc-blue-soft: #eaf2f9;
  --surface: #f4f7fb;
  --text: #18212b;
  --muted: #6c7885;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; min-height: 100vh; background: var(--surface); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1.05fr) minmax(440px, .95fr); }
.auth-brand-panel { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 4rem; color: #fff; background: linear-gradient(145deg, #0f548e 0%, var(--uc-blue) 42%, var(--uc-blue-deep) 100%); }
.auth-brand-panel::before, .auth-brand-panel::after { content: ""; position: absolute; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); }
.auth-brand-panel::before { width: 520px; height: 520px; right: -180px; top: -120px; }
.auth-brand-panel::after { width: 330px; height: 330px; left: -120px; bottom: -100px; }
.auth-brand-content { position: relative; z-index: 1; width: min(560px, 100%); }
.logo-frame { display: inline-flex; align-items: center; justify-content: center; width: 148px; height: 148px; padding: 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 28px; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); margin-bottom: 2rem; }
.auth-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.eyebrow, .form-kicker { display: inline-block; text-transform: uppercase; letter-spacing: .13em; font-size: .74rem; font-weight: 800; }
.eyebrow { color: rgba(255,255,255,.72); }
.form-kicker { color: var(--uc-blue); }
.auth-brand-content h1 { margin: .75rem 0 1rem; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: .98; font-weight: 800; letter-spacing: -.045em; }
.auth-brand-content p { margin: 0; max-width: 510px; color: rgba(255,255,255,.78); font-size: 1.05rem; line-height: 1.7; }
.security-note { display: inline-flex; align-items: center; gap: .6rem; margin-top: 2rem; color: rgba(255,255,255,.82); font-size: .92rem; }
.security-dot { width: 9px; height: 9px; border-radius: 50%; background: #61d59a; box-shadow: 0 0 0 5px rgba(97,213,154,.14); }
.auth-form-panel { display: flex; align-items: center; justify-content: center; padding: 3rem; background: #f7f9fc; }
.auth-card { width: min(470px, 100%); padding: 2.25rem; background: #fff; border: 1px solid #e8edf2; border-radius: 24px; box-shadow: 0 28px 80px rgba(22, 50, 79, .11); }
.auth-card h2 { margin: .35rem 0 .35rem; font-weight: 800; letter-spacing: -.02em; }
.form-label { font-weight: 650; color: #344150; }
.form-control, .form-select { border-radius: 12px; border-color: #d7dfe8; }
.form-control:focus, .form-select:focus { border-color: #4f85b3; box-shadow: 0 0 0 .22rem rgba(13,68,121,.10); }
.btn { border-radius: 11px; font-weight: 700; }
.btn-primary { background: var(--uc-blue); border-color: var(--uc-blue); }
.btn-primary:hover { background: #083b6b; border-color: #083b6b; }
.password-toggle { min-width: 90px; }
.auth-link { color: var(--uc-blue); font-weight: 650; text-decoration: none; }
.auth-link:hover { text-decoration: underline; }
.privacy-copy { margin: 1.4rem 0 0; text-align: center; color: var(--muted); font-size: .82rem; }
.mobile-brand { display: none; }
.recovery-page { background: radial-gradient(circle at top, #edf5fc, #f6f8fb 45%, #f5f7fa); }
.auth-centered { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.recovery-shell { width: min(500px, 100%); }
.recovery-brand { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-bottom: 1.2rem; color: #234; }
.recovery-brand img { width: 54px; height: 54px; object-fit: contain; border-radius: 14px; background: var(--uc-blue); padding: 4px; }
.recovery-brand div { display: grid; }
.recovery-brand span { color: var(--muted); font-size: .78rem; }
.recovery-card { width: 100%; }
.code-input { text-align: center; letter-spacing: .35em; font-size: 1.45rem; font-weight: 800; }
.error-card { text-align: center; }
.error-logo { width: 80px; height: 80px; object-fit: contain; padding: 6px; border-radius: 18px; background: var(--uc-blue); margin-bottom: 1rem; }
@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand-panel { display: none; }
  .auth-form-panel { min-height: 100vh; padding: 1.25rem; }
  .mobile-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 2rem; font-weight: 800; color: var(--uc-blue-deep); }
  .mobile-brand img { width: 54px; height: 54px; object-fit: contain; padding: 4px; border-radius: 13px; background: var(--uc-blue); }
  .auth-card { padding: 1.5rem; border-radius: 20px; }
}
