/* ==========================================================================
   MS HORIZON GROUP - GLOBAL 5-THEME DESIGN TOKEN SYSTEM
   Enterprise Recruitment Platform Theme Engine
   ========================================================================== */

/* --------------------------------------------------------------------------
   BASE TOKEN STRUCTURE & TRANSITIONS
   -------------------------------------------------------------------------- */
:root {
  --theme-transition-duration: 200ms;
  --theme-transition-timing: cubic-bezier(0.16, 1, 0.3, 1);

  /* Semantic status tokens (Constant across all themes for accessibility & compliance) */
  --status-success-bg: #ecfdf5;
  --status-success-text: #065f46;
  --status-success-border: #a7f3d0;

  --status-warning-bg: #fffbeb;
  --status-warning-text: #92400e;
  --status-warning-border: #fde68a;

  --status-danger-bg: #fef2f2;
  --status-danger-text: #991b1b;
  --status-danger-border: #fecaca;

  --status-info-bg: #eff6ff;
  --status-info-text: #1e40af;
  --status-info-border: #bfdbfe;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --theme-transition-duration: 0ms !important;
  }
}

/* Smooth background & border transition on theme switch */
body,
header,
footer,
.theme-surface,
.theme-card,
.theme-nav-link,
.theme-btn-primary,
.theme-btn-secondary,
.theme-input,
.theme-badge {
  transition: background-color var(--theme-transition-duration) var(--theme-transition-timing),
              border-color var(--theme-transition-duration) var(--theme-transition-timing),
              color var(--theme-transition-duration) var(--theme-transition-timing),
              box-shadow var(--theme-transition-duration) var(--theme-transition-timing);
}

/* --------------------------------------------------------------------------
   THEME 1 — MIDNIGHT EMERALD (PRIMARY / DEFAULT)
   -------------------------------------------------------------------------- */
:root,
[data-theme="midnight-emerald"] {
  --theme-id: "midnight-emerald";
  --theme-name: "Midnight Emerald";
  --theme-is-dark: 1;

  --theme-bg: #07111F;
  --theme-surface: #0F1B2D;
  --theme-surface-elevated: #142238;
  --theme-surface-subtle: #0B1524;
  --theme-surface-hover: #192942;

  --theme-primary: #10B981;
  --theme-primary-hover: #059669;
  --theme-primary-active: #047857;
  --theme-primary-rgb: 16, 185, 129;
  --theme-primary-light: rgba(16, 185, 129, 0.12);
  --theme-primary-border: rgba(16, 185, 129, 0.35);

  --theme-secondary: #14B8A6;
  --theme-secondary-rgb: 20, 184, 166;
  --theme-accent: #22D3EE;
  --theme-accent-rgb: 34, 211, 238;

  --theme-text: #E2E8F0;
  --theme-text-strong: #F8FAFC;
  --theme-text-headings: #FFFFFF;
  --theme-text-muted: #94A3B8;
  --theme-text-subtle: #CBD5E1;
  --theme-text-inverse: #07111F;

  --theme-icon: #10B981;
  --theme-icon-muted: #94A3B8;

  --theme-border: rgba(255, 255, 255, 0.10);
  --theme-border-strong: rgba(255, 255, 255, 0.18);

  --theme-link: #10B981;
  --theme-link-hover: #34D399;

  --theme-button-text: #FFFFFF;
  --theme-button-secondary-text: #F8FAFC;

  /* Fine Grid Parameters */
  --theme-grid-color: rgba(16, 185, 129, 0.08);
  --theme-grid-alt: rgba(34, 211, 238, 0.04);
  --theme-grid-size: 48px;

  /* Atmospheric Radial Glows */
  --theme-glow-1: rgba(16, 185, 129, 0.14);
  --theme-glow-2: rgba(34, 211, 238, 0.10);

  /* Elevation Shadows */
  --theme-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --theme-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --theme-shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.8);
  --theme-glow-primary: 0 0 24px rgba(16, 185, 129, 0.35);

  /* Component Tokens */
  --theme-topbar-bg: #030812;
  --theme-topbar-border: rgba(255, 255, 255, 0.06);
  --theme-topbar-text: #94A3B8;

  --theme-navbar-bg: rgba(15, 27, 45, 0.94);
  --theme-navbar-border: rgba(255, 255, 255, 0.10);
  --theme-navbar-text: #F8FAFC;
  --theme-navbar-active: #10B981;

  --theme-hero-bg: #07111F;
  --theme-card-bg: #0F1B2D;
  --theme-card-title: #FFFFFF;
  --theme-card-body: #E2E8F0;
  --theme-card-border: rgba(255, 255, 255, 0.08);
  --theme-card-hover-border: #10B981;

  --theme-input-bg: #142238;
  --theme-input-border: rgba(255, 255, 255, 0.12);
  --theme-input-text: #F8FAFC;
  --theme-input-placeholder: #94A3B8;
  --theme-input-focus-border: #10B981;
  --theme-input-focus-ring: rgba(16, 185, 129, 0.25);

  --theme-badge-bg: rgba(16, 185, 129, 0.14);
  --theme-badge-text: #34D399;
  --theme-badge-border: rgba(16, 185, 129, 0.30);

  --theme-footer-bg: #030812;
  --theme-footer-border: rgba(255, 255, 255, 0.08);
  --theme-footer-text: #94A3B8;

  --theme-ai-bg: #0F1B2D;
  --theme-ai-header-grad: linear-gradient(135deg, #07111F 0%, #0F1B2D 50%, #064E3B 100%);
  --theme-ai-text: #F8FAFC;
  --theme-ai-msg-bg: #142238;
}

/* --------------------------------------------------------------------------
   THEME 2 — ARCTIC EXECUTIVE (CLEAN CORPORATE — PROTECTED BASELINE)
   -------------------------------------------------------------------------- */
