/* =====================================================
   CareerIQ AI — Shared Auth Stylesheet
   Palette: Midnight Slate & Neon Cobalt
   ===================================================== */

/* ---- Reuse design tokens from main site ---- */
:root {
  /* ═══════════════════════════════════════════════
     DARK MODE — Rose Gold
     Deep charcoal surfaces, rose/gold brand accents
     ═══════════════════════════════════════════════ */

  /* Surfaces */
  --bg-primary:        #1a1218;
  --bg-secondary:      #221720;
  --bg-card:           #281d26;
  --bg-card-hover:     #32252f;
  --bg-highest:        #3d2e39;
  --bg-lowest:         #130d11;
  --bg-bright:         #3d2e39;

  /* Glass overlays */
  --bg-glass:          rgba(244, 165, 176, 0.05);
  --bg-glass-hover:    rgba(244, 165, 176, 0.10);
  --bg-nav:            rgba(26, 18, 24, 0.88);
  --bg-nav-scrolled:   rgba(19, 13, 17, 0.97);

  /* Borders */
  --border:            #4a3545;
  --border-strong:     #7a5a72;
  --border-input:      #4a3545;

  /* Text */
  --text-primary:      #f4eff2;
  --text-secondary:    #d4bfca;
  --text-muted:        #9a7f92;
  --text-inverse:      #2a1f27;
  --text-error:        #ffb3b0;
  --text-success:      #86efac;

  /* Brand — Rose Gold */
  --brand:             #f4a5b0;  /* rose on dark */
  --brand-light:       #ffd7de;  /* lighter rose tint */
  --brand-dark:        #c2185b;  /* deep rose/magenta */
  --on-brand:          #2a0a14;  /* text ON brand bg */

  /* Semantic colors */
  --green:             #86efac;
  --orange:            #fbbf24;
  --red:               #ffb3b0;
  --pink:              #f4a5b0;
  --on-red:            #3b0012;

  /* Gradients */
  --gradient-brand:    linear-gradient(135deg, #f4a5b0 0%, #c2185b 100%);
  --gradient-text:     linear-gradient(135deg, #ffd7de 0%, #f4a5b0 50%, #c2185b 100%);
  --gradient-hero:     radial-gradient(ellipse at top, rgba(244, 165, 176, 0.14) 0%, transparent 65%);

  /* Elevation */
  --shadow-sm:         0 0 0 1px rgba(255, 255, 255, 0.06);
  --shadow-md:         0 0 0 1px rgba(255, 255, 255, 0.09);
  --shadow-lg:         0 0 0 1px rgba(255, 255, 255, 0.09), 0 8px 24px rgba(0,0,0,0.5);
  --shadow-xl:         0 0 0 1px rgba(255, 255, 255, 0.09), 0 16px 40px rgba(0,0,0,0.65);
  --shadow-glow:       0 0 28px rgba(244, 165, 176, 0.22);
  --shadow-glow-sm:    0 0 14px rgba(244, 165, 176, 0.15);

  /* Shape */
  --radius-xs:         2px;
  --radius-sm:         4px;
  --radius-md:         8px;
  --radius-lg:         12px;
  --radius-xl:         16px;
  --radius-full:       9999px;

  /* Layout */
  --nav-height:        64px;

  /* Motion */
  --transition:        0.2s ease;
  --transition-md:     0.3s ease;
  --transition-lg:     0.5s ease;
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Typography */
  --font-sans:         'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:         'Geist', 'Geist Mono', monospace;
}

[data-theme="light"] {
  /* ═══════════════════════════════════════════════
     LIGHT MODE — Rose Gold
     Warm white surfaces, deep rose brand
     ═══════════════════════════════════════════════ */

  /* Surfaces */
  --bg-primary:        #fff8f9;
  --bg-secondary:      #fdeef1;
  --bg-card:           #ffffff;
  --bg-card-hover:     #fdf2f4;
  --bg-highest:        #f9e4e8;
  --bg-lowest:         #ffffff;
  --bg-bright:         #ffffff;

  /* Glass overlays */
  --bg-glass:          rgba(194, 24, 91, 0.04);
  --bg-glass-hover:    rgba(194, 24, 91, 0.08);
  --bg-nav:            rgba(255, 248, 249, 0.90);
  --bg-nav-scrolled:   rgba(255, 248, 249, 0.98);

  /* Borders */
  --border:            #f0c8d0;
  --border-strong:     #c2849a;
  --border-input:      #f0c8d0;

  /* Text */
  --text-primary:      #1f0f15;
  --text-secondary:    #5c3347;
  --text-muted:        #9a6080;
  --text-inverse:      #f4eff2;
  --text-error:        #a01040;
  --text-success:      #166534;

  /* Brand — deep rose on light */
  --brand:             #c2185b;
  --brand-light:       #f4a5b0;
  --brand-dark:        #880e4f;
  --on-brand:          #ffffff;

  /* Semantic colors */
  --green:             #166534;
  --orange:            #92400e;
  --red:               #a01040;
  --pink:              #c2185b;
  --on-red:            #ffffff;

  /* Gradients */
  --gradient-brand:    linear-gradient(135deg, #c2185b 0%, #880e4f 100%);
  --gradient-text:     linear-gradient(135deg, #c2185b 0%, #880e4f 100%);
  --gradient-hero:     radial-gradient(ellipse at top, rgba(194, 24, 91, 0.07) 0%, transparent 65%);

  /* Elevation */
  --shadow-sm:         0 1px 3px rgba(31, 15, 21, 0.08);
  --shadow-md:         0 4px 12px rgba(31, 15, 21, 0.10);
  --shadow-lg:         0 8px 28px rgba(31, 15, 21, 0.12);
  --shadow-xl:         0 16px 48px rgba(31, 15, 21, 0.14);
  --shadow-glow:       0 0 24px rgba(194, 24, 91, 0.18);
  --shadow-glow-sm:    0 0 12px rgba(194, 24, 91, 0.12);
}


[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition-md), color var(--transition-md);
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- Gradient Text ---- */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ======================================================
   AUTH LAYOUT
   ====================================================== */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Left Panel */
.auth-left {
  position: relative;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  overflow: hidden;
}
.auth-left-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: orbFloat 8s ease-in-out infinite;
}
.auth-orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(175, 198, 255, 0.15), transparent 70%);
  top: -100px; left: -100px;
}
.auth-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(217, 226, 255, 0.12), transparent 70%);
  bottom: 100px; right: -50px;
  animation-delay: -4s;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(20px,-15px) scale(1.05); }
}
.auth-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(175, 198, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(175, 198, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 50%, rgba(0,0,0,0.6) 0%, transparent 70%);
}
.auth-left-content { position: relative; z-index: 1; }

