    /* ─── RESET & VARS ─── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --font-body: 'Inter', system-ui, sans-serif;
      --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
      --brand-purple: #7C3AED;
      --brand-violet: #8B5CF6;
      --brand-blue: #3B82F6;
      --brand-cyan: #06B6D4;
      --brand-green: #10B981;
      --brand-pink: #EC4899;
      --grad-primary: linear-gradient(135deg, #7C3AED 0%, #3B82F6 50%, #06B6D4 100%);
      --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
      --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
      --r-md: 16px;
      --r-lg: 24px;
      --r-xl: 32px;
      --r-pill: 9999px;
    }

    [data-theme="dark"] {
      --bg: #06060F;
      --bg-2: #0D0B1A;
      --bg-3: #12101F;
      --surface: rgba(255,255,255,0.04);
      --surface-hover: rgba(255,255,255,0.08);
      --border: rgba(255,255,255,0.08);
      --border-hover: rgba(255,255,255,0.18);
      --border-focus: rgba(124,58,237,0.6);
      --text-primary: #F8F8FF;
      --text-secondary: rgba(248,248,255,0.6);
      --text-muted: rgba(248,248,255,0.35);
      --nav-bg: rgba(6,6,15,0.7);
      --card-bg: rgba(255,255,255,0.04);
      --card-border: rgba(255,255,255,0.08);
      --input-bg: rgba(255,255,255,0.04);
      --shadow: 0 32px 80px rgba(0,0,0,0.7);
      --glow: rgba(124,58,237,0.3);
      --error: #EF4444;
    }

    [data-theme="light"] {
      --bg: #F8F7FF;
      --bg-2: #F0EEFF;
      --bg-3: #E8E4FF;
      --surface: rgba(124,58,237,0.04);
      --surface-hover: rgba(124,58,237,0.08);
      --border: rgba(124,58,237,0.12);
      --border-hover: rgba(124,58,237,0.28);
      --border-focus: rgba(124,58,237,0.7);
      --text-primary: #0F0B1F;
      --text-secondary: rgba(15,11,31,0.65);
      --text-muted: rgba(15,11,31,0.4);
      --nav-bg: rgba(248,247,255,0.8);
      --card-bg: rgba(255,255,255,0.85);
      --card-border: rgba(124,58,237,0.12);
      --input-bg: rgba(255,255,255,0.7);
      --shadow: 0 32px 80px rgba(124,58,237,0.15);
      --glow: rgba(124,58,237,0.12);
      --error: #DC2626;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font-body);
      background: var(--bg);
      color: var(--text-primary);
      min-height: 100vh;
      overflow-x: hidden;
      transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out);
      display: flex;
      flex-direction: column;
    }

    ::selection { background: rgba(124,58,237,0.3); }
    ::-webkit-scrollbar { width: 5px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--brand-purple); border-radius: 3px; }

    /* ─── BACKGROUND ─── */
    .bg-canvas {
      position: fixed; inset: 0; z-index: 0;
      pointer-events: none; overflow: hidden;
    }

    .bg-grid {
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(124,58,237,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124,58,237,0.03) 1px, transparent 1px);
      background-size: 60px 60px;
    }
    [data-theme="light"] .bg-grid {
      background-image:
        linear-gradient(rgba(124,58,237,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124,58,237,0.06) 1px, transparent 1px);
    }

    .bg-orb {
      position: absolute; border-radius: 50%;
      filter: blur(90px);
      animation: orbFloat 8s ease-in-out infinite;
    }

    [data-theme="dark"] .bg-orb { opacity: 0.18; }
    [data-theme="light"] .bg-orb { opacity: 0.07; }

    .bg-orb:nth-child(2) { width:500px;height:500px;background:var(--brand-purple);top:-150px;left:-150px;animation-delay:0s; }
    .bg-orb:nth-child(3) { width:400px;height:400px;background:var(--brand-cyan);bottom:0;right:-100px;animation-delay:-4s; }
    .bg-orb:nth-child(4) { width:300px;height:300px;background:var(--brand-pink);top:50%;left:30%;animation-delay:-2s; }

    @keyframes orbFloat {
      0%,100%{transform:translate(0,0) scale(1);}
      33%{transform:translate(20px,-20px) scale(1.04);}
      66%{transform:translate(-15px,15px) scale(0.96);}
    }

    /* ─── NAVBAR ─── */
    nav {
      position: fixed; top:0; left:0; right:0; z-index: 100;
      padding: 14px 0;
      background: var(--nav-bg);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border-bottom: 1px solid var(--border);
    }

    .nav-inner {
      display: flex; align-items: center; justify-content: space-between;
      max-width: 1200px; margin: 0 auto; padding: 0 24px;
    }

    .logo {
      display: flex; align-items: center; gap: 10px;
      text-decoration: none;
      font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
      color: var(--text-primary);
    }

    .logo-icon {
      width: 34px; height: 34px;
      background: var(--grad-primary);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 17px;
      box-shadow: 0 4px 15px rgba(124,58,237,0.4);
      animation: logoPulse 3s ease-in-out infinite;
    }

    @keyframes logoPulse {
      0%,100%{box-shadow:0 4px 15px rgba(124,58,237,0.4);}
      50%{box-shadow:0 4px 25px rgba(124,58,237,0.7),0 0 40px rgba(124,58,237,0.2);}
    }

    .logo span { background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
    .logo-img { height: 34px; width: auto; max-width: 140px; object-fit: contain; border-radius: 8px; }

    .nav-right { display: flex; align-items: center; gap: 12px; }

    .nav-link {
      color: var(--text-secondary);
      text-decoration: none; font-size: 0.85rem; font-weight: 500;
    }

    .nav-link:hover { color: var(--text-primary); }

    .theme-toggle {
      width: 40px; height: 40px;
      border-radius: var(--r-pill);
      background: var(--surface); border: 1px solid var(--border);
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      font-size: 17px; transition: all 0.3s var(--ease-spring); color: var(--text-primary);
    }

    .theme-toggle:hover { background: var(--surface-hover); transform: rotate(20deg) scale(1.1); }

    /* ─── MAIN LAYOUT ─── */
    main {
      flex: 1; display: flex; align-items: center; justify-content: center;
      padding: 100px 24px 40px;
      position: relative; z-index: 1;
    }

    /* ─── AUTH CARD ─── */
    .auth-wrapper {
      width: 100%; max-width: 480px;
      animation: cardIn 0.7s var(--ease-out) forwards;
      opacity: 0;
    }

    @keyframes cardIn {
      from { opacity:0; transform: translateY(30px) scale(0.97); }
      to { opacity:1; transform: translateY(0) scale(1); }
    }

    .auth-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--r-xl);
      padding: 48px 40px;
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      box-shadow: var(--shadow), 0 0 0 1px var(--card-border), inset 0 1px 0 rgba(255,255,255,0.06);
      position: relative;
      overflow: hidden;
    }

    [data-theme="light"] .auth-card {
      box-shadow: var(--shadow), 0 0 0 1px var(--card-border);
    }

    /* Subtle glow top */
    .auth-card::before {
      content: '';
      position: absolute;
      top: -60px; left: 50%; transform: translateX(-50%);
      width: 300px; height: 200px;
      background: radial-gradient(ellipse, rgba(124,58,237,0.15) 0%, transparent 70%);
      pointer-events: none;
    }

    /* ─── BRAND HEADER ─── */
    .auth-brand {
      text-align: center; margin-bottom: 36px;
    }

    .auth-icon {
      width: 64px; height: 64px;
      background: var(--grad-primary);
      border-radius: 20px;
      display: flex; align-items: center; justify-content: center;
      font-size: 30px;
      margin: 0 auto 20px;
      box-shadow: 0 8px 32px rgba(124,58,237,0.5);
      animation: iconBob 4s ease-in-out infinite;
    }

    @keyframes iconBob {
      0%,100%{transform:translateY(0);}
      50%{transform:translateY(-6px);}
    }

    .auth-brand h1 {
      font-family: var(--font-display);
      font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em;
      margin-bottom: 8px;
    }

    .gradient-text {
      background: var(--grad-primary);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .auth-brand p {
      font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6;
    }

    /* ─── SOCIAL BUTTONS ─── */
    .social-row {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 12px; margin-bottom: 28px;
    }

    .social-btn {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      padding: 12px;
      background: var(--input-bg);
      border: 1px solid var(--border);
      border-radius: var(--r-md);
      font-size: 0.85rem; font-weight: 600;
      color: var(--text-primary);
      cursor: pointer;
      transition: all 0.25s var(--ease-out);
      font-family: var(--font-body);
    }

    .social-btn:hover {
      background: var(--surface-hover);
      border-color: var(--border-hover);
      transform: translateY(-2px);
    }

    .social-icon { width: 18px; height: 18px; }

    /* ─── DIVIDER ─── */
    .divider {
      display: flex; align-items: center; gap: 12px;
      margin-bottom: 28px;
    }

    .divider-line {
      flex: 1; height: 1px;
      background: var(--border);
    }

    .divider-text {
      font-size: 0.75rem; color: var(--text-muted);
      font-weight: 500; white-space: nowrap;
    }

    /* ─── FORM ─── */
    .form-group { margin-bottom: 20px; }

    .form-label {
      display: flex; align-items: center; justify-content: space-between;
      font-size: 0.82rem; font-weight: 600;
      color: var(--text-secondary); margin-bottom: 8px;
    }

    .form-label a {
      color: var(--brand-violet);
      text-decoration: none; font-size: 0.78rem;
      transition: color 0.2s;
    }

    .form-label a:hover { color: var(--brand-blue); }

    .input-wrap {
      position: relative; display: flex; align-items: center;
    }

    .input-icon {
      position: absolute; left: 14px;
      font-size: 16px; pointer-events: none;
      transition: transform 0.3s var(--ease-spring);
      z-index: 1;
    }

    .form-input {
      width: 100%; padding: 14px 44px 14px 44px;
      background: var(--input-bg);
      border: 1px solid var(--border);
      border-radius: var(--r-md);
      font-family: var(--font-body);
      font-size: 0.9rem; color: var(--text-primary);
      outline: none;
      transition: all 0.3s var(--ease-out);
      -webkit-appearance: none;
    }

    .form-input::placeholder { color: var(--text-muted); }

    .form-input:focus {
      border-color: var(--border-focus);
      background: var(--surface-hover);
      box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
    }

    .form-input:focus + .focus-ring { opacity: 1; }

    .form-input:focus ~ .input-icon { transform: scale(1.15); }

    .input-action {
      position: absolute; right: 12px;
      background: none; border: none;
      cursor: pointer; font-size: 16px; color: var(--text-muted);
      transition: color 0.2s, transform 0.2s;
      padding: 4px;
    }

    .input-action:hover { color: var(--text-primary); transform: scale(1.1); }

    /* Password strength */
    .strength-bar {
      height: 3px; border-radius: 2px;
      background: var(--border);
      margin-top: 8px;
      overflow: hidden;
    }

    .strength-fill {
      height: 100%; border-radius: 2px;
      width: 0%; transition: width 0.4s var(--ease-out), background 0.4s;
    }

    /* ─── REMEMBER ME ─── */
    .form-check {
      display: flex; align-items: center; gap: 10px;
      margin-bottom: 24px;
    }

    .custom-checkbox { position: relative; }

    .custom-checkbox input[type="checkbox"] {
      position: absolute; opacity: 0; width: 0; height: 0;
    }

    .checkmark {
      width: 18px; height: 18px;
      border: 1.5px solid var(--border);
      border-radius: 5px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      transition: all 0.2s var(--ease-spring);
      background: var(--input-bg);
    }

    .custom-checkbox input:checked ~ .checkmark {
      background: var(--grad-primary);
      border-color: transparent;
    }

    .checkmark::after {
      content: '✓';
      font-size: 11px; color: #fff;
      opacity: 0; transform: scale(0);
      transition: all 0.2s var(--ease-spring);
    }

    .custom-checkbox input:checked ~ .checkmark::after {
      opacity: 1; transform: scale(1);
    }

    .check-label {
      font-size: 0.83rem; color: var(--text-secondary); cursor: pointer;
    }

    /* ─── SUBMIT BUTTON ─── */
    .btn-submit {
      width: 100%; padding: 15px;
      background: var(--grad-primary);
      border: none; border-radius: var(--r-md);
      font-family: var(--font-display);
      font-size: 1rem; font-weight: 700;
      color: #fff; cursor: pointer;
      position: relative; overflow: hidden;
      transition: all 0.3s var(--ease-out);
      box-shadow: 0 4px 20px rgba(124,58,237,0.4);
      margin-bottom: 24px;
    }

    .btn-submit:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 32px rgba(124,58,237,0.6);
    }

    .btn-submit:active { transform: translateY(0); }

    .btn-submit::after {
      content: '';
      position: absolute; top:0; left:-100%;
      width: 60%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      animation: shimmer 3s ease-in-out infinite;
    }

    @keyframes shimmer { 0%{left:-100%;} 50%,100%{left:150%;} }

    .btn-submit .btn-loader {
      display: none;
      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;
      margin: 0 auto;
    }

    @keyframes spin { to { transform: rotate(360deg); } }

    .btn-submit.loading .btn-text { display: none; }
    .btn-submit.loading .btn-loader { display: block; }

    /* ─── FOOTER LINK ─── */
    .auth-footer {
      text-align: center;
      font-size: 0.85rem; color: var(--text-secondary);
    }

    .auth-footer a {
      color: var(--brand-violet); font-weight: 600;
      text-decoration: none; transition: color 0.2s;
    }

    .auth-footer a:hover { color: var(--brand-blue); }

    /* ─── ERROR / SUCCESS TOAST ─── */
    .toast {
      position: fixed; bottom: 24px; right: 24px;
      padding: 14px 20px;
      border-radius: var(--r-md);
      font-size: 0.85rem; font-weight: 600;
      display: flex; align-items: center; gap: 10px;
      transform: translateX(200%);
      transition: transform 0.4s var(--ease-spring);
      z-index: 999; max-width: 320px;
      backdrop-filter: blur(10px);
    }

    .toast.show { transform: translateX(0); }
    .toast.error { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); color: #EF4444; }
    .toast.success { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: #10B981; }

    /* ─── FIELD ERROR ─── */
    .field-error {
      font-size: 0.75rem; color: var(--error);
      margin-top: 6px; display: none;
      animation: errorSlide 0.3s var(--ease-out);
    }

    .field-error.show { display: block; }
    @keyframes errorSlide { from{opacity:0;transform:translateY(-4px);} to{opacity:1;transform:translateY(0);} }

    .form-input.has-error { border-color: var(--error) !important; box-shadow: 0 0 0 3px rgba(239,68,68,0.15) !important; }

    /* ─── UPI BADGE ─── */
    .upi-badges {
      display: flex; align-items: center; justify-content: center;
      gap: 8px; margin-top: 28px; flex-wrap: wrap;
    }

    .upi-badge {
      display: inline-flex; align-items: center; gap: 5px;
      padding: 5px 12px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r-pill);
      font-size: 0.7rem; color: var(--text-muted); font-weight: 500;
    }

    /* ─── SIDE PANEL (desktop) ─── */
    .auth-page {
      display: flex; gap: 0; width: 100%; max-width: 960px;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--r-xl);
      overflow: hidden;
      box-shadow: var(--shadow);
      backdrop-filter: blur(24px);
    }

    .auth-panel {
      flex: 0 0 380px;
      background: linear-gradient(145deg, rgba(124,58,237,0.2), rgba(59,130,246,0.1), rgba(6,182,212,0.08));
      border-right: 1px solid var(--card-border);
      padding: 48px 40px;
      display: flex; flex-direction: column; justify-content: space-between;
      position: relative; overflow: hidden;
    }

    .auth-panel::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse at top left, rgba(124,58,237,0.2) 0%, transparent 60%);
      pointer-events: none;
    }

    .panel-brand { position: relative; z-index: 1; }
    .panel-brand h2 {
      font-family: var(--font-display);
      font-size: 1.8rem; font-weight: 800;
      line-height: 1.2; letter-spacing: -0.02em;
      margin-bottom: 16px;
    }

    .panel-brand p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

    .panel-stats { display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 1; }

    .panel-stat {
      display: flex; align-items: center; gap: 14px;
      padding: 16px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: var(--r-md);
      transition: all 0.3s;
    }

    [data-theme="light"] .panel-stat {
      background: rgba(124,58,237,0.04);
      border-color: rgba(124,58,237,0.1);
    }

    .panel-stat:hover { transform: translateX(4px); }

    .ps-icon {
      width: 40px; height: 40px;
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px; flex-shrink: 0;
    }

    .ps-text .ps-value { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
    .ps-text .ps-label { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

    .panel-footer { font-size: 0.72rem; color: var(--text-muted); position: relative; z-index: 1; }

    .auth-form-section {
      flex: 1; padding: 48px 40px;
      overflow-y: auto;
    }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 800px) {
      .auth-panel { display: none; }
      .auth-page { max-width: 480px; }
      .auth-form-section { padding: 40px 28px; }
    }

    @media (max-width: 480px) {
      .auth-form-section { padding: 32px 20px; }
      .social-row { grid-template-columns: 1fr; }
    }

    @keyframes rippleAnim { to { transform: scale(3); opacity: 0; } }

/* ── signup extras ── */

    .panel-logo {
      display: flex; align-items: center; gap: 10px;
      margin-bottom: 32px;
    }

    .panel-logo .logo-icon { width: 44px; height: 44px; font-size: 20px; }

    .panel-logo-text .name {
      font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--text-primary);
    }

    .panel-logo-text .sub { font-size: 0.7rem; color: var(--text-muted); }

    .panel-heading {
      font-family: var(--font-display);
      font-size: 1.7rem; font-weight: 800;
      line-height: 1.2; letter-spacing: -0.02em;
      margin-bottom: 14px;
    }

    .gradient-text {
      background: var(--grad-primary);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .panel-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 36px; }

    /* Feature checklist */
    .feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }

    .feature-list li {
      display: flex; align-items: flex-start; gap: 12px;
      font-size: 0.85rem; color: var(--text-secondary);
    }

    .feature-list .fi {
      width: 28px; height: 28px;
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: 14px; flex-shrink: 0;
    }

    .fi-p { background: rgba(124,58,237,0.15); }
    .fi-g { background: rgba(16,185,129,0.15); }
    .fi-b { background: rgba(59,130,246,0.15); }
    .fi-o { background: rgba(245,158,11,0.15); }

    .panel-bottom { position: relative; z-index: 1; }

    .trust-row {
      display: flex; flex-direction: column; gap: 8px;
    }

    .trust-item {
      display: flex; align-items: center; gap: 8px;
      font-size: 0.72rem; color: var(--text-muted);
    }

    /* ─── FORM SECTION ─── */
    .auth-form-section {
      flex: 1; padding: 48px 44px; overflow-y: auto;
    }

    /* ─── STEP PROGRESS ─── */
    .step-progress {
      display: flex; align-items: center; gap: 0;
      margin-bottom: 40px;
    }

    .step-dot {
      display: flex; align-items: center; justify-content: center;
      width: 36px; height: 36px;
      border-radius: 50%;
      font-size: 0.8rem; font-weight: 700;
      border: 2px solid var(--border);
      color: var(--text-muted);
      background: var(--surface);
      transition: all 0.4s var(--ease-spring);
      flex-shrink: 0;
      position: relative;
    }

    .step-dot.active {
      background: var(--grad-primary);
      border-color: transparent;
      color: #fff;
      box-shadow: 0 4px 16px rgba(124,58,237,0.5);
    }

    .step-dot.done {
      background: rgba(16,185,129,0.15);
      border-color: var(--brand-green);
      color: var(--brand-green);
    }

    .step-line {
      flex: 1; height: 2px;
      background: var(--border);
      position: relative;
      overflow: hidden;
    }

    .step-line::after {
      content: '';
      position: absolute; top:0; left:0; bottom:0;
      width: 0%;
      background: var(--grad-primary);
      transition: width 0.5s var(--ease-out);
    }

    .step-line.filled::after { width: 100%; }

    .step-label {
      font-size: 0.68rem; font-weight: 600; color: var(--text-muted);
      text-transform: uppercase; letter-spacing: 0.06em;
      margin-top: 6px;
      text-align: center;
    }

    .step-item { display: flex; flex-direction: column; align-items: center; }

    /* ─── FORM STEPS ─── */
    .form-step { display: none; animation: stepIn 0.45s var(--ease-out); }
    .form-step.active { display: block; }

    @keyframes stepIn {
      from{opacity:0;transform:translateX(20px);}
      to{opacity:1;transform:translateX(0);}
    }

    .step-title {
      font-family: var(--font-display);
      font-size: 1.5rem; font-weight: 800;
      letter-spacing: -0.02em; margin-bottom: 6px;
    }

    .step-sub {
      font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 28px;
    }

    /* ─── FORM ELEMENTS ─── */
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

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

    .form-label {
      display: block; font-size: 0.82rem; font-weight: 600;
      color: var(--text-secondary); margin-bottom: 8px;
    }

    .input-wrap { position: relative; display: flex; align-items: center; }

    .input-icon {
      position: absolute; left: 14px;
      font-size: 16px; pointer-events: none; z-index: 1;
      transition: transform 0.3s var(--ease-spring);
    }

    .form-input {
      width: 100%; padding: 13px 44px 13px 44px;
      background: var(--input-bg);
      border: 1px solid var(--border);
      border-radius: var(--r-md);
      font-family: var(--font-body); font-size: 0.9rem;
      color: var(--text-primary); outline: none;
      transition: all 0.3s var(--ease-out);
      -webkit-appearance: none;
    }

    .form-input::placeholder { color: var(--text-muted); }

    .form-input:focus {
      border-color: var(--border-focus);
      background: var(--surface-hover);
      box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
    }

    .form-input:focus ~ .input-icon,
    .input-wrap:focus-within .input-icon { transform: scale(1.15); }

    .form-input.no-icon { padding-left: 14px; }

    .input-action {
      position: absolute; right: 12px;
      background: none; border: none; cursor: pointer;
      font-size: 16px; color: var(--text-muted);
      transition: color 0.2s, transform 0.2s; padding: 4px;
    }

    .input-action:hover { color: var(--text-primary); transform: scale(1.1); }

    /* Select */
    .form-select {
      width: 100%; padding: 13px 14px;
      background: var(--input-bg);
      border: 1px solid var(--border);
      border-radius: var(--r-md);
      font-family: var(--font-body); font-size: 0.9rem;
      color: var(--text-primary); outline: none;
      transition: all 0.3s var(--ease-out);
      cursor: pointer;
      -webkit-appearance: none;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238B5CF6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 14px center;
      padding-right: 36px;
    }

    .form-select:focus {
      border-color: var(--border-focus);
      box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
    }

    .form-select option { background: #0D0B1A; color: #F8F8FF; }
    [data-theme="light"] .form-select option { background: #fff; color: #0F0B1F; }

    /* Business type cards */
    .biz-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 10px; margin-bottom: 18px;
    }

    .biz-card {
      padding: 14px 10px; text-align: center;
      border: 1.5px solid var(--border);
      border-radius: var(--r-md);
      cursor: pointer;
      transition: all 0.25s var(--ease-spring);
      background: var(--input-bg);
    }

    .biz-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }

    .biz-card.selected {
      border-color: var(--brand-violet);
      background: rgba(124,58,237,0.08);
      box-shadow: 0 0 0 2px rgba(124,58,237,0.2);
    }

    .biz-card .biz-icon { font-size: 22px; margin-bottom: 6px; display: block; }
    .biz-card .biz-name { font-size: 0.72rem; font-weight: 600; color: var(--text-secondary); }

    /* Password strength */
    .strength-wrap { margin-top: 8px; }

    .strength-bars {
      display: flex; gap: 4px; margin-bottom: 4px;
    }

    .sbar {
      flex: 1; height: 3px; border-radius: 2px;
      background: var(--border);
      transition: background 0.3s;
    }

    .sbar.weak { background: #EF4444; }
    .sbar.fair { background: var(--brand-orange); }
    .sbar.good { background: var(--brand-blue); }
    .sbar.strong { background: var(--brand-green); }

    .strength-label { font-size: 0.72rem; color: var(--text-muted); }

    /* Checkbox */
    .form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }

    .custom-checkbox { position: relative; flex-shrink: 0; margin-top: 2px; }

    .custom-checkbox input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }

    .checkmark {
      width: 18px; height: 18px;
      border: 1.5px solid var(--border); border-radius: 5px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: all 0.2s var(--ease-spring);
      background: var(--input-bg);
    }

    .custom-checkbox input:checked ~ .checkmark {
      background: var(--grad-primary); border-color: transparent;
    }

    .checkmark::after {
      content: '✓'; font-size: 11px; color: #fff;
      opacity: 0; transform: scale(0);
      transition: all 0.2s var(--ease-spring);
    }

    .custom-checkbox input:checked ~ .checkmark::after { opacity: 1; transform: scale(1); }

    .check-label { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }
    .check-label a { color: var(--brand-violet); text-decoration: none; }
    .check-label a:hover { color: var(--brand-blue); }

    /* OTP input */
    .otp-row { display: flex; gap: 10px; justify-content: center; margin: 24px 0; }

    .otp-input {
      width: 52px; height: 60px;
      text-align: center; font-size: 1.4rem; font-weight: 700;
      background: var(--input-bg); border: 2px solid var(--border);
      border-radius: var(--r-md); color: var(--text-primary);
      outline: none; font-family: var(--font-display);
      transition: all 0.25s var(--ease-out);
    }

    .otp-input:focus {
      border-color: var(--brand-violet);
      box-shadow: 0 0 0 3px rgba(124,58,237,0.2);
      background: var(--surface-hover);
    }

    .otp-input.filled {
      border-color: var(--brand-green);
      color: var(--brand-green);
    }

    /* ─── NAVIGATION BUTTONS ─── */
    .form-nav {
      display: flex; gap: 12px; margin-top: 8px;
    }

    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 13px 24px; border-radius: var(--r-pill);
      font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
      cursor: pointer; transition: all 0.25s var(--ease-out);
      border: none; text-decoration: none; white-space: nowrap;
      position: relative; overflow: hidden;
    }

    .btn-primary {
      background: var(--grad-primary); color: #fff;
      box-shadow: 0 4px 20px rgba(124,58,237,0.4); flex: 1;
      justify-content: center;
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,58,237,0.6); }
    .btn-primary:active { transform: translateY(0); }

    .btn-primary::after {
      content: ''; position: absolute; top:0; left:-100%;
      width: 60%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      animation: shimmer 3s ease-in-out infinite;
    }

    @keyframes shimmer { 0%{left:-100%;} 50%,100%{left:150%;} }

    .btn-ghost {
      background: var(--surface); color: var(--text-primary);
      border: 1px solid var(--border);
    }
    .btn-ghost:hover { background: var(--surface-hover); border-color: var(--border-hover); }

    .btn .btn-loader {
      display: none; 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);} }
    .btn.loading .btn-text { display: none; }
    .btn.loading .btn-loader { display: block; }

    /* ─── SUCCESS STATE ─── */
    .success-view {
      text-align: center; padding: 20px 0; display: none;
      animation: stepIn 0.5s var(--ease-out);
    }

    .success-view.show { display: block; }

    .success-icon {
      width: 80px; height: 80px;
      border-radius: 50%;
      background: rgba(16,185,129,0.15);
      border: 2px solid var(--brand-green);
      display: flex; align-items: center; justify-content: center;
      font-size: 36px; margin: 0 auto 24px;
      animation: successPop 0.5s var(--ease-spring) forwards;
    }

    @keyframes successPop {
      from{transform:scale(0);opacity:0;}
      to{transform:scale(1);opacity:1;}
    }

    /* ─── ERRORS ─── */
    .field-error {
      font-size: 0.75rem; color: var(--error); margin-top: 6px;
      display: none; animation: errorSlide 0.3s var(--ease-out);
    }
    .field-error.show { display: block; }
    @keyframes errorSlide { from{opacity:0;transform:translateY(-4px);} to{opacity:1;transform:translateY(0);} }
    .form-input.has-error { border-color: var(--error) !important; box-shadow: 0 0 0 3px rgba(239,68,68,0.15) !important; }

    /* ─── SOCIAL ROW ─── */
    .social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }

    .social-btn {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      padding: 11px; background: var(--input-bg);
      border: 1px solid var(--border); border-radius: var(--r-md);
      font-size: 0.85rem; font-weight: 600; color: var(--text-primary);
      cursor: pointer; transition: all 0.25s var(--ease-out); font-family: var(--font-body);
    }
    .social-btn:hover { background: var(--surface-hover); border-color: var(--border-hover); transform: translateY(-2px); }
    .social-icon { width: 18px; height: 18px; }

    .divider { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
    .divider-line { flex: 1; height: 1px; background: var(--border); }
    .divider-text { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }

    /* ─── AUTH FOOTER ─── */
    .auth-footer { text-align: center; font-size: 0.82rem; color: var(--text-secondary); margin-top: 20px; }
    .auth-footer a { color: var(--brand-violet); font-weight: 600; text-decoration: none; transition: color 0.2s; }
    .auth-footer a:hover { color: var(--brand-blue); }

    /* ─── TOAST ─── */
    .toast {
      position: fixed; bottom: 24px; right: 24px;
      padding: 14px 20px; border-radius: var(--r-md);
      font-size: 0.85rem; font-weight: 600;
      display: flex; align-items: center; gap: 10px;
      transform: translateX(200%); transition: transform 0.4s var(--ease-spring);
      z-index: 999; max-width: 320px; backdrop-filter: blur(10px);
    }
    .toast.show { transform: translateX(0); }
    .toast.error { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); color: #EF4444; }
    .toast.success { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: #10B981; }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 800px) {
      .auth-panel { display: none; }
      .auth-page { max-width: 520px; }
      .auth-form-section { padding: 36px 28px; }
      .form-row { grid-template-columns: 1fr; }
      .biz-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 480px) {
      .auth-form-section { padding: 28px 20px; }
      .biz-grid { grid-template-columns: repeat(3, 1fr); }
      .social-row { grid-template-columns: 1fr; }
      .otp-input { width: 42px; height: 52px; font-size: 1.2rem; }
    }