[data-theme="arctic-executive"] {
  --theme-id: "arctic-executive";
  --theme-name: "Arctic Executive";
  --theme-is-dark: 0;

  --theme-bg: #F8FAFC;
  --theme-surface: #FFFFFF;
  --theme-surface-elevated: #FFFFFF;
  --theme-surface-subtle: #F1F5F9;
  --theme-surface-hover: #F1F5F9;

  --theme-primary: #0F766E;
  --theme-primary-hover: #0D9488;
  --theme-primary-active: #115E59;
  --theme-primary-rgb: 15, 118, 110;
  --theme-primary-light: rgba(15, 118, 110, 0.10);
  --theme-primary-border: rgba(15, 118, 110, 0.30);

  --theme-secondary: #14B8A6;
  --theme-secondary-rgb: 20, 184, 166;
  --theme-accent: #06B6D4;
  --theme-accent-rgb: 6, 182, 212;

  --theme-text: #0F172A;
  --theme-text-strong: #020617;
  --theme-text-headings: #020617;
  --theme-text-muted: #64748B;
  --theme-text-subtle: #94A3B8;
  --theme-text-inverse: #FFFFFF;

  --theme-icon: #0F766E;
  --theme-icon-muted: #64748B;

  --theme-border: #DDE5ED;
  --theme-border-strong: #CBD5E1;

  --theme-link: #0F766E;
  --theme-link-hover: #0D9488;

  --theme-button-text: #FFFFFF;
  --theme-button-secondary-text: #0F172A;

  --theme-grid-color: rgba(15, 118, 110, 0.07);
  --theme-grid-alt: rgba(6, 182, 212, 0.04);
  --theme-grid-size: 48px;

  --theme-glow-1: rgba(15, 118, 110, 0.08);
  --theme-glow-2: rgba(6, 182, 212, 0.06);

  --theme-shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --theme-shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --theme-shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
  --theme-glow-primary: 0 0 20px rgba(15, 118, 110, 0.25);

  --theme-topbar-bg: #0F172A;
  --theme-topbar-border: #1E293B;
  --theme-topbar-text: #CBD5E1;

  --theme-navbar-bg: rgba(255, 255, 255, 0.95);
  --theme-navbar-border: #E2E8F0;
  --theme-navbar-text: #0F172A;
  --theme-navbar-active: #0F766E;

  --theme-hero-bg: #F8FAFC;
  --theme-card-bg: #FFFFFF;
  --theme-card-title: #020617;
  --theme-card-body: #0F172A;
  --theme-card-border: #E2E8F0;
  --theme-card-hover-border: #0F766E;

  --theme-input-bg: #F8FAFC;
  --theme-input-border: #CBD5E1;
  --theme-input-text: #0F172A;
  --theme-input-placeholder: #94A3B8;
  --theme-input-focus-border: #0F766E;
  --theme-input-focus-ring: rgba(15, 118, 110, 0.20);

  --theme-badge-bg: #F0FDFA;
  --theme-badge-text: #0F766E;
  --theme-badge-border: #CCFBF1;

  --theme-footer-bg: #0B1329;
  --theme-footer-border: #1E293B;
  --theme-footer-text: #94A3B8;

  --theme-ai-bg: #FFFFFF;
  --theme-ai-header-grad: linear-gradient(135deg, #0F172A 0%, #134E4A 100%);
  --theme-ai-text: #0F172A;
  --theme-ai-msg-bg: #F1F5F9;
}

/* --------------------------------------------------------------------------
   THEME 3 — ROYAL AZURE (INTERNATIONAL TECH)
   -------------------------------------------------------------------------- */
[data-theme="royal-azure"] {
  --theme-id: "royal-azure";
  --theme-name: "Royal Azure";
  --theme-is-dark: 0;

  --theme-bg: #F5F8FF;
  --theme-surface: #FFFFFF;
  --theme-surface-elevated: #FFFFFF;
  --theme-surface-subtle: #EEF2FA;
  --theme-surface-hover: #EDF2FE;

  --theme-primary: #2563EB;
  --theme-primary-hover: #1D4ED8;
  --theme-primary-active: #1E40AF;
  --theme-primary-rgb: 37, 99, 235;
  --theme-primary-light: rgba(37, 99, 235, 0.10);
  --theme-primary-border: rgba(37, 99, 235, 0.30);

  --theme-secondary: #06B6D4;
  --theme-secondary-rgb: 6, 182, 212;
  --theme-accent: #7C3AED;
  --theme-accent-rgb: 124, 58, 237;

  --theme-text: #0F172A;
  --theme-text-strong: #020617;
  --theme-text-headings: #020617;
  --theme-text-muted: #64748B;
  --theme-text-subtle: #94A3B8;
  --theme-text-inverse: #FFFFFF;

  --theme-icon: #2563EB;
  --theme-icon-muted: #64748B;

  --theme-border: #D8E2F0;
  --theme-border-strong: #C4D3E8;

  --theme-link: #2563EB;
  --theme-link-hover: #1D4ED8;

  --theme-button-text: #FFFFFF;
  --theme-button-secondary-text: #0F172A;

  --theme-grid-color: rgba(37, 99, 235, 0.07);
  --theme-grid-alt: rgba(124, 58, 237, 0.04);
  --theme-grid-size: 48px;

  --theme-glow-1: rgba(37, 99, 235, 0.09);
  --theme-glow-2: rgba(124, 58, 237, 0.06);

  --theme-shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --theme-shadow-md: 0 10px 25px -5px rgba(37, 99, 235, 0.08);
  --theme-shadow-lg: 0 20px 35px -10px rgba(37, 99, 235, 0.14);
  --theme-glow-primary: 0 0 20px rgba(37, 99, 235, 0.28);

  --theme-topbar-bg: #0B1329;
  --theme-topbar-border: #1E293B;
  --theme-topbar-text: #CBD5E1;

  --theme-navbar-bg: rgba(255, 255, 255, 0.95);
  --theme-navbar-border: #D8E2F0;
  --theme-navbar-text: #0F172A;
  --theme-navbar-active: #2563EB;

  --theme-hero-bg: #F5F8FF;
  --theme-card-bg: #FFFFFF;
  --theme-card-title: #020617;
  --theme-card-body: #0F172A;
  --theme-card-border: #D8E2F0;
  --theme-card-hover-border: #2563EB;

  --theme-input-bg: #F8FAFC;
  --theme-input-border: #C4D3E8;
  --theme-input-text: #0F172A;
  --theme-input-placeholder: #94A3B8;
  --theme-input-focus-border: #2563EB;
  --theme-input-focus-ring: rgba(37, 99, 235, 0.22);

  --theme-badge-bg: #EFF6FF;
  --theme-badge-text: #1D4ED8;
  --theme-badge-border: #BFDBFE;

  --theme-footer-bg: #070D1F;
  --theme-footer-border: #1E293B;
  --theme-footer-text: #94A3B8;

  --theme-ai-bg: #FFFFFF;
  --theme-ai-header-grad: linear-gradient(135deg, #0B1329 0%, #1E3A8A 100%);
  --theme-ai-text: #0F172A;
  --theme-ai-msg-bg: #EFF6FF;
}

/* --------------------------------------------------------------------------
   THEME 4 — OBSIDIAN GOLD (EXECUTIVE LUXURY)
   -------------------------------------------------------------------------- */
[data-theme="obsidian-gold"] {
  --theme-id: "obsidian-gold";
  --theme-name: "Obsidian Gold";
  --theme-is-dark: 1;

  --theme-bg: #09090B;
  --theme-surface: #18181B;
  --theme-surface-elevated: #202023;
  --theme-surface-subtle: #141416;
  --theme-surface-hover: #27272A;

  --theme-primary: #D4AF37;
  --theme-primary-hover: #C59B27;
  --theme-primary-active: #A67C1E;
  --theme-primary-rgb: 212, 175, 55;
  --theme-primary-light: rgba(212, 175, 55, 0.12);
  --theme-primary-border: rgba(212, 175, 55, 0.35);

  --theme-secondary: #F59E0B;
  --theme-secondary-rgb: 245, 158, 11;
  --theme-accent: #FBBF24;
  --theme-accent-rgb: 251, 191, 36;

  --theme-text: #E4E4E7;
  --theme-text-strong: #FAFAFA;
  --theme-text-headings: #FFFFFF;
  --theme-text-muted: #A1A1AA;
  --theme-text-subtle: #D4D4D8;
  --theme-text-inverse: #09090B;

  --theme-icon: #D4AF37;
  --theme-icon-muted: #A1A1AA;

  --theme-border: rgba(212, 175, 55, 0.18);
  --theme-border-strong: rgba(212, 175, 55, 0.30);

  --theme-link: #D4AF37;
  --theme-link-hover: #FBBF24;

  --theme-button-text: #09090B;
  --theme-button-secondary-text: #FAFAFA;

  --theme-grid-color: rgba(212, 175, 55, 0.06);
  --theme-grid-alt: rgba(245, 158, 11, 0.03);
  --theme-grid-size: 48px;

  --theme-glow-1: rgba(212, 175, 55, 0.12);
  --theme-glow-2: rgba(245, 158, 11, 0.08);

  --theme-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --theme-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.7);
  --theme-shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.9);
  --theme-glow-primary: 0 0 24px rgba(212, 175, 55, 0.35);

  --theme-topbar-bg: #050507;
  --theme-topbar-border: rgba(212, 175, 55, 0.12);
  --theme-topbar-text: #A1A1AA;

  --theme-navbar-bg: rgba(24, 24, 27, 0.94);
  --theme-navbar-border: rgba(212, 175, 55, 0.22);
  --theme-navbar-text: #FAFAFA;
  --theme-navbar-active: #D4AF37;

  --theme-hero-bg: #09090B;
  --theme-card-bg: #18181B;
  --theme-card-title: #FFFFFF;
  --theme-card-body: #E4E4E7;
  --theme-card-border: rgba(212, 175, 55, 0.18);
  --theme-card-hover-border: #D4AF37;

  --theme-input-bg: #202023;
  --theme-input-border: rgba(212, 175, 55, 0.22);
  --theme-input-text: #FAFAFA;
  --theme-input-placeholder: #A1A1AA;
  --theme-input-focus-border: #D4AF37;
  --theme-input-focus-ring: rgba(212, 175, 55, 0.25);

  --theme-badge-bg: rgba(212, 175, 55, 0.14);
  --theme-badge-text: #FBBF24;
  --theme-badge-border: rgba(212, 175, 55, 0.30);

  --theme-footer-bg: #050507;
  --theme-footer-border: rgba(212, 175, 55, 0.14);
  --theme-footer-text: #A1A1AA;

  --theme-ai-bg: #18181B;
  --theme-ai-header-grad: linear-gradient(135deg, #09090B 0%, #18181B 50%, #352608 100%);
  --theme-ai-text: #FAFAFA;
  --theme-ai-msg-bg: #202023;
}

/* --------------------------------------------------------------------------
   THEME 5 — CARBON CRIMSON (HIGH-IMPACT BOLD)
   -------------------------------------------------------------------------- */
[data-theme="carbon-crimson"] {
  --theme-id: "carbon-crimson";
  --theme-name: "Carbon Crimson";
  --theme-is-dark: 1;

  --theme-bg: #0B0F14;
  --theme-surface: #151B23;
  --theme-surface-elevated: #1D2530;
  --theme-surface-subtle: #111720;
  --theme-surface-hover: #222C3A;

  --theme-primary: #EF4444;
  --theme-primary-hover: #DC2626;
  --theme-primary-active: #B91C1C;
  --theme-primary-rgb: 239, 68, 68;
  --theme-primary-light: rgba(239, 68, 68, 0.12);
  --theme-primary-border: rgba(239, 68, 68, 0.35);

  --theme-secondary: #F97316;
  --theme-secondary-rgb: 249, 115, 22;
  --theme-accent: #FB7185;
  --theme-accent-rgb: 251, 113, 133;

  --theme-text: #E2E8F0;
  --theme-text-strong: #F8FAFC;
  --theme-text-headings: #FFFFFF;
  --theme-text-muted: #94A3B8;
  --theme-text-subtle: #CBD5E1;
  --theme-text-inverse: #0B0F14;

  --theme-icon: #EF4444;
  --theme-icon-muted: #94A3B8;

  --theme-border: rgba(239, 68, 68, 0.14);
  --theme-border-strong: rgba(239, 68, 68, 0.28);

  --theme-link: #EF4444;
  --theme-link-hover: #F87171;

  --theme-button-text: #FFFFFF;
  --theme-button-secondary-text: #F8FAFC;

  --theme-grid-color: rgba(239, 68, 68, 0.06);
  --theme-grid-alt: rgba(249, 115, 22, 0.03);
  --theme-grid-size: 48px;

  --theme-glow-1: rgba(239, 68, 68, 0.12);
  --theme-glow-2: rgba(249, 115, 22, 0.08);

  --theme-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --theme-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.7);
  --theme-shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.9);
  --theme-glow-primary: 0 0 24px rgba(239, 68, 68, 0.35);

  --theme-topbar-bg: #06090D;
  --theme-topbar-border: rgba(239, 68, 68, 0.10);
  --theme-topbar-text: #94A3B8;

  --theme-navbar-bg: rgba(21, 27, 35, 0.94);
  --theme-navbar-border: rgba(239, 68, 68, 0.20);
  --theme-navbar-text: #F8FAFC;
  --theme-navbar-active: #EF4444;

  --theme-hero-bg: #0B0F14;
  --theme-card-bg: #151B23;
  --theme-card-title: #FFFFFF;
  --theme-card-body: #E2E8F0;
  --theme-card-border: rgba(239, 68, 68, 0.14);
  --theme-card-hover-border: #EF4444;

  --theme-input-bg: #1D2530;
  --theme-input-border: rgba(239, 68, 68, 0.20);
  --theme-input-text: #F8FAFC;
  --theme-input-placeholder: #94A3B8;
  --theme-input-focus-border: #EF4444;
  --theme-input-focus-ring: rgba(239, 68, 68, 0.25);

  --theme-badge-bg: rgba(239, 68, 68, 0.14);
  --theme-badge-text: #FB7185;
  --theme-badge-border: rgba(239, 68, 68, 0.30);

  --theme-footer-bg: #06090D;
  --theme-footer-border: rgba(239, 68, 68, 0.12);
  --theme-footer-text: #94A3B8;

  --theme-ai-bg: #151B23;
  --theme-ai-header-grad: linear-gradient(135deg, #0B0F14 0%, #151B23 50%, #450A0A 100%);
  --theme-ai-text: #F8FAFC;
  --theme-ai-msg-bg: #1D2530;
}

/* --------------------------------------------------------------------------
   THEME 6 — BLACK & WHITE (LIGHT CANVAS, BLACK ACCENT BANDS,
   BLACK ACTIONS, PILL BUTTONS, SYSTEM TYPOGRAPHY)
   -------------------------------------------------------------------------- */
[data-theme="black-white"] {
  --theme-id: "black-white";
  --theme-name: "Black & White";
  --theme-is-dark: 0;

  --theme-bg: #FFFFFF;
  --theme-surface: #F5F5F7;
  --theme-surface-elevated: #FFFFFF;
  --theme-surface-subtle: #FBFBFD;
  --theme-surface-hover: #E8E8ED;

  --theme-primary: #0071E3;
  --theme-primary-hover: #0077ED;
  --theme-primary-active: #006EDB;
  --theme-primary-rgb: 0, 113, 227;
  --theme-primary-light: rgba(0, 113, 227, 0.08);
  --theme-primary-border: rgba(0, 113, 227, 0.30);

  --theme-secondary: #0071E3;
  --theme-secondary-rgb: 0, 113, 227;
  --theme-accent: #2997FF;
  --theme-accent-rgb: 41, 151, 255;

  --theme-text: #1D1D1F;
  --theme-text-strong: #1D1D1F;
  --theme-text-headings: #1D1D1F;
  --theme-text-muted: #6E6E73;
  --theme-text-subtle: #86868B;
  --theme-text-inverse: #FFFFFF;

  --theme-icon: #0071E3;
  --theme-icon-muted: #86868B;

  --theme-border: #D2D2D7;
  --theme-border-strong: #B8B8BD;

  --theme-link: #0066CC;
  --theme-link-hover: #0077ED;

  --theme-button-text: #FFFFFF;
  --theme-button-secondary-text: #0066CC;

  /* Clean flat canvases: grid + glows are neutralised */
  --theme-grid-color: transparent;
  --theme-grid-alt: transparent;
  --theme-grid-size: 48px;

  --theme-glow-1: rgba(0, 113, 227, 0.05);
  --theme-glow-2: rgba(41, 151, 255, 0.04);

  --theme-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --theme-shadow-md: 0 8px 28px rgba(0, 0, 0, 0.08);
  --theme-shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.18);
  --theme-glow-primary: 0 0 0 4px rgba(0, 113, 227, 0.18);

  --theme-topbar-bg: #000000;
  --theme-topbar-border: #1D1D1F;
  --theme-topbar-text: #A1A1A6;

  --theme-navbar-bg: rgba(251, 251, 253, 0.80);
  --theme-navbar-border: rgba(0, 0, 0, 0.10);
  --theme-navbar-text: #1D1D1F;
  --theme-navbar-active: #0071E3;

  --theme-hero-bg: #FFFFFF;
  --theme-card-bg: #F5F5F7;
  --theme-card-title: #1D1D1F;
  --theme-card-body: #424245;
  --theme-card-border: rgba(0, 0, 0, 0.06);
  --theme-card-hover-border: rgba(0, 113, 227, 0.45);

  --theme-input-bg: #FFFFFF;
  --theme-input-border: #D2D2D7;
  --theme-input-text: #1D1D1F;
  --theme-input-placeholder: #86868B;
  --theme-input-focus-border: #0071E3;
  --theme-input-focus-ring: rgba(0, 113, 227, 0.22);

  --theme-badge-bg: rgba(0, 113, 227, 0.08);
  --theme-badge-text: #0066CC;
  --theme-badge-border: rgba(0, 113, 227, 0.22);

  --theme-footer-bg: #000000;
  --theme-footer-border: #1D1D1F;
  --theme-footer-text: #A1A1A6;

  --theme-ai-bg: #FFFFFF;
  --theme-ai-header-grad: linear-gradient(135deg, #000000 0%, #1D1D1F 100%);
  --theme-ai-text: #1D1D1F;
  --theme-ai-msg-bg: #F5F5F7;
}