/* Logo */
.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 60px;
}
.auth-logo-icon {
  width: 36px; height: 36px;
  background: var(--gradient-brand);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-ai-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Left panel hero text */
.auth-hero-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.auth-hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 40px;
}

/* Feature list on left */
.auth-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}
.auth-feature-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(175, 198, 255, 0.1);
  border: 1px solid rgba(175, 198, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-light);
  flex-shrink: 0;
}

/* Organization badge */
.org-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(175, 198, 255, 0.08);
  border: 1px solid rgba(175, 198, 255, 0.18);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-light);
  margin-bottom: 24px;
}
.org-badge-dot {
  width: 6px; height: 6px;
  background: var(--brand-light);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand-light);
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* Left panel footer */
.auth-left-footer {
  position: relative;
  z-index: 1;
  font-size: 12px;
  color: var(--text-muted);
}

/* ======================================================
   RIGHT PANEL — FORM
   ====================================================== */
.auth-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 60px;
  background: var(--bg-primary);
  overflow-y: auto;
}
.auth-form-container {
  width: 100%;
  max-width: 440px;
}
.auth-form-header {
  margin-bottom: 32px;
}
.auth-form-header h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.auth-form-header p {
  font-size: 15px;
  color: var(--text-secondary);
}
.auth-form-header p a {
  color: var(--brand-light);
  font-weight: 600;
  transition: opacity var(--transition);
}
.auth-form-header p a:hover { opacity: 0.8; }

