/* ReelDM Auth — page-scoped OLED/electric-blue presentation. */
    body { background: var(--bg); min-height: 100vh; display: flex; }
    .auth-shell { display: flex; min-height: 100vh; width: 100%; }

    .auth-left {
      width: 42%; background: #000000;
      border-right: 1px solid var(--border);
      padding: 44px 52px; display: flex; flex-direction: column;
      justify-content: space-between; position: relative; overflow: hidden;
    }
    .auth-left::before {
      content: ''; position: absolute; inset: 0;
      background-image: linear-gradient(to right,rgba(255,255,255,0.02) 1px,transparent 1px), linear-gradient(to bottom,rgba(255,255,255,0.02) 1px,transparent 1px);
      background-size: 36px 36px; pointer-events: none;
    }
    .auth-left-orb {
      position: absolute; width: 350px; height: 350px; border-radius: 50%;
      background: radial-gradient(circle,rgba(37,99,235,0.18) 0%,transparent 70%);
      top: -80px; right: -80px; filter: blur(40px); pointer-events: none;
    }
    .auth-left-orb-2 {
      position: absolute; width: 250px; height: 250px; border-radius: 50%;
      background: radial-gradient(circle,rgba(34,211,238,0.1) 0%,transparent 70%);
      bottom: -60px; left: -60px; filter: blur(40px); pointer-events: none;
    }

    .auth-feature-item {
      display: flex; align-items: flex-start; gap: 12px;
      padding: 14px; border-radius: var(--radius-lg);
      background: rgba(255,255,255,0.03); border: 1px solid var(--border);
      transition: background 0.2s;
    }
    .auth-feature-item:hover { background: rgba(255,255,255,0.05); }

    .auth-feature-icon {
      width: 36px; height: 36px; border-radius: var(--radius-sm);
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .auth-feature-icon svg { width:18px; height:18px; }

    .auth-right {
      flex: 1; display: flex; align-items: center; justify-content: center;
      padding: 40px 24px; position: relative;
    }
    .auth-right::before {
      content: ''; position: absolute; top: 0; right: 0; width: 400px; height: 400px;
      background: radial-gradient(circle,rgba(37,99,235,0.08) 0%,transparent 70%);
      pointer-events: none;
    }

    .auth-form-box { width: 100%; max-width: 440px; }

    .auth-tab {
      flex: 1; padding: 10px; font-family: var(--font); font-size: 14px;
      font-weight: 600; border: none; background: none; cursor: pointer;
      color: var(--muted); border-radius: var(--radius-md); transition: all 0.2s var(--ease-out);
    }
    .auth-tab.active {
      background: rgba(255,255,255,0.08); color: var(--fg); box-shadow: var(--shadow-sm);
    }

    .form-field {
      width: 100%; padding: 11px 14px;
      background: var(--surface); border: 1px solid var(--border);
      border-radius: var(--radius-md); font-family: var(--font);
      font-size: 14px; color: var(--fg); outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .form-field:focus { border-color: rgba(255, 255, 255, 0.4); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08); }
    .form-field::placeholder { color: var(--subtle); }

    .form-select {
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 14px center;
      padding-right: 36px;
      cursor: pointer;
    }
    .form-select option, .form-select optgroup {
      background: #111111;
      color: #ededed;
    }

    .pw-input-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      width: 100%;
    }
    .pw-input-wrapper input {
      padding-right: 42px;
    }
    .pw-toggle-btn {
      position: absolute;
      right: 10px;
      background: none;
      border: none;
      color: var(--muted);
      cursor: pointer;
      padding: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: var(--radius-sm);
      transition: color 0.15s;
    }
    .pw-toggle-btn:hover {
      color: var(--fg);
    }

    .google-auth-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      width: 100%;
      padding: 12px 16px;
      border-radius: var(--radius-md);
      background: #ffffff;
      color: #09090b;
      font-family: var(--font);
      font-size: 14px;
      font-weight: 600;
      border: 1px solid rgba(255, 255, 255, 0.95);
      cursor: pointer;
      transition: all 0.2s var(--ease-out);
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
      margin-bottom: 6px;
    }
    .google-auth-btn:hover {
      background: #f4f4f5;
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(255, 255, 255, 0.12), 0 4px 14px rgba(0, 0, 0, 0.4);
    }
    .google-auth-btn:active {
      transform: scale(0.99);
      background: #e4e4e7;
    }
    .google-auth-btn svg {
      flex-shrink: 0;
    }

    .form-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }

    .divider-or {
      display: flex; align-items: center; gap: 12px; margin: 18px 0;
    }
    .divider-or::before, .divider-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
    .divider-or span { font-size: 12px; color: var(--subtle); white-space: nowrap; }

    .auth-banner {
      border-radius: var(--radius-md);
      padding: 12px 14px;
      font-size: 13px;
      line-height: 1.5;
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 16px;
      animation: fadeIn 0.2s ease-out;
    }
    .auth-banner-error {
      background: rgba(239, 68, 68, 0.12);
      border: 1px solid rgba(239, 68, 68, 0.3);
      color: #fca5a5;
    }
    .auth-banner-success {
      background: rgba(16, 185, 129, 0.12);
      border: 1px solid rgba(16, 185, 129, 0.3);
      color: #6ee7b7;
    }
    .auth-banner-info {
      background: rgba(59, 130, 246, 0.12);
      border: 1px solid rgba(59, 130, 246, 0.3);
      color: #93c5fd;
    }

        .otp-inputs-wrapper {
      display: flex;
      gap: 8px;
      justify-content: center;
      margin: 16px 0 20px 0;
    }
    .otp-box {
      width: 46px;
      height: 52px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      color: #ffffff;
      font-size: 22px;
      font-weight: 800;
      font-family: monospace;
      text-align: center;
      outline: none;
      transition: all 0.2s;
    }
    .otp-box:focus {
      border-color: #38bdf8;
      box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
      background: rgba(255, 255, 255, 0.08);
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-4px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 768px) {
      .auth-left { display: none; }
    }

    /* ============================================================
       TANDAV v5.0 — AUTH PAGE PREMIUM UPGRADES
       ============================================================ */
    .auth-left-orb {
      background: radial-gradient(circle, rgba(37,99,235,0.24) 0%, transparent 70%) !important;
      width: 400px !important;
      height: 400px !important;
    }
    .auth-trust-strip {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 20px;
      padding: 12px 16px;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 12px;
    }
    .auth-trust-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
      white-space: nowrap;
    }
    .auth-trust-badge-meta {
      background: rgba(0,120,255,0.12);
      border: 1px solid rgba(0,120,255,0.22);
      color: #60a5fa;
    }
    .auth-trust-badge-gst {
      background: rgba(16,185,129,0.1);
      border: 1px solid rgba(16,185,129,0.22);
      color: #34d399;
    }
    .auth-trust-sep {
      width: 1px;
      height: 14px;
      background: rgba(255,255,255,0.1);
    }
    .auth-left-headline-glow {
      background: linear-gradient(135deg, #ffffff 0%, #a8d4ff 50%, #38bdf8 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

/* Auth redesign: quiet OLED surfaces, electric-blue guidance, and plain-language hierarchy. */
.auth-page {
  --auth-blue: #2563eb;
  --auth-sky: #38bdf8;
  --auth-light: #60a5fa;
  --auth-blue-soft: rgba(37, 99, 235, .16);
  --auth-focus: rgba(37, 99, 235, .28);
  min-height: 100svh;
  background: #000 !important;
}
.auth-page .bg-grid { opacity: .14; background-size: 72px 72px; }
.auth-page > .orb { display: none !important; }
.auth-page .auth-shell { min-height: 100svh; background: #000; }
.auth-page .auth-left {
  width: 45%;
  max-width: 620px;
  padding: clamp(32px, 5vw, 72px);
  background:
    radial-gradient(circle at 15% 12%, rgba(37, 99, 235, .14), transparent 34%),
    radial-gradient(circle at 88% 88%, rgba(56, 189, 248, .07), transparent 32%),
    #000 !important;
  border-right-color: rgba(255,255,255,.10);
}
.auth-page .auth-left::before { opacity: .55; background-size: 42px 42px; }
.auth-page .auth-left-orb,
.auth-page .auth-left-orb-2,
.auth-page .auth-right::before { display: none !important; }
.auth-page .auth-left-headline-glow {
  background: linear-gradient(135deg, #fff 0%, #bfdbfe 52%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.auth-page .auth-feature-item {
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.10);
  padding: 15px;
}
.auth-page .auth-feature-item:hover {
  background: rgba(37,99,235,.08);
  border-color: rgba(96,165,250,.28);
}
.auth-page .auth-feature-icon,
.auth-page .auth-feature-icon-primary,
.auth-page .auth-feature-icon-orange,
.auth-page .auth-feature-icon-green {
  background: rgba(37,99,235,.12) !important;
  border: 1px solid rgba(96,165,250,.24) !important;
  color: #60a5fa !important;
  box-shadow: 0 0 22px rgba(37,99,235,.12) !important;
}
.auth-page .auth-trust-strip,
.auth-page .auth-next-step {
  background: rgba(255,255,255,.035) !important;
  border-color: rgba(255,255,255,.10) !important;
}
.auth-page .auth-trust-badge-meta,
.auth-page .auth-trust-badge-gst {
  background: rgba(37,99,235,.10);
  border-color: rgba(96,165,250,.24);
  color: #93c5fd;
}
.auth-page .auth-right {
  min-width: 0;
  padding: clamp(24px, 5vw, 72px);
  background:
    radial-gradient(circle at 76% 16%, rgba(37,99,235,.11), transparent 28%),
    #000;
}
.auth-page .auth-form-box {
  max-width: 440px !important;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 24px;
  background: rgba(10,10,10,.78);
  box-shadow: 0 28px 90px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.auth-page .auth-tab { min-height: 42px; }
.auth-page .auth-tab:hover { color: #fff; }
.auth-page .auth-tab.active {
  color: #fff !important;
  background: rgba(37,99,235,.18) !important;
  border: 1px solid rgba(96,165,250,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 6px 18px rgba(37,99,235,.12);
}
.auth-page .form-field {
  min-height: 48px;
  background: rgba(255,255,255,.045) !important;
  border-color: rgba(255,255,255,.12) !important;
}
.auth-page .form-field:hover { border-color: rgba(255,255,255,.22) !important; }
.auth-page .form-field:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 4px rgba(56,189,248,.14) !important;
}
.auth-page .google-auth-btn {
  min-height: 48px;
  color: #f8fafc;
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.auth-page .google-auth-btn:hover {
  background: rgba(37,99,235,.12);
  border-color: rgba(96,165,250,.38);
  box-shadow: 0 10px 28px rgba(37,99,235,.14);
}
.auth-page .btn-primary {
  min-height: 48px;
  background: linear-gradient(180deg, #3b82f6, #2563eb) !important;
  border-color: rgba(147,197,253,.30) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 12px 30px rgba(37,99,235,.25) !important;
}
.auth-page .btn-primary:hover {
  background: linear-gradient(180deg, #60a5fa, #2563eb) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 16px 36px rgba(37,99,235,.34) !important;
}
.auth-page .auth-banner-info {
  background: rgba(37,99,235,.12);
  border-color: rgba(96,165,250,.30);
  color: #bfdbfe;
}
.auth-page .otp-box:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56,189,248,.14);
}
.auth-page .auth-mobile-brand { display: none; }
.auth-page .auth-mobile-brand img {
  width: 28px; height: 28px; border-radius: 9px;
  background: #fff; padding: 5px;
  box-shadow: 0 8px 24px rgba(37,99,235,.22);
}
.auth-page .auth-mobile-brand span { color: #f5f5f7; font-size: 17px; font-weight: 720; letter-spacing: -.035em; }
.auth-page .auth-mobile-brand .brand-tld { color: #93c5fd; font-size: 14px; font-weight: 500; }
@media (max-width: 900px) {
  .auth-page .auth-left { width: 40%; padding-inline: 28px; }
  .auth-page .auth-right { padding-inline: 28px; }
}
@media (max-width: 768px) {
  .auth-page .auth-left { display: none; }
  .auth-page .auth-right {
    min-height: 100svh;
    padding: 24px 18px;
    align-items: flex-start;
    flex-direction: column;
  }
  .auth-page .auth-mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 28px;
    text-decoration: none;
  }
  .auth-page .auth-form-box {
    width: 100%;
    max-width: 460px !important;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
}
@media (max-width: 420px) {
  .auth-page .auth-right { padding-inline: 14px; }
  .auth-page .auth-form-box { max-width: 100% !important; }
  .auth-page .otp-inputs-wrapper { gap: 6px; }
  .auth-page .otp-box { width: clamp(38px, 12vw, 46px); height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-page *, .auth-page *::before, .auth-page *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