/* --------------------------------------------------------------------------
   UNIVERSAL THEME ENGINE UTILITIES
   -------------------------------------------------------------------------- */

/* Body background & base text */
body.theme-body {
  background-color: var(--theme-bg) !important;
  color: var(--theme-text) !important;
}

/* Fine Grid Background Pattern */
.theme-grid-bg {
  background-color: var(--theme-bg) !important;
  background-image: 
    linear-gradient(to right, var(--theme-grid-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--theme-grid-color) 1px, transparent 1px) !important;
  background-size: var(--theme-grid-size, 48px) var(--theme-grid-size, 48px) !important;
}

/* Surface containers (Cards, Modals, Panels) */
.theme-surface {
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
  color: var(--theme-text) !important;
}

.theme-surface-elevated {
  background-color: var(--theme-surface-elevated) !important;
  border-color: var(--theme-border) !important;
  color: var(--theme-text) !important;
}

/* Themed Headings */
.theme-heading {
  color: var(--theme-text-headings) !important;
}

.theme-muted {
  color: var(--theme-text-muted) !important;
}

.theme-subtle {
  color: var(--theme-text-subtle) !important;
}

.theme-primary-text {
  color: var(--theme-primary) !important;
}

.theme-text {
  color: var(--theme-text) !important;
}

/* Bulletproof Theme Heading Highlight & Accent Text */
.theme-gradient-text,
.theme-highlight-text,
.bg-clip-text,
[class*="bg-clip-text"],
.text-transparent {
  color: var(--theme-primary) !important;
  -webkit-text-fill-color: var(--theme-primary) !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  display: inline !important;
  text-decoration: none !important;
}

div.theme-gradient-text {
  display: block !important;
}

/* Primary Button */
.theme-btn-primary {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%) !important;
  color: var(--theme-button-text) !important;
  border: 1px solid transparent !important;
  box-shadow: 0 4px 14px rgba(var(--theme-primary-rgb), 0.28) !important;
  min-height: 40px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--theme-transition-duration) var(--theme-transition-timing) !important;
  cursor: pointer !important;
}
.theme-btn-primary:hover {
  filter: brightness(1.08) !important;
  box-shadow: 0 6px 20px rgba(var(--theme-primary-rgb), 0.40) !important;
  transform: translateY(-1px) !important;
}
.theme-btn-primary:active {
  transform: translateY(1px) !important;
}

/* Secondary Button */
.theme-btn-secondary {
  background-color: var(--theme-surface) !important;
  color: var(--theme-text) !important;
  border: 1px solid var(--theme-border-strong) !important;
  min-height: 40px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--theme-transition-duration) var(--theme-transition-timing) !important;
  cursor: pointer !important;
}
.theme-btn-secondary:hover {
  background-color: var(--theme-surface-hover) !important;
  border-color: var(--theme-primary) !important;
  color: var(--theme-primary) !important;
  transform: translateY(-1px) !important;
}

/* Ghost Button */
.theme-btn-ghost {
  background-color: transparent !important;
  color: var(--theme-text) !important;
  border: 1px solid transparent !important;
  min-height: 40px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--theme-transition-duration) var(--theme-transition-timing) !important;
  cursor: pointer !important;
}
.theme-btn-ghost:hover {
  background-color: var(--theme-primary-light) !important;
  color: var(--theme-primary) !important;
}


/* Themed Input & Select Elements */
.theme-input {
  background-color: var(--theme-input-bg) !important;
  border: 1px solid var(--theme-input-border) !important;
  color: var(--theme-input-text) !important;
  transition: border-color var(--theme-transition-duration) var(--theme-transition-timing),
              box-shadow var(--theme-transition-duration) var(--theme-transition-timing) !important;
}
.theme-input::placeholder {
  color: var(--theme-input-placeholder) !important;
}
.theme-input:focus {
  border-color: var(--theme-input-focus-border) !important;
  box-shadow: 0 0 0 3px var(--theme-input-focus-ring) !important;
  outline: none !important;
}

/* Theme Badges */
.theme-badge {
  background-color: var(--theme-badge-bg) !important;
  color: var(--theme-badge-text) !important;
  border-color: var(--theme-badge-border) !important;
}

/* Themed Card Hover & Elevation */
.theme-card {
  background-color: var(--theme-card-bg) !important;
  border: 1px solid var(--theme-card-border) !important;
  box-shadow: var(--theme-shadow-sm) !important;
  transition: all var(--theme-transition-duration) var(--theme-transition-timing) !important;
}
.theme-card:hover {
  border-color: var(--theme-card-hover-border) !important;
  box-shadow: var(--theme-shadow-md) !important;
  transform: translateY(-2px);
}

/* Header & Topbar Theme Bindings */
.theme-topbar {
  background-color: var(--theme-topbar-bg) !important;
  border-bottom-color: var(--theme-topbar-border) !important;
  color: #CBD5E1 !important;
}

/* Bulletproof Topbar text visibility across all 5 themes */
.theme-topbar .theme-heading,
.theme-topbar a.theme-heading,
.theme-topbar strong,
.theme-topbar h1, .theme-topbar h2, .theme-topbar h3, .theme-topbar h4, .theme-topbar h5, .theme-topbar h6 {
  color: #FFFFFF !important;
}
.theme-topbar a:not(.theme-btn-primary):not([class*="bg-"]) {
  color: #CBD5E1 !important;
}
.theme-topbar a:not(.theme-btn-primary):not([class*="bg-"]):hover,
.theme-topbar .theme-heading:hover {
  color: var(--theme-primary, #38BDF8) !important;
}
.theme-topbar .theme-muted,
.theme-topbar span.theme-muted,
.theme-topbar div.theme-muted {
  color: #94A3B8 !important;
}
.theme-topbar .theme-primary-text {
  color: var(--theme-accent, var(--theme-primary, #38BDF8)) !important;
}
.theme-topbar .theme-surface-elevated {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #F8FAFC !important;
}
.theme-topbar .theme-surface-elevated:hover {
  background-color: rgba(255, 255, 255, 0.14) !important;
  border-color: var(--theme-primary) !important;
  color: #FFFFFF !important;
}
.theme-topbar .theme-surface-elevated .theme-muted {
  color: #CBD5E1 !important;
}

/* Topbar Utility Capsules (Candidate Pill & Job Alerts) - ALWAYS dark translucent with crisp white text in ALL 5 themes */
.theme-topbar a[class*="bg-white/"],
.theme-topbar button[class*="bg-white/"],
.theme-topbar .theme-preserve-topbar,
[data-theme] .theme-topbar a,
[data-theme] .theme-topbar button,
[data-theme] .theme-topbar a[class*="bg-white"],
[data-theme] .theme-topbar button[class*="bg-white"],
[data-theme] .theme-topbar .theme-preserve-topbar {
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #FFFFFF !important;
}
.theme-topbar a[class*="bg-white/"]:hover,
.theme-topbar button[class*="bg-white/"]:hover,
.theme-topbar .theme-preserve-topbar:hover,
[data-theme] .theme-topbar a:hover,
[data-theme] .theme-topbar button:hover,
[data-theme] .theme-topbar a[class*="bg-white"]:hover,
[data-theme] .theme-topbar button[class*="bg-white"]:hover,
[data-theme] .theme-topbar .theme-preserve-topbar:hover {
  background-color: rgba(255, 255, 255, 0.22) !important;
  border-color: var(--theme-primary) !important;
  color: #FFFFFF !important;
}
.theme-topbar a[class*="bg-white/"] span,
.theme-topbar a[class*="bg-white/"] i,
.theme-topbar button[class*="bg-white/"] span,
.theme-topbar button[class*="bg-white/"] i,
.theme-topbar .theme-preserve-topbar span,
.theme-topbar .theme-preserve-topbar i,
[data-theme] .theme-topbar a span,
[data-theme] .theme-topbar a i,
[data-theme] .theme-topbar button span,
[data-theme] .theme-topbar button i,
[data-theme] .theme-topbar a[class*="bg-white"] span,
[data-theme] .theme-topbar a[class*="bg-white"] i,
[data-theme] .theme-topbar button[class*="bg-white"] span,
[data-theme] .theme-topbar button[class*="bg-white"] i,
[data-theme] .theme-topbar .theme-preserve-topbar span,
[data-theme] .theme-topbar .theme-preserve-topbar i {
  color: #FFFFFF !important;
}
.theme-topbar a[class*="bg-white/"]:hover span,
.theme-topbar .theme-preserve-topbar:hover span,
[data-theme] .theme-topbar a:hover span,
[data-theme] .theme-topbar button:hover span {
  color: #FFFFFF !important;
}
/* Distinct icon accents in topbar (bell, headset, envelope) */
.theme-topbar .fa-headset,
.theme-topbar .fa-envelope,
.theme-topbar .fa-bell,
[data-theme] .theme-topbar .fa-headset,
[data-theme] .theme-topbar .fa-envelope,
[data-theme] .theme-topbar .fa-bell {
  color: var(--theme-accent, #38BDF8) !important;
}
/* Phone link in topbar */
.theme-topbar a[href^="tel:"],
[data-theme] .theme-topbar a[href^="tel:"] {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #FFFFFF !important;
}
.theme-topbar a[href^="tel:"]:hover,
[data-theme] .theme-topbar a[href^="tel:"]:hover {
  color: var(--theme-primary, #38BDF8) !important;
}
/* Mail link in topbar */
.theme-topbar a[href^="mailto:"],
[data-theme] .theme-topbar a[href^="mailto:"] {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #CBD5E1 !important;
}
.theme-topbar a[href^="mailto:"]:hover,
[data-theme] .theme-topbar a[href^="mailto:"]:hover {
  color: #FFFFFF !important;
}
/* Hire Workforce text link in topbar */
.theme-topbar a[href*="for-employers"],
[data-theme] .theme-topbar a[href*="for-employers"] {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #94A3B8 !important;
}
.theme-topbar a[href*="for-employers"]:hover,
[data-theme] .theme-topbar a[href*="for-employers"]:hover {
  color: #FFFFFF !important;
}

.theme-navbar-shell {
  background-color: var(--theme-navbar-bg) !important;
  border-color: var(--theme-navbar-border) !important;
  box-shadow: var(--theme-shadow-sm) !important;
}

/* Bulletproof Footer text visibility across all 5 themes */
.theme-footer {
  background-color: var(--theme-footer-bg) !important;
  border-top-color: var(--theme-footer-border) !important;
  color: #CBD5E1 !important;
}

/* Headings in footer - ALWAYS crisp bright white */
.theme-footer .theme-heading,
.theme-footer h1, .theme-footer h2, .theme-footer h3, .theme-footer h4, .theme-footer h5, .theme-footer h6,
.theme-footer strong {
  color: #FFFFFF !important;
}

/* Subtitle / taglines in footer */
.theme-footer .theme-primary-text {
  color: var(--theme-accent, #38BDF8) !important;
}

/* Descriptions & paragraphs in footer */
.theme-footer p,
.theme-footer p.theme-muted {
  color: #94A3B8 !important;
}

/* Links in columns */
.theme-footer a:not(.theme-btn-primary):not([class*="bg-"]) {
  color: #CBD5E1 !important;
  transition: color var(--theme-transition-duration) ease;
}
.theme-footer a:not(.theme-btn-primary):not([class*="bg-"]):hover {
  color: #FFFFFF !important;
}
.theme-footer ul.theme-muted li a,
.theme-footer ul li a {
  color: #94A3B8 !important;
}
.theme-footer ul.theme-muted li a:hover,
.theme-footer ul li a:hover {
  color: #FFFFFF !important;
}

.theme-footer a.theme-heading {
  color: #FFFFFF !important;
}
.theme-footer a.theme-heading:hover {
  color: var(--theme-primary, #38BDF8) !important;
}

/* UAE Consultancy badge & Social icons inside footer across all 5 themes */
.theme-footer .theme-surface-elevated,
.theme-footer a[class*="bg-white/"],
.theme-footer span[class*="bg-white/"],
[data-theme] .theme-footer a[class*="bg-white/"],
[data-theme] .theme-footer span[class*="bg-white/"],
[data-theme] .theme-footer a[class*="bg-white"],
[data-theme] .theme-footer span[class*="bg-white"] {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #CBD5E1 !important;
}
.theme-footer .theme-surface-elevated:hover,
.theme-footer a[class*="bg-white/"]:hover,
[data-theme] .theme-footer a[class*="bg-white/"]:hover,
[data-theme] .theme-footer a[class*="bg-white"]:hover {
  background-color: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
  color: #FFFFFF !important;
}
.theme-footer .theme-surface-elevated i,
.theme-footer a[class*="bg-white/"] i,
[data-theme] .theme-footer a[class*="bg-white/"] i,
[data-theme] .theme-footer a[class*="bg-white"] i {
  color: #CBD5E1 !important;
}
.theme-footer .theme-surface-elevated:hover i,
.theme-footer a[class*="bg-white/"]:hover i,
[data-theme] .theme-footer a[class*="bg-white/"]:hover i,
[data-theme] .theme-footer a[class*="bg-white"]:hover i {
  color: #FFFFFF !important;
}

/* Bottom copyright & legal row in footer */
.theme-footer .border-t {
  border-top-color: rgba(255, 255, 255, 0.10) !important;
}
.theme-footer .border-t,
.theme-footer .border-t .theme-muted,
.theme-footer .border-t div {
  color: #94A3B8 !important;
}
.theme-footer .border-t a {
  color: #94A3B8 !important;
}
.theme-footer .border-t a:hover {
  color: #FFFFFF !important;
}

/* Universal Dark Context Protection - prevents light-theme text from turning black in dark containers */
.text-white .theme-heading,
[class*="bg-slate-9"] .theme-heading,
[class*="bg-slate-8"] .theme-heading,
.bg-black .theme-heading,
.bg-dark .theme-heading,
.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6,
[class*="bg-slate-9"] h1, [class*="bg-slate-9"] h2, [class*="bg-slate-9"] h3, [class*="bg-slate-9"] h4,
.bg-black h1, .bg-black h2, .bg-black h3, .bg-black h4 {
  color: #FFFFFF !important;
}

.text-white .theme-muted,
[class*="bg-slate-9"] .theme-muted,
[class*="bg-slate-8"] .theme-muted,
.bg-black .theme-muted,
.bg-dark .theme-muted {
  color: #94A3B8 !important;
}

/* Focus Ring Utility */
.theme-focus-ring:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 2px var(--theme-bg), 0 0 0 4px var(--theme-primary) !important;
}

/* Text Selection */
::selection {
  background-color: var(--theme-primary);
  color: var(--theme-button-text);
}

/* --------------------------------------------------------------------------
   GLOBAL COMPONENT & TAILWIND CLASS ADAPTATIONS
   Seamless synchronization of legacy classes across all 5 themes
   -------------------------------------------------------------------------- */

/* Surfaces and section backgrounds */
[data-theme] section {
  border-color: var(--theme-border) !important;
}

[data-theme] section.bg-white,
[data-theme] section[class*="bg-white"],
[data-theme] section.bg-slate-50,
[data-theme] section[class*="bg-slate-50"],
[data-theme] section.bg-slate-100,
[data-theme] section[class*="bg-slate-100"],
[data-theme] section.bg-gray-50,
[data-theme] section[class*="bg-gray-50"],
[data-theme] section.bg-emerald-50,
[data-theme] section[class*="bg-emerald-50"],
[data-theme] section.bg-blue-50,
[data-theme] section[class*="bg-blue-50"] {
  background-color: var(--theme-bg) !important;
}

/* Subtle alternating section bands */
[data-theme] section.theme-section-subtle,
[data-theme] section#recruitmentCategories,
[data-theme] section#sourcingLocationsSection,
[data-theme] section#whyChooseUs,
[data-theme] section#testimonialsSection {
  background-color: var(--theme-surface-subtle) !important;
}

/* Containers, Links, Labels, Buttons & Cards (non-section) - Excludes Topbar & Footer which have dedicated bulletproof styling */
[data-theme] div.bg-white:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] div[class*="bg-white/"]:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] a.bg-white:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] a[class*="bg-white/"]:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] label.bg-white:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] label[class*="bg-white"]:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] button.bg-white:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] button[class*="bg-white"]:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] div.bg-slate-50:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] div[class*="bg-slate-50"]:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] a.bg-slate-50:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] a[class*="bg-slate-50"]:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] label.bg-slate-50:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] label[class*="bg-slate-50"]:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] div.bg-slate-100:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] div[class*="bg-slate-100"]:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] label.bg-slate-100:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] label[class*="bg-slate-100"]:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] div.bg-gray-50:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] div[class*="bg-gray-50"]:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] a.bg-gray-50:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] a[class*="bg-gray-50"]:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] label.bg-gray-50:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *),
[data-theme] label[class*="bg-gray-50"]:not(.theme-preserve):not(.theme-topbar *):not(.theme-footer *) {
  background-color: var(--theme-surface) !important;
  color: var(--theme-text) !important;
}

