/* PIE V8 — Auth pages (login, register, onboarding) */
/* Design: dark glass cards, electric blue accent, Inter typography */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --auth-bg:        #080b14;
  --auth-bg-2:      #0d1117;
  --auth-card:      rgba(13,17,30,0.92);
  --auth-border:    rgba(255,255,255,0.07);
  --auth-border-focus: rgba(99,179,237,0.6);
  --auth-text:      #f1f5f9;
  --auth-muted:     #94a3b8;
  --auth-dim:       #475569;
  --auth-accent:    #3b82f6;
  --auth-accent-h:  #60a5fa;
  --auth-accent-bg: rgba(59,130,246,0.1);
  --auth-danger:    #f87171;
  --auth-success:   #34d399;
  --auth-warning:   #fbbf24;
  --auth-input-bg:  rgba(255,255,255,0.04);
  --auth-input-bg-focus: rgba(255,255,255,0.07);
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px;
  --shadow-card: 0 25px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  --shadow-glow: 0 0 40px rgba(59,130,246,0.15);
}

html, body { height: 100%; font-family: 'Inter', system-ui, sans-serif; }

/* ── Background ──────────────────────────────────────────────────────────── */
.auth-root {
  min-height: 100vh;
  background: var(--auth-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  position: relative;
  overflow: hidden;
}

.auth-root::before {
  content: '';
  position: fixed; inset: -25%; z-index: 0;
  background:
    radial-gradient(ellipse 55% 45% at 15% 10%, rgba(59,130,246,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 85% 80%, rgba(99,102,241,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 55% 35%, rgba(16,185,129,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 35% 90%, rgba(139,92,246,0.10) 0%, transparent 65%);
  pointer-events: none;
  animation: authAurora 28s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes authAurora {
  0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50%  { transform: translate3d(2%, -1.5%, 0) scale(1.08) rotate(2deg); }
  100% { transform: translate3d(-1.8%, 1.6%, 0) scale(1.05) rotate(-1.6deg); }
}

/* ── Card ────────────────────────────────────────────────────────────────── */
.auth-card {
  position: relative; z-index: 1;
  width: 100%; max-width: 440px;
  background: var(--auth-card);
  border: 1px solid var(--auth-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px 36px;
}

.auth-card--wide { max-width: 560px; }
.auth-card--wizard { max-width: 640px; padding: 36px 32px; }

/* ── Brand header ────────────────────────────────────────────────────────── */
.auth-brand {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
}
.auth-brand-icon {
  width: 46px; height: 46px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--auth-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 6px 20px rgba(59,130,246,0.18);
}
.auth-brand-icon svg { width: 24px; height: 24px; color: #fff; }
.auth-brand-icon img { width: 30px; height: 30px; display: block; }
.auth-brand-name { font-size: 20px; font-weight: 700; color: var(--auth-text); letter-spacing: -0.3px; }
.auth-brand-sub  { font-size: 12px; color: var(--auth-muted); margin-top: 1px; }

/* ── Headings ────────────────────────────────────────────────────────────── */
.auth-title {
  font-size: 22px; font-weight: 700; color: var(--auth-text);
  letter-spacing: -0.4px; margin-bottom: 6px;
}
.auth-subtitle {
  font-size: 14px; color: var(--auth-muted); line-height: 1.5;
  margin-bottom: 28px;
}

/* ── Form fields ─────────────────────────────────────────────────────────── */
.auth-field { margin-bottom: 18px; }
.auth-label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--auth-muted); text-transform: uppercase;
  letter-spacing: 0.6px; margin-bottom: 7px;
}
.auth-input-wrap { position: relative; }
.auth-input {
  width: 100%; padding: 11px 14px 11px 40px;
  background: var(--auth-input-bg);
  border: 1px solid var(--auth-border);
  border-radius: var(--r-sm);
  color: var(--auth-text); font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  outline: none; -webkit-appearance: none;
}
.auth-input:focus {
  border-color: var(--auth-border-focus);
  background: var(--auth-input-bg-focus);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.auth-input::placeholder { color: var(--auth-dim); }
.auth-input-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--auth-dim); pointer-events: none;
}
.auth-input-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--auth-dim); cursor: pointer; background: none; border: none;
  padding: 2px; display: flex; align-items: center;
}
.auth-input-toggle:hover { color: var(--auth-muted); }
.auth-input--padded-right { padding-right: 42px; }

/* ── Password strength bar ───────────────────────────────────────────────── */
.pw-strength { margin-top: 6px; display: flex; gap: 4px; height: 3px; }
.pw-strength-bar { flex: 1; border-radius: 2px; background: var(--auth-border); transition: background 0.25s; }
.pw-strength-bar.active-0 { background: var(--auth-danger); }
.pw-strength-bar.active-1 { background: var(--auth-warning); }
.pw-strength-bar.active-2 { background: var(--auth-accent); }
.pw-strength-bar.active-3 { background: var(--auth-success); }
.pw-strength-text { font-size: 11px; color: var(--auth-dim); margin-top: 5px; height: 14px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.auth-btn {
  width: 100%; padding: 12px 20px;
  border-radius: var(--r-sm); border: none; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.15s; outline: none; position: relative; overflow: hidden;
}
.auth-btn-primary {
  background: var(--auth-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(59,130,246,0.35);
}
.auth-btn-primary:hover:not(:disabled) {
  background: var(--auth-accent-h);
  box-shadow: 0 6px 20px rgba(59,130,246,0.45);
  transform: translateY(-1px);
}
.auth-btn-primary:active:not(:disabled) { transform: translateY(0); }
.auth-btn-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.auth-btn-ghost {
  background: transparent; color: var(--auth-muted);
  border: 1px solid var(--auth-border);
}
.auth-btn-ghost:hover { background: rgba(255,255,255,0.04); color: var(--auth-text); }
.auth-btn-sm { padding: 8px 14px; font-size: 13px; width: auto; }
.auth-btn-loading .auth-btn-text { opacity: 0; }
.auth-btn-loading::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Premium sign-in overlay ─────────────────────────────────────────────── */
.auth-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: radial-gradient(ellipse at 50% 40%, var(--auth-bg-2) 0%, var(--auth-bg) 70%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
}
.auth-loading-overlay.show { opacity: 1; visibility: visible; }
.auth-loading-logo {
  position: relative;
  width: 76px; height: 76px;
  display: flex; align-items: center; justify-content: center;
}
.auth-loading-logo img { width: 40px; height: 40px; animation: authLogoPulse 1.8s ease-in-out infinite; }
.auth-loading-logo::before,
.auth-loading-logo::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}
.auth-loading-logo::before {
  border-top-color: var(--color-accent-base, #c8a869);
  border-right-color: var(--color-accent-base, #c8a869);
  animation: spin 1s linear infinite;
}
.auth-loading-logo::after {
  inset: 8px;
  border-bottom-color: var(--color-accent-base, #e6d3a0);
  opacity: 0.5;
  animation: spin 1.6s linear infinite reverse;
}
.auth-loading-text {
  color: var(--auth-text);
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
}
.auth-loading-sub {
  color: var(--auth-muted);
  font-size: 13px; margin-top: -12px;
}
.auth-loading-dots::after {
  content: '';
  animation: authDots 1.4s steps(4, end) infinite;
}
@keyframes authLogoPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.88); opacity: 0.75; } }
@keyframes authDots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }
@media (prefers-reduced-motion: reduce) {
  .auth-loading-logo img, .auth-loading-logo::before, .auth-loading-logo::after { animation: none; }
}

/* ── Alert / message ─────────────────────────────────────────────────────── */
.auth-alert {
  padding: 11px 14px; border-radius: var(--r-sm);
  font-size: 13.5px; line-height: 1.45; margin-bottom: 18px;
  border: 1px solid; display: none;
}
.auth-alert.show { display: block; }
.auth-alert-error   { background: rgba(248,113,113,0.1); border-color: rgba(248,113,113,0.3); color: #fca5a5; }
.auth-alert-success { background: rgba(52,211,153,0.1); border-color: rgba(52,211,153,0.3); color: #6ee7b7; }
.auth-alert-info    { background: var(--auth-accent-bg); border-color: rgba(59,130,246,0.3); color: #93c5fd; }

/* ── Footer links ────────────────────────────────────────────────────────── */
.auth-footer {
  margin-top: 24px; text-align: center;
  font-size: 13.5px; color: var(--auth-muted);
}
.auth-footer a { color: var(--auth-accent-h); text-decoration: none; font-weight: 500; }
.auth-footer a:hover { text-decoration: underline; }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 22px 0; color: var(--auth-dim); font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--auth-border);
}

/* ── Forgot password link ────────────────────────────────────────────────── */
.auth-forgot {
  text-align: right; margin-top: -10px; margin-bottom: 18px;
}
.auth-forgot a { font-size: 13px; color: var(--auth-muted); text-decoration: none; }
.auth-forgot a:hover { color: var(--auth-accent-h); }

/* ── Onboarding wizard ───────────────────────────────────────────────────── */
.wizard-progress {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 32px;
}
.wizard-step-dot {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
  border: 2px solid var(--auth-border);
  color: var(--auth-dim);
  background: transparent;
  transition: all 0.25s;
}
.wizard-step-dot.done   { background: rgba(52,211,153,0.15); border-color: var(--auth-success); color: var(--auth-success); }
.wizard-step-dot.active { background: var(--auth-accent-bg); border-color: var(--auth-accent); color: var(--auth-accent); }
.wizard-step-line {
  flex: 1; height: 2px; background: var(--auth-border);
  transition: background 0.25s;
}
.wizard-step-line.done { background: var(--auth-success); }

.wizard-panel { display: none; animation: fadeSlide 0.25s ease; }
.wizard-panel.active { display: block; }
@keyframes fadeSlide { from { opacity:0; transform:translateX(12px); } to { opacity:1; transform:none; } }

.wizard-nav {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--auth-border);
}
.wizard-nav-right { display: flex; gap: 10px; margin-left: auto; }

/* ── Bank picker ─────────────────────────────────────────────────────────── */
.bank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.bank-card {
  border: 2px solid var(--auth-border);
  border-radius: var(--r-md); padding: 16px;
  cursor: pointer; transition: all 0.15s;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; background: transparent; width: 100%;
}
.bank-card:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.03); }
.bank-card.selected { border-color: var(--auth-accent); background: var(--auth-accent-bg); }
.bank-card-logo {
  width: 48px; height: 48px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.bank-card-name { font-size: 13px; font-weight: 600; color: var(--auth-text); }
.bank-card-sub  { font-size: 11px; color: var(--auth-muted); margin-top: 1px; }
.bank-card-check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--auth-accent); display: none;
  align-items: center; justify-content: center;
  margin-left: auto;
}
.bank-card.selected .bank-card-check { display: flex; }

