    :root[data-theme="dark"] {
      --bg: #0a0d14;
      --card-bg: rgba(18, 24, 38, 0.88);
      --border: #222d42;
      --text: #f8fafc;
      --text-muted: #94a3b8;
      --input-bg: #111726;
      --accent: #3b82f6;
      --accent-grad: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    }

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

    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 20px;
      position: relative;
      overflow-x: hidden;
    }

    .glow-blob {
      position: absolute;
      width: 450px;
      height: 450px;
      background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 70%, transparent 100%);
      border-radius: 50%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 0;
      pointer-events: none;
    }

    .auth-card {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 450px;
      background: var(--card-bg);
      backdrop-filter: blur(16px);
      border: 1px solid var(--border);
      border-radius: 24px;
      padding: 34px 30px;
      box-shadow: 0 20px 40px -15px rgba(0,0,0,0.6);
    }

    .brand-header {
      text-align: center;
      margin-bottom: 22px;
    }

    .logo-badge {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      background: var(--accent-grad);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      margin-bottom: 12px;
      box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    }

    .brand-header h1 {
      font-size: 22px;
      font-weight: 800;
      letter-spacing: -0.5px;
    }

    .brand-header p {
      font-size: 13px;
      color: var(--text-muted);
      margin-top: 4px;
    }

    .tab-switcher {
      display: flex;
      background: rgba(0,0,0,0.25);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 4px;
      margin-bottom: 20px;
    }

    .tab-btn {
      flex: 1;
      background: transparent;
      border: none;
      color: var(--text-muted);
      padding: 10px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      font-family: inherit;
      transition: all 0.2s;
    }

    .tab-btn.active {
      background: var(--accent);
      color: #fff;
      box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    }

    .alert {
      padding: 12px 14px;
      border-radius: 10px;
      font-size: 13.5px;
      margin-bottom: 18px;
      display: flex;
      align-items: center;
      gap: 8px;
      line-height: 1.4;
    }

    .alert-error {
      background: rgba(239, 68, 68, 0.15);
      border: 1px solid rgba(239, 68, 68, 0.3);
      color: #fca5a5;
    }

    .alert-success {
      background: rgba(16, 185, 129, 0.15);
      border: 1px solid rgba(16, 185, 129, 0.3);
      color: #86efac;
    }

    .form-group {
      margin-bottom: 16px;
    }

    .form-group-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 6px;
    }

    label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-muted);
      margin-bottom: 6px;
    }

    .link-forgot {
      font-size: 12.5px;
      color: #38bdf8;
      text-decoration: none;
      cursor: pointer;
    }

    .link-forgot:hover {
      text-decoration: underline;
    }

    input {
      width: 100%;
      padding: 12px 16px;
      background: var(--input-bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      color: var(--text);
      font-size: 16px;
      outline: none;
      font-family: inherit;
      transition: border-color 0.2s;
    }

    @media (max-width: 480px) {
      body {
        padding: 14px 12px;
      }
      .auth-card {
        padding: 24px 18px;
        border-radius: 20px;
      }
      .brand-header h1 {
        font-size: 20px;
      }
      .logo-badge {
        width: 42px;
        height: 42px;
        font-size: 20px;
      }
      .otp-input {
        font-size: 24px !important;
        letter-spacing: 6px !important;
        padding: 10px !important;
      }
      .btn-submit {
        padding: 13px;
        font-size: 14.5px;
      }
    }

    input:focus {
      border-color: var(--accent);
    }

    .otp-input {
      font-family: 'JetBrains Mono', monospace;
      font-size: 26px;
      letter-spacing: 10px;
      text-align: center;
      padding: 12px;
      font-weight: 700;
      color: #38bdf8;
    }

    .timer-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      color: #fde047;
      background: rgba(234, 179, 8, 0.12);
      border: 1px solid rgba(234, 179, 8, 0.3);
      padding: 6px 12px;
      border-radius: 20px;
      margin: 10px 0 16px;
    }

    .step-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      padding: 3px 10px;
      border-radius: 20px;
      background: rgba(59, 130, 246, 0.15);
      color: #38bdf8;
      margin-bottom: 12px;
    }

    .btn-submit {
      width: 100%;
      padding: 14px;
      background: var(--accent-grad);
      border: none;
      border-radius: 12px;
      color: #fff;
      font-weight: 700;
      font-size: 15px;
      cursor: pointer;
      font-family: inherit;
      margin-top: 6px;
      box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
      transition: transform 0.15s, opacity 0.15s;
    }

    .btn-submit:hover:not(:disabled) {
      transform: translateY(-1px);
      opacity: 0.95;
    }

    .btn-submit:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .btn-secondary {
      background: transparent;
      border: 1px solid var(--border);
      color: var(--text-muted);
      padding: 10px;
      border-radius: 10px;
      font-size: 13px;
      cursor: pointer;
      width: 100%;
      margin-top: 10px;
      font-family: inherit;
    }

    .btn-secondary:hover {
      color: var(--text);
      background: rgba(255, 255, 255, 0.05);
    }

    .footer-links {
      text-align: center;
      margin-top: 22px;
      font-size: 13px;
      color: var(--text-muted);
    }

    .back-home {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--text-muted);
      font-size: 13px;
      text-decoration: none;
      margin-top: 20px;
      transition: color 0.2s;
    }

    .back-home:hover {
      color: var(--text);
    }