[data-theme] [class*="hover:bg-white"]:hover,
[data-theme] [class*="hover:bg-slate-50"]:hover {
  background-color: var(--theme-surface-hover) !important;
}

/* Job Application Wizard - CV Source Radio Options Across All 5 Themes */
.cv-source-option {
  background-color: var(--theme-surface-elevated) !important;
  border-color: var(--theme-border) !important;
  color: var(--theme-text) !important;
  transition: all 0.2s ease !important;
}

.cv-source-option:hover {
  border-color: var(--theme-primary) !important;
  background-color: var(--theme-surface-hover) !important;
}

/* Selected CV Source Option */
.cv-source-option.active,
.cv-source-option.is-selected,
.cv-source-option:has(input[name="cv_source"]:checked) {
  background-color: var(--theme-primary-light) !important;
  border-color: var(--theme-primary) !important;
  box-shadow: 0 0 0 1px var(--theme-primary) !important;
}

.cv-source-option .cv-title,
.cv-source-option h4,
.cv-source-option .text-slate-900,
.cv-source-option .text-slate-800 {
  color: var(--theme-text-headings) !important;
}

.cv-source-option .cv-subtitle,
.cv-source-option .text-slate-500,
.cv-source-option .text-slate-400 {
  color: var(--theme-text-muted) !important;
}

.cv-source-option .cv-icon-box {
  background-color: var(--theme-surface) !important;
  border: 1px solid var(--theme-border) !important;
  color: var(--theme-primary) !important;
}

.cv-source-option:has(input[name="cv_source"]:checked) .cv-icon-box {
  background-color: var(--theme-primary) !important;
  color: #FFFFFF !important;
  border-color: var(--theme-primary) !important;
}

/* Active CV Badge in Option 1 */
.cv-source-option .active-cv-badge {
  background-color: var(--theme-primary-light) !important;
  color: var(--theme-primary) !important;
  border: 1px solid var(--theme-primary-border) !important;
}
[data-theme="arctic-executive"] .cv-source-option .active-cv-badge {
  background-color: #D1FAE5 !important;
  color: #065F46 !important;
  border-color: #A7F3D0 !important;
}


/* Themed Badges & Pills */
[data-theme] span[class*="bg-emerald-50"]:not(.theme-preserve),
[data-theme] span[class*="bg-emerald-100"]:not(.theme-preserve),
[data-theme] div[class*="bg-emerald-50"]:not(section):not(.container):not(.theme-preserve),
[data-theme] div[class*="bg-emerald-100"]:not(section):not(.container):not(.theme-preserve),
[data-theme] span[class*="bg-blue-50"]:not(.theme-preserve),
[data-theme] span[class*="bg-blue-100"]:not(.theme-preserve) {
  background-color: var(--theme-primary-light) !important;
  color: var(--theme-primary) !important;
  border-color: var(--theme-primary-border) !important;
}

/* Neutral tags, pill badges, and secondary action buttons */
[data-theme] span[class*="bg-slate-100"]:not(.theme-preserve),
[data-theme] span[class*="bg-slate-50"]:not(.theme-preserve),
[data-theme] span[class*="bg-gray-100"]:not(.theme-preserve),
[data-theme] span[class*="bg-gray-50"]:not(.theme-preserve) {
  background-color: var(--theme-surface-elevated) !important;
  color: var(--theme-text-muted) !important;
  border-color: var(--theme-border) !important;
}

[data-theme] a.bg-slate-100:not(.theme-preserve),
[data-theme] a[class*="bg-slate-100"]:not(.theme-preserve),
[data-theme] button.bg-slate-100:not(.theme-preserve),
[data-theme] button[class*="bg-slate-100"]:not(.theme-preserve) {
  background-color: var(--theme-surface-elevated) !important;
  color: var(--theme-text) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] a.bg-slate-100:hover,
[data-theme] a[class*="bg-slate-100"]:hover,
[data-theme] button.bg-slate-100:hover,
[data-theme] button[class*="bg-slate-100"]:hover {
  background-color: var(--theme-surface-hover) !important;
  color: var(--theme-text-headings) !important;
}

/* Headings and body texts */
[data-theme] .text-slate-900:not(.theme-preserve),
[data-theme] .text-slate-800:not(.theme-preserve) {
  color: var(--theme-text-headings) !important;
}

[data-theme] .text-slate-700:not(.theme-preserve),
[data-theme] .text-slate-600:not(.theme-preserve) {
  color: var(--theme-text) !important;
}

[data-theme] .text-slate-500:not(.theme-preserve),
[data-theme] .text-slate-400:not(.theme-preserve) {
  color: var(--theme-text-muted) !important;
}

/* Borders */
[data-theme] .border-slate-100:not(.theme-preserve),
[data-theme] .border-slate-200:not(.theme-preserve),
[data-theme] [class*="border-slate-"]:not(.theme-preserve),
[data-theme] [class*="border-emerald-100"]:not(.theme-preserve),
[data-theme] [class*="border-emerald-200"]:not(.theme-preserve) {
  border-color: var(--theme-border) !important;
}