/* Nav theme toggle */
.auth-top-bar {
  position: fixed;
  top: 0; right: 0;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 100;
}
.theme-toggle-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
  cursor: pointer;
}
.theme-toggle-btn:hover { color: var(--text-primary); background: var(--bg-glass-hover); }
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

/* ======================================================
   FORM COMPONENTS
   ====================================================== */

/* Google OAuth Button */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-md);
}
.btn-google:hover {
  background: var(--bg-glass-hover);
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-sm);
}
.btn-google:active { transform: translateY(0); }
.google-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Form group */
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.form-label .required {
  color: var(--brand-light);
  margin-left: 2px;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-primary); /* Darker than card */
  border: none;
  border-bottom: 1px solid var(--border-input);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: 14px;
  color: var(--text-primary);
  transition: all var(--transition-md);
  outline: none;
  appearance: none;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
  border-bottom-color: var(--brand);
  box-shadow: 0 2px 4px -2px var(--brand); /* 2px blur neon underline */
  background: var(--bg-glass);
}
.form-input.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 180, 171, 0.1);
}
.form-input.success {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(198, 198, 201, 0.08);
}
.form-error {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-error);
  margin-top: 6px;
  animation: slideIn 0.2s ease;
}
@keyframes slideIn { from{opacity:0;transform:translateY(-4px)} to{opacity:1;transform:translateY(0)} }
.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 5px;
}

/* Input with icon */
.input-wrapper {
  position: relative;
}
.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.input-wrapper .form-input { padding-left: 38px; }
.input-suffix {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
}
.input-suffix:hover { color: var(--text-secondary); }

/* Password strength */
.password-strength {
  margin-top: 8px;
}
.strength-bars {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}
.strength-bar {
  flex: 1;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  transition: background var(--transition-md);
}
.strength-bar.weak { background: var(--red) !important; }
.strength-bar.fair { background: var(--orange) !important; }
.strength-bar.good { background: var(--lime) !important; }
.strength-bar.strong { background: var(--green) !important; }
.strength-label { font-size: 11px; color: var(--text-muted); }

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}
.form-checkbox a { color: var(--brand-light); font-weight: 600; }

/* Primary Button */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--brand);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-md);
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: none;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-sm);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.btn-primary .spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #dfe3e7;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn-primary.loading .spinner { display: block; }
.btn-primary.loading .btn-text { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Ghost button */
.btn-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  background: transparent;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  transition: all var(--transition-md);
  cursor: pointer;
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--bg-glass);
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition);
  margin-bottom: 32px;
}
.back-link:hover { color: var(--brand-light); }

/* Domain restriction notice */
.domain-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(175, 198, 255, 0.06);
  border: 1px solid rgba(175, 198, 255, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.domain-notice-icon { color: var(--brand-light); flex-shrink: 0; margin-top: 1px; }
.domain-notice p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.domain-notice strong { color: var(--brand-light); }

/* Alert boxes */
.alert {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: slideIn 0.3s ease;
}
.alert-error {
  background: rgba(255, 180, 171, 0.08);
  border: 1px solid rgba(255, 180, 171, 0.25);
  color: var(--text-error);
}
.alert-success {
  background: rgba(198, 198, 201, 0.08);
  border: 1px solid rgba(198, 198, 201, 0.25);
  color: var(--text-success);
}
.alert-warning {
  background: rgba(255, 179, 176, 0.08);
  border: 1px solid rgba(255, 179, 176, 0.25);
  color: var(--orange);
}

/* ======================================================
   ONBOARDING WIZARD
   ====================================================== */
.onboarding-page {
  min-height: 100vh;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
}
.onboarding-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.onboarding-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}
.onboarding-progress-section {
  flex: 1;
  max-width: 600px;
}
.progress-steps-text {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.progress-current { color: var(--brand-light); font-weight: 600; }
.progress-bar-track {
  height: 4px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}
.onboarding-skip {
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
  white-space: nowrap;
}
.onboarding-skip:hover { color: var(--text-secondary); }

/* Step indicator dots */
.step-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 40px;
}
.step-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: 1px solid var(--border);
  transition: all var(--transition-md);
  cursor: pointer;
}
.step-dot.completed {
  background: var(--lime);
  border-color: var(--lime);
  width: 8px;
}
.step-dot.active {
  background: var(--brand-light);
  border-color: var(--brand-light);
  width: 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px rgba(175, 198, 255, 0.4);
}