/* George / Erste */
.bank-george   .bank-card-logo { background: rgba(0,168,107,0.15); color: #00a86b; }
/* CSOB */
.bank-csob     .bank-card-logo { background: rgba(0,84,166,0.15); color: #0054a6; }
/* Raiffeisen */
.bank-raiffeisen .bank-card-logo { background: rgba(255,199,0,0.15); color: #f59e0b; }
/* Revolut */
.bank-revolut  .bank-card-logo { background: rgba(137,80,252,0.15); color: #8950fc; }
/* India */
.bank-india    .bank-card-logo { background: rgba(249,115,22,0.15); color: #f97316; }
/* Other */
.bank-other    .bank-card-logo { background: rgba(148,163,184,0.1); color: var(--auth-muted); }

/* ── Risk profile picker ─────────────────────────────────────────────────── */
.risk-options { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.risk-card {
  border: 2px solid var(--auth-border);
  border-radius: var(--r-md); padding: 14px 12px;
  cursor: pointer; transition: all 0.15s;
  text-align: center; background: transparent; width: 100%;
}
.risk-card:hover { background: rgba(255,255,255,0.03); }
.risk-card.selected { border-color: var(--auth-accent); background: var(--auth-accent-bg); }
.risk-emoji { font-size: 24px; margin-bottom: 8px; }
.risk-label { font-size: 13px; font-weight: 600; color: var(--auth-text); }
.risk-desc  { font-size: 11px; color: var(--auth-muted); margin-top: 3px; line-height: 1.4; }

/* ── Verify email ────────────────────────────────────────────────────────── */
.verify-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(59,130,246,0.12); border: 2px solid rgba(59,130,246,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 32px;
}

/* ── Premium split layout (login) ────────────────────────────────────────── */
.auth-root--split {
  align-items: stretch;
  padding: 0;
}
.auth-root--split .auth-pane {
  flex: 1 1 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 32px 20px;
  position: relative; z-index: 1;
}
.auth-root--split .auth-card {
  box-shadow: none; background: transparent; border: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  padding: 0; max-width: 380px;
}

/* Left brand showcase */
.auth-hero {
  flex: 1 1 50%;
  position: relative; z-index: 1;
  display: flex; align-items: center;
  padding: 56px 56px;
  border-right: 1px solid var(--auth-border);
  background:
    radial-gradient(ellipse 90% 70% at 25% 20%, rgba(59,130,246,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 80% 90%, rgba(124,58,237,0.16) 0%, transparent 60%),
    linear-gradient(160deg, #0b1020 0%, #080b14 100%);
  overflow: hidden;
}
.auth-hero::after {
  /* faint oversized logo watermark — gently breathing + drifting */
  content: '';
  position: absolute; right: -120px; bottom: -120px;
  width: 460px; height: 460px;
  background: url('/assets/pie-logo.svg') no-repeat center / contain;
  opacity: 0.06; filter: blur(0.5px) drop-shadow(0 0 50px rgba(59,130,246,0.22));
  pointer-events: none; z-index: 0;
  animation: authWatermark 16s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
@keyframes authWatermark {
  0%   { transform: translate3d(0,0,0) scale(1.00) rotate(0deg); opacity: 0.05; }
  50%  { transform: translate3d(-34px, -46px, 0) scale(1.10) rotate(8deg); opacity: 0.11; }
  100% { transform: translate3d(26px, 20px, 0) scale(1.04) rotate(-5deg); opacity: 0.07; }
}
/* Living aurora inside the hero (behind the copy) */
.auth-hero::before {
  content: '';
  position: absolute; inset: -20%; z-index: 0;
  background:
    radial-gradient(ellipse 45% 40% at 30% 25%, rgba(59,130,246,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 78% 82%, rgba(124,58,237,0.18) 0%, transparent 60%);
  pointer-events: none;
  animation: authAurora 24s ease-in-out infinite alternate-reverse;
  will-change: transform;
}
/* Floating glowing orbs — ambient depth + visible drift */
.auth-orb {
  position: fixed; z-index: 0; border-radius: 50%;
  filter: blur(72px); pointer-events: none; will-change: transform;
}
.auth-orb--1 {
  width: 440px; height: 440px; left: -90px; top: -70px;
  background: radial-gradient(circle, rgba(59,130,246,0.45) 0%, transparent 70%);
  animation: orbFloat1 22s ease-in-out infinite alternate;
}
.auth-orb--2 {
  width: 380px; height: 380px; right: -70px; top: 16%;
  background: radial-gradient(circle, rgba(139,92,246,0.42) 0%, transparent 70%);
  animation: orbFloat2 26s ease-in-out infinite alternate;
}
.auth-orb--3 {
  width: 520px; height: 520px; left: 34%; bottom: -190px;
  background: radial-gradient(circle, rgba(16,185,129,0.30) 0%, transparent 70%);
  animation: orbFloat3 30s ease-in-out infinite alternate;
}
@keyframes orbFloat1 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(90px,70px,0) scale(1.18); } }
@keyframes orbFloat2 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-80px,100px,0) scale(1.12); } }
@keyframes orbFloat3 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(70px,-80px,0) scale(1.14); } }

/* Staggered entrance for hero copy + sign-in card (kills the "static" feel) */
@keyframes authFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.auth-hero-brand,
.auth-hero-headline,
.auth-hero-tagline,
.auth-hero-points li,
.auth-card {
  animation: authFadeUp 0.7s cubic-bezier(0.16, 0.84, 0.44, 1) both;
}
.auth-hero-brand    { animation-delay: 0.05s; }
.auth-hero-headline { animation-delay: 0.16s; }
.auth-hero-tagline  { animation-delay: 0.30s; }
.auth-hero-points li:nth-child(1) { animation-delay: 0.42s; }
.auth-hero-points li:nth-child(2) { animation-delay: 0.52s; }
.auth-hero-points li:nth-child(3) { animation-delay: 0.62s; }
.auth-card { animation-delay: 0.22s; }

@media (prefers-reduced-motion: reduce) {
  .auth-root::before, .auth-hero::before, .auth-hero::after, .auth-orb,
  .auth-hero-brand, .auth-hero-headline, .auth-hero-tagline,
  .auth-hero-points li, .auth-card,
  .auth-hero-logo, .auth-hero-name, .auth-hero-expand .hx-word {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
}
.auth-hero-inner { position: relative; z-index: 1; max-width: 460px; }
.auth-hero-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 48px; }
.auth-hero-logo {
  width: 52px; height: 52px;
  filter: drop-shadow(0 6px 18px rgba(59,130,246,0.35));
  animation: hxLogoFloat 5s ease-in-out infinite;
}
@keyframes hxLogoFloat {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 6px 18px rgba(59,130,246,0.35)); }
  50%      { transform: translateY(-4px); filter: drop-shadow(0 12px 28px rgba(99,102,241,0.5)); }
}
.auth-hero-name {
  font-size: 26px; font-weight: 800; letter-spacing: -0.5px; line-height: 1;
  color: var(--auth-text);
  background: linear-gradient(100deg, #f1f5f9 0%, #93c5fd 38%, #c4b5fd 58%, #f1f5f9 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: hxShimmer 6.5s linear infinite;
}
@keyframes hxShimmer { to { background-position: 220% center; } }
.auth-hero-sub  { font-size: 12.5px; color: var(--auth-muted); margin-top: 4px; letter-spacing: 0.2px; }

/* Acronym expansion: PIE → Personal · Investment · Engine (loops) */
.auth-hero-expand {
  font-size: 12.5px; color: var(--auth-muted); margin-top: 6px;
  letter-spacing: 0.2px; display: flex; gap: 7px; flex-wrap: wrap;
  min-height: 17px;
}
.auth-hero-expand .hx-word {
  display: inline-block; white-space: nowrap;
  animation: hxReveal 8s ease-in-out infinite both;
}
.auth-hero-expand .hx-word b { color: var(--auth-accent-h); font-weight: 700; }
.auth-hero-expand .hx-word:nth-child(1) { animation-delay: 0s; }
.auth-hero-expand .hx-word:nth-child(2) { animation-delay: 0.4s; }
.auth-hero-expand .hx-word:nth-child(3) { animation-delay: 0.8s; }
@keyframes hxReveal {
  0%   { opacity: 0; transform: translateY(7px); filter: blur(3px); }
  9%   { opacity: 1; transform: translateY(0); filter: blur(0); }
  72%  { opacity: 1; transform: translateY(0); filter: blur(0); }
  84%  { opacity: 0; transform: translateY(-5px); filter: blur(2px); }
  100% { opacity: 0; transform: translateY(7px); filter: blur(3px); }
}
.auth-hero-headline {
  font-size: 38px; line-height: 1.12; font-weight: 800; letter-spacing: -1px;
  color: var(--auth-text); margin-bottom: 18px;
  background: linear-gradient(120deg, #f1f5f9 30%, #93c5fd 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.auth-hero-tagline { font-size: 15px; line-height: 1.6; color: var(--auth-muted); max-width: 400px; margin-bottom: 36px; }
.auth-hero-points { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.auth-hero-points li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: #cbd5e1; font-weight: 500;
}
.auth-hero-points svg {
  width: 16px; height: 16px; flex-shrink: 0; color: var(--auth-success);
  background: rgba(52,211,153,0.12); border-radius: 50%; padding: 4px; box-sizing: content-box;
}

/* Secure footer line on the card */
.auth-legal {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--auth-border);
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 11.5px; color: var(--auth-dim);
}
.auth-legal svg { color: var(--auth-dim); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .auth-hero { display: none; }
  .auth-root--split .auth-pane { flex-basis: 100%; padding: 24px 16px; }
  .auth-root--split .auth-card { max-width: 420px; }
}
@media (max-width: 480px) {
  .auth-card  { padding: 28px 20px; }
  .bank-grid  { grid-template-columns: 1fr; }
  .risk-options { grid-template-columns: 1fr; }
}