/* Brand color utilities migration to active theme tokens */
[data-theme] .text-\[\#02c69a\],
[data-theme] .text-\[\#0284c7\],
[data-theme] .text-\[\#029a75\] {
  color: var(--theme-primary) !important;
}

[data-theme] .hover\:text-\[\#02c69a\]:hover,
[data-theme] .hover\:text-\[\#0284c7\]:hover,
[data-theme] .hover\:text-\[\#029a75\]:hover {
  color: var(--theme-primary-hover) !important;
}

[data-theme] .border-\[\#02c69a\] {
  border-color: var(--theme-primary) !important;
}

[data-theme] .hover\:border-\[\#02c69a\]:hover {
  border-color: var(--theme-primary) !important;
}

[data-theme] .bg-\[\#02c69a\] {
  background-color: var(--theme-primary) !important;
}

/* Legacy Gradients migrated to Theme Primary -> Secondary */
[data-theme] .bg-gradient-to-r.from-\[\#02c69a\].to-\[\#279ad6\],
[data-theme] .bg-gradient-to-r.from-\[\#02c69a\].to-\[\#0284c7\],
[data-theme] .bg-gradient-to-r.from-\[\#02c69a\].via-\[\#0db8ac\].to-\[\#279ad6\],
[data-theme] .bg-gradient-to-r.from-\[\#02c69a\].via-\[\#059669\].to-\[\#0284c7\] {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%) !important;
}

[data-theme] [class*="bg-clip-text"],
[data-theme] .bg-clip-text {
  color: var(--theme-primary) !important;
  -webkit-text-fill-color: var(--theme-primary) !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  display: inline !important;
}

/* Form inputs & selects across all public pages & candidate portal */
[data-theme] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not(.form-control-dark):not(.theme-preserve),
[data-theme] select:not(.form-control-dark):not(.form-select-dark):not(.theme-preserve),
[data-theme] textarea:not(.form-control-dark):not(.theme-preserve) {
  background-color: var(--theme-input-bg) !important;
  border-color: var(--theme-input-border) !important;
  color: var(--theme-input-text) !important;
}

/* Ensure native date / time picker calendar icons and drop-downs adapt to theme */
[data-theme="midnight-emerald"] input[type="date"],
[data-theme="midnight-emerald"] input[type="datetime-local"],
[data-theme="midnight-emerald"] input[type="time"],
[data-theme="obsidian-gold"] input[type="date"],
[data-theme="obsidian-gold"] input[type="datetime-local"],
[data-theme="obsidian-gold"] input[type="time"],
[data-theme="carbon-crimson"] input[type="date"],
[data-theme="carbon-crimson"] input[type="datetime-local"],
[data-theme="carbon-crimson"] input[type="time"] {
  color-scheme: dark !important;
}

[data-theme="arctic-executive"] input[type="date"],
[data-theme="arctic-executive"] input[type="datetime-local"],
[data-theme="arctic-executive"] input[type="time"],
[data-theme="royal-azure"] input[type="date"],
[data-theme="royal-azure"] input[type="datetime-local"],
[data-theme="royal-azure"] input[type="time"] {
  color-scheme: light !important;
}

[data-theme] input[type="date"]::-webkit-calendar-picker-indicator,
[data-theme] input[type="datetime-local"]::-webkit-calendar-picker-indicator,
[data-theme] input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.9;
}

/* Dark theme calendar indicators: bright crisp white */
[data-theme="midnight-emerald"] input[type="date"]::-webkit-calendar-picker-indicator,
[data-theme="midnight-emerald"] input[type="datetime-local"]::-webkit-calendar-picker-indicator,
[data-theme="midnight-emerald"] input[type="time"]::-webkit-calendar-picker-indicator,
[data-theme="obsidian-gold"] input[type="date"]::-webkit-calendar-picker-indicator,
[data-theme="obsidian-gold"] input[type="datetime-local"]::-webkit-calendar-picker-indicator,
[data-theme="obsidian-gold"] input[type="time"]::-webkit-calendar-picker-indicator,
[data-theme="carbon-crimson"] input[type="date"]::-webkit-calendar-picker-indicator,
[data-theme="carbon-crimson"] input[type="datetime-local"]::-webkit-calendar-picker-indicator,
[data-theme="carbon-crimson"] input[type="time"]::-webkit-calendar-picker-indicator {
  filter: brightness(0) invert(1) !important;
  opacity: 0.85 !important;
}

[data-theme="midnight-emerald"] input[type="date"]::-webkit-calendar-picker-indicator:hover,
[data-theme="obsidian-gold"] input[type="date"]::-webkit-calendar-picker-indicator:hover,
[data-theme="carbon-crimson"] input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1 !important;
}

/* Light theme calendar indicators: default crisp dark */
[data-theme="arctic-executive"] input[type="date"]::-webkit-calendar-picker-indicator,
[data-theme="arctic-executive"] input[type="datetime-local"]::-webkit-calendar-picker-indicator,
[data-theme="arctic-executive"] input[type="time"]::-webkit-calendar-picker-indicator,
[data-theme="royal-azure"] input[type="date"]::-webkit-calendar-picker-indicator,
[data-theme="royal-azure"] input[type="datetime-local"]::-webkit-calendar-picker-indicator,
[data-theme="royal-azure"] input[type="time"]::-webkit-calendar-picker-indicator {
  filter: none !important;
  opacity: 0.7 !important;
}

/* Date & time input text pseudo-elements */
[data-theme] input[type="date"]::-webkit-datetime-edit,
[data-theme] input[type="date"]::-webkit-datetime-edit-fields-wrapper,
[data-theme] input[type="date"]::-webkit-datetime-edit-text,
[data-theme] input[type="date"]::-webkit-datetime-edit-month-field,
[data-theme] input[type="date"]::-webkit-datetime-edit-day-field,
[data-theme] input[type="date"]::-webkit-datetime-edit-year-field {
  color: var(--theme-input-text) !important;
}

[data-theme] select option {
  background-color: var(--theme-surface-elevated, var(--theme-surface, #142238)) !important;
  color: var(--theme-input-text, #F8FAFC) !important;
}

[data-theme] input::placeholder,
[data-theme] textarea::placeholder {
  color: var(--theme-input-placeholder) !important;
  opacity: 0.8;
}

[data-theme] input:focus:not(.form-control-dark),
[data-theme] select:focus:not(.form-control-dark),
[data-theme] textarea:focus:not(.form-control-dark) {
  border-color: var(--theme-input-focus-border) !important;
  box-shadow: 0 0 0 3px var(--theme-input-focus-ring) !important;
  outline: none !important;
}

/* Dynamic Glow utilities */
.theme-glow-radial-1 {
  background: radial-gradient(circle at 20% 20%, var(--theme-glow-1) 0%, transparent 50%) !important;
}

.theme-glow-radial-2 {
  background: radial-gradient(circle at 80% 80%, var(--theme-glow-2) 0%, transparent 50%) !important;
}

/* Application Reference Code Badge Pill */
[data-theme] .app-ref-badge,
.app-ref-badge {
  background-color: var(--theme-badge-bg) !important;
  color: var(--theme-badge-text) !important;
  border: 1px solid var(--theme-badge-border) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Candidate Portal Adaptations */
[data-theme] .portal-card {
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
  color: var(--theme-text) !important;
}

/* Candidate Profile Avatar Card & Circular Photo Adaptations */
[data-theme] .candidate-avatar-banner {
  background-color: var(--theme-surface-elevated) !important;
  background-image: none !important;
  border-color: var(--theme-border-strong) !important;
  color: var(--theme-text) !important;
}

[data-theme] .candidate-avatar-banner h4,
[data-theme] .candidate-avatar-banner #profileCardCandidateName {
  color: var(--theme-text-headings) !important;
}

[data-theme] .candidate-avatar-banner p {
  color: var(--theme-text-muted) !important;
}

[data-theme] #profilePreviewAvatar,
[data-theme] .candidate-avatar-img,
#profilePreviewAvatar {
  border-radius: 9999px !important;
  object-fit: cover !important;
}

#candidateAvatarAdjustModal .theme-surface {
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
  color: var(--theme-text) !important;
}

/* Candidate Interviews Timezone Synchronization Clocks - High Contrast Across All 5 Themes */
.portal-clock-box {
  background-color: var(--theme-surface-elevated) !important;
  border-color: var(--theme-border) !important;
}

/* Light Theme: Deep rich contrast against white background */
[data-theme="arctic-executive"] #portalDubaiClock,
[data-theme="arctic-executive"] .portal-clock-dubai {
  color: #047857 !important; /* Deep emerald - WCAG AAA contrast */
}
[data-theme="arctic-executive"] .portal-clock-dubai-label {
  color: #065F46 !important;
}
[data-theme="arctic-executive"] #portalLocalClock,
[data-theme="arctic-executive"] .portal-clock-local {
  color: #0369A1 !important; /* Deep sapphire blue - WCAG AAA contrast */
}
[data-theme="arctic-executive"] #portalLocalTzLabel,
[data-theme="arctic-executive"] .portal-clock-local-label {
  color: #075985 !important;
}
[data-theme="arctic-executive"] .portal-live-sync-badge {
  background-color: #D1FAE5 !important;
  color: #065F46 !important;
  border: 1px solid #A7F3D0 !important;
}

/* Dark Themes: Crisp luminous colors */
[data-theme="midnight-emerald"] #portalDubaiClock,
[data-theme="obsidian-gold"] #portalDubaiClock,
[data-theme="carbon-crimson"] #portalDubaiClock,
[data-theme="royal-azure"] #portalDubaiClock {
  color: #34D399 !important;
}
[data-theme="midnight-emerald"] .portal-clock-dubai-label,
[data-theme="obsidian-gold"] .portal-clock-dubai-label,
[data-theme="carbon-crimson"] .portal-clock-dubai-label,
[data-theme="royal-azure"] .portal-clock-dubai-label {
  color: #6EE7B7 !important;
}
[data-theme="midnight-emerald"] #portalLocalClock,
[data-theme="obsidian-gold"] #portalLocalClock,
[data-theme="carbon-crimson"] #portalLocalClock,
[data-theme="royal-azure"] #portalLocalClock {
  color: #38BDF8 !important;
}
[data-theme="midnight-emerald"] #portalLocalTzLabel,
[data-theme="obsidian-gold"] #portalLocalTzLabel,
[data-theme="carbon-crimson"] #portalLocalTzLabel,
[data-theme="royal-azure"] #portalLocalTzLabel {
  color: #7DD3FC !important;
}

/* Candidate Interviews Filter Buttons & Active States */
.iv-filter-btn {
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}
[data-theme] .iv-filter-btn.active,
[data-theme] .iv-filter-btn[data-active="true"],
[data-theme] .iv-filter-btn-active {
  background-color: var(--theme-primary, #059669) !important;
  color: #FFFFFF !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}
[data-theme="arctic-executive"] .iv-filter-btn:not(.active):not([data-active="true"]):not(.iv-filter-btn-active) {
  color: #334155 !important; /* Deep Slate-700 for high readability on white */
}
[data-theme="arctic-executive"] .iv-filter-btn:not(.active):not([data-active="true"]):not(.iv-filter-btn-active):hover {
  color: #0F172A !important;
  background-color: #E2E8F0 !important;
}
[data-theme="midnight-emerald"] .iv-filter-btn:not(.active):not([data-active="true"]):not(.iv-filter-btn-active),
[data-theme="royal-azure"] .iv-filter-btn:not(.active):not([data-active="true"]):not(.iv-filter-btn-active),
[data-theme="obsidian-gold"] .iv-filter-btn:not(.active):not([data-active="true"]):not(.iv-filter-btn-active),
[data-theme="carbon-crimson"] .iv-filter-btn:not(.active):not([data-active="true"]):not(.iv-filter-btn-active) {
  color: #94A3B8 !important;
}
[data-theme="midnight-emerald"] .iv-filter-btn:not(.active):not([data-active="true"]):not(.iv-filter-btn-active):hover,
[data-theme="royal-azure"] .iv-filter-btn:not(.active):not([data-active="true"]):not(.iv-filter-btn-active):hover,
[data-theme="obsidian-gold"] .iv-filter-btn:not(.active):not([data-active="true"]):not(.iv-filter-btn-active):hover,
[data-theme="carbon-crimson"] .iv-filter-btn:not(.active):not([data-active="true"]):not(.iv-filter-btn-active):hover {
  color: #FFFFFF !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Candidate Interview Status Badges & Contrast Enhancement for Light Themes */
[data-theme="arctic-executive"] .portal-section .text-emerald-400,
[data-theme="arctic-executive"] .portal-section .text-emerald-300 {
  color: #047857 !important;
}
[data-theme="arctic-executive"] .portal-section .text-sky-400,
[data-theme="arctic-executive"] .portal-section .text-sky-300 {
  color: #0369A1 !important;
}
[data-theme="arctic-executive"] .portal-section .text-amber-300,
[data-theme="arctic-executive"] .portal-section .text-amber-400 {
  color: #B45309 !important;
}
[data-theme="arctic-executive"] .portal-section .text-rose-400,
[data-theme="arctic-executive"] .portal-section .text-rose-300 {
  color: #BE123C !important;
}
[data-theme="arctic-executive"] .portal-section .text-blue-400,
[data-theme="arctic-executive"] .portal-section .text-blue-300 {
  color: #1D4ED8 !important;
}


/* Candidate Preparation Banner Adaptations Across Themes */
[data-theme="midnight-emerald"] .candidate-prep-banner,
[data-theme="obsidian-gold"] .candidate-prep-banner,
[data-theme="carbon-crimson"] .candidate-prep-banner {
  background-color: rgba(245, 158, 11, 0.10) !important;
  border-color: rgba(245, 158, 11, 0.30) !important;
}
[data-theme="midnight-emerald"] .candidate-prep-text,
[data-theme="obsidian-gold"] .candidate-prep-text,
[data-theme="carbon-crimson"] .candidate-prep-text {
  color: #F8FAFC !important;
}

[data-theme="arctic-executive"] .candidate-prep-banner,
[data-theme="royal-azure"] .candidate-prep-banner {
  background-color: #FEF3C7 !important;
  border-color: #FCD34D !important;
}
[data-theme="arctic-executive"] .candidate-prep-text,
[data-theme="royal-azure"] .candidate-prep-text {
  color: #78350F !important;
}

[data-theme] .portal-section label {
  color: var(--theme-text-headings) !important;
}

[data-theme="midnight-emerald"] .portal-section label,
[data-theme="obsidian-gold"] .portal-section label,
[data-theme="carbon-crimson"] .portal-section label {
  color: var(--theme-text-strong, #F8FAFC) !important;
}

[data-theme="arctic-executive"] .portal-section label,
[data-theme="royal-azure"] .portal-section label {
  color: var(--theme-text-strong, #0F172A) !important;
}

/* Ensure form inputs and selects in portal are readable across themes */
[data-theme] .portal-section input,
[data-theme] .portal-section select,
[data-theme] .portal-section textarea {
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
  color: var(--theme-text-headings) !important;
}
[data-theme] .portal-section input:focus,
[data-theme] .portal-section select:focus,
[data-theme] .portal-section textarea:focus {
  border-color: #02c69a !important;
  outline: none !important;
}

/* Dark mode card container adaptations for hardcoded slate backgrounds in portal */
[data-theme="midnight-emerald"] .portal-section .bg-slate-50,
[data-theme="midnight-emerald"] .portal-section .bg-slate-50\/50,
[data-theme="midnight-emerald"] .portal-section .bg-slate-100,
[data-theme="obsidian-gold"] .portal-section .bg-slate-50,
[data-theme="obsidian-gold"] .portal-section .bg-slate-50\/50,
[data-theme="obsidian-gold"] .portal-section .bg-slate-100,
[data-theme="carbon-crimson"] .portal-section .bg-slate-50,
[data-theme="carbon-crimson"] .portal-section .bg-slate-50\/50,
[data-theme="carbon-crimson"] .portal-section .bg-slate-100 {
  background-color: var(--theme-surface-elevated) !important;
  border-color: var(--theme-border) !important;
}

[data-theme="midnight-emerald"] .portal-section .text-slate-900,
[data-theme="midnight-emerald"] .portal-section .text-slate-800,
[data-theme="obsidian-gold"] .portal-section .text-slate-900,
[data-theme="obsidian-gold"] .portal-section .text-slate-800,
[data-theme="carbon-crimson"] .portal-section .text-slate-900,
[data-theme="carbon-crimson"] .portal-section .text-slate-800 {
  color: var(--theme-text-headings) !important;
}

/* Customer Login Adaptations */
[data-theme] .login-card-shell {
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
}

/* --------------------------------------------------------------------------
   EXPLICIT THEME ENGINE COMPONENT ADAPTATIONS
   Guarantees 100% theme fidelity across all 5 themes without visual regression
   -------------------------------------------------------------------------- */

/* 1. FAQ ACCORDION (CLOSED & OPEN STATES) */
[data-theme] #recruitmentFaq {
  background-color: var(--theme-bg) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #recruitmentFaq h2 {
  color: var(--theme-text-headings) !important;
}
[data-theme] #recruitmentFaq p {
  color: var(--theme-text-muted) !important;
}
[data-theme] #faqAccordion > div {
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #faqAccordion button {
  background-color: var(--theme-surface) !important;
  color: var(--theme-text-headings) !important;
}
[data-theme] #faqAccordion button:hover,
[data-theme] #faqAccordion button:focus-visible {
  background-color: var(--theme-surface-hover) !important;
  color: var(--theme-text-headings) !important;
}
[data-theme] #faqAccordion .faq-icon {
  color: var(--theme-primary) !important;
}
[data-theme] #faqAccordion .faq-content {
  background-color: var(--theme-surface-elevated) !important;
  color: var(--theme-text) !important;
  border-color: var(--theme-border) !important;
}

/* 2. INDUSTRY / SECTOR CARDS */
[data-theme] #recruitmentCategories {
  background-color: var(--theme-surface-subtle) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #recruitmentCategories h2 {
  color: var(--theme-text-headings) !important;
}
[data-theme] #recruitmentCategories a.group {
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #recruitmentCategories a.group:hover {
  background-color: var(--theme-surface-hover) !important;
  border-color: var(--theme-primary) !important;
}
[data-theme] #recruitmentCategories a.group:hover h3 {
  color: var(--theme-primary) !important;
}
[data-theme] #recruitmentCategories a.group .w-12 {
  background-color: var(--theme-surface-elevated) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #recruitmentCategories a.group:hover .w-12 {
  background-color: var(--theme-primary-light) !important;
  border-color: var(--theme-primary-border) !important;
}
[data-theme] #recruitmentCategories h3 {
  color: var(--theme-text-headings) !important;
}
[data-theme] #recruitmentCategories p {
  color: var(--theme-text-muted) !important;
}
[data-theme] #recruitmentCategories .border-t {
  border-color: var(--theme-border) !important;
  color: var(--theme-primary) !important;
}