/* Onboarding main content */
.onboarding-body {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 24px;
}
.onboarding-step-container {
  width: 100%;
  max-width: 640px;
}

/* Step card */
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  animation: stepIn 0.4s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes stepIn {
  from { opacity:0; transform:translateX(20px); }
  to { opacity:1; transform:translateX(0); }
}
.step-card.leaving {
  animation: stepOut 0.3s ease both;
}
@keyframes stepOut {
  to { opacity:0; transform:translateX(-20px); }
}

.step-header { margin-bottom: 32px; }
.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(175, 198, 255, 0.1);
  border: 1px solid rgba(175, 198, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.step-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.step-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Row layout */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Skill chip input */
.chip-input-wrapper {
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  padding: 8px;
  background: var(--bg-card);
  transition: all var(--transition-md);
  min-height: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.chip-input-wrapper:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(175, 198, 255, 0.1);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(175, 198, 255, 0.12);
  border: 1px solid rgba(175, 198, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-light);
}
.chip-remove {
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--transition);
  font-size: 14px;
  line-height: 1;
}
.chip-remove:hover { opacity: 1; }
.chip-text-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  min-width: 100px;
  flex: 1;
}
.chip-text-input::placeholder { color: var(--text-muted); }

/* Select custom */
.form-select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-primary);
  transition: all var(--transition-md);
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%234a5e3a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(175, 198, 255, 0.1);
}
.form-select option { background: var(--bg-card); color: var(--text-primary); }

/* Textarea */
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-primary);
  transition: all var(--transition-md);
  outline: none;
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}
.form-textarea::placeholder { color: var(--text-muted); }
.form-textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(175, 198, 255, 0.1);
}

/* Radio card group */
.radio-card-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.radio-card {
  position: relative;
  cursor: pointer;
}
.radio-card input[type="radio"],
.radio-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.radio-card-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-md);
  min-height: 80px;
}
.radio-card-icon { font-size: 22px; }
.radio-card input:checked + .radio-card-label {
  background: rgba(175, 198, 255, 0.1);
  border-color: var(--brand);
  color: var(--brand-light);
  box-shadow: 0 0 16px rgba(175, 198, 255, 0.12);
}
.radio-card-label:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}

/* Salary range */
.salary-range-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.salary-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.salary-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.salary-label { font-size: 13px; color: var(--text-muted); }
.range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
}
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gradient-brand);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(175, 198, 255, 0.35);
  transition: box-shadow var(--transition);
}
.range-input::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 6px rgba(175, 198, 255, 0.15), 0 2px 8px rgba(175, 198, 255, 0.35);
}

/* Onboarding nav buttons */
.step-nav {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.btn-next {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: var(--gradient-brand);
  color: #dfe3e7;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition-md);
  box-shadow: 0 4px 16px rgba(175, 198, 255, 0.3);
}
.btn-next:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(175, 198, 255, 0.4); }
.btn-back-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--bg-glass);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all var(--transition-md);
}
.btn-back-step:hover { color: var(--text-primary); border-color: var(--border-strong); }

/* Autosave indicator */
.autosave-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
  justify-content: flex-end;
  transition: color var(--transition);
}
.autosave-indicator.saving { color: var(--orange); }
.autosave-indicator.saved { color: var(--green); }
.autosave-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.autosave-indicator.saving .autosave-dot {
  animation: blink 0.8s infinite;
}

/* ======================================================
   ACCESS DENIED PAGE
   ====================================================== */