/* 3. EXPLORE HIGH-DEMAND ROLES */
[data-theme] #exploreRolesSection {
  background-color: var(--theme-bg) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #exploreRolesSection h2 {
  color: var(--theme-text-headings) !important;
}
[data-theme] #exploreRolesSection a.group {
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #exploreRolesSection a.group:hover {
  background-color: var(--theme-surface-hover) !important;
  border-color: var(--theme-primary) !important;
}
[data-theme] #exploreRolesSection a.group h4 {
  color: var(--theme-text-headings) !important;
}
[data-theme] #exploreRolesSection a.group:hover h4 {
  color: var(--theme-primary) !important;
}
[data-theme] #exploreRolesSection a.group p {
  color: var(--theme-text-muted) !important;
}
[data-theme] #exploreRolesSection a.group .border-t {
  border-color: var(--theme-border) !important;
}
[data-theme] #exploreRolesSection .salary-text,
[data-theme] #exploreRolesSection span.text-emerald-700 {
  color: var(--theme-primary) !important;
}

/* 4. SOURCING CORRIDORS & TALENT HUBS */
[data-theme] #sourcingLocationsSection {
  background-color: var(--theme-surface-subtle) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #sourcingLocationsSection h2 {
  color: var(--theme-text-headings) !important;
}
[data-theme] #sourcingLocationsSection .rounded-2xl {
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #sourcingLocationsSection .rounded-2xl:hover {
  border-color: var(--theme-primary) !important;
}
[data-theme] #sourcingLocationsSection h4 {
  color: var(--theme-text-headings) !important;
}
[data-theme] #sourcingLocationsSection p {
  color: var(--theme-text-muted) !important;
}
[data-theme] #sourcingLocationsSection .border-t {
  border-color: var(--theme-border) !important;
}

/* 5. RECRUITMENT CHALLENGES & SOLUTIONS */
[data-theme] #recruitmentChallengesSection {
  background-color: var(--theme-bg) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #recruitmentChallengesSection h2 {
  color: var(--theme-text-headings) !important;
}
[data-theme] #recruitmentChallengesSection .rounded-3xl {
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #recruitmentChallengesSection h3 {
  color: var(--theme-text-headings) !important;
}
[data-theme] #recruitmentChallengesSection p.text-slate-600 {
  color: var(--theme-text-muted) !important;
}
[data-theme] #recruitmentChallengesSection .border-t {
  border-color: var(--theme-border) !important;
}

/* 6. WHY CHOOSE US (PILLARS) */
[data-theme] #whyChooseUs {
  background-color: var(--theme-surface-subtle) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #whyChooseUs h2 {
  color: var(--theme-text-headings) !important;
}
[data-theme] #whyChooseUs .rounded-3xl {
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #whyChooseUs .rounded-3xl:hover {
  background-color: var(--theme-surface-hover) !important;
  border-color: var(--theme-primary) !important;
}
[data-theme] #whyChooseUs h3 {
  color: var(--theme-text-headings) !important;
}
[data-theme] #whyChooseUs p.text-slate-600 {
  color: var(--theme-text-muted) !important;
}

/* 7. ANNOUNCEMENTS & RECRUITMENT DRIVES */
[data-theme] #recruitmentAnnouncements {
  background-color: var(--theme-bg) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #recruitmentAnnouncements h2 {
  color: var(--theme-text-headings) !important;
}
[data-theme] #recruitmentAnnouncements .rounded-3xl {
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #recruitmentAnnouncements h3,
[data-theme] #recruitmentAnnouncements h3 a {
  color: var(--theme-text-headings) !important;
}
[data-theme] #recruitmentAnnouncements h3 a:hover {
  color: var(--theme-primary) !important;
}
[data-theme] #recruitmentAnnouncements p {
  color: var(--theme-text-muted) !important;
}
[data-theme] #recruitmentAnnouncements .border-t {
  border-color: var(--theme-border) !important;
}

/* 8. TESTIMONIALS */
[data-theme] #testimonialsSection {
  background-color: var(--theme-surface-subtle) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #testimonialsSection h2 {
  color: var(--theme-text-headings) !important;
}
[data-theme] #testimonialsSection .rounded-3xl {
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #testimonialsSection h4 {
  color: var(--theme-text-headings) !important;
}
[data-theme] #testimonialsSection p {
  color: var(--theme-text-muted) !important;
}
[data-theme] #testimonialsSection .border-t {
  border-color: var(--theme-border) !important;
}

/* 9. CAREERS & JOBS CATALOG */
[data-theme] #jobsCatalogSection {
  background-color: var(--theme-bg) !important;
}
[data-theme] #jobsCatalogSection .theme-surface h3,
[data-theme] #jobsCatalogSection .theme-surface h3 a {
  color: var(--theme-text-headings) !important;
}
[data-theme] #jobsCatalogSection .theme-surface h3 a:hover {
  color: var(--theme-primary) !important;
}
[data-theme] #jobsCatalogSection .salary-badge,
[data-theme] #jobsCatalogSection .text-emerald-700 {
  color: var(--theme-primary) !important;
}
[data-theme] #jobsCatalogSection .save-job-btn {
  background-color: var(--theme-surface-elevated) !important;
  border-color: var(--theme-border-strong) !important;
  color: var(--theme-text-muted) !important;
}
[data-theme] #jobsCatalogSection .save-job-btn:hover {
  border-color: var(--theme-primary) !important;
  color: var(--theme-primary) !important;
}

/* 10. AI RECRUITMENT ASSISTANT WIDGET */
[data-theme] #aiChatbotPanel {
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #aiChatMessages {
  background-color: var(--theme-bg) !important;
}
[data-theme] #aiChatMessages .theme-card,
[data-theme] #aiChatMessages .bot-bubble {
  background-color: var(--theme-surface-elevated) !important;
  border-color: var(--theme-border) !important;
  color: var(--theme-text) !important;
}
[data-theme] #aiChatChips button {
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
  color: var(--theme-text) !important;
}
[data-theme] #aiChatChips button:hover {
  border-color: var(--theme-primary) !important;
  color: var(--theme-primary) !important;
  background-color: var(--theme-surface-hover) !important;
}

/* ==========================================================================
   11. JOB APPLICATION WIZARD — FULL THEME ADAPTERS
   Overrides hardcoded Tailwind colors for complete theme compatibility
   ========================================================================== */

/* Wizard step card form inputs: override bg-slate-50, border-slate-200, text-slate-800 */
[data-theme] .wizard-step-card input[type="text"],
[data-theme] .wizard-step-card input[type="email"],
[data-theme] .wizard-step-card input[type="tel"],
[data-theme] .wizard-step-card input[type="date"],
[data-theme] .wizard-step-card select,
[data-theme] .wizard-step-card textarea {
  background-color: var(--theme-input-bg) !important;
  border-color: var(--theme-input-border) !important;
  color: var(--theme-input-text) !important;
}
[data-theme] .wizard-step-card input::placeholder,
[data-theme] .wizard-step-card textarea::placeholder {
  color: var(--theme-input-placeholder) !important;
}
[data-theme] .wizard-step-card input:focus,
[data-theme] .wizard-step-card select:focus,
[data-theme] .wizard-step-card textarea:focus {
  border-color: var(--theme-input-focus-border) !important;
  box-shadow: 0 0 0 2px var(--theme-input-focus-ring) !important;
  background-color: var(--theme-surface) !important;
}

/* Labels in wizard */
[data-theme] .wizard-step-card .text-slate-700 {
  color: var(--theme-text) !important;
}
[data-theme] .wizard-step-card .text-slate-900 {
  color: var(--theme-text-headings) !important;
}
[data-theme] .wizard-step-card .text-slate-500 {
  color: var(--theme-text-muted) !important;
}
[data-theme] .wizard-step-card .text-slate-400 {
  color: var(--theme-text-muted) !important;
}
[data-theme] .wizard-step-card .text-slate-800 {
  color: var(--theme-text-strong) !important;
}

/* Step indicator badges (number circles) */
[data-theme] .wizard-step-tab .step-badge {
  background-color: var(--theme-surface-elevated) !important;
  color: var(--theme-text-muted) !important;
}
[data-theme] .wizard-step-tab.active .step-badge,
[data-theme] .wizard-step-tab.completed .step-badge {
  background-color: var(--theme-primary) !important;
  color: #ffffff !important;
}
[data-theme] .wizard-step-tab .step-title {
  color: var(--theme-text-muted) !important;
}
[data-theme] .wizard-step-tab.active .step-title {
  color: var(--theme-primary) !important;
}

/* CV source option labels */
[data-theme] .cv-source-option {
  background-color: var(--theme-surface) !important;
}
[data-theme] .cv-source-option:hover {
  background-color: var(--theme-surface-hover) !important;
}
[data-theme] .cv-source-option .cv-title {
  color: var(--theme-text-headings) !important;
}
[data-theme] .cv-source-option .cv-subtitle {
  color: var(--theme-text-muted) !important;
}
[data-theme] .cv-source-option .cv-icon-box {
  background-color: var(--theme-surface-elevated) !important;
  color: var(--theme-primary) !important;
}
[data-theme] .cv-source-option.is-selected .active-cv-badge {
  background-color: var(--theme-primary-light) !important;
  color: var(--theme-primary) !important;
}

/* CV file drop zone */
[data-theme] #cvDropZone {
  background-color: var(--theme-surface-elevated) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] #cvDropZone:hover {
  border-color: var(--theme-primary) !important;
}
[data-theme] #cvDropZone h4 {
  color: var(--theme-text-headings) !important;
}
[data-theme] #cvDropZone p {
  color: var(--theme-text-muted) !important;
}

/* File uploaded preview badge */
[data-theme] #cvFilePreviewBadge {
  background-color: var(--theme-primary-light) !important;
  border-color: var(--theme-primary-border) !important;
}
[data-theme] #cvFilePreviewBadge #cvPreviewFileName {
  color: var(--theme-text-headings) !important;
}

/* Application submission alert */
[data-theme] #applicationSubmitAlert {
  background-color: var(--theme-surface-elevated) !important;
  color: var(--theme-text) !important;
}

/* Wizard step info boxes (bg-slate-50 inside step cards) */
[data-theme] .wizard-step-card .bg-slate-50 {
  background-color: var(--theme-surface-elevated) !important;
}
[data-theme] .wizard-step-card .border-slate-200 {
  border-color: var(--theme-border) !important;
}
[data-theme] .wizard-step-card .border-slate-100 {
  border-color: var(--theme-border) !important;
}

/* ==========================================================================
   BLACK & WHITE — LIGHT-THEME PARITY (reuses the same fixes as Arctic Executive)
   ========================================================================== */
[data-theme="black-white"] input[type="date"],
[data-theme="black-white"] input[type="datetime-local"],
[data-theme="black-white"] input[type="time"] {
  color-scheme: light !important;
}
[data-theme="black-white"] input[type="date"]::-webkit-calendar-picker-indicator,
[data-theme="black-white"] input[type="datetime-local"]::-webkit-calendar-picker-indicator,
[data-theme="black-white"] input[type="time"]::-webkit-calendar-picker-indicator {
  filter: none !important;
  opacity: 0.7 !important;
}

[data-theme="black-white"] .iv-filter-btn:not(.active):not([data-active="true"]):not(.iv-filter-btn-active) {
  color: #424245 !important;
}
[data-theme="black-white"] .iv-filter-btn:not(.active):not([data-active="true"]):not(.iv-filter-btn-active):hover {
  color: #1D1D1F !important;
  background-color: #E8E8ED !important;
}

[data-theme="black-white"] .candidate-prep-banner {
  background-color: #FEF3C7 !important;
  border-color: #FCD34D !important;
}
[data-theme="black-white"] .candidate-prep-text {
  color: #78350F !important;
}
[data-theme="black-white"] .portal-section label {
  color: var(--theme-text-strong) !important;
}
[data-theme="black-white"] .cv-source-option .active-cv-badge,
[data-theme="black-white"] .portal-live-sync-badge {
  background-color: #D1FAE5 !important;
  color: #065F46 !important;
  border-color: #A7F3D0 !important;
}