.access-denied-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}
.access-denied-bg .auth-orb { opacity: 0.5; }
.access-denied-card {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid rgba(255, 180, 171, 0.25);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  text-align: center;
  max-width: 520px;
  width: 100%;
  margin: 24px;
  box-shadow: var(--shadow-xl), 0 0 40px rgba(255, 180, 171, 0.08);
}
.denied-icon {
  width: 80px; height: 80px;
  background: rgba(255, 180, 171, 0.1);
  border: 1px solid rgba(255, 180, 171, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--red);
}
.denied-title { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.denied-subtitle { font-size: 16px; font-weight: 700; color: var(--red); margin-bottom: 16px; }
.denied-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }
.denied-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.denied-domain-tag {
  padding: 5px 12px;
  background: rgba(175, 198, 255, 0.08);
  border: 1px solid rgba(175, 198, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-light);
  font-family: monospace;
}
.denied-actions { display: flex; flex-direction: column; gap: 10px; }
.denied-attempt-info {
  margin-top: 20px;
  padding: 12px;
  background: rgba(255, 180, 171, 0.05);
  border: 1px solid rgba(255, 180, 171, 0.15);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: var(--text-muted);
}
.denied-attempt-email { color: var(--text-error); font-weight: 600; }

/* ======================================================
   ADMIN PANEL
   ====================================================== */
.admin-page {
  min-height: 100vh;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
}
.admin-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-nav { display: flex; align-items: center; gap: 4px; }
.admin-nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.admin-nav-link:hover { color: var(--text-primary); background: var(--bg-glass); }
.admin-nav-link.active { color: var(--brand-light); background: rgba(175, 198, 255, 0.08); }
.admin-body { flex: 1; padding: 40px; max-width: 1200px; margin: 0 auto; width: 100%; }
.admin-section-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.admin-section-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; }
.admin-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.admin-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all var(--transition);
}
.admin-stat-card:hover { border-color: var(--border-strong); }
.admin-stat-value { font-size: 32px; font-weight: 900; letter-spacing: -0.03em; color: var(--brand-light); }
.admin-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Table */
.admin-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.admin-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}
.admin-table-title { font-size: 16px; font-weight: 700; }
.admin-table-actions { display: flex; align-items: center; gap: 10px; }
.admin-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-primary);
  transition: all var(--transition-md);
}
.admin-search input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 13px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  width: 200px;
}
.admin-search input::placeholder { color: var(--text-muted); }
.admin-search:focus-within { border-color: var(--brand); }

.btn-add {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--gradient-brand);
  color: #dfe3e7;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition-md);
}
.btn-add:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(175, 198, 255, 0.3); }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  padding: 12px 24px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(175, 198, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 16px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-glass); }
.domain-text { font-family: monospace; font-size: 14px; color: var(--text-primary); font-weight: 600; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
}
.status-active { background: rgba(198, 198, 201, 0.1); color: var(--green); border: 1px solid rgba(198, 198, 201, 0.2); }
.status-inactive { background: rgba(255, 180, 171, 0.1); color: var(--red); border: 1px solid rgba(255, 180, 171, 0.2); }
.table-actions { display: flex; gap: 8px; }
.table-action-btn {
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
  transition: all var(--transition);
}
.table-action-btn:hover { border-color: var(--border-strong); color: var(--text-primary); background: var(--bg-glass); }
.table-action-btn.danger:hover { border-color: rgba(255, 180, 171, 0.4); color: var(--red); background: rgba(255, 180, 171, 0.06); }
.table-action-btn.success:hover { border-color: rgba(198, 198, 201, 0.4); color: var(--green); background: rgba(198, 198, 201, 0.06); }