[data-theme="black-white"] #portalDubaiClock,
[data-theme="black-white"] .portal-clock-dubai { color: #047857 !important; }
[data-theme="black-white"] .portal-clock-dubai-label { color: #065F46 !important; }
[data-theme="black-white"] #portalLocalClock,
[data-theme="black-white"] .portal-clock-local { color: #0369A1 !important; }
[data-theme="black-white"] #portalLocalTzLabel,
[data-theme="black-white"] .portal-clock-local-label { color: #075985 !important; }

[data-theme="black-white"] .portal-section .text-emerald-400,
[data-theme="black-white"] .portal-section .text-emerald-300 { color: #047857 !important; }
[data-theme="black-white"] .portal-section .text-sky-400,
[data-theme="black-white"] .portal-section .text-sky-300 { color: #0369A1 !important; }
[data-theme="black-white"] .portal-section .text-amber-300,
[data-theme="black-white"] .portal-section .text-amber-400 { color: #B45309 !important; }
[data-theme="black-white"] .portal-section .text-rose-400,
[data-theme="black-white"] .portal-section .text-rose-300 { color: #BE123C !important; }
[data-theme="black-white"] .portal-section .text-blue-400,
[data-theme="black-white"] .portal-section .text-blue-300 { color: #1D4ED8 !important; }

/* ==========================================================================
   BLACK & WHITE — SIGNATURE MINIMAL LOOK (UI ONLY)
   SF typography, pill buttons, frosted-glass navbar, generous radii,
   black accent bands (topbar / footer) like product showcase bands.
   ========================================================================== */
[data-theme="black-white"] body,
[data-theme="black-white"] button,
[data-theme="black-white"] input,
[data-theme="black-white"] select,
[data-theme="black-white"] textarea {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[data-theme="black-white"] h1,
[data-theme="black-white"] h2,
[data-theme="black-white"] h3 {
  letter-spacing: -0.022em;
  font-weight: 600;
}
[data-theme="black-white"] h1 { letter-spacing: -0.03em; }

/* Frosted-glass sticky navigation */
[data-theme="black-white"] .theme-navbar-shell {
  background-color: var(--theme-navbar-bg) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: none !important;
  border-color: var(--theme-navbar-border) !important;
}

/* Primary: solid black pill (no gradient) */
[data-theme="black-white"] .theme-btn-primary {
  background: #1D1D1F !important;
  border-radius: 980px !important;
  box-shadow: none !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
}
[data-theme="black-white"] .theme-btn-primary:hover {
  background: #000000 !important;
  filter: none !important;
  box-shadow: none !important;
  transform: none !important;
}
[data-theme="black-white"] .theme-btn-primary:active {
  background: #000000 !important;
  transform: scale(0.98) !important;
}

/* Secondary: outlined blue pill (like "Pre-order" / "Buy") */
[data-theme="black-white"] .theme-btn-secondary {
  background-color: transparent !important;
  color: #1D1D1F !important;
  border: 1px solid #1D1D1F !important;
  border-radius: 980px !important;
  font-weight: 500 !important;
}
[data-theme="black-white"] .theme-btn-secondary:hover {
  background-color: #1D1D1F !important;
  color: #FFFFFF !important;
  border-color: #1D1D1F !important;
  transform: none !important;
}
[data-theme="black-white"] .theme-btn-ghost {
  border-radius: 980px !important;
  color: #1D1D1F !important;
}

/* Tailwind-coloured CTA buttons (gradient/emerald/blue) → black pill */
[data-theme="black-white"] a.bg-gradient-to-r:not(.theme-preserve),
[data-theme="black-white"] button.bg-gradient-to-r:not(.theme-preserve),
[data-theme="black-white"] button[type="submit"].bg-emerald-600,
[data-theme="black-white"] button[type="submit"].bg-emerald-500,
[data-theme="black-white"] a.bg-emerald-600,
[data-theme="black-white"] a.bg-emerald-500 {
  background: #1D1D1F !important;
  color: #FFFFFF !important;
  border-radius: 980px !important;
}

/* Cards: soft borderless tiles with large radius */
[data-theme="black-white"] .theme-card,
[data-theme="black-white"] .portal-card,
[data-theme="black-white"] .login-card-shell,
[data-theme="black-white"] #recruitmentCategories a.group,
[data-theme="black-white"] #exploreRolesSection a.group,
[data-theme="black-white"] #sourcingLocationsSection .rounded-2xl,
[data-theme="black-white"] #recruitmentChallengesSection .rounded-3xl,
[data-theme="black-white"] #whyChooseUs .rounded-3xl,
[data-theme="black-white"] #recruitmentAnnouncements .rounded-3xl,
[data-theme="black-white"] #testimonialsSection .rounded-3xl {
  border-radius: 22px !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
  box-shadow: none !important;
}
[data-theme="black-white"] .theme-card:hover,
[data-theme="black-white"] #recruitmentCategories a.group:hover,
[data-theme="black-white"] #exploreRolesSection a.group:hover,
[data-theme="black-white"] #whyChooseUs .rounded-3xl:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10) !important;
  transform: translateY(-3px);
  background-color: #FFFFFF !important;
}

/* Alternating bands: Soft #F5F5F7 ↔ white */
[data-theme="black-white"] #recruitmentCategories,
[data-theme="black-white"] #sourcingLocationsSection,
[data-theme="black-white"] #whyChooseUs,
[data-theme="black-white"] #testimonialsSection {
  background-color: #FFFFFF !important;
}
[data-theme="black-white"] #recruitmentCategories a.group,
[data-theme="black-white"] #exploreRolesSection a.group,
[data-theme="black-white"] #sourcingLocationsSection .rounded-2xl,
[data-theme="black-white"] #whyChooseUs .rounded-3xl,
[data-theme="black-white"] #testimonialsSection .rounded-3xl,
[data-theme="black-white"] #recruitmentChallengesSection .rounded-3xl,
[data-theme="black-white"] #recruitmentAnnouncements .rounded-3xl {
  background-color: #F5F5F7 !important;
}
[data-theme="black-white"] #jobsCatalogSection .theme-surface,
[data-theme="black-white"] #exploreRolesSection a.group,
[data-theme="black-white"] #recruitmentAnnouncements .rounded-3xl {
  background-color: #F5F5F7 !important;
}
[data-theme="black-white"] #exploreRolesSection a.group:hover,
[data-theme="black-white"] #recruitmentAnnouncements .rounded-3xl:hover,
[data-theme="black-white"] #jobsCatalogSection .theme-surface:hover {
  background-color: #FFFFFF !important;
}

/* Inputs: rounded, calm focus ring */
[data-theme="black-white"] .theme-input,
[data-theme="black-white"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not(.theme-preserve),
[data-theme="black-white"] select:not(.theme-preserve),
[data-theme="black-white"] textarea:not(.theme-preserve) {
  border-radius: 12px !important;
  border: 1px solid #D2D2D7 !important;
}

/* Badges become capsule pills */
[data-theme="black-white"] .theme-badge,
[data-theme="black-white"] .app-ref-badge {
  border-radius: 980px !important;
}

/* Topbar & footer: pure black band; links turn white on hover */
[data-theme="black-white"] .theme-topbar,
[data-theme="black-white"] .theme-footer {
  background-color: #000000 !important;
}
[data-theme="black-white"] .theme-topbar a:hover,
[data-theme="black-white"] .theme-footer a:hover {
  color: #2997FF !important;
}

/* Theme selector dropdown & AI widget header keep the black look */
[data-theme="black-white"] #themeDropdownMenu {
  border-radius: 18px !important;
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  background-color: rgba(255, 255, 255, 0.86) !important;
}
[data-theme="black-white"] ::selection {
  background-color: rgba(0, 0, 0, 0.18);
  color: #1D1D1F;
}

/* ==========================================================================
   BLACK & WHITE — MONOCHROME REFINEMENT
   White / black / grey everywhere. Black (#1D1D1F) is used for
   buttons. All accent tokens (icons, links, badges, nav-active, focus,
   highlighted heading text) are neutral black.
   ========================================================================== */
[data-theme="black-white"] {
  --theme-primary: #1D1D1F;
  --theme-primary-hover: #000000;
  --theme-primary-active: #000000;
  --theme-primary-rgb: 29, 29, 31;
  --theme-primary-light: rgba(0, 0, 0, 0.05);
  --theme-primary-border: rgba(0, 0, 0, 0.18);

  --theme-secondary: #1D1D1F;
  --theme-secondary-rgb: 29, 29, 31;
  --theme-accent: #F5F5F7;          /* light accent for use on black bands */
  --theme-accent-rgb: 245, 245, 247;

  --theme-icon: #1D1D1F;
  --theme-link: #1D1D1F;
  --theme-link-hover: #000000;
  --theme-button-secondary-text: #1D1D1F;

  --theme-glow-1: transparent;
  --theme-glow-2: transparent;
  --theme-glow-primary: 0 0 0 4px rgba(0, 0, 0, 0.10);

  --theme-navbar-active: #1D1D1F;
  --theme-card-hover-border: rgba(0, 0, 0, 0.28);

  --theme-input-focus-border: #1D1D1F;
  --theme-input-focus-ring: rgba(0, 0, 0, 0.12);

  --theme-badge-bg: #F5F5F7;
  --theme-badge-text: #1D1D1F;
  --theme-badge-border: #D2D2D7;
}

/* Pure black bands instead of navy/slate gradients */
[data-theme="black-white"] section[class*="bg-slate-9"],
[data-theme="black-white"] section[class*="from-slate-9"],
[data-theme="black-white"] section.bg-black,
[data-theme="black-white"] #employerCta {
  background: #000000 !important;
  background-image: none !important;
  color: #F5F5F7 !important;
}
/* Remove blue dot-pattern overlay in the employer CTA band */
[data-theme="black-white"] #employerCta > div.absolute {
  display: none !important;
}
/* CTA badge → neutral glass pill, check-marks → white */
[data-theme="black-white"] #employerCta .rounded-full {
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
}
[data-theme="black-white"] #employerCta h2 { color: #FFFFFF !important; }

/* Accent text inside any dark band stays bright white */
[data-theme="black-white"] .text-white .text-\[\#02c69a\],
[data-theme="black-white"] .text-white .theme-primary-text,
[data-theme="black-white"] [class*="bg-slate-9"] .text-\[\#02c69a\],
[data-theme="black-white"] [class*="bg-slate-9"] .theme-primary-text,
[data-theme="black-white"] .theme-gradient-text .text-white,
[data-theme="black-white"] #employerCta .text-\[\#02c69a\] {
  color: #FFFFFF !important;
}

/* Blue only on buttons: legacy gradient CTA buttons → solid black pill.
   Selectors are doubled to out-rank the generic gradient migration rules. */
[data-theme="black-white"][data-theme] .bg-gradient-to-r.from-\[\#02c69a\].to-\[\#279ad6\],
[data-theme="black-white"][data-theme] .bg-gradient-to-r.from-\[\#02c69a\].to-\[\#0284c7\],
[data-theme="black-white"][data-theme] .bg-gradient-to-r.from-\[\#02c69a\].via-\[\#0db8ac\].to-\[\#279ad6\],
[data-theme="black-white"][data-theme] .bg-gradient-to-r.from-\[\#02c69a\].via-\[\#059669\].to-\[\#0284c7\],
[data-theme="black-white"][data-theme] a.bg-\[\#02c69a\],
[data-theme="black-white"][data-theme] button.bg-\[\#02c69a\] {
  background: #1D1D1F !important;
  color: #FFFFFF !important;
  border-radius: 980px !important;
  box-shadow: none !important;
}
[data-theme="black-white"][data-theme] .bg-gradient-to-r.from-\[\#02c69a\]:hover,
[data-theme="black-white"][data-theme] a.bg-\[\#02c69a\]:hover,
[data-theme="black-white"][data-theme] button.bg-\[\#02c69a\]:hover {
  background: #000000 !important;
}

/* Brand-coloured text accents that are NOT buttons → black/grey */
[data-theme="black-white"] .text-blue-500,
[data-theme="black-white"] .text-blue-600,
[data-theme="black-white"] .text-blue-700,
[data-theme="black-white"] .text-sky-500,
[data-theme="black-white"] .text-sky-600,
[data-theme="black-white"] .text-sky-700,
[data-theme="black-white"] .text-teal-600,
[data-theme="black-white"] .text-teal-700,
[data-theme="black-white"] .text-indigo-600,
[data-theme="black-white"] .text-cyan-600 {
  color: #1D1D1F !important;
}
[data-theme="black-white"] section:not(.portal-section) .text-emerald-600,
[data-theme="black-white"] section:not(.portal-section) .text-emerald-700,
[data-theme="black-white"] section:not(.portal-section) .text-emerald-500 {
  color: #1D1D1F !important;
}
[data-theme="black-white"] .text-white .text-blue-500,
[data-theme="black-white"] .text-white .text-sky-500,
[data-theme="black-white"] .text-white .text-emerald-500,
[data-theme="black-white"] .text-white .text-emerald-300,
[data-theme="black-white"] [class*="bg-slate-9"] .text-emerald-300,
[data-theme="black-white"] [class*="bg-slate-9"] .text-sky-400,
[data-theme="black-white"] [class*="bg-slate-9"] .text-blue-400 {
  color: #F5F5F7 !important;
}

/* Soft neutral tint for icon chips / pills (was a blue tint) */
[data-theme="black-white"] span[class*="bg-emerald-50"]:not(.theme-preserve),
[data-theme="black-white"] span[class*="bg-emerald-100"]:not(.theme-preserve),
[data-theme="black-white"] div[class*="bg-emerald-50"]:not(section):not(.container):not(.theme-preserve),
[data-theme="black-white"] div[class*="bg-emerald-100"]:not(section):not(.container):not(.theme-preserve),
[data-theme="black-white"] span[class*="bg-blue-50"]:not(.theme-preserve),
[data-theme="black-white"] span[class*="bg-blue-100"]:not(.theme-preserve) {
  background-color: #F5F5F7 !important;
  color: #1D1D1F !important;
  border-color: #D2D2D7 !important;
}

/* Topbar & footer sit on pure black: hover/active states must be WHITE,
   never the (now black) primary token */
[data-theme="black-white"] .theme-topbar a:hover,
[data-theme="black-white"] .theme-topbar .theme-heading:hover,
[data-theme="black-white"] .theme-topbar a[href^="tel:"]:hover,
[data-theme="black-white"] .theme-footer a:hover,
[data-theme="black-white"] .theme-footer a.theme-heading:hover {
  color: #FFFFFF !important;
}
[data-theme="black-white"] .theme-topbar a:hover,
[data-theme="black-white"] .theme-topbar button:hover {
  border-color: rgba(255, 255, 255, 0.6) !important;
}
[data-theme="black-white"][data-theme] .theme-footer a[class*="bg-white"]:hover,
[data-theme="black-white"][data-theme] .theme-footer .theme-surface-elevated:hover {
  background-color: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #FFFFFF !important;
}
[data-theme="black-white"] .theme-topbar .fa-headset,
[data-theme="black-white"] .theme-topbar .fa-envelope,
[data-theme="black-white"] .theme-topbar .fa-bell,
[data-theme="black-white"] .theme-footer .theme-primary-text {
  color: #F5F5F7 !important;
}

/* Active navigation item: black text + black underline (no blue) */
[data-theme="black-white"] .theme-navbar-shell a.text-\[\#02c69a\],
[data-theme="black-white"] .theme-navbar-shell a[aria-current="page"] {
  color: #1D1D1F !important;
}
[data-theme="black-white"] .theme-navbar-shell [class*="border-[#02c69a]"],
[data-theme="black-white"] .theme-navbar-shell .border-\[\#02c69a\] {
  border-color: #1D1D1F !important;
}
[data-theme="black-white"] .theme-navbar-shell [class*="bg-[#02c69a]"]:not(a):not(button) {
  background-color: #1D1D1F !important;
}




/* Buttons on black bands (employer CTA, topbar, footer): white pill with black text so they stay visible */
[data-theme="black-white"][data-theme] #employerCta a.bg-gradient-to-r,
[data-theme="black-white"][data-theme] #employerCta .theme-btn-primary,
[data-theme="black-white"] .theme-footer .theme-btn-primary,
[data-theme="black-white"] section.bg-black .theme-btn-primary,
[data-theme="black-white"] section[class*="bg-slate-9"] .theme-btn-primary {
  background: #FFFFFF !important;
  color: #1D1D1F !important;
}
[data-theme="black-white"][data-theme] #employerCta a.bg-gradient-to-r:hover,
[data-theme="black-white"] .theme-footer .theme-btn-primary:hover,
[data-theme="black-white"] section[class*="bg-slate-9"] .theme-btn-primary:hover {
  background: #E8E8ED !important;
}