/* Audit log table */
.log-time { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.log-blocked { color: var(--red); font-weight: 600; }
.log-allowed { color: var(--green); font-weight: 600; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.modal-overlay.hidden { display: none; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  animation: scaleIn 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes scaleIn { from{opacity:0;transform:scale(0.9)} to{opacity:1;transform:scale(1)} }
.modal-header { margin-bottom: 24px; }
.modal-title { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.modal-desc { font-size: 14px; color: var(--text-secondary); }
.modal-footer { display: flex; gap: 10px; margin-top: 24px; justify-content: flex-end; }
.btn-sm {
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-md);
}
.btn-sm-primary { background: var(--gradient-brand); color: #dfe3e7; box-shadow: 0 4px 12px rgba(175, 198, 255, 0.25); }
.btn-sm-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(175, 198, 255, 0.35); }
.btn-sm-ghost { background: var(--bg-glass); color: var(--text-secondary); border: 1px solid var(--border); }
.btn-sm-ghost:hover { color: var(--text-primary); border-color: var(--border-strong); }
.btn-sm-danger { background: rgba(255, 180, 171, 0.1); color: var(--red); border: 1px solid rgba(255, 180, 171, 0.25); }
.btn-sm-danger:hover { background: rgba(255, 180, 171, 0.2); }

/* Toggle switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: all var(--transition-md);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  height: 14px; width: 14px;
  left: 3px; bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: all var(--transition-md);
}
.toggle-switch input:checked + .toggle-slider { background: var(--brand); border-color: var(--brand); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(18px); }

/* ======================================================
   TOAST NOTIFICATION
   ====================================================== */
.toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  font-family: var(--font-sans);
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-left-width: 3px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3);
  pointer-events: auto;
  animation: toastIn 0.35s cubic-bezier(0.34,1.56,0.64,1) both;
  max-width: 380px;
  min-width: 260px;
  backdrop-filter: blur(12px);
}
.toast.toast-exit { animation: toastOut 0.25s ease both; }
@keyframes toastIn { from{opacity:0;transform:translateX(24px) scale(0.97)} to{opacity:1;transform:translateX(0) scale(1)} }
@keyframes toastOut { to{opacity:0;transform:translateX(24px) scale(0.97)} }
.toast-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.toast-icon svg { width: 18px; height: 18px; }
.toast-body { flex: 1; line-height: 1.4; }
.toast-success { border-left-color: #c6c6c9; }
.toast-success .toast-icon { color: #c6c6c9; }
.toast-error   { border-left-color: #ffb4ab; }
.toast-error .toast-icon   { color: #ffb4ab; }
.toast-warning { border-left-color: #ffb3b0; }
.toast-warning .toast-icon { color: #ffb3b0; }
.toast-info    { border-left-color: var(--brand); }
.toast-info .toast-icon    { color: var(--brand-light); }

/* Redirect overlay */
.redirect-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: var(--font-sans);
  animation: fadeIn 0.3s ease;
}
.redirect-spinner {
  width: 44px; height: 44px;
  border: 3px solid var(--border);
  border-top-color: var(--brand-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.redirect-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

/* ======================================================
   VERIFY EMAIL PAGE
   ====================================================== */
.verify-card {
  text-align: center;
  max-width: 440px;
}
.verify-icon {
  width: 80px; height: 80px;
  background: rgba(175, 198, 255, 0.1);
  border: 1px solid rgba(175, 198, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--brand-light);
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(175, 198, 255, 0.2)} 50%{box-shadow:0 0 0 12px rgba(175, 198, 255, 0)} }
.otp-grid {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 28px 0;
}
.otp-input {
  width: 52px; height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  background: var(--bg-card);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-md);
  caret-color: var(--brand-light);
}
.otp-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(175, 198, 255, 0.12);
}
.otp-input.filled { border-color: var(--lime); background: rgba(175, 198, 255, 0.05); }

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: 40px 24px; }
  .admin-stats-row { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .onboarding-header { padding: 12px 16px; gap: 12px; }
  .onboarding-body { padding: 24px 16px; }
  .step-card { padding: 24px 20px; }
  .admin-body { padding: 20px 16px; }
  .admin-header { padding: 0 16px; }
  .admin-stats-row { grid-template-columns: 1fr 1fr; }
  .admin-table th, .admin-table td { padding: 12px 16px; }
  .radio-card-group { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .auth-right { padding: 24px 16px; }
  .admin-stats-row { grid-template-columns: 1fr; }
  .otp-grid { gap: 6px; }
  .otp-input { width: 44px; height: 52px; font-size: 20px; }
  .access-denied-card { padding: 32px 24px; }
}

/* ======================================================
   LIGHT MODE — Component-level overrides
   Fixes elements that use hardcoded dark rgba() values
   ====================================================== */

/* ── Toggle switch slider ── */
[data-theme="light"] .toggle-slider {
  background: rgba(175, 198, 255, 0.12);
}

/* ── Auth left panel orbs (slightly more vivid on light) ── */
[data-theme="light"] .auth-orb-1 {
  background: radial-gradient(circle, rgba(175, 198, 255, 0.22), transparent 70%);
}
[data-theme="light"] .auth-orb-2 {
  background: radial-gradient(circle, rgba(217, 226, 255, 0.18), transparent 70%);
}
[data-theme="light"] .auth-grid-overlay {
  background-image:
    linear-gradient(rgba(175, 198, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(175, 198, 255, 0.06) 1px, transparent 1px);
}

/* ── Step card shadow ── */
[data-theme="light"] .step-card {
  box-shadow: 0 4px 24px rgba(175, 198, 255, 0.10), 0 1px 4px rgba(175, 198, 255, 0.08);
}

/* ── Toast shadow ── */
[data-theme="light"] .toast {
  box-shadow: 0 8px 32px rgba(175, 198, 255, 0.15), 0 2px 8px rgba(175, 198, 255, 0.10);
}

/* ── Step dots ── */
[data-theme="light"] .step-dot {
  background: rgba(175, 198, 255, 0.15);
  border-color: rgba(175, 198, 255, 0.15);
}

/* ── Strength bars empty state ── */
[data-theme="light"] .strength-bar {
  background: rgba(175, 198, 255, 0.12);
}

/* ── Range input track ── */
[data-theme="light"] .range-input {
  background: rgba(175, 198, 255, 0.15);
}

/* ── Radio card group ── */
[data-theme="light"] .radio-card-label {
  background: rgba(175, 198, 255, 0.04);
  border-color: rgba(175, 198, 255, 0.14);
}
[data-theme="light"] .radio-card-label:hover {
  background: rgba(175, 198, 255, 0.09);
  border-color: rgba(175, 198, 255, 0.35);
  color: var(--text-primary);
}
[data-theme="light"] .radio-card input:checked + .radio-card-label {
  background: rgba(175, 198, 255, 0.12);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(175, 198, 255, 0.10);
}

/* ── Admin table header bg ── */
[data-theme="light"] .admin-table th {
  background: rgba(175, 198, 255, 0.04);
}
[data-theme="light"] .admin-table tr:hover td {
  background: rgba(175, 198, 255, 0.04);
}

/* ── Chip background ── */
[data-theme="light"] .chip {
  background: rgba(175, 198, 255, 0.10);
  border-color: rgba(175, 198, 255, 0.25);
}

/* ── Domain notice ── */
[data-theme="light"] .domain-notice {
  background: rgba(175, 198, 255, 0.08);
}

/* ── OTP input ── */
[data-theme="light"] .otp-input.filled {
  background: rgba(175, 198, 255, 0.07);
}

/* ── Modal overlay ── */
[data-theme="light"] .modal-overlay {
  background: rgba(15, 20, 23, 0.45);
}

/* ── Admin stat value ── */
[data-theme="light"] .admin-stat-value {
  color: #005ed0;
}

/* ── Progress bar track ── */
[data-theme="light"] .progress-bar-track {
  background: rgba(175, 198, 255, 0.14);
}

/* ── Salary gradient text stays vibrant in light ── */
[data-theme="light"] .salary-value {
  background: linear-gradient(135deg, #005ed0, #afc6ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Welcome card radial glow ── */
[data-theme="light"] .welcome-card::after {
  background: radial-gradient(circle at right, rgba(175, 198, 255, 0.08) 0%, transparent 70%);
}

/* ── Sidebar ── */
[data-theme="light"] .sidebar {
  background: var(--bg-card);
  border-right-color: rgba(175, 198, 255, 0.12);
}
[data-theme="light"] .sidebar-footer {
  background: rgba(175, 198, 255, 0.03);
  border-top-color: rgba(175, 198, 255, 0.12);
}
[data-theme="light"] .menu-item.active {
  background: rgba(175, 198, 255, 0.10);
  border-color: rgba(175, 198, 255, 0.22);
}
[data-theme="light"] .menu-item:hover {
  background: rgba(175, 198, 255, 0.06);
}
[data-theme="light"] .profile-dropdown {
  box-shadow: 0 8px 32px rgba(175, 198, 255, 0.18);
}
[data-theme="light"] .user-avatar {
  box-shadow: 0 2px 8px rgba(175, 198, 255, 0.25);
}

/* ── Stat cards ── */
[data-theme="light"] .stat-value {
  color: #005ed0;
}
[data-theme="light"] .stat-icon-wrapper {
  background: rgba(175, 198, 255, 0.10);
}

/* ── Welcome card ── */
[data-theme="light"] .welcome-card {
  background: var(--bg-card);
  border-color: rgba(175, 198, 255, 0.12);
  box-shadow: 0 4px 24px rgba(175, 198, 255, 0.08);
}

/* ── Analyse / Upload button on dashboard ── */
[data-theme="light"] #uploadResumeBtn {
  background: transparent !important;
  color: var(--text-primary) !important;
  border-color: rgba(175, 198, 255, 0.22) !important;
}
[data-theme="light"] #uploadResumeBtn:hover {
  background: rgba(175, 198, 255, 0.06) !important;
}

/* ── Coming soon card (Settings stub) ── */
[data-theme="light"] .coming-soon-card {
  background: var(--bg-card);
  box-shadow: 0 2px 16px rgba(175, 198, 255, 0.08);
}
[data-theme="light"] .cs-badge {
  background: rgba(255, 179, 176, 0.10);
  border-color: rgba(255, 179, 176, 0.22);
}

/* ── Resume Analysis page rings / track backgrounds ── */
[data-theme="light"] .arc-ring-bg,
[data-theme="light"] .ra-bar-track,
[data-theme="light"] .arc-score-track {
  stroke: rgba(175, 198, 255, 0.12);
  background: rgba(175, 198, 255, 0.10);
}

/* ── Career roadmap form ── */
[data-theme="light"] .crm-field input,
[data-theme="light"] .crm-field textarea {
  background: #0f1417;
  border-color: rgba(175, 198, 255, 0.18);
  color: var(--text-primary);
}
[data-theme="light"] .crm-field input:focus,
[data-theme="light"] .crm-field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(175, 198, 255, 0.12);
}

/* ── Raw output card (roadmap) ── */
[data-theme="light"] .crm-raw-output {
  background: rgba(175, 198, 255, 0.04);
  color: var(--text-secondary);
}

/* ── Section cards on resume analysis page ── */
[data-theme="light"] .ra-section-card,
[data-theme="light"] .ra-overview,
[data-theme="light"] .crm-form-card,
[data-theme="light"] .crm-roadmap-card {
  background: var(--bg-card);
  border-color: rgba(175, 198, 255, 0.12);
  box-shadow: 0 2px 12px rgba(175, 198, 255, 0.07);
}

/* ── Feedback box ── */
[data-theme="light"] .ra-feedback-box {
  background: rgba(0, 94, 208, 0.05);
  border-color: rgba(0, 94, 208, 0.18);
}

/* ── Score strip cards (quick stats) ── */
[data-theme="light"] .ra-mini-score {
  background: rgba(175, 198, 255, 0.06);
  border-color: rgba(175, 198, 255, 0.18);
}
[data-theme="light"] .ra-mini-score .value {
  color: #005ed0;
}

/* ── Rec item ── */
[data-theme="light"] .ra-rec-item {
  background: #0f1417;
  border-color: rgba(175, 198, 255, 0.12);
}
[data-theme="light"] .ra-rec-item:hover {
  border-color: rgba(0, 94, 208, 0.30);
}

/* ── Job cards ── */
[data-theme="light"] .ra-job-card {
  background: #0f1417;
  border-color: rgba(175, 198, 255, 0.12);
}

/* ── Empty state dashed border ── */
[data-theme="light"] .ra-empty-state {
  border-color: rgba(175, 198, 255, 0.20);
  background: #0f1417;
}

/* ── Scrollbar (webkit) ── */
[data-theme="light"] ::-webkit-scrollbar-track {
  background: #171c1f;
}
[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: rgba(175, 198, 255, 0.22);
  border-radius: 8px;
}
[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(175, 198, 255, 0.38);
}
