/* ==========================================================================
   DheePath — EduTech Modern Design Tokens (tokens.css)
   Clean Modern Light Theme · Indigo, Blue & Cyan Accents
   DheePath · Enterprise Edition
   ========================================================================== */

:root {
  /* ------------------------------------------------------------------------
     1. Primary Surfaces & Backgrounds (Clean, Trustworthy, Light)
     ------------------------------------------------------------------------ */
  --color-background: #F8FAFC;        /* Main page canvas */
  --color-surface: #FFFFFF;           /* Card and panel background */
  --color-surface-muted: #F1F5F9;     /* Subtle section fills, table headers */
  --color-surface-blue: #EFF6FF;      /* Soft blue badge / card tint */
  --color-surface-indigo: #EEF2FF;    /* Soft indigo highlight tint */
  --color-surface-cyan: #ECFEFF;      /* Soft cyan accent tint */

  /* Legacy & Internal Surface Aliases */
  --bg-darkest: #F1F5F9;
  --bg-page: var(--color-background);
  --bg-surface: var(--color-surface);
  --bg-surface-elevated: #FFFFFF;
  --bg-surface-subtle: var(--color-surface-muted);

  /* Clean Translucent Glass Overlays (Light mode subtle blur) */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-bg-card: rgba(255, 255, 255, 0.95);
  --glass-bg-hover: #FFFFFF;
  --glass-blur: blur(12px);
  --glass-border: #E2E8F0;
  --glass-border-hover: #CBD5E1;

  /* ------------------------------------------------------------------------
     2. Primary Clean Modern Blue Palette (Standard Normal UI)
     ------------------------------------------------------------------------ */
  --color-primary-900: #0F172A;
  --color-primary-800: #1E3A8A;
  --color-primary-700: #1D4ED8;
  --color-primary-600: #2563EB;
  --color-primary-500: #3B82F6;

  --color-indigo-900: #1E293B;
  --color-indigo-800: #1E40AF;
  --color-indigo-700: #1D4ED8;
  --color-indigo-600: #2563EB;
  --color-indigo-500: #3B82F6;

  /* Accent Colors (Natural Blue & Slate) */
  --color-cyan-700: #0369A1;
  --color-cyan-600: #0284C7;
  --color-cyan-500: #0EA5E9;
  --color-cyan-400: #38BDF8;
  --color-cyan-300: #7DD3FC;

  /* Semantic Status Colors (Clean & Standard) */
  --color-success: #10B981;
  --color-success-bg: #ECFDF5;
  --color-warning: #F59E0B;
  --color-warning-bg: #FFFBEB;
  --color-danger: #EF4444;
  --color-danger-bg: #FEF2F2;
  --color-info: #2563EB;
  --color-info-bg: #EFF6FF;

  /* Legacy Palette Aliases */
  --cyan: var(--color-cyan-600);
  --cyan-glow: transparent;
  --teal: #0D9488;
  --teal-glow: transparent;
  --blue: var(--color-primary-600);
  --indigo: var(--color-primary-600);
  --violet: #2563EB;
  --violet-glow: transparent;
  --emerald: var(--color-success);
  --emerald-glow: transparent;
  --amber: var(--color-warning);
  --amber-glow: transparent;
  --rose: var(--color-danger);
  --rose-glow: transparent;

  /* ------------------------------------------------------------------------
     3. High-Contrast Accessible Typography Colors
     ------------------------------------------------------------------------ */
  --color-text-primary: #0F172A;      /* Clean Dark Slate for headings */
  --color-text-secondary: #334155;    /* Clear Slate for body text */
  --color-text-muted: #475569;        /* High-contrast WCAG AAA slate for captions (7.07:1 ratio) */
  --color-text-disabled: #64748B;     /* Disabled text */
  --color-border: #E2E8F0;            /* Clean light border */

  /* Legacy Typography Aliases */
  --text-primary: var(--color-text-primary);
  --text-secondary: var(--color-text-secondary);
  --text-muted: var(--color-text-muted);
  --text-dim: var(--color-text-disabled);
  --text-accent: var(--color-primary-600);

  /* ------------------------------------------------------------------------
     4. Clean Normal UI Gradients (Subtle & Natural)
     ------------------------------------------------------------------------ */
  --gradient-primary: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  --gradient-secondary: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  --gradient-accent: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
  --gradient-hero-title: linear-gradient(135deg, #0F172A 40%, #2563EB 100%);
  --gradient-card-border: #E2E8F0;
  --gradient-glow-cyan: none;
  --gradient-glow-violet: none;

  /* ------------------------------------------------------------------------
     5. Crisp Borders & Subtle Professional Shadows
     ------------------------------------------------------------------------ */
  --line: var(--color-border);
  --line-strong: #CBD5E1;
  --line-highlight: #BFDBFE;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-glow-cyan: none;
  --shadow-glow-violet: none;

  /* ------------------------------------------------------------------------
     6. Modern Sleek Typography Stacks & Scale (Issue 1 Heuristic)
     ------------------------------------------------------------------------ */
  --font-heading: 'Outfit', 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-code: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace;
  --font-serif: var(--font-heading);

  /* Standard 8-Tier Modular Type Scale (Minimizes distinct font sizes < 10) */
  --font-size-xs: 0.75rem;    /* 12px: Badges, timestamps, small tags */
  --font-size-sm: 0.875rem;   /* 14px: Secondary captions, table data, sub-labels */
  --font-size-base: 1rem;     /* 16px: Standard body copy, inputs, primary buttons */
  --font-size-lg: 1.125rem;   /* 18px: Subheadings, highlighted cards */
  --font-size-xl: 1.25rem;    /* 20px: Card titles, modal headers */
  --font-size-2xl: 1.5rem;    /* 24px: Section subheadings */
  --font-size-3xl: 2rem;      /* 32px: Section titles */
  --font-size-display: 2.5rem;/* 40px: Hero headlines */

  /* ------------------------------------------------------------------------
     7. Spacing & Geometric Radii (Issue 3 Heuristic - 4 Core System Radii)
     ------------------------------------------------------------------------ */
  --radius-xs: 6px;
  --radius-sm: 6px;                   /* Small controls: 6px */
  --radius-md: 10px;                  /* Controls, buttons, inputs: 10px */
  --radius-lg: 16px;                  /* Cards, modals, containers: 16px */
  --radius-pill: 9999px;              /* Segmented tabs, search bars, pills: 9999px */

  --container-max-width: 90vw;
  --container-narrow-width: 85vw;

  --transition-fast: 0.18s cubic-bezier(0.2, 0, 0, 1);
  --transition-normal: 0.28s cubic-bezier(0.2, 0, 0, 1);
  --transition-smooth: 0.4s cubic-bezier(0.2, 0, 0, 1);

  /* ------------------------------------------------------------------------
     8. Backward-Compatibility Aliases
     ------------------------------------------------------------------------ */
  --ink: var(--color-text-primary);
  --paper: var(--color-background);
  --surface: var(--color-surface);
  --navy: var(--color-indigo-600);
  --navy-dark: var(--color-indigo-800);
  --leaf: var(--color-success);
  --leaf-subtle: var(--color-success-bg);
  --gold: var(--color-warning);
  --gold-subtle: var(--color-warning-bg);
  --coral: var(--color-danger);
  --coral-subtle: var(--color-danger-bg);
  --navy-subtle: var(--color-surface-indigo);
  --teal-subtle: var(--color-surface-cyan);
}


/* ==========================================================================
   DheePath — Base & Typography (base.css)
   Clean Modern EduTech Aesthetics · Indigo, Blue & Cyan Accents
   DheePath · Enterprise Edition
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  font-feature-settings: "zero" 0, "ss19" 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
}

@media (min-width: 1440px) {
  html {
    font-size: 16.5px;
  }
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-background);
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100%;
  position: relative;
}

/* Clean Normal Background (No neon blobs) */
body::before,
body::after {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Typography Hierarchy (Clean, Accessible, Modern)
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.font-heading {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0;
  letter-spacing: -0.02em;
}

h1, .h1 {
  font-size: 2.35rem;
  font-size: clamp(2.1rem, 3.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-text-primary);
}

h2, .h2 {
  font-size: 1.7rem;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  color: var(--color-text-primary);
}

h3, .h3 {
  font-size: 1.25rem;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 600;
  color: var(--color-text-primary);
}

.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

h4, .h4 {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

h5, .h5 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

h6, .h6 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

p {
  margin-top: 0;
  margin-bottom: 0.85rem;
  color: var(--color-text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
}

p.lead {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  font-weight: 400;
}

small, .small {
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

.text-xs {
  font-size: 0.78rem !important;
}

.text-sm {
  font-size: 0.88rem !important;
}

.text-md {
  font-size: 0.96rem !important;
}

.text-lg {
  font-size: 1.1rem !important;
}

.font-mono {
  font-family: var(--font-mono) !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "zero" 0, "ss19" 0, "tnum" 1;
}

.font-mono i,
.font-mono .bi,
.font-mono [class*="bi-"] {
  font-family: "bootstrap-icons" !important;
  font-style: normal;
}

/* Radiant Indigo-Blue Highlight Utilities */
.gradient-text,
.brand-accent,
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

.gradient-text-teal {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-hero {
  background: var(--gradient-hero-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Status Pill & Live Badge */
.atlas-coordinate,
.atlas-kicker,
.live-status-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--color-indigo-700);
  background: var(--color-surface-indigo);
  border: 1px solid #C7D2FE;
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-indigo-600);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

/* Focus Visible Accessibility */
:focus-visible {
  outline: 2px solid var(--color-indigo-600) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.12) !important;
}

/* Clean Modern Light Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-surface-muted);
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* --------------------------------------------------------------------------
   High-Contrast Text Utilities (WCAG AA Compliant)
   -------------------------------------------------------------------------- */
.text-muted {
  color: var(--color-text-muted) !important;
}

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

.text-white {
  color: #FFFFFF !important;
}

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

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

.text-teal {
  color: var(--color-cyan-600) !important;
}

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

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

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

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


/* ==========================================================================
   DheePath — Layout & Grid (layout.css)
   Clean Modern EduTech Layout · Max Width Constraints · Responsive
   DheePath · Enterprise Edition
   ========================================================================== */

/* Global Container Constraints — Optimized to fill modern screens while maintaining readability */
/* Global Container Constraints — 90% width, leaving only 10% total margins (5% left, 5% right) */
:root {
  --container-max-width: 90vw;
}

.container,
.container-lg,
.container-xl,
.container-xxl {
  width: 90% !important;
  max-width: 90vw !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 768px) {
  .container,
  .container-lg,
  .container-xl,
  .container-xxl {
    width: 95% !important;
    max-width: 95vw !important;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (max-width: 420px) {
  .container,
  .container-lg,
  .container-xl,
  .container-xxl {
    width: 98% !important;
    max-width: 98vw !important;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

.container-narrow {
  width: 85% !important;
  max-width: 85vw !important;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   NAVIGATION BAR (Standard Fallback Header)
   ========================================================================== */
.cp-navbar,
.atlas-navbar {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border) !important;
  padding: 0.85rem 0;
  transition: all var(--transition-normal);
  z-index: 1040;
}

.cp-navbar.scrolled,
.atlas-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom-color: #CBD5E1 !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-text-primary) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-icon,
.brand-compass {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  background: #080B16;
  border: 1.5px solid rgba(0, 242, 254, 0.45);
  color: #00F2FE;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 14px rgba(0, 242, 254, 0.2), 0 2px 6px rgba(79, 70, 229, 0.15);
  transition: all var(--transition-fast);
  overflow: hidden;
  padding: 3px;
}

.brand-icon img,
.brand-compass img,
.brand-logo-img {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px;
  min-height: 38px;
  display: block;
  border-radius: 9px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-icon.brand-icon-sm {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  font-size: 1rem;
}

.brand-icon.brand-icon-sm img {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px;
  min-height: 28px;
}

.navbar-brand:hover .brand-icon,
.navbar-brand:hover .brand-compass {
  transform: translateY(-1px) scale(1.06);
  border-color: rgba(0, 242, 254, 0.85);
  box-shadow: 0 8px 24px rgba(0, 242, 254, 0.35), 0 0 14px rgba(99, 102, 241, 0.3);
}

.navbar-brand:hover .brand-icon img {
  transform: scale(1.05);
}

.brand-name,
.brand-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-text-primary);
  line-height: 1.15;
}

.brand-accent {
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.brand-tagline,
.brand-tagline-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-indigo-700);
  background: var(--color-surface-indigo);
  border: 1px solid #C7D2FE;
  padding: 2px 9px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}

/* Nav Links */
.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary) !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.navbar-nav .nav-link:hover {
  color: var(--color-indigo-700) !important;
  background: var(--color-surface-muted);
}

.navbar-nav .nav-link.active {
  color: var(--color-indigo-700) !important;
  background: var(--color-surface-indigo);
  font-weight: 600;
}

/* ==========================================================================
   SECTIONS & BANDS
   ========================================================================== */
.cp-section {
  padding: 5rem 0;
  position: relative;
  scroll-margin-top: calc(var(--notch-nav-height, 58px) + 2rem);
}

section[id],
div[id].cp-section {
  scroll-margin-top: calc(var(--notch-nav-height, 58px) + 2rem);
}

.cp-section-hero {
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.cp-section-band {
  background: var(--color-surface-muted);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.section-header {
  margin-bottom: 3rem;
}

.section-tag,
.atlas-kicker {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-indigo-700);
  background: var(--color-surface-indigo);
  border: 1px solid #C7D2FE;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   FOOTER (Clean Modern Light Footer)
   ========================================================================== */
.cp-footer,
.atlas-footer {
  background-color: #FFFFFF;
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 3rem 0;
  color: var(--color-text-muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-col-title,
.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-indigo-600);
}

.footer-bottom {
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-disabled);
}


/* ==========================================================================
   DheePath — EduTech Component Design System (components.css)
   Clean Modern Aesthetics · Indigo, Blue & Cyan Accents
   DheePath · Enterprise Edition
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Buttons (Primary, Secondary, Outline, Danger)
   -------------------------------------------------------------------------- */
.btn,
.cp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn:hover,
.cp-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

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

.btn:disabled,
.btn.disabled,
.cp-btn:disabled,
.cp-btn-outline:disabled {
  color: #64748B !important;
  opacity: 0.7;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: none;
}

/* Dedicated Locked Route Button State */
.cp-btn-locked,
.btn-locked-route {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #475569 !important;
  font-weight: 600 !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  pointer-events: none;
}

.cp-btn-locked i,
.btn-locked-route i {
  color: #64748B !important;
  transform: none !important;
  filter: none !important;
}

/* Primary Button (Indigo / Blue) */
.btn-primary,
.cp-btn-primary,
.btn-navy {
  background: var(--color-indigo-600);
  border-color: var(--color-indigo-600);
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
  font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus,
.cp-btn-primary:hover,
.cp-btn-primary:focus,
.btn-navy:hover,
.btn-navy:focus {
  background: var(--color-indigo-700);
  border-color: var(--color-indigo-700);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

/* Secondary / Outline Button (White Background + Indigo Border) */
.btn-outline-primary,
.btn-secondary,
.btn-outline-secondary,
.btn-outline-navy,
.cp-btn-outline {
  background: #FFFFFF;
  border: 1px solid #C7D2FE;
  color: var(--color-indigo-700) !important;
  font-weight: 600;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-secondary:hover,
.btn-outline-secondary:hover,
.btn-outline-navy:hover,
.cp-btn-outline:hover,
.cp-btn-outline:focus {
  background: var(--color-surface-indigo);
  border-color: var(--color-indigo-500);
  color: var(--color-indigo-800) !important;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.12);
}

/* Teal / Accent Button */
.btn-teal,
.cp-btn-teal,
.btn-info {
  background: var(--color-cyan-600);
  border-color: var(--color-cyan-600);
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.25);
  font-weight: 600;
}

.btn-teal:hover,
.btn-teal:focus,
.cp-btn-teal:hover,
.cp-btn-teal:focus {
  background: var(--color-cyan-700);
  border-color: var(--color-cyan-700);
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.35);
}

/* Danger Button (Destructive Actions) */
.btn-outline-danger {
  background: #FFFFFF;
  border: 1px solid #FECACA;
  color: var(--color-danger) !important;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
  background: var(--color-danger-bg);
  border-color: var(--color-danger);
  color: #991B1B !important;
}

.btn-danger {
  background: var(--color-danger);
  border-color: var(--color-danger);
  color: #FFFFFF !important;
}

.btn-danger:hover,
.btn-danger:focus {
  background: #B91C1C;
  border-color: #B91C1C;
}

/* Sizing */
.btn-lg {
  padding: 0.8rem 1.65rem;
  font-size: 1.05rem;
  border-radius: 10px;
}

.btn-sm {
  padding: 0.42rem 0.95rem;
  font-size: 0.85rem;
  border-radius: 7px;
}

/* --------------------------------------------------------------------------
   2. Clean Cards & Panels (White Surface + Subtle Border & Elevation)
   -------------------------------------------------------------------------- */
.card,
.cp-card,
.glass-card {
  background: #FFFFFF !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-md) !important;
  color: var(--color-text-secondary);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card:hover,
.cp-card:hover,
.glass-card:hover {
  border-color: #CBD5E1 !important;
  box-shadow: var(--shadow-lg) !important;
  transform: translateY(-2px);
}

.card-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
  color: var(--color-text-primary);
  font-weight: 700;
}

.card-body {
  padding: 1.5rem;
}

/* --------------------------------------------------------------------------
   3. Accessible Status Badges & Skill Indicators
   -------------------------------------------------------------------------- */
.badge,
.atlas-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge-matched,
.badge-success {
  background: var(--color-success-bg);
  color: var(--color-success) !important;
  border-color: #BBF7D0;
}

.badge-weak,
.badge-warning {
  background: var(--color-warning-bg);
  color: var(--color-warning) !important;
  border-color: #FDE68A;
}

.badge-missing,
.badge-danger {
  background: var(--color-danger-bg);
  color: var(--color-danger) !important;
  border-color: #FECACA;
}

.badge-navy,
.badge-primary {
  background: var(--color-surface-indigo);
  color: var(--color-indigo-700) !important;
  border-color: #C7D2FE;
}

.badge-teal,
.badge-info {
  background: var(--color-surface-blue);
  color: var(--color-info) !important;
  border-color: #BAE6FD;
}

.badge.bg-light,
.badge-secondary,
.badge-muted {
  background: var(--color-surface-muted) !important;
  color: var(--color-text-secondary) !important;
  border: 1px solid var(--color-border) !important;
}

/* Gold / Amber Badge (Self-Rated, In-Progress, Pending Verification) */
.badge-gold {
  background: #FEF3C7 !important;
  color: #92400E !important;
  border: 1px solid #FCD34D !important;
  font-weight: 600 !important;
  font-size: 0.8125rem !important;
  padding: 0.28rem 0.65rem !important;
  border-radius: var(--radius-pill) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
}

/* Leaf / Emerald Badge (Verified, High Proficiency, Unlocked) */
.badge-leaf {
  background: #DCFCE7 !important;
  color: #166534 !important;
  border: 1px solid #86EFAC !important;
  font-weight: 700 !important;
  font-size: 0.8125rem !important;
  padding: 0.28rem 0.65rem !important;
  border-radius: var(--radius-pill) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
}

/* --------------------------------------------------------------------------
   4. Form Controls & Inputs (Clean White Background + Accessible Contrast)
   -------------------------------------------------------------------------- */
.form-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.form-control {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  background-image: none !important;
  background-repeat: no-repeat !important;
  background-size: 0px 0px !important;
  border: 1px solid #CBD5E1 !important;
  color: var(--color-text-primary) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.65rem 1rem !important;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: all var(--transition-fast);
}

.form-select {
  background-color: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: var(--color-text-primary) !important;
  -webkit-text-fill-color: var(--color-text-primary) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.65rem 2rem 0.65rem 1rem !important;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: all var(--transition-fast);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748B' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
}

.form-control-sm {
  padding: 0.35rem 0.75rem !important;
  font-size: 0.85rem !important;
  min-height: 34px !important;
  line-height: 1.4 !important;
}

.form-select-sm {
  padding: 0.35rem 1.8rem 0.35rem 0.7rem !important;
  font-size: 0.85rem !important;
  min-height: 34px !important;
  line-height: 1.4 !important;
  background-position: right 0.6rem center !important;
  background-size: 13px 10px !important;
}

/* Skill Assessment Proficiency Dropdown inside Cards */
.skill-proficiency-select {
  width: 114px !important;
  min-width: 106px !important;
  max-width: 118px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0.2rem 1.5rem 0.2rem 0.55rem !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: var(--color-text-primary) !important;
  -webkit-text-fill-color: var(--color-text-primary) !important;
  background-color: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 6px !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234F46E5' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.45rem center !important;
  background-size: 11px 8px !important;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skill-proficiency-select:focus {
  border-color: var(--color-indigo-600) !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
  color: var(--color-text-primary) !important;
  -webkit-text-fill-color: var(--color-text-primary) !important;
  background-color: #FFFFFF !important;
}

.skill-proficiency-select:disabled {
  opacity: 0.6 !important;
  color: var(--color-text-muted) !important;
  -webkit-text-fill-color: var(--color-text-muted) !important;
  background-color: var(--color-surface-muted) !important;
  border-color: var(--color-border) !important;
  cursor: not-allowed;
}

.skill-proficiency-select option,
.form-select option {
  background-color: #FFFFFF !important;
  color: var(--color-text-primary) !important;
  -webkit-text-fill-color: var(--color-text-primary) !important;
  font-size: 0.9rem !important;
  padding: 6px 10px !important;
}

.form-control::placeholder {
  color: var(--color-text-disabled) !important;
}

.form-control:focus,
.form-select:focus {
  background-color: #FFFFFF !important;
  border-color: var(--color-indigo-600) !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
  outline: none !important;
  color: var(--color-text-primary) !important;
}

.form-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-primary) !important;
  margin-bottom: 0.4rem;
}

.form-check-label {
  color: var(--color-text-secondary) !important;
}

.form-text {
  color: var(--color-text-muted) !important;
  font-size: 0.825rem;
  margin-top: 0.35rem;
}

.input-group-text {
  background-color: var(--color-surface-muted) !important;
  border: 1px solid #CBD5E1 !important;
  color: var(--color-text-muted) !important;
}

/* --------------------------------------------------------------------------
   5. Modals & Dialogs
   -------------------------------------------------------------------------- */
.modal-content {
  background: #FFFFFF !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12) !important;
  color: var(--color-text-secondary);
}

.modal-header {
  border-bottom: 1px solid var(--color-border) !important;
  padding: 1.25rem 1.5rem;
  background: #FFFFFF;
}

.modal-title {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  font-weight: 700;
}

.modal-footer {
  border-top: 1px solid var(--color-border) !important;
  padding: 1.25rem 1.5rem;
  background: #FFFFFF;
}

/* --------------------------------------------------------------------------
   6. Progress Bars & Meters
   -------------------------------------------------------------------------- */
.progress {
  background-color: var(--color-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-bar {
  background: var(--gradient-primary) !important;
  box-shadow: none;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   7. Alerts (Semantic Pastel Backgrounds & High Contrast)
   -------------------------------------------------------------------------- */
.alert {
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
}

.alert-danger {
  border-color: #FECACA;
  background: var(--color-danger-bg);
  color: #991B1B;
}

.alert-success {
  border-color: #BBF7D0;
  background: var(--color-success-bg);
  color: #166534;
}

.alert-warning {
  border-color: #FDE68A;
  background: var(--color-warning-bg);
  color: #92400E;
}

.alert-info {
  border-color: #BAE6FD;
  background: var(--color-info-bg);
  color: #075985;
}

/* --------------------------------------------------------------------------
   8. Tech Pill Tags
   -------------------------------------------------------------------------- */
.cp-tag,
.career-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  background: var(--color-surface-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-text-secondary);
  display: inline-block;
  transition: all var(--transition-fast);
}

.cp-tag:hover,
.career-tag:hover {
  background: var(--color-surface-indigo);
  border-color: #C7D2FE;
  color: var(--color-indigo-700);
}

/* --------------------------------------------------------------------------
   9. AI Career Fit Brief & Market Telemetry Card
   -------------------------------------------------------------------------- */
.ai-brief-card {
  background: var(--color-surface-indigo);
  border: 1px solid #C7D2FE;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.ai-brief-card:hover {
  border-color: var(--color-indigo-500);
  box-shadow: var(--shadow-md);
}

.badge-ai-pulse {
  background: #FFFFFF;
  color: var(--color-indigo-700);
  border: 1px solid #C7D2FE;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ai-brief-text {
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.ai-brief-tip {
  line-height: 1.5;
  padding-left: 0.5rem;
  border-left: 3px solid var(--color-warning);
}

.ai-bottleneck-box {
  background: var(--color-danger-bg);
  border: 1px solid #FECACA;
  border-radius: var(--radius-sm);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   10. Live Job Market Cards
   -------------------------------------------------------------------------- */
.job-item-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  transition: all var(--transition-fast);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.job-item-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.job-company-tag {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.job-salary-badge {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid #BBF7D0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.job-remote-badge {
  background: var(--color-surface-blue);
  color: var(--color-info);
  border: 1px solid #BAE6FD;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   11. One-Time Code (OTP) Verification Card & Inputs
   -------------------------------------------------------------------------- */
.otp-input-wrapper {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.5rem 0;
  max-width: 100%;
}

.otp-digit-field {
  width: 48px;
  height: 56px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  background: #FFFFFF !important;
  background-image: none !important;
  background-color: #FFFFFF !important;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.otp-digit-field:focus {
  outline: none;
  border-color: var(--color-indigo-600);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

@media (max-width: 440px) {
  .otp-input-wrapper {
    gap: 0.35rem;
  }
  .otp-digit-field {
    width: 38px;
    height: 48px;
    font-size: 1.25rem;
  }
}

@media (max-width: 350px) {
  .otp-input-wrapper {
    gap: 0.22rem;
  }
  .otp-digit-field {
    width: 32px;
    height: 42px;
    font-size: 1.05rem;
    border-width: 1px;
  }
}

/* --------------------------------------------------------------------------
   12. Social Auth Buttons (Google & GitHub)
   -------------------------------------------------------------------------- */
.btn-google {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: var(--color-text-primary) !important;
  font-weight: 600;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.btn-google:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
  color: var(--color-text-primary) !important;
}

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

.google-icon-animated {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

.btn-github {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: var(--color-text-primary) !important;
  font-weight: 600;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.btn-github:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
  color: var(--color-text-primary) !important;
}

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

.social-auth-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* GitHub Study Lab Card in Dashboard */
.github-study-card {
  background: #FFFFFF !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.github-study-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

/* Individual Repo Card */
.repo-card-study {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md, 8px);
  padding: 1.15rem;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.repo-card-study:hover {
  background: #FFFFFF;
  border-color: #3B82F6;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}

/* Code Verified Skill Badge */
.badge-code-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--color-surface-indigo);
  color: var(--color-indigo-700);
  border: 1px solid #C7D2FE;
  border-radius: 999px;
  padding: 0.22rem 0.75rem;
  font-size: 0.72rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.badge-code-verified.status-connected {
  background: #ECFDF5 !important;
  color: #065F46 !important;
  border: 1px solid #10B981 !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}

.badge-code-verified.status-disconnected {
  background: #F1F5F9 !important;
  color: #475569 !important;
  border: 1px solid #CBD5E1 !important;
  font-weight: 600 !important;
}

/* Language Distribution Bar */
.lang-distribution-bar {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-border);
  margin: 0.5rem 0 1rem 0;
}

.lang-segment {
  height: 100%;
  transition: width 0.3s ease;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.25rem 0;
  color: var(--color-text-muted);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--color-border);
}

.auth-divider span {
  padding: 0 0.85rem;
  font-size: 0.75rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}


/* ==========================================================================
   DheePath - EduTech Page Styles (pages.css)
   Clean Modern Light Aesthetics | Indigo, Blue & Cyan Accents
   DheePath | Enterprise Edition
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Landing Page (index.html)
   -------------------------------------------------------------------------- */
.landing-hero {
  padding: 6rem 0 4.5rem;
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* Normal Clean UI: Ambient glow blobs disabled */
.ambient-glow,
.ambient-glow-1,
.ambient-glow-2 {
  display: none !important;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
}

@media (min-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.25rem;
  }
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.hero-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-title .gradient-highlight,
.hero-title em {
  font-style: normal;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Outfit', 'Inter', var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-indigo-700);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "zero" 0;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background-color: var(--color-border);
}

@media (max-width: 575.98px) {
  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
    padding-top: 1.25rem !important;
    text-align: center !important;
  }
  .stat-divider {
    display: none !important;
  }
  .stat-number {
    font-size: 1.3rem !important;
  }
  .stat-label {
    font-size: 0.72rem !important;
  }
}

/* Three Steps Grid */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .step-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.step-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step-number {
  font-family: 'Outfit', 'Inter', var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-indigo-600);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-feature-settings: "zero" 0;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Career Paths Grid */
.track-block-header .d-flex {
  flex-wrap: wrap !important;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

/* Progressive Disclosure for Dense Career Catalogs (Issue 10) */
.career-grid.is-collapsed .career-card:nth-child(n+4) {
  display: none !important;
}

.track-toggle-wrap {
  text-align: center;
  margin-top: 1.5rem;
}

.track-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  border: 1.5px solid var(--color-border);
  background: #FFFFFF;
  color: var(--color-text-secondary);
  transition: all 0.2s ease;
  cursor: pointer;
}

.track-toggle-btn:hover {
  border-color: #CBD5E1;
  background: var(--color-surface-muted);
  color: var(--color-text-primary);
}

@media (max-width: 575.98px) {
  .career-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .career-card {
    padding: 1.25rem;
  }
}

.career-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.career-card-top {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.career-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.career-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.career-card:hover::before {
  opacity: 1;
}

.career-card-badge {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  background: var(--color-surface-indigo);
  border: 1px solid #C7D2FE;
  border-radius: var(--radius-pill);
  color: var(--color-indigo-700);
  display: inline-block;
  margin-bottom: 1rem;
}

.career-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.career-card-desc {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.career-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.career-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: var(--color-surface-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  color: var(--color-text-secondary);
}

/* Deliverables Grid */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 1200px) {
  .deliverables-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  .deliverable-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
  }
  .deliverable-icon {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 768px) {
  .deliverables-grid {
    grid-template-columns: 1fr;
  }
}

.deliverable-item {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.deliverable-item:hover {
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.deliverable-icon {
  width: 48px;
  height: 48px;
  background: var(--color-surface-indigo);
  border: 1px solid #C7D2FE;
  color: var(--color-indigo-600);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.deliverable-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.deliverable-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   2. Auth Pages (login.html, register.html)
   -------------------------------------------------------------------------- */
.auth-page {
  min-height: 100vh;
  background-color: var(--color-background);
  display: flex;
  flex-direction: column;
}

.auth-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem;
  min-height: calc(100vh - var(--notch-nav-clearance, 80px));
}

.auth-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  max-width: 960px;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.auth-orientation-panel {
  background: linear-gradient(135deg, var(--color-primary-800) 0%, var(--color-indigo-900) 100%);
  color: #FFFFFF;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

@media (max-width: 768px) {
  .auth-split-grid {
    grid-template-columns: 1fr;
  }
  .auth-orientation-panel {
    display: none !important;
  }
}

.auth-panel-heading {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF !important;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.auth-panel-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.6;
}

.auth-panel-bullets {
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.auth-panel-bullet {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #FFFFFF;
}

.auth-panel-bullet i {
  color: var(--color-cyan-300);
}

.auth-form-card {
  padding: 2.5rem;
  background: #FFFFFF;
}

@media (max-width: 575.98px) {
  .auth-wrapper {
    padding: 1.5rem 0.5rem !important;
  }
  .auth-split-grid {
    border-radius: var(--radius-md) !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .auth-form-card {
    padding: 1.25rem 0.85rem !important;
    max-width: 100% !important;
  }
  .auth-form-title {
    font-size: 1.45rem !important;
  }
  .auth-form-header {
    margin-bottom: 1.15rem !important;
  }
  #btnDashEnrollSecondTrack {
    width: 100%;
    text-align: center;
    margin-top: 0.35rem;
  }
  #dashboardTrackSwitcherContainer .d-flex {
    flex-wrap: wrap !important;
  }
}

.auth-form-header {
  margin-bottom: 1.75rem;
}

.auth-form-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.auth-form-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   3. Assessment Page (assessment.html) - Progressive Wizard
   -------------------------------------------------------------------------- */
.assessment-layout {
  padding: 0.5rem 0 6.5rem;
}

.assessment-container {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1200px) {
  .assessment-container {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 1440px) {
  .assessment-container {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 991px) {
  .assessment-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
}

.assessment-form-area {
  min-width: 0;
  max-width: 100%;
}

/* Assessment Step Progress Indicators */
.step-nav-mobile {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.step-nav-desktop {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  position: sticky;
  top: 85px;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

@media (max-width: 991.98px) {
  .step-nav-desktop {
    display: none !important;
  }
  .step-nav-mobile {
    display: block !important;
  }
}

.step-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 0.35rem;
}

.step-nav-item:hover {
  background: var(--color-surface-muted);
  color: var(--color-text-primary);
}

.step-nav-item.active {
  background: var(--color-surface-indigo);
  border: 1px solid #C7D2FE;
  color: var(--color-indigo-700);
  font-weight: 700;
}

.step-nav-num {
  font-family: 'Outfit', 'Inter', var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-feature-settings: "zero" 0;
}

.assessment-step-panel {
  display: none;
  scroll-margin-top: 90px;
}

.assessment-step-panel.active {
  display: block;
}

/* Interest Chips */
.interest-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.interest-chip:hover {
  border-color: #CBD5E1;
  background: var(--color-surface-muted);
  color: var(--color-text-primary);
}

.interest-chip.selected {
  background: var(--color-surface-indigo);
  border-color: var(--color-indigo-500);
  color: var(--color-indigo-700);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.15);
}

/* Category Filter Buttons */
.skills-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  padding: 2px 0;
}

.category-filter-btn {
  padding: 0.28rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  background: #FFFFFF;
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1.3;
  white-space: nowrap;
}

.category-filter-btn:hover {
  background: var(--color-surface-muted);
  color: var(--color-text-primary);
  border-color: #CBD5E1;
}

.category-filter-btn.active {
  background: var(--color-indigo-600);
  border-color: var(--color-indigo-600);
  color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(79, 70, 229, 0.25);
}

/* Skills Grid Dedicated Scroll Wrapper */
.skills-grid-scroll-wrap {
  min-height: 200px;
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 6px 8px;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  background: #FAFAFB;
}

.skills-grid-scroll-wrap::-webkit-scrollbar {
  width: 6px;
}

.skills-grid-scroll-wrap::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 4px;
}

.skills-grid-scroll-wrap::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.skills-grid-scroll-wrap::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Assessment Action Footer: Natural alignment with container boundary */
#step0ContinueBtn,
#step1ContinueBtn,
#step2ContinueBtn,
#step3ContinueBtn,
#submitAssessmentBtn {
  margin-right: 0 !important;
}

/* Skill Picker Card */
.skill-picker-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  min-height: 44px;
  width: 100%;
  box-sizing: border-box;
}

.skill-picker-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-sm);
}

.skill-picker-card.active-skill {
  border-color: var(--color-indigo-500);
  background: var(--color-surface-indigo);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.12);
}

.skill-picker-card .form-check-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
  min-width: 0;
  flex: 1 1 auto;
}

.skill-name-text {
  display: inline-block;
  max-width: 175px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

@media (min-width: 1200px) {
  .skill-name-text {
    max-width: 220px;
  }
}

@media (min-width: 1400px) {
  .skill-name-text {
    max-width: 260px;
  }
}

.skill-proficiency-select {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.15rem 0.35rem;
  min-width: 74px;
  max-width: 86px;
  height: 28px;
  border-color: #CBD5E1;
}

/* In-Card Instant Take Quiz Button */
.btn-grid-take-quiz {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF !important;
  border: 1px solid #0284C7;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.74rem !important;
  height: 28px !important;
  line-height: 1 !important;
  padding: 0 9px !important;
  transition: all 0.15s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 1px 3px rgba(2, 132, 199, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none !important;
}
.btn-grid-take-quiz:hover {
  background: linear-gradient(135deg, #0369A1 0%, #075985 100%);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
  color: #FFFFFF !important;
}
.btn-grid-take-quiz:active {
  transform: translateY(0);
}

/* In-Card Instant Take Quiz Button (Outline variant for unselected skills) */
.btn-grid-take-quiz-outline {
  background: #F0F9FF;
  color: #0284C7 !important;
  border: 1px solid #BAE6FD !important;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.74rem !important;
  height: 28px !important;
  line-height: 1 !important;
  padding: 0 9px !important;
  transition: all 0.15s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none !important;
}
.btn-grid-take-quiz-outline:hover {
  background: #0284C7 !important;
  color: #FFFFFF !important;
  border-color: #0284C7 !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}
.btn-grid-take-quiz-outline:active {
  transform: translateY(0);
}

.btn-grid-retest {
  font-size: 0.74rem !important;
  height: 28px !important;
  line-height: 1 !important;
  padding: 0 9px !important;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none !important;
}

.custom-skill-card {
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@keyframes pulseSoft {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.94; transform: scale(1.02); }
}
.animate-pulse-soft {
  animation: pulseSoft 2.5s ease-in-out infinite;
}

@media (max-width: 575.98px) {
  .skill-picker-card {
    padding: 0.65rem 0.75rem;
  }
  .skill-picker-card .d-flex.w-100 {
    flex-wrap: wrap;
    gap: 0.5rem !important;
  }
  .skill-proficiency-select {
    min-width: 86px;
    font-size: 0.78rem;
  }
}


/* --------------------------------------------------------------------------
   4. Recommendations Page (recommendations.html)
   -------------------------------------------------------------------------- */
.recommendation-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 1.75rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

@media (max-width: 575.98px) {
  .recommendation-card {
    padding: 1.25rem 0.95rem !important;
  }
  .match-score-badge {
    padding: 0.75rem 1rem !important;
  }
}

.recommendation-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.top-match-card {
  border: 1.5px solid var(--color-indigo-600);
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.1);
}

.match-score-badge {
  background: var(--color-surface-blue);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-md);
  padding: 1rem 1.35rem;
  text-align: center;
}

.score-breakdown-box {
  background: var(--color-surface-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
}

.why-recommended-banner {
  background: var(--color-surface-blue);
  border: 1px solid #BAE6FD;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.gap-column {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  height: 100%;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

/* --------------------------------------------------------------------------
   5. Learning Roadmap Page (roadmap.html)
   -------------------------------------------------------------------------- */
.roadmap-header-card,
.roadmap-path-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.week-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.week-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.week-card.active-week {
  border-color: var(--color-indigo-500);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.12);
}

.week-card.completed-week {
  border-color: #BBF7D0;
}

.week-badge-pill {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-indigo-600);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', 'Inter', var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  font-feature-settings: "zero" 0;
}

.task-item {
  padding: 0.95rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  transition: all var(--transition-fast);
}

.task-item:hover {
  border-color: #CBD5E1;
  background: var(--color-surface-muted);
}

.task-item.is-completed {
  background: var(--color-success-bg);
  border-color: #BBF7D0;
}

.task-item .task-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.task-item.is-completed .task-title {
  text-decoration: line-through;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   6. Future-Proof Resilience & What-If Simulator Enhancements
   -------------------------------------------------------------------------- */
.future-proof-pill {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  transition: all var(--transition-fast);
}

.future-proof-pill:hover {
  background: #E0F2FE;
  border-color: #7DD3FC;
}

.future-proof-info-btn {
  text-decoration: none;
  font-size: 0.9rem;
}

.future-proof-info-btn:hover {
  opacity: 0.8;
}

.what-if-btn {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #B45309 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.what-if-btn:hover {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #92400E !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

/* Modal Stacking & Contrast Guarantees */
.modal {
  z-index: 1060 !important;
}

.modal-backdrop {
  z-index: 1050 !important;
  background-color: #0F172A !important;
  opacity: 0.45 !important;
}

.modal.show .modal-dialog {
  transform: none !important;
  z-index: 1065 !important;
}

/* ============================================================
   STRICT SECTION ARCHITECTURE & DOMAIN SWITCHER STYLES
   ============================================================ */

.career-domain-bar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  display: inline-flex;
}

.domain-tab-btn {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.domain-tab-btn:hover {
  background: var(--color-surface-muted);
  color: var(--color-text-primary);
}

.domain-tab-btn.active {
  background: #0F172A;
  color: #FFFFFF !important;
  border-color: #0F172A;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.domain-track-block {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.domain-track-block.d-none {
  display: none !important;
}

/* Track Card Color Accents */
.career-card-business:hover {
  border-color: #F59E0B !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08) !important;
}

.career-card-marketing:hover {
  border-color: #10B981 !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08) !important;
}

.career-card-creative:hover {
  border-color: #8B5CF6 !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08) !important;
}

/* Domain Badges & Tags */
.badge-cyan {
  background: #E0F2FE !important;
  color: #0369A1 !important;
  border: 1px solid #BAE6FD !important;
}

.tag-cyan {
  background: #F0F9FF !important;
  color: #0284C7 !important;
  border: 1px solid #E0F2FE !important;
}

.btn-cyan-outline {
  border-color: #0284C7 !important;
  color: #0369A1 !important;
}

.btn-cyan-outline:hover {
  background: #0284C7 !important;
  color: #FFFFFF !important;
}

.badge-gold {
  background: #FEF3C7 !important;
  color: #B45309 !important;
  border: 1px solid #FDE68A !important;
}

.tag-gold {
  background: #FFFBEB !important;
  color: #92400E !important;
  border: 1px solid #FEF3C7 !important;
}

.btn-gold-outline {
  border-color: #F59E0B !important;
  color: #B45309 !important;
}

.btn-gold-outline:hover {
  background: #F59E0B !important;
  color: #FFFFFF !important;
}

.badge-emerald {
  background: #D1FAE5 !important;
  color: #047857 !important;
  border: 1px solid #A7F3D0 !important;
}

.tag-emerald {
  background: #ECFDF5 !important;
  color: #065F46 !important;
  border: 1px solid #D1FAE5 !important;
}

.btn-emerald-outline {
  border-color: #10B981 !important;
  color: #059669 !important;
}

.btn-emerald-outline:hover {
  background: #10B981 !important;
  color: #FFFFFF !important;
}

.badge-purple {
  background: #EDE9FE !important;
  color: #6D28D9 !important;
  border: 1px solid #DDD6FE !important;
}

.tag-purple {
  background: #F5F3FF !important;
  color: #5B21B6 !important;
  border: 1px solid #EDE9FE !important;
}

.btn-purple-outline {
  border-color: #8B5CF6 !important;
  color: #7C3AED !important;
}

.btn-purple-outline:hover {
  background: #8B5CF6 !important;
  color: #FFFFFF !important;
}

/* ============================================================
   ASSESSMENT STEP 0: STREAM SELECTOR CARDS
   ============================================================ */

.stream-card {
  background: #FFFFFF;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stream-card:hover {
  border-color: #94A3B8;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.stream-card.selected {
  border-color: var(--color-indigo-600) !important;
  background: #F8FAFC !important;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.16) !important;
}

.stream-card.selected::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 14px;
  width: 24px;
  height: 24px;
  background: var(--color-indigo-600);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

.stream-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: all var(--transition-fast);
}

.stream-card:hover .stream-icon {
  transform: scale(1.08);
}

.stream-card.selected .stream-icon {
  background: #EEF2FF;
}

.stream-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.stream-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: 0;
}

/* Cross-Track Discovery Bridge in Recommendations */
.cross-track-card {
  border: 2px dashed #CBD5E1;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.6) 100%);
  border-radius: var(--radius-xl);
  transition: all var(--transition-fast);
}

.cross-track-card:hover {
  border-color: var(--color-indigo-500);
  background: #FFFFFF;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

/* --------------------------------------------------------------------------
   SaaS Transformation: Multi-Stakeholder Solutions & Commercial Pricing
   -------------------------------------------------------------------------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.85rem 1.5rem;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-full);
  margin-top: 2rem;
  font-size: 0.82rem;
  color: #475569;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.trust-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-strip-item i {
  color: var(--color-indigo-600);
}

.trust-strip-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #CBD5E1;
}

/* Multi-Stakeholder Solutions */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 991px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

.solution-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: #CBD5E1;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.solution-card-student {
  border-top: 4px solid var(--color-indigo-600);
}

.solution-card-university {
  border-top: 4px solid #D97706;
}

.solution-card-recruiter {
  border-top: 4px solid #059669;
}

.solution-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.solution-icon-student {
  background: #EEF2FF;
  color: var(--color-indigo-600);
}

.solution-icon-university {
  background: #FEF3C7;
  color: #D97706;
}

.solution-icon-recruiter {
  background: #D1FAE5;
  color: #059669;
}

.solution-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.65rem;
}

.solution-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.solution-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.solution-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.4;
}

.solution-feature-item i {
  color: #059669;
  font-size: 0.95rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Commercial SaaS Pricing Section */
.pricing-audience-nav {
  transition: all 0.2s ease;
}

.pricing-tab-btn {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
}

.pricing-tab-btn:hover {
  color: #0F172A !important;
}

.pricing-panel {
  animation: pricingFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pricingFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 991px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.pricing-card.popular {
  border: 2px solid var(--color-indigo-600);
  box-shadow: 0 12px 36px rgba(79, 70, 229, 0.14);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-indigo-600), #7C3AED);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.pricing-plan-header {
  margin-bottom: 1.5rem;
  text-align: left;
}

.pricing-plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.pricing-plan-tagline {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.pricing-cost {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  line-height: 1;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #334155;
}

.pricing-feature-item i {
  color: #059669;
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.pricing-feature-item.muted {
  color: #94A3B8;
  text-decoration: line-through;
}

.pricing-feature-item.muted i {
  color: #CBD5E1;
}

/* Role-Specific Pricing Tab Switcher (Issue 13) */
.pricing-tablist-container {
  display: inline-flex;
  gap: 4px;
  background: #F1F5F9;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  padding: 4px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}

.pricing-tab-btn {
  border: none;
  background: transparent;
  color: #475569;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.pricing-tab-btn:hover {
  color: #0F172A;
}

.pricing-tab-btn.active {
  background: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  font-weight: 700;
}


/* ==========================================================================
   DheePath — Three.js EduTech Canvas & Clean Tooltips (three.css)
   Soft Indigo/Blue Canvas Canvas · Accessible HUD
   DheePath · Enterprise Edition
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Canvas Containers & Visual Wrappers
   -------------------------------------------------------------------------- */
.three-canvas-wrapper,
.canvas-placeholder {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, var(--color-surface-indigo) 0%, var(--color-surface-blue) 50%, var(--color-background) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

.three-canvas-wrapper:hover,
.canvas-placeholder:hover {
  border-color: #CBD5E1;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.three-canvas-wrapper canvas,
.canvas-placeholder canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  outline: none;
  z-index: 2;
}

#canvas-container,
#roadmap-canvas {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
}

/* 3D Career Universe Constellation Canvas */
#careerUniverse {
  position: relative;
  width: 100%;
  height: 480px;
  min-height: 440px;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(30, 27, 75, 0.7) 0%, rgba(15, 23, 42, 0.95) 100%), #0A0D14;
  border: 1px solid rgba(99, 102, 241, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 35px rgba(79, 70, 229, 0.15);
}

@media (max-width: 991px) {
  #careerUniverse {
    height: 420px;
    min-height: 380px;
  }
}

@media (max-width: 575.98px) {
  #careerUniverse {
    height: 360px;
    min-height: 320px;
  }
}

/* Landing page skill logo showcase */
.skill-showcase {
  position: relative;
  width: 100%;
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 5%, rgba(99, 102, 241, 0.1), transparent 36%),
    linear-gradient(145deg, #FFFFFF 0%, #F6F8FF 100%);
  box-shadow: var(--shadow-lg);
}

.skill-showcase-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.skill-showcase-eyebrow {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--color-indigo-600);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.skill-showcase-header h2 {
  margin: 0;
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 750;
  letter-spacing: -0.035em;
}

.skill-count {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  line-height: 1.25;
}

.skill-count strong {
  color: var(--color-indigo-600);
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.skill-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.skill-logo-card {
  display: flex;
  min-width: 0;
  min-height: 132px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem;
  border: 1px solid #E6EAF2;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.skill-logo-card:hover {
  transform: translateY(-3px);
  border-color: #C7D2FE;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.skill-logo-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
}

.react-mark { color: #0891B2; background: #CFFAFE; font-size: 1.7rem; }
.js-mark { color: #713F12; background: #FEF3C7; border-radius: 6px; }
.python-mark { color: #1D4ED8; background: #DBEAFE; }
.node-mark { color: #15803D; background: #DCFCE7; }
.figma-mark { color: #86198F; background: #FAE8FF; }
.sql-mark { color: #4338CA; background: #E0E7FF; font-size: 1.15rem; }
.aws-mark { color: #B45309; background: #FEF3C7; font-size: 0.9rem; letter-spacing: -0.06em; }
.git-mark { color: #C2410C; background: #FFEDD5; font-size: 1.15rem; }

.skill-logo-name {
  overflow: hidden;
  max-width: 100%;
  color: var(--color-text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skill-logo-type {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.skill-showcase-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  color: var(--color-text-secondary);
  font-size: 0.75rem;
}

.skill-footer-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.06);
}

@media (max-width: 575.98px) {
  .skill-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skill-logo-card {
    min-height: 110px;
  }
}

.career-skill-map {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  gap: 0.75rem;
  padding: 0.25rem;
}

.career-skill-tile {
  display: flex;
  min-width: 0;
  min-height: 82px;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid #E2E8F0;
  border-left: 3px solid #CBD5E1;
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--color-text-primary);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.career-skill-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08); }
.career-skill-tile:focus-visible,
.skill-logo-card:focus-visible,
.skill-dialog-close:focus-visible,
.skill-learning-steps input:focus-visible { outline: 3px solid rgba(79, 70, 229, 0.35); outline-offset: 2px; }
.skill-status-matched { border-left-color: #10B981; }
.skill-status-weak { border-left-color: #F59E0B; }
.skill-status-missing { border-left-color: #F43F5E; }

.career-skill-mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: #EEF2FF;
  color: #4338CA;
  font-size: 0.9rem;
  font-weight: 800;
}

.skill-status-matched .career-skill-mark { color: #047857; background: #D1FAE5; }
.skill-status-weak .career-skill-mark { color: #B45309; background: #FEF3C7; }
.skill-status-missing .career-skill-mark { color: #BE123C; background: #FFE4E6; }

.career-skill-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 0.2rem; }
.career-skill-copy strong { overflow: hidden; font-size: 0.88rem; text-overflow: ellipsis; white-space: nowrap; }
.career-skill-copy > span { color: var(--color-text-muted); font-size: 0.75rem; }
.skill-tile-arrow { color: var(--color-text-muted); font-size: 0.8rem; }

.skill-detail-dialog {
  width: min(620px, calc(100vw - 2rem));
  max-width: 620px;
  max-height: min(88vh, 760px);
  padding: 0;
  overflow: auto;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  background: #FFFFFF;
  color: var(--color-text-primary);
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.18);
}

.skill-detail-dialog::backdrop { background: rgba(15, 23, 42, 0.48); backdrop-filter: blur(3px); }
.skill-dialog-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.5rem 1rem; border-bottom: 1px solid #E8ECF3; background: rgba(255, 255, 255, 0.96); }
.skill-dialog-header h2 { margin: 0; font-family: var(--font-heading); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.035em; }
.skill-dialog-close { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border: 1px solid #E2E8F0; border-radius: 12px; background: #F8FAFC; color: #475569; cursor: pointer; }
.skill-dialog-close:hover { background: #EEF2FF; color: #4338CA; }
.skill-dialog-content { padding: 1.25rem 1.5rem 1.5rem; }
.skill-dialog-category { margin: 0 0 0.35rem; color: #4F46E5; font-size: 0.78rem; font-weight: 700; }
.skill-dialog-summary { margin: 0 0 1.25rem; color: #475569; line-height: 1.6; }
.skill-dialog-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.55rem; }
.skill-dialog-section-heading h3,
.skill-practice-card h3 { margin: 0; color: #172033; font-size: 1rem; font-weight: 750; }
.skill-progress-label { color: #64748B; font-size: 0.75rem; white-space: nowrap; }
.skill-progress-track { height: 7px; margin-bottom: 0.65rem; overflow: hidden; border-radius: 999px; background: #E9EDF5; }
.skill-progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4F46E5, #06B6D4); transition: width 0.2s ease; }
.skill-learning-steps { display: grid; gap: 0.35rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.skill-learning-steps label { display: flex; align-items: flex-start; gap: 0.65rem; padding: 0.65rem; border: 1px solid #E8ECF3; border-radius: 11px; color: #334155; cursor: pointer; line-height: 1.45; }
.skill-learning-steps label:has(input:checked) { border-color: #A7F3D0; background: #F0FDF4; }
.skill-learning-steps input { flex: 0 0 auto; margin-top: 0.15rem; accent-color: #4F46E5; }
.skill-step-number { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #EEF2FF; color: #4338CA; font-size: 0.75rem; font-weight: 800; }
.skill-practice-card { padding: 1rem; border: 1px solid #DDE5FF; border-radius: 14px; background: linear-gradient(135deg, #F5F7FF, #F8FAFC); }
.skill-practice-card .skill-showcase-eyebrow { margin-bottom: 0.3rem; }
.skill-practice-card p { margin: 0.4rem 0 0; color: #475569; font-size: 0.88rem; line-height: 1.5; }
.skill-resource-links { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1rem; }
.skill-resource-links a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 0.9rem; border: 1px solid #C7D2FE; border-radius: 10px; color: #4338CA; background: #FFFFFF; font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.skill-resource-links a:hover { background: #EEF2FF; }

@media (max-width: 575.98px) {
  .skill-dialog-header { padding: 1rem 1rem 0.8rem; }
  .skill-dialog-content { padding: 1rem; }
  .career-skill-map { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
  .career-skill-tile { min-height: 76px; gap: 0.55rem; padding: 0.65rem; }
  .career-skill-mark { width: 34px; height: 34px; }
  .career-skill-copy strong { font-size: 0.78rem; }
  .skill-tile-arrow { display: none; }
}

#roadmap-path {
  height: 300px;
  width: 100%;
}

@media (min-width: 992px) {
  #roadmap-path {
    height: 360px;
  }
}

#progress-orb {
  height: 240px;
  width: 100%;
  background: transparent;
}

@media (min-width: 992px) {
  #progress-orb {
    height: 280px;
  }
}

/* Clean Telemetry Badges in Canvas */
.atlas-compass-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  pointer-events: none;
}

.atlas-coord-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-indigo-700);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #C7D2FE;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.atlas-controls-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

/* --------------------------------------------------------------------------
   2. Clean Tooltips (HTML Overlay for 3D Nodes)
   -------------------------------------------------------------------------- */
.universe-tooltip,
.orbit-tooltip,
.path-tooltip {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  background: #FFFFFF;
  border: 1px solid #C7D2FE;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  z-index: 50;
  width: 260px;
  max-width: calc(100% - 24px);
  box-sizing: border-box;
  word-wrap: break-word;
}

.universe-tooltip.visible,
.orbit-tooltip.visible,
.path-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.tooltip-header {
  padding-left: 0.25rem;
  margin-bottom: 0.45rem;
}

.tooltip-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-indigo-600);
  display: block;
}

.tooltip-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
}

.tooltip-body {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0 0 0.5rem 0;
}

.tooltip-cta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-indigo-600);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* --------------------------------------------------------------------------
   3. Accessible 2D Fallback Container
   -------------------------------------------------------------------------- */
.fallback-2d-container {
  padding: 1.75rem;
  text-align: center;
}

.fallback-2d-title {
  color: var(--color-text-primary);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.fallback-2d-desc {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.fallback-career-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.fallback-career-item {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  text-align: left;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.fallback-career-item strong {
  display: block;
  color: var(--color-indigo-700);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.fallback-career-item span {
  font-size: 0.825rem;
  color: var(--color-text-muted);
}


/* ==========================================================================
   DheePath — Learning Roadmap Stylesheet (roadmap.css)
   Clean Modern EduTech Aesthetics · Indigo, Blue & Cyan Accents
   DheePath · Enterprise Edition
   ========================================================================== */

/* Top Roadmap Summary Header */
.roadmap-header-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.roadmap-header-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

/* Student-Explainable Interactive Career Route Map */
.student-route-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.student-route-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 5;
}

.route-progress-strip {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.route-track-progress {
  background-color: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
}

.route-track-progress .bg-teal {
  background: linear-gradient(90deg, #10B981, #00F2FE) !important;
}

/* Route Rail & Stations Track */
.route-rail-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem 0.25rem 1rem 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
  -webkit-overflow-scrolling: touch;
}

.route-rail-container::-webkit-scrollbar {
  height: 6px;
}

.route-rail-container::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 4px;
}

.route-rail-container::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.student-route-track-wrapper {
  position: relative;
  min-width: max-content;
  padding: 1.75rem 0.75rem 0.5rem 0.75rem;
}

/* Connecting Rail Line behind stations */
.route-rail-line-bg {
  position: absolute;
  top: 48px;
  left: 50px;
  right: 50px;
  height: 4px;
  background: #E2E8F0;
  border-radius: 999px;
  z-index: 1;
}

.route-rail-line-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #00F2FE 100%);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.route-stations-row {
  display: flex;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
  align-items: stretch;
}

/* Single Route Station Column */
.route-station {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  scroll-snap-align: start;
  user-select: none;
  transition: transform 0.2s ease;
}

.route-station:hover {
  transform: translateY(-2px);
}

/* Station Node Marker */
.route-node-anchor {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: 0.85rem;
  z-index: 3;
}

.station-node-pin {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
  transition: all 0.25s ease;
}

.station-node-number {
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748B;
  display: none;
}

.station-node-icon {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Station State Styling */
.state-completed .station-node-pin {
  border-color: #10B981;
  background: #ECFDF5;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.state-active .station-node-pin {
  border-color: #00F2FE;
  background: #0F172A;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.45);
}

.state-awaiting-test .station-node-pin {
  border-color: #F59E0B;
  background: #FFFBEB;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
}

.state-locked .station-node-pin {
  border-color: #E2E8F0;
  background: #F8FAFC;
  opacity: 0.85;
}

/* Active Station Beacon Pulse Animation */
.station-beacon-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid rgba(0, 242, 254, 0.6);
  animation: stationBeaconPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.station-beacon-ring.beacon-outer {
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border-color: rgba(0, 242, 254, 0.3);
  animation-delay: 0.5s;
}

@keyframes stationBeaconPing {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* "YOU ARE HERE" Tooltip */
.station-here-tooltip {
  position: absolute;
  top: -28px;
  background: linear-gradient(135deg, #0284C7, #0D9488);
  color: #FFFFFF;
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.4);
  animation: floatHereTag 2s ease-in-out infinite;
}

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

/* Station Content Card */
.station-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.route-station:hover .station-card {
  border-color: #38BDF8;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.route-station.is-active-station .station-card {
  border-color: #00F2FE;
  background: linear-gradient(180deg, #F0FDFA 0%, #FFFFFF 100%);
  box-shadow: 0 6px 18px rgba(0, 242, 254, 0.15);
}

.station-week-pill {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #0F172A;
  background: #F1F5F9;
  padding: 2px 8px;
  border-radius: 6px;
}

.station-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0F172A;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.station-skill-badge {
  font-size: 0.76rem;
  font-weight: 600;
}

/* Route Test Pills */
.route-test-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
}

.pill-passed {
  background: #ECFDF5;
  color: #059669;
  border-color: #A7F3D0;
}

.pill-ready {
  background: #FEF3C7;
  color: #B45309;
  border-color: #FCD34D;
  cursor: pointer;
  animation: pulseReadyTest 2s infinite;
}

@keyframes pulseReadyTest {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 0 0 5px rgba(245, 158, 11, 0); }
}

.pill-inprogress {
  background: #F0FDFA;
  color: #0D9488;
  border-color: #99F6E4;
}

.pill-locked {
  background: #F8FAFC;
  color: #94A3B8;
  border-color: #E2E8F0;
}

/* Highlight Flash on Targeted Week Card */
.week-card.station-focus-glow {
  animation: stationFocusPulse 2.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes stationFocusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.8), 0 0 25px rgba(0, 242, 254, 0.4);
    border-color: #00F2FE;
    transform: translateY(-4px);
  }
  30% {
    box-shadow: 0 0 0 10px rgba(0, 242, 254, 0.25), 0 0 20px rgba(0, 242, 254, 0.3);
    border-color: #00F2FE;
    transform: translateY(-4px);
  }
  100% {
    box-shadow: var(--shadow-sm);
    border-color: var(--color-border);
    transform: translateY(0);
  }
}

.station-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #00F2FE;
  display: inline-block;
  margin-right: 4px;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.route-legend-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  display: inline-block;
  animation: pulseDot 1.5s infinite;
}

/* Responsive: Mobile Vertical Route Rail */
@media (max-width: 768px) {
  .student-route-track-wrapper {
    min-width: 100%;
    padding: 0.5rem 0.25rem;
  }

  .route-rail-line-bg {
    top: 24px;
    bottom: 24px;
    left: 21px;
    width: 3px;
    height: auto;
    right: auto;
  }

  .route-rail-line-fill {
    width: 100% !important;
    height: var(--fill-height, 50%);
    transition: height 0.6s ease;
  }

  .route-stations-row {
    flex-direction: column;
    gap: 1.25rem;
  }

  .route-station {
    flex: 1 1 100%;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
  }

  .route-node-anchor {
    flex-shrink: 0;
    margin-bottom: 0;
    margin-top: 0.25rem;
  }

  .station-here-tooltip {
    display: none;
  }

  .station-card {
    flex: 1;
    min-width: 0;
  }
}


/* Timeline Layout */
.roadmap-timeline {
  position: relative;
  padding-left: 24px;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 41px;
  width: 2px;
  background: #CBD5E1;
  z-index: 1;
}

@media (max-width: 575.98px) {
  .roadmap-timeline {
    padding-left: 0 !important;
  }
  .roadmap-timeline::before {
    display: none !important;
  }
  .week-card {
    padding: 1.15rem 0.85rem !important;
    border-radius: var(--radius-sm) !important;
  }
  .task-item {
    padding: 0.75rem 0.85rem !important;
    gap: 0.65rem !important;
  }
  .roadmap-header-card,
  .roadmap-path-card {
    padding: 1.25rem 1rem !important;
  }
}

/* Week Cards */
.week-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  z-index: 2;
  margin-bottom: 1.5rem;
}

.week-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.week-card.active-week {
  border-color: var(--color-indigo-600);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.12);
}

.week-card.completed-week {
  border-color: #BBF7D0;
}

.week-card.highlight-week {
  animation: pulseHighlight 1.5s ease;
}

@keyframes pulseHighlight {
  0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(79, 70, 229, 0.15); transform: scale(1.01); }
  100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

.week-badge-pill {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--color-indigo-600);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', 'Inter', var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(79, 70, 229, 0.25);
  font-feature-settings: "zero" 0;
}

.week-card.completed-week .week-badge-pill {
  background: var(--color-success);
}

/* Task Checklist Items */
.task-checklist-item,
.task-item {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.25rem;
  transition: all var(--transition-fast);
}

.task-checklist-item:hover,
.task-item:hover {
  background: var(--color-surface-muted);
  border-color: #CBD5E1;
}

.task-checklist-item.is-completed,
.task-item.is-completed {
  opacity: 0.75;
  background: var(--color-success-bg);
  border-color: #BBF7D0;
}

.task-checklist-item.is-completed .task-title,
.task-item.is-completed .task-title {
  text-decoration: line-through;
  color: var(--color-text-muted) !important;
}

.task-checkbox,
.task-checkbox-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--color-indigo-600);
  flex-shrink: 0;
}

/* Resource Link Button */
.resource-link-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid #C7D2FE;
  background: var(--color-surface-indigo);
  color: var(--color-indigo-700);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

.resource-link-btn:hover {
  background: var(--color-indigo-600);
  border-color: var(--color-indigo-600);
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(79, 70, 229, 0.25);
}

/* ==========================================================================
   Print / PDF Stylesheet (@media print)
   ========================================================================== */
@media print {
  @page {
    margin: 1.2cm;
    size: A4 portrait;
  }

  html, body.roadmap-page {
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 11pt !important;
    line-height: 1.4 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .cp-navbar,
  .cp-navbar-notch,
  footer,
  .roadmap-path-card,
  #roadmap-path,
  .breadcrumb,
  #alertContainer,
  #chatWidgetContainer,
  .chat-toggle-btn,
  .btn,
  button,
  .resource-link-btn,
  .roadmap-timeline::before {
    display: none !important;
  }

  .print-brand-header {
    display: block !important;
    border-bottom: 2px solid var(--color-indigo-600) !important;
    margin-bottom: 1.5rem !important;
  }

  .print-brand-header h2 {
    color: #0f172a !important;
    font-size: 16pt !important;
  }

  main.container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .roadmap-header-card {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 1rem 1.25rem !important;
    margin-bottom: 1.5rem !important;
  }

  .roadmap-header-card::before {
    background: var(--color-indigo-600) !important;
    height: 3px !important;
  }

  #roadmapCareerTitle {
    color: #0f172a !important;
    font-size: 15pt !important;
  }

  #roadmapCareerDesc {
    color: #334155 !important;
    font-size: 10pt !important;
  }

  .atlas-badge,
  .badge-navy,
  .cp-tag {
    border: 1px solid #cbd5e1 !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
  }

  .match-score-badge {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
  }

  #roadmapPercentage {
    color: var(--color-indigo-600) !important;
  }

  .progress-bar {
    background: var(--color-indigo-600) !important;
  }

  .roadmap-timeline {
    padding-left: 0 !important;
  }

  .week-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    margin-bottom: 1.25rem !important;
    padding: 1rem !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .week-card.active-week,
  .week-card.completed-week {
    border-color: var(--color-indigo-600) !important;
    box-shadow: none !important;
  }

  .week-badge-pill {
    background: var(--color-indigo-600) !important;
    color: #ffffff !important;
    box-shadow: none !important;
  }

  .week-card h3 {
    color: #0f172a !important;
    font-size: 12pt !important;
  }

  .week-card p,
  .week-card .text-muted {
    color: #475569 !important;
  }

  .task-checklist-item,
  .task-item {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    padding: 0.6rem 0.9rem !important;
    margin-bottom: 0.4rem !important;
  }

  .task-checklist-item.is-completed,
  .task-item.is-completed {
    background: #f0fdf4 !important;
    border-color: #86efac !important;
  }

  .task-checklist-item .task-title,
  .task-item .task-title {
    color: #0f172a !important;
    font-size: 10pt !important;
  }

  .task-checklist-item .text-muted,
  .task-item .text-muted {
    color: #64748b !important;
    font-size: 9pt !important;
  }
}

/* ==========================================================================
   Desktop UX Enhancements for Roadmap (min-width: 992px)
   ========================================================================== */
@media (min-width: 992px) {
  .roadmap-header-card {
    padding: 2.25rem 2.5rem;
  }
  .week-card {
    padding: 1.75rem 2rem;
  }
  .task-checklist-item,
  .task-item {
    padding: 1.15rem 1.5rem;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease;
  }
  .task-checklist-item:hover,
  .task-item:hover {
    transform: translateX(4px);
    border-color: #CBD5E1;
    background: var(--color-surface-muted);
  }
  .resource-link-btn {
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
  }
  .resource-link-btn:hover {
    transform: translateY(-1px);
  }

  #roadmap-path {
    min-height: 350px;
  }
}

.roadmap-page main.container,
.roadmap-page > main {
  max-width: var(--container-max-width, 1280px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ==========================================================================
   Weekly Milestone Test Modal & Test Runner UI
   ========================================================================== */
.week-card.locked-week {
  opacity: 0.72;
  background: var(--color-surface-muted, #F8FAFC);
}

.week-card.awaiting-test-week {
  border-color: #FCD34D !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.12) !important;
}

.test-question-item {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
  position: relative;
}

.test-question-item:hover {
  border-color: #CBD5E1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.test-question-item.is-answered {
  border-color: #CBD5E1;
  background: #FFFFFF;
  border-left: 4px solid #4F46E5;
}

.question-pill-index {
  display: inline-flex;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 700;
  font-family: var(--font-mono, ui-monospace, monospace);
  color: #4F46E5;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.16);
  border-radius: 6px;
  padding: 0.22rem 0.6rem;
  letter-spacing: 0.02em;
}

.question-answered-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: #16A34A;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.2s ease;
  pointer-events: none;
}

.question-answered-badge.is-visible {
  opacity: 1;
  transform: scale(1);
}

.question-pill-topic {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono, ui-monospace, monospace);
  color: #475569;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  text-transform: capitalize;
}

.question-prompt-text {
  font-size: 1.02rem;
  font-weight: 650;
  color: #0F172A;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* --- High-End Option Items --- */
.test-option-item {
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  background: #F8FAFC;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  position: relative;
  user-select: none;
}

.test-option-item:hover {
  background: #FFFFFF;
  border-color: #94A3B8;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.test-option-item.selected {
  border-color: #4F46E5;
  background: #EEF2FF;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12), 0 4px 12px rgba(79, 70, 229, 0.06);
  transform: translateY(-1px);
}

.test-option-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}

.option-letter-chip {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-mono, ui-monospace, monospace);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.test-option-item:hover .option-letter-chip {
  border-color: #4F46E5;
  color: #4F46E5;
}

.test-option-item.selected .option-letter-chip {
  background: #4F46E5;
  border-color: #4F46E5;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
}

.option-text {
  font-size: 0.915rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.5;
  transition: color 0.15s ease;
}

.test-option-item.selected .option-text {
  color: #0F172A;
  font-weight: 600;
}

.option-status-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0.72rem;
  transition: all 0.2s ease;
}

.test-option-item:hover .option-status-dot {
  border-color: #94A3B8;
}

.test-option-item.selected .option-status-dot {
  background: #4F46E5;
  border-color: #4F46E5;
  color: #FFFFFF;
}

/* --- Milestone Modal Shell & HUD --- */
.milestone-modal-dialog {
  max-width: 860px;
  margin: 1.75rem auto;
}

.milestone-modal-content {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.milestone-hud-header {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-bottom: 1px solid #E2E8F0;
  position: relative;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.milestone-hud-info {
  flex: 1;
  min-width: 280px;
}

.milestone-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin-top: 0.2rem;
  margin-bottom: 0.35rem;
}

.milestone-chip-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0284C7;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 9999px;
}

.milestone-chip-week {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono, ui-monospace, monospace);
  color: #1E293B;
  background: #E2E8F0;
  border-radius: 6px;
}

.milestone-chip-proctor {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-mono, ui-monospace, monospace);
  color: #DC2626;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 9999px;
}

.proctor-pulse-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: proctorPulse 1.8s infinite;
}

@keyframes proctorPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.milestone-chip-strikes {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-mono, ui-monospace, monospace);
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.milestone-chip-strikes.strikes-clean {
  color: #16A34A;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.milestone-chip-strikes.strikes-warning {
  color: #D97706;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.milestone-chip-strikes.strikes-danger {
  color: #FFFFFF;
  background: #DC2626;
  border: 1px solid #DC2626;
}

.milestone-chip-fullscreen {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: #64748B;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
}

/* Timer & Island Controls */
.milestone-timer-island {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.milestone-timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #0F172A;
  color: #FFFFFF;
  border: 1.5px solid #1E293B;
  border-radius: 12px;
  padding: 0.35rem 0.85rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  transition: all 0.2s ease;
}

.timer-stopwatch-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.timer-info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.timer-sublabel {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94A3B8;
}

.timer-digits {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #F87171;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "zero" 0, "tnum" 1;
}

.milestone-timer-pill.is-urgent {
  background: #7F1D1D;
  border-color: #EF4444;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.4);
}

.milestone-timer-pill.is-urgent .timer-digits {
  color: #FFFFFF;
}

.milestone-timer-pill.is-penalty {
  background: #DC2626;
  border-color: #EF4444;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.milestone-btn-regen {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  transition: all 0.15s ease;
}

.milestone-btn-regen:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  color: #0F172A;
}

.milestone-autosave-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 500;
  color: #64748B;
  background: rgba(241, 245, 249, 0.8);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

/* --- Proctoring Rules Ribbon --- */
.milestone-rules-ribbon {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.04) 0%, rgba(14, 165, 233, 0.04) 100%);
  border: 1px solid rgba(99, 102, 241, 0.16);
  border-radius: 12px;
  padding: 0.75rem 1rem;
}

.rules-mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #334155;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.3rem 0.65rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.rules-strike-details {
  position: relative;
}

.rules-summary-toggle {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4F46E5;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  background: rgba(79, 70, 229, 0.08);
  transition: all 0.15s ease;
  user-select: none;
  list-style: none;
}

.rules-summary-toggle::-webkit-details-marker {
  display: none;
}

.rules-summary-toggle:hover {
  background: rgba(79, 70, 229, 0.14);
}

.rules-dropdown-card {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 320px;
  max-width: min(320px, calc(100vw - 3rem));
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 0.85rem;
  font-size: 0.76rem;
  color: #334155;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
  z-index: 1055;
  line-height: 1.5;
}

/* --- Resumed Card --- */
.milestone-resumed-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(251, 191, 36, 0.04) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  padding: 0.75rem 1rem;
}

.resumed-icon-pulse {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.milestone-btn-fresh {
  background: #F59E0B;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.78rem;
  border: none;
  border-radius: 8px;
  padding: 0.35rem 0.85rem;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
}

.milestone-btn-fresh:hover {
  background: #D97706;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* --- Modal Footer (Progress & Actions Dock) --- */
.milestone-hud-footer {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-top: 1px solid #E2E8F0;
  position: relative;
  z-index: 10;
}

.milestone-footer-progress-box {
  min-width: 220px;
  max-width: 280px;
}

.milestone-progress-label {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 500;
}

.milestone-progress-pill {
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-mono, ui-monospace, monospace);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: #E2E8F0;
  color: #475569;
  transition: all 0.25s ease;
}

.milestone-progress-pill.completed {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.milestone-progress-track {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 9999px;
  overflow: hidden;
}

.milestone-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4F46E5 0%, #0EA5E9 100%);
  border-radius: 9999px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.milestone-progress-fill.bg-success {
  background: linear-gradient(90deg, #10B981 0%, #059669 100%) !important;
}

.milestone-btn-exit {
  border-radius: 10px;
  font-weight: 600;
  padding: 0.45rem 1rem;
  font-size: 0.84rem;
}

.milestone-btn-submit {
  border-radius: 10px;
  font-weight: 650;
  padding: 0.45rem 1.4rem;
  font-size: 0.86rem;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
  transition: all 0.2s ease;
}

.milestone-btn-submit.pulse-ready {
  animation: submitReadyPulse 2s infinite;
}

@keyframes submitReadyPulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(79, 70, 229, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

/* Result View Styling */
.milestone-result-score-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.result-score-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #64748B;
  margin-bottom: 0.25rem;
}

.result-score-val {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Responsive Overrides for Mobile Viewports */
@media (max-width: 768px) {
  .milestone-modal-dialog {
    margin: 0.5rem;
  }

  .milestone-hud-top {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.75rem;
  }

  .milestone-hud-info {
    min-width: 100%;
    width: 100%;
  }

  .milestone-timer-island {
    width: 100%;
    align-items: stretch;
    margin-top: 0.25rem;
  }

  .milestone-timer-island .d-flex {
    justify-content: space-between !important;
  }

  .milestone-timer-pill {
    padding: 0.3rem 0.65rem;
  }

  .milestone-timer-pill .timer-digits {
    font-size: 1.05rem;
  }

  .milestone-hud-footer {
    flex-direction: column;
    align-items: stretch !important;
    gap: 1rem;
    padding: 1rem !important;
  }

  .milestone-footer-progress-box {
    max-width: 100%;
    width: 100%;
  }

  #testActiveButtons {
    width: 100%;
    margin-left: 0 !important;
  }

  .milestone-btn-exit,
  .milestone-btn-submit {
    flex: 1;
    text-align: center;
    justify-content: center;
  }

  .test-question-item {
    padding: 1.15rem 1.15rem;
    border-radius: 14px;
  }

  .test-option-item {
    padding: 0.75rem 0.9rem;
    gap: 0.7rem;
  }

  .rules-mini-pill {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }

  .rules-dropdown-card {
    width: calc(100vw - 2.5rem);
    right: auto;
    left: 0;
  }
}

/* ============================================================
   DEVELOPER ROADMAP EXPLORER (nilbuild/developer-roadmap)
   ============================================================ */

.roadmap-mode-switcher-card {
  transition: all 0.25s ease;
}

.roadmap-mode-switcher-card .btn-group .btn {
  font-size: 0.85rem;
  transition: all 0.2s ease;
  border: none;
}

.roadmap-mode-switcher-card .btn-group .btn.active {
  background: #2563EB !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.dev-track-pills-row {
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

.dev-track-pills-row::-webkit-scrollbar {
  height: 6px;
}

.dev-track-pills-row::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}

.dev-track-pill {
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #334155;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dev-track-pill:hover {
  border-color: #93C5FD;
  background: #F8FAFC;
  color: #2563EB;
  transform: translateY(-1px);
}

.dev-track-pill.active {
  background: #2563EB;
  border-color: #2563EB;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.dev-track-pill.active i {
  color: #FFFFFF !important;
}

/* --- Stage Cards & Connectors --- */
.dev-stage-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

.dev-stage-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
  position: relative;
}

.dev-stage-card:hover {
  border-color: #BFDBFE;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
}

.dev-stage-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.3);
  flex-shrink: 0;
}

.dev-stage-connector {
  position: absolute;
  left: 50%;
  bottom: -2rem;
  width: 2px;
  height: 2rem;
  background: repeating-linear-gradient(to bottom, #94A3B8 0, #94A3B8 6px, transparent 6px, transparent 12px);
  transform: translateX(-50%);
  z-index: 1;
}

/* --- Interactive Node Cards --- */
.dev-nodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.dev-node-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.2rem;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

.dev-node-card:hover {
  background: #FFFFFF;
  border-color: #3B82F6;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}

.dev-node-card.core {
  border-left: 4px solid #2563EB;
}

.dev-node-card.recommended {
  border-left: 4px solid #10B981;
}

.dev-node-card.modern {
  border-left: 4px solid #8B5CF6;
}

.dev-node-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.dev-node-desc {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.dev-node-tag-pill {
  font-size: 0.7rem;
  font-family: var(--font-mono, ui-monospace, monospace);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: #E2E8F0;
  color: #334155;
  display: inline-block;
}

.dev-node-action {
  font-size: 0.78rem;
  font-weight: 600;
  color: #2563EB;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.2s ease;
}

.dev-node-card:hover .dev-node-action {
  gap: 0.5rem;
  color: #1D4ED8;
}

/* Concept Checklist Items */
.concept-check-item {
  padding: 0.5rem 0.75rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #1E293B;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.resource-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  color: #1E293B;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.resource-link-btn:hover {
  background: #F8FAFC;
  border-color: #93C5FD;
  color: #2563EB;
  transform: translateX(3px);
}








/* ==========================================================================
   DheePath — Student Dashboard Stylesheet (dashboard.css)
   Clean Modern EduTech Aesthetics · Indigo, Blue & Cyan Accents
   DheePath · Enterprise Edition
   ========================================================================== */

/* Page Background */
.dashboard-page {
  background-color: var(--color-background);
  color: var(--color-text-secondary);
  min-height: 100vh;
}

/* Shared state and layout polish */
.dashboard-shell {
  max-width: 1320px;
}

.dashboard-state {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: 1rem;
}

.dashboard-state-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.dashboard-loading-state .spinner-border {
  margin-bottom: 1rem !important;
}

.dashboard-shell > #dashboardContent > .card,
.dashboard-shell > #dashboardContent > .row,
.dashboard-shell > #dashboardContent > .dashboard-profile-card,
.dashboard-shell > #dashboardContent > .readiness-hero-card,
.dashboard-shell > #dashboardContent > .recommended-action-box,
.github-study-card,
#githubStudyLab {
  scroll-margin-top: calc(var(--notch-nav-height, 70px) + 2.5rem);
}

/* Profile Header Card */
.dashboard-profile-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1.75rem;
}

.dashboard-profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0284C7 0%, #0D9488 100%);
}

.dashboard-avatar-container {
  position: relative;
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  flex-shrink: 0;
}

.dashboard-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  color: #0284C7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 0 0 1px #E2E8F0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.dashboard-avatar:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), 0 0 0 1px #BAE6FD;
}

.dashboard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.avatar-upload-trigger {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0284C7;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: all 0.2s ease;
  z-index: 2;
}

.avatar-upload-trigger:hover {
  background: #0369A1;
  transform: scale(1.12);
}

/* Verified Student Badge */
.badge-verified-student {
  background: #F0F9FF !important;
  border: 1px solid #BAE6FD !important;
  color: #0369A1 !important;
  font-family: var(--font-body) !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  padding: 4px 10px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.06);
}

/* Modern Segmented Status Control */
.status-segmented-control {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 3px;
  gap: 2px;
}

.status-toggle-btn {
  border: none !important;
  background: transparent !important;
  color: #64748B !important;
  font-family: var(--font-body) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  padding: 5px 14px !important;
  border-radius: 9999px !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.2;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
}

.status-toggle-btn i {
  font-size: 0.85rem;
  color: #94A3B8;
  transition: color 0.2s ease;
}

.status-toggle-btn:hover {
  color: #0F172A !important;
  background: rgba(255, 255, 255, 0.6) !important;
}

.status-toggle-btn:hover i {
  color: #475569;
}

.status-toggle-btn.active {
  background: #FFFFFF !important;
  color: #0369A1 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

.status-toggle-btn.active i {
  color: #0284C7 !important;
}

/* Profile Metadata Line */
.profile-meta-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #64748B;
  font-size: 0.84rem;
  flex-wrap: wrap;
}

.profile-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #475569;
  font-weight: 500;
}

.profile-meta-dot {
  color: #CBD5E1;
  font-size: 0.8rem;
}

.profile-resume-pill {
  color: #0369A1 !important;
  font-weight: 600;
  text-decoration: none !important;
  padding: 2px 9px;
  background: #F0F9FF;
  border-radius: 9999px;
  border: 1px solid #BAE6FD;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
}

.profile-resume-pill:hover {
  background: #E0F2FE;
  color: #0369A1 !important;
}

/* Profile Header Action Buttons */
.btn-profile-primary {
  background: linear-gradient(135deg, #0284C7 0%, #0D9488 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--font-body);
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  padding: 0.48rem 1.15rem !important;
  border-radius: 9999px !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1) !important;
  white-space: nowrap !important;
}

.btn-profile-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.16) !important;
  color: #FFFFFF !important;
}

.btn-profile-secondary {
  background: #FFFFFF !important;
  color: #334155 !important;
  font-family: var(--font-body);
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  padding: 0.48rem 1rem !important;
  border-radius: 9999px !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.btn-profile-secondary:hover {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06) !important;
  text-decoration: none !important;
}

.avatar-upload-trigger:focus-visible,
.shortcut-card:focus-visible,
.dashboard-task-item:focus-within,
.dashboard-page :where(button, a, input, select, textarea):focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.45);
  outline-offset: 2px;
}

/* Active Roadmap / Route Card */
.active-route-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.active-route-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0284C7, #0D9488);
}

/* Stat Box */
.stat-box-atlas {
  background: var(--color-surface-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}

.stat-box-atlas .stat-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.stat-box-atlas .stat-value {
  font-family: 'Outfit', 'Inter', var(--font-heading);
  font-weight: 800;
  font-size: 1.55rem;
  line-height: 1.1;
  color: #0369A1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "zero" 0;
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .dashboard-page .stat-box-atlas {
    padding: 0.85rem 0.75rem;
  }

  .dashboard-page .stat-box-atlas .stat-value {
    font-size: 1.15rem;
    white-space: nowrap;
    letter-spacing: -0.04em;
  }
}

/* 3D Journey Marker Canvas Card */
.journey-canvas-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  height: 100%;
}

#progress-orb {
  cursor: default;
  margin: 0 auto;
  width: 100% !important;
  max-width: 100%;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Recommended Action Box */
.recommended-action-box {
  background: var(--color-surface-blue);
  border: 1px solid #BAE6FD;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.5rem !important;
}

/* Dashboard Task List */
.dashboard-task-item {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.25rem;
  transition: all var(--transition-fast);
}

.dashboard-task-item:hover {
  background: var(--color-surface-muted);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-sm);
}

.dashboard-task-item.is-completed {
  opacity: 0.65;
  background: var(--color-success-bg);
  border-color: #BBF7D0;
}

.dashboard-task-item.is-completed .task-title {
  text-decoration: line-through;
  color: var(--color-text-muted) !important;
}

/* Task Checkbox */
.task-checkbox-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #0284C7;
  flex-shrink: 0;
}

/* Quick Action Shortcuts */
.shortcut-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: block;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.shortcut-card:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.shortcut-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.bg-teal-subtle {
  background: var(--color-surface-cyan) !important;
  color: var(--color-cyan-700) !important;
}

.bg-gold-subtle {
  background: var(--color-warning-bg) !important;
  color: var(--color-warning) !important;
}

.bg-leaf-subtle {
  background: var(--color-success-bg) !important;
  color: var(--color-success) !important;
}

/* Badge Types & Priorities */
.badge-type-concept {
  background: #F0F9FF;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}

.badge-type-practical {
  background: var(--color-surface-cyan);
  color: var(--color-cyan-700);
  border: 1px solid #A5F3FC;
}

.badge-type-project {
  background: var(--color-warning-bg);
  color: var(--color-warning);
  border: 1px solid #FDE68A;
}

.badge-type-assessment {
  background: var(--color-danger-bg);
  color: var(--color-danger);
  border: 1px solid #FECACA;
}

.badge-priority-high {
  background: var(--color-danger-bg);
  color: var(--color-danger);
  border: 1px solid #FECACA;
}

.badge-priority-medium {
  background: var(--color-warning-bg);
  color: var(--color-warning);
  border: 1px solid #FDE68A;
}

.badge-priority-low {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid #BBF7D0;
}

/* Desktop UX Enhancements */
@media (min-width: 992px) {
  .dashboard-profile-card {
    padding: 2.25rem 2.5rem;
  }
  .active-route-card {
    padding: 2.25rem 2.5rem;
  }
  .dashboard-task-item {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease;
  }
  .dashboard-task-item:hover {
    transform: translateX(4px);
    border-color: #CBD5E1;
    background: var(--color-surface-muted);
  }
  .shortcut-card {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  }
  .shortcut-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #CBD5E1;
  }
}

@media (max-width: 991.98px) {
  .dashboard-shell {
    padding-top: 1.5rem !important;
    margin-top: 4.5rem !important;
  }

  .readiness-hero-card,
  .dashboard-profile-card,
  .active-route-card,
  .journey-canvas-card,
  .dashboard-shell .card {
    padding: 1.25rem !important;
  }

  .readiness-hero-card .col-lg-5 {
    justify-content: flex-start !important;
  }
}

@media (max-width: 575.98px) {
  .dashboard-shell {
    padding-inline: 0.85rem;
  }

  .dashboard-profile-card .row > *,
  .recommended-action-box {
    min-width: 0;
  }

  .dashboard-profile-card .col-md-4 {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .dashboard-profile-card .col-md-4 .btn,
  .recommended-action-box .btn {
    width: 100%;
  }

  .readiness-hero-card h2 {
    font-size: 1.35rem;
  }

  .readiness-hero-card .d-flex.align-items-center.gap-4 {
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  .readiness-gauge-circle {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
  }

  .readiness-gauge-inner {
    width: 68px;
    height: 68px;
  }

  .dashboard-task-item {
    align-items: flex-start !important;
    padding: 0.9rem;
  }

  .dashboard-task-item > :last-child {
    width: 100%;
    padding-left: 2rem;
  }

  .dashboard-task-item > :last-child .btn {
    margin-left: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-page *,
  .dashboard-page *::before,
  .dashboard-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Career GPS — Job Readiness Index, Resume ATS, Mock Interview & Certificate
   ========================================================================== */

/* 1. Job Readiness Hero Card */
.readiness-hero-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F0F7FF 100%);
  border: 1.5px solid #BFDBFE;
  border-radius: var(--radius-md);
  color: #0F172A;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.08);
}

.readiness-hero-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.readiness-gauge-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: conic-gradient(#2563EB calc(var(--readiness-pct, 0) * 1%), #E2E8F0 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.readiness-gauge-inner {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.readiness-meter-bar {
  height: 8px;
  border-radius: 4px;
  background: #E2E8F0;
  overflow: hidden;
  position: relative;
}

.readiness-meter-fill {
  height: 100%;
  border-radius: 4px;
}

.badge-tier-foundational {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #CBD5E1;
}

.badge-tier-developing {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.badge-tier-interview {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.badge-tier-certified {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12);
}

/* 2. Resume AI Lab Card */
.resume-lab-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.ats-score-display {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.ats-score-val {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.ats-chip-matched {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ats-chip-missing {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bullet-rewrite-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: #334155;
}

/* 3. Matched Jobs & Bridge Gap */
.matched-job-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.matched-job-card:hover {
  transform: translateY(-2px);
  border-color: #0EA5E9;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.job-match-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.job-match-high {
  background: #ECFDF5;
  color: #047857;
  border-color: #A7F3D0;
}

/* 4. Mock Interview Modal & Voice FX */
.interview-audio-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 24px;
}

.interview-audio-wave span {
  width: 4px;
  height: 8px;
  background: #0EA5E9;
  border-radius: 2px;
  animation: waveBar 1.2s infinite ease-in-out;
}

.interview-audio-wave span:nth-child(2) { animation-delay: 0.2s; }
.interview-audio-wave span:nth-child(3) { animation-delay: 0.4s; }
.interview-audio-wave span:nth-child(4) { animation-delay: 0.1s; }
.interview-audio-wave span:nth-child(5) { animation-delay: 0.3s; }

@keyframes waveBar {
  0%, 100% { height: 6px; }
  50% { height: 22px; }
}

.mic-recording-pulse {
  animation: micPulse 1.5s infinite;
}

@keyframes micPulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}


.certificate-seal {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle, #FDE68A 0%, #D97706 100%);
  border: 3px solid #FFFDF9;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #291500;
  font-size: 1.8rem;
}

/* 6. Resume Viewer Modal */
.resume-viewport-container {
  background: #F1F5F9;
  min-height: 520px;
  position: relative;
  border-radius: 8px;
}

.resume-preview-wrapper {
  max-height: 70vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

.resume-preview-wrapper img {
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  border: 1px solid #E2E8F0;
  transition: transform 0.2s ease;
}

.resume-icon-circle {
  background: rgba(20, 184, 166, 0.12);
  color: #14b8a6;
  border: 1px solid rgba(20, 184, 166, 0.25);
}

/* ==========================================================================
   7. AI MOCK INTERVIEW CHAMBER - FUTURISTIC CYBER HUD & AUDIO VISUALIZER
   ========================================================================== */
#mockInterviewModal .modal-dialog {
  max-width: 860px;
  margin: 1.5rem auto;
}

#mockInterviewModal .modal-content {
  background: radial-gradient(circle at 50% 0%, #111C35 0%, #080D1A 60%, #03060E 100%) !important;
  color: #F8FAFC !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.75) !important;
  border-radius: 16px !important;
  overflow: hidden;
}

#mockInterviewModal .modal-header {
  background: rgba(15, 23, 42, 0.9) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2) !important;
  padding: 0.9rem 1.35rem !important;
}

#mockInterviewModal .modal-footer {
  background: rgba(15, 23, 42, 0.9) !important;
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(56, 189, 248, 0.2) !important;
  padding: 0.9rem 1.35rem !important;
}

#mockInterviewModal .modal-title {
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.chamber-live-badge {
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid rgba(239, 68, 68, 0.45) !important;
  color: #F87171 !important;
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

.chamber-beacon-dot {
  width: 7px;
  height: 7px;
  background-color: #EF4444;
  border-radius: 50%;
  display: inline-block;
}

/* Telemetry Header Chips */
.chamber-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08);
}

.chamber-meta-label {
  color: #64748B;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.8px;
}

.chamber-meta-val {
  color: #1D4ED8 !important;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.chamber-progress-chip {
  display: inline-flex;
  align-items: center;
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  color: #4338CA;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 1px 3px rgba(79, 70, 229, 0.08);
}

/* Voice Persona Selector */
#mockInterviewModal .voice-select-pill {
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  border-radius: 8px !important;
  padding: 3px 10px !important;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 250px !important;
  flex-shrink: 0 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

#mockInterviewModal .voice-select-pill:hover,
#mockInterviewModal .voice-select-pill:focus-within {
  border-color: #2563EB !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15) !important;
}

#mockInterviewModal .chamber-voice-select,
#mockInterviewModal #interviewVoiceSelector,
#mockInterviewModal .voice-select-pill select,
#mockInterviewModal select,
#mockInterviewModal select.form-select {
  background-color: transparent !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%232563eb' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.4rem center !important;
  background-size: 10px 8px !important;
  color: #1E40AF !important;
  -webkit-text-fill-color: #1E40AF !important;
  border: none !important;
  border-radius: 6px !important;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  padding: 4px 22px 4px 6px !important;
  outline: none !important;
  box-shadow: none !important;
  min-width: 230px !important;
  width: 100% !important;
  line-height: 1.4 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

#mockInterviewModal .chamber-voice-select option,
#mockInterviewModal #interviewVoiceSelector option,
#mockInterviewModal .voice-select-pill select option,
#mockInterviewModal select option {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  padding: 8px 12px !important;
  font-size: 0.82rem !important;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
}

/* Read Question Button */
#mockInterviewModal #btnSpeakQuestion {
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #1D4ED8 !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
  padding: 0.4rem 0.95rem !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

#mockInterviewModal #btnSpeakQuestion:hover {
  background: #DBEAFE !important;
  border-color: #2563EB !important;
  color: #1E40AF !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15) !important;
}

/* Question Prompt HUD Card */
.interview-hud-card {
  padding: 1.25rem 1.5rem !important;
  background: #F8FAFC !important;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #EFF6FF 100%) !important;
  border: 1.5px solid #BFDBFE !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.06) !important;
  position: relative;
  overflow: hidden;
}

.chamber-category-badge {
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #1D4ED8 !important;
  font-family: var(--font-mono, monospace) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  padding: 0.26rem 0.65rem !important;
  border-radius: 6px !important;
  text-transform: uppercase !important;
}

.ai-interviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #EFF6FF 0%, #EEF2FF 100%);
  border: 1.5px solid #C7D2FE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563EB;
  font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-interviewer-avatar.speaking-pulse {
  animation: avatarVoiceGlow 1.2s infinite alternate;
  border-color: #2563EB;
}

@keyframes avatarVoiceGlow {
  0% { box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15); border-color: #C7D2FE; }
  100% { box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3); border-color: #2563EB; color: #1D4ED8; }
}

#mockInterviewModal #currentQuestionText {
  color: #0F172A !important;
  line-height: 1.65;
  font-size: 1.02rem;
  letter-spacing: 0.2px;
  font-weight: 600;
}

/* Audio Waveform Spectrum Equalizer */
.interview-audio-spectrum {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  padding: 4px 8px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 9999px;
  vertical-align: middle;
}

.interview-audio-spectrum .spectrum-bar {
  width: 2.5px;
  height: 5px;
  background: #2563EB;
  border-radius: 2px;
}

.interview-audio-spectrum.mic-active {
  border-color: rgba(239, 68, 68, 0.6);
  background: rgba(239, 68, 68, 0.12);
}

.interview-audio-spectrum.mic-active .spectrum-bar {
  background: #EF4444;
  animation: spectrumBounce 0.75s ease-in-out infinite alternate;
}

.interview-audio-spectrum .spectrum-bar:nth-child(1) { height: 4px; animation-delay: 0.1s; }
.interview-audio-spectrum .spectrum-bar:nth-child(2) { height: 12px; animation-delay: 0.25s; }
.interview-audio-spectrum .spectrum-bar:nth-child(3) { height: 7px; animation-delay: 0.4s; }
.interview-audio-spectrum .spectrum-bar:nth-child(4) { height: 15px; animation-delay: 0.15s; }
.interview-audio-spectrum .spectrum-bar:nth-child(5) { height: 9px; animation-delay: 0.3s; }
.interview-audio-spectrum .spectrum-bar:nth-child(6) { height: 14px; animation-delay: 0.2s; }
.interview-audio-spectrum .spectrum-bar:nth-child(7) { height: 6px; animation-delay: 0.35s; }
.interview-audio-spectrum .spectrum-bar:nth-child(8) { height: 12px; animation-delay: 0.12s; }

@keyframes spectrumBounce {
  0% { transform: scaleY(0.3); opacity: 0.6; }
  100% { transform: scaleY(1.3); opacity: 1; }
}

/* Candidate Response Section & High-Contrast Labels */
#mockInterviewModal .form-label,
#mockInterviewModal label,
#mockInterviewModal .interview-section-label,
#mockInterviewModal .form-label span {
  color: #0F172A !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  text-shadow: none !important;
}

/* Live Recording Badge Indicator */
#mockInterviewModal #voiceLiveIndicator {
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  color: #DC2626 !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 1px 3px rgba(239, 68, 68, 0.1) !important;
  font-size: 0.75rem !important;
}

/* Micro Start Voice Answer Button */
#mockInterviewModal #btnToggleMic {
  background: #FEF2F2 !important;
  border: 1px solid #FECACA !important;
  color: #DC2626 !important;
  font-family: var(--font-sans, sans-serif) !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  padding: 0.38rem 0.9rem !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 3px rgba(239, 68, 68, 0.08) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
  outline: none !important;
}

#mockInterviewModal #btnToggleMic:hover {
  background: #FEE2E2 !important;
  border-color: #EF4444 !important;
  color: #B91C1C !important;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.15) !important;
}

#mockInterviewModal #btnToggleMic.btn-danger,
#mockInterviewModal #btnToggleMic.mic-recording-pulse {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  border-color: #EF4444 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3) !important;
  animation: micPulseGlow 1.5s infinite !important;
}

@keyframes micPulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3); }
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Candidate Response Textarea */
#mockInterviewModal #interviewAnswerInput {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 10px !important;
  padding: 0.9rem !important;
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

#mockInterviewModal #interviewAnswerInput:focus {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
  outline: none !important;
}

/* Tip & Live Character Counter Bar */
#mockInterviewModal .interview-tip-text {
  color: #64748B !important;
  font-size: 0.77rem !important;
  line-height: 1.4 !important;
}

#mockInterviewModal .interview-tip-text strong {
  color: #2563EB !important;
}

#mockInterviewModal #answerCharCount,
#mockInterviewModal .interview-char-badge {
  font-family: var(--font-mono, monospace) !important;
  font-size: 0.75rem !important;
  color: #2563EB !important;
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  padding: 2px 9px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
}

/* Evaluation Feedback Card */
#mockInterviewModal #evaluationFeedbackCard {
  background: #EFF6FF !important;
  background-image: linear-gradient(135deg, #EFF6FF 0%, #EEF2FF 100%) !important;
  border: 1.5px solid #BFDBFE !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.06) !important;
}

#mockInterviewModal #evalScoreBadge {
  background: #ECFDF5 !important;
  border: 1px solid #10B981 !important;
  color: #065F46 !important;
  font-family: var(--font-mono, monospace) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  padding: 0.3rem 0.75rem !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.1) !important;
}

#mockInterviewModal .eval-score-tile {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px !important;
  padding: 0.5rem 0.25rem !important;
  text-align: center !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

#mockInterviewModal .eval-score-label {
  color: #64748B !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px !important;
}

#mockInterviewModal .eval-score-num {
  font-family: var(--font-mono, monospace) !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
}

#mockInterviewModal .eval-model-answer-box {
  background: #FFFFFF !important;
  border: 1px solid #BFDBFE !important;
  border-radius: 8px !important;
  padding: 0.65rem 0.85rem !important;
  color: #334155 !important;
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
}

#mockInterviewModal .eval-model-answer-box strong {
  color: #0F172A !important;
}

/* Modal Action Controls in Footer */
#mockInterviewModal .chamber-exit-btn,
#mockInterviewModal .btn-outline-secondary {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #475569 !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  padding: 0.45rem 1.1rem !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
}

#mockInterviewModal .chamber-exit-btn:hover,
#mockInterviewModal .btn-outline-secondary:hover {
  background: #F1F5F9 !important;
  color: #0F172A !important;
  border-color: #94A3B8 !important;
}

#mockInterviewModal .chamber-submit-btn,
#mockInterviewModal #btnSubmitAnswer {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%) !important;
  border: 1px solid #34D399 !important;
  color: #FFFFFF !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  padding: 0.48rem 1.45rem !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  letter-spacing: 0.3px !important;
  display: inline-flex !important;
  align-items: center !important;
}

#mockInterviewModal .chamber-submit-btn:hover,
#mockInterviewModal #btnSubmitAnswer:hover {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.35) !important;
  transform: translateY(-1px);
}

#mockInterviewModal #btnNextQuestion {
  background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 100%) !important;
  border: 1px solid #38BDF8 !important;
  color: #FFFFFF !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  padding: 0.48rem 1.45rem !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12) !important;
  transition: all 0.2s ease !important;
}

#mockInterviewModal #btnNextQuestion:hover {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.16) !important;
  transform: translateY(-1px);
}

#mockInterviewModal #btnFinalizeInterview {
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%) !important;
  border: 1px solid #FCD34D !important;
  color: #0F172A !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  padding: 0.48rem 1.45rem !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25) !important;
  transition: all 0.2s ease !important;
}

#mockInterviewModal #btnFinalizeInterview:hover {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.35) !important;
  transform: translateY(-1px);
}

/* 8. AI Resume Lab Dropzone & Upload Styles */
.resume-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  background-color: #f8fafc;
  transition: all 0.2s ease-in-out;
}

.resume-dropzone:hover,
.resume-dropzone.dragover {
  border-color: #14b8a6 !important;
  background-color: rgba(20, 184, 166, 0.06) !important;
}

.resume-dropzone:active {
  transform: scale(0.99);
}

/* ==========================================================================
   9. GitHub Study Lab & Developer Telemetry Graphics
   ========================================================================== */

/* Enhanced GitHub Repository Cards */
.repo-card-study {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 8px !important;
  padding: 1.15rem !important;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s cubic-bezier(0.2, 0, 0, 1), border-color 0.2s ease !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
}

.repo-card-study:hover {
  background: #FFFFFF !important;
  border-color: #3B82F6 !important;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04) !important;
  transform: translateY(-2px) !important;
}

/* GitHub Octicon Vector SVG */
.octicon-repo {
  fill: #0969DA;
  flex-shrink: 0;
  vertical-align: text-bottom;
}

/* GitHub Public Pill Badge */
.gh-repo-visibility-badge {
  font-size: 0.75rem;
  font-weight: 500;
  color: #57606A;
  background-color: #F6F8FA;
  border: 1px solid #D0D7DE;
  border-radius: 2em;
  padding: 1px 7px;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* Repo Title Link */
.gh-repo-title {
  color: #0969DA;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.gh-repo-title:hover {
  color: #0550AE;
  text-decoration: underline;
}

/* AI Study Relevance Box */
.gh-study-relevance-box {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.75rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.repo-card-study:hover .gh-study-relevance-box {
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.gh-study-relevance-header {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1D4ED8;
  margin-bottom: 0.25rem;
  font-family: var(--font-body, system-ui);
}

.gh-study-relevance-body {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #334155;
  font-family: var(--font-body, system-ui);
  font-weight: 450;
}

/* Repo Open Link */
.gh-repo-link {
  color: #0969DA;
  font-weight: 600;
  font-size: 0.75rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  transition: color 0.15s ease;
}

.gh-repo-link:hover {
  color: #0550AE;
  text-decoration: underline;
}

.gh-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  font-family: var(--font-body, system-ui);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gh-lang-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06);
}

/* Authentic Tech Brand Logo */
.tech-brand-logo {
  display: inline-block;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.gh-lang-pill:hover .tech-brand-logo {
  transform: scale(1.15);
}

/* Multi-Color Language Distribution Bar */
.gh-lang-bar {
  display: flex;
  height: 8px;
  border-radius: 6px;
  overflow: hidden;
  background: #E2E8F0;
  width: 100%;
  gap: 2px;
}

.gh-lang-segment {
  height: 100%;
  border-radius: 1px;
}

/* Contribution Activity Heatmap */
.gh-heatmap-wrapper {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.85rem 1rem;
}

.gh-activity-heatmap {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: thin;
}

.gh-activity-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gh-activity-cell {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background-color: #EBEDF0;
  transition: transform 0.15s ease, filter 0.15s ease;
  cursor: pointer;
}

.gh-activity-cell:hover {
  transform: scale(1.3);
  z-index: 2;
  filter: brightness(1.1);
}

.gh-activity-cell.lvl-0 { background-color: #EBEDF0; }
.gh-activity-cell.lvl-1 { background-color: #9BE9A8; }
.gh-activity-cell.lvl-2 { background-color: #40C463; }
.gh-activity-cell.lvl-3 { background-color: #30A14E; }
.gh-activity-cell.lvl-4 { background-color: #216E39; }

/* Fractional gap utilities */
.gap-1\.5 {
  gap: 0.375rem !important;
}

.gap-2\.5 {
  gap: 0.625rem !important;
}

/* GitHub Telemetry Legend Pill */
.gh-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(241, 245, 249, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: all 0.15s ease;
}

.gh-legend-item:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

/* ==========================================================================
   AI INTERVIEW CHAMBER — NATURAL AUDIO READER & EQUALIZER
   ========================================================================== */
.audio-wave-anim {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 14px;
  vertical-align: middle;
}

.audio-wave-anim .wave-bar {
  display: inline-block;
  width: 2.5px;
  background-color: var(--color-cyan, #06B6D4);
  border-radius: 2px;
  animation: audioWaveBounce 0.85s ease-in-out infinite alternate;
}

.audio-wave-anim .wave-bar:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.audio-wave-anim .wave-bar:nth-child(2) { height: 14px; animation-delay: 0.25s; }
.audio-wave-anim .wave-bar:nth-child(3) { height: 9px; animation-delay: 0.4s; }
.audio-wave-anim .wave-bar:nth-child(4) { height: 12px; animation-delay: 0.18s; }

@keyframes audioWaveBounce {
  0% { transform: scaleY(0.25); opacity: 0.5; }
  100% { transform: scaleY(1.0); opacity: 1; }
}

.voice-select-pill {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 6px;
  padding: 2px 8px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.voice-select-pill:hover,
.voice-select-pill:focus-within {
  border-color: rgba(6, 182, 212, 0.6);
  background: rgba(15, 23, 42, 1);
}

.voice-select-pill select {
  box-shadow: none !important;
  outline: none !important;
}

.voice-select-pill select option {
  background-color: #0F172A;
  color: #FFFFFF;
}

/* ==========================================================================
   4-RULE JOB READY CHECKLIST CARD & TILES (HIGH CONTRAST & ACCESSIBLE)
   ========================================================================== */
.job-ready-status-card {
  background: #FFFFFF !important;
  border: 1px solid var(--color-border, #E2E8F0) !important;
  border-radius: var(--radius-md, 12px) !important;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.05)) !important;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal, 0.2s ease);
}

.job-ready-status-card.all-passed {
  border-color: #10B981 !important;
}

.job-ready-status-badge-pending {
  background: #FFFBEB !important;
  color: #B45309 !important;
  border: 1px solid #FCD34D !important;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.job-ready-status-badge-qualified {
  background: #ECFDF5 !important;
  color: #047857 !important;
  border: 1px solid #6EE7B7 !important;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.job-ready-tile {
  border-radius: var(--radius-sm, 10px);
  padding: 1rem 1.15rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
}

.job-ready-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Passed Tile (Crisp White Card / Emerald Accent & Glow) */
.job-ready-tile.tile-passed {
  background: #FFFFFF !important;
  border: 1.5px solid #22C55E !important;
  box-shadow: 0 2px 10px rgba(34, 197, 94, 0.12) !important;
}

.job-ready-tile.tile-passed .tile-title {
  color: #14532D !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
}

.job-ready-tile.tile-passed .tile-badge {
  background: #16A34A !important;
  color: #FFFFFF !important;
  border: 1px solid #15803D !important;
  font-family: var(--font-body, inherit);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  border-radius: 9999px;
  letter-spacing: 0.03em;
}

.job-ready-tile.tile-passed .tile-value {
  color: #15803D !important;
  font-family: var(--font-body, inherit);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.2;
  margin-top: 0.4rem;
}

.job-ready-tile.tile-passed .tile-target {
  color: #166534 !important;
  opacity: 0.95;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Pending Tile (Warm Soft Amber / High Contrast) */
.job-ready-tile.tile-pending {
  background: #FFFBEB !important;
  border: 1.5px solid #FDE68A !important;
}

.job-ready-tile.tile-pending .tile-title {
  color: #92400E !important;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: -0.01em;
}

.job-ready-tile.tile-pending .tile-badge {
  background: #FEF3C7 !important;
  color: #B45309 !important;
  border: 1px solid #FCD34D !important;
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

.job-ready-tile.tile-pending .tile-value {
  color: #B45309 !important;
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.2;
  margin-top: 0.4rem;
}

.job-ready-tile.tile-pending .tile-target {
  color: #78350F !important;
  opacity: 0.88;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ==========================================================================
   OFFICIAL IVY-LEAGUE DIGITAL CERTIFICATE SYSTEM (LUXURY GUILLOCHE STACK)
   ========================================================================== */

#certificateModal .modal-dialog {
  max-width: 1200px;
  width: 96vw;
  margin: 1rem auto;
}

#certificateModal .modal-content {
  background-color: #0B1120;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  max-height: 96vh;
}

#certificateModal .modal-body {
  overflow-y: auto;
  padding: 1rem 1.25rem 1.25rem !important;
}

/* Hide floating AI mentor prompt and triggers when any modal is open */
body.modal-open .cp-chat-question-popup,
body.modal-open .cp-chat-trigger,
body.modal-open .cp-chat-card {
  display: none !important;
  pointer-events: none !important;
}

/* ==========================================================================
   LUXURY NAVY-WAVE & GOLD CERTIFICATE OF APPRECIATION SPECIFICATION (16:9 RATIO)
   ========================================================================== */

.official-certificate-container {
  background: #FFFFFF;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden !important;
  width: 100%;
  max-width: 1120px;
  aspect-ratio: 16 / 9;
  box-sizing: border-box;
  color: #0F172A;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  margin: 0 auto;
  padding: 1.25rem 2.75rem 2.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 992px) {
  .official-certificate-container {
    padding: 1.35rem 3rem 2.25rem;
  }
}

/* Outer & Inner Framed Borders */
.cert-frame-outer {
  position: absolute !important;
  inset: 10px !important;
  border: 1px solid rgba(199, 152, 72, 0.5) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.cert-frame-inner {
  position: absolute !important;
  inset: 16px !important;
  border: 2px solid #C79848 !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

/* Geometric Luxury Navy & Gold Corner Waves */
.cert-corner-wave {
  position: absolute !important;
  pointer-events: none !important;
  z-index: 1 !important;
  overflow: hidden !important;
}

.cert-wave-tr {
  top: 0 !important;
  right: 0 !important;
  width: 240px !important;
  height: 160px !important;
  max-width: 22% !important;
  max-height: 26% !important;
}

.cert-wave-bl {
  bottom: 0 !important;
  left: 0 !important;
  width: 230px !important;
  height: 150px !important;
  max-width: 22% !important;
  max-height: 25% !important;
}

/* Vintage Filigree Corner Ornaments (Sized strictly to prevent overflow) */
.cert-filigree-corner {
  position: absolute !important;
  width: 50px !important;
  height: 50px !important;
  max-width: 50px !important;
  max-height: 50px !important;
  pointer-events: none !important;
  z-index: 3 !important;
}

.cert-fc-tl { top: 18px !important; left: 18px !important; }
.cert-fc-tr { top: 18px !important; right: 18px !important; transform: scaleX(-1) !important; }
.cert-fc-bl { bottom: 18px !important; left: 18px !important; transform: scaleY(-1) !important; }
.cert-fc-br { bottom: 18px !important; right: 18px !important; transform: scale(-1) !important; }

/* Certificate Main Content Container (Structured 3-Part 16:9 Flex Hierarchy) */
.cert-content {
  position: relative;
  z-index: 4;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cert-header-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Typographic Hierarchy matching Certificate of Appreciation */
.cert-main-title {
  font-family: 'Outfit', 'Cinzel', sans-serif;
  font-size: 2.65rem;
  font-weight: 900;
  color: #0A2240;
  letter-spacing: 5px;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 0.1rem 0;
}

.cert-main-subtitle {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #C5A059;
  letter-spacing: 1.2px;
  line-height: 1.1;
  margin: 0 0 0.15rem 0;
}

.cert-presented-to {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 0.04rem;
}

.cert-recipient-name {
  font-family: 'Great Vibes', cursive, 'Playfair Display', serif;
  font-size: 2.95rem;
  font-weight: 400;
  color: #C5A059;
  text-shadow: 0 1px 2px rgba(197, 160, 89, 0.15);
  line-height: 1.02;
  margin: 0.02rem 0 0.18rem 0;
  letter-spacing: 0.5px;
}

.cert-attestation-body {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #334155;
  max-width: 700px;
  margin: 0 auto 0.22rem;
}

.cert-target-role {
  font-family: 'Cinzel', 'Outfit', serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0A2240;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-block;
  padding: 0.12rem 0.8rem;
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 9999px;
  margin-bottom: 0.25rem;
}

/* Executive 4-Pillar Scorecard */
.cert-scorecard-box {
  background: #FDFBF7;
  border: 1px solid #E6D7BA;
  border-radius: 8px;
  padding: 0.28rem 0.75rem;
  max-width: 820px;
  margin: 0 auto 0.22rem;
  text-align: left;
}

.cert-scorecard-label {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #855B14;
  letter-spacing: 0.8px;
}

.cert-metric-pill {
  background: #FFFFFF;
  border: 1px solid #EAE0CB;
  border-radius: 6px;
  padding: 0.2rem 0.15rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cert-metric-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
  border-color: #D4AF37;
}

.cert-metric-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 1px;
}

.cert-metric-val {
  font-family: var(--font-mono, monospace);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "zero" 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0A2240;
}

.cert-metric-sub {
  font-size: 0.62rem;
  font-weight: 600;
  color: #16A34A;
  font-family: var(--font-mono, monospace);
  font-feature-settings: "zero" 0;
}

.cert-skill-pill {
  display: inline-flex;
  align-items: center;
  background: #FAF5EA;
  border: 1px solid #DBC493;
  color: #694C11;
  font-weight: 600;
  font-size: 0.64rem;
  padding: 0.08rem 0.38rem;
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: transform 0.15s ease;
  line-height: 1.2;
}

.cert-skill-pill:hover {
  transform: translateY(-1px);
}

.cert-competency-status-badge {
  font-family: var(--font-mono, monospace);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "zero" 0;
  font-size: 0.64rem;
  font-weight: 700;
  color: #15803D;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 0.08rem 0.4rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* Footer Row & Signatures */
.cert-footer-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  margin-top: 0.1rem !important;
  margin-bottom: 0.3rem !important;
  padding: 0 0.5rem !important;
  position: relative !important;
  z-index: 5 !important;
  width: 100% !important;
}

.cert-footer-col {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.cert-footer-left {
  text-align: left !important;
}

.cert-footer-center {
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.cert-footer-right {
  text-align: right !important;
}

.cert-footer-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0A2240;
  margin-bottom: 2px;
}

.cert-footer-val {
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
}

.cert-signature-line {
  border-bottom: 1.5px solid #94A3B8;
  padding-bottom: 1px;
  margin: 1px 0 1px;
  display: inline-block;
  min-width: 120px;
}

.cert-signature-svg {
  font-family: 'Great Vibes', cursive, 'Playfair Display', serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.7rem;
  color: #0A2240;
  letter-spacing: 0.5px;
  line-height: 1;
  display: inline-block;
  transform: rotate(-1.5deg);
  transition: transform 0.2s ease;
  user-select: none;
}

.cert-signature-svg:hover {
  transform: rotate(0deg) scale(1.05);
}

.cert-signatory-name {
  font-weight: 700;
  font-size: 0.7rem;
  color: #0F172A;
  margin-top: 1px;
}

.cert-signatory-title {
  font-size: 0.65rem;
  color: #64748B;
  line-height: 1.2;
}

.cert-meta-item {
  font-size: 0.68rem;
  color: #64748B;
  margin-top: 1px;
  font-feature-settings: "zero" 0;
}

/* Center 3D Gold Rosette Medallion with Blue Ribbons */
.cert-rosette-medal-wrapper {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 72px;
  margin: 0 auto;
}

.cert-rosette-medal {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF8E7 0%, #FDE08E 28%, #D4AF37 55%, #AA7C11 80%, #684805 100%);
  box-shadow: 0 4px 12px rgba(10, 34, 64, 0.25), inset 0 2px 4px rgba(255, 255, 255, 0.9), inset 0 -3px 5px rgba(0, 0, 0, 0.45);
  border: 2px solid #FFF8DC;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  cursor: pointer;
}

.cert-rosette-medal:hover {
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 8px 20px rgba(10, 34, 64, 0.32), inset 0 2px 5px rgba(255, 255, 255, 0.95), inset 0 -3px 6px rgba(0, 0, 0, 0.45);
}

.medal-inner-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.medal-inner-ring i {
  font-size: 0.95rem;
  line-height: 1;
  color: #FFFFFF;
}

.medal-inner-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.cert-rosette-ribbon {
  position: absolute;
  top: 36px;
  width: 16px;
  height: 34px;
  z-index: 1;
  background: linear-gradient(180deg, #0A2240 0%, #153A6B 50%, #1E3A8A 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
  border-top: 1px solid #D4AF37;
}

.cert-rosette-ribbon-left {
  left: 20px;
  transform: rotate(15deg);
}

.cert-rosette-ribbon-right {
  right: 20px;
  transform: rotate(-15deg);
}

.cert-qr-frame {
  background: #FFFFFF;
  border: 1.5px solid #DFBE7A;
  border-radius: 5px;
  padding: 2px;
  display: inline-block;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cert-qr-frame:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.cert-qr-img {
  display: block;
  border-radius: 3px;
}

.cert-qr-caption {
  font-size: 0.64rem;
  font-weight: 600;
  color: #475569;
}

.cert-sha-hash {
  font-size: 0.66rem;
  color: #475569;
  letter-spacing: 0.5px;
  font-feature-settings: "zero" 0;
}

/* ==========================================================================
   DARK OBSIDIAN THEME VARIANT FOR DIGITAL CREDENTIAL
   ========================================================================== */

.official-certificate-container.cert-theme-dark {
  background: #0B1120;
  background-image: radial-gradient(circle at 50% 50%, #151E32 0%, #0D1424 60%, #080D18 100%);
  border-color: #D4AF37;
  outline-color: #8C6D23;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8);
  color: #F8FAFC;
}

.official-certificate-container.cert-theme-dark .cert-main-title {
  color: #F8FAFC;
}

.official-certificate-container.cert-theme-dark .cert-main-subtitle {
  color: #FBBF24;
}

.official-certificate-container.cert-theme-dark .cert-presented-to {
  color: #94A3B8;
}

.official-certificate-container.cert-theme-dark .cert-recipient-name {
  color: #FDE68A;
}

.official-certificate-container.cert-theme-dark .cert-attestation-body {
  color: #CBD5E1;
}

.official-certificate-container.cert-theme-dark .cert-target-role {
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.35);
}

.official-certificate-container.cert-theme-dark .cert-scorecard-box {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(212, 175, 55, 0.35);
}

.official-certificate-container.cert-theme-dark .cert-scorecard-label {
  color: #FBBF24;
}

.official-certificate-container.cert-theme-dark #certReadinessScore {
  color: #F8FAFC !important;
}

.official-certificate-container.cert-theme-dark .cert-metric-pill {
  background: #1E293B;
  border-color: rgba(255, 255, 255, 0.1);
}

.official-certificate-container.cert-theme-dark .cert-metric-label {
  color: #94A3B8;
}

.official-certificate-container.cert-theme-dark .cert-metric-val {
  color: #F8FAFC;
}

.official-certificate-container.cert-theme-dark .cert-skill-pill {
  background: #1E293B;
  border-color: rgba(212, 175, 55, 0.4);
  color: #FCD34D;
}

.official-certificate-container.cert-theme-dark .cert-footer-label {
  color: #FBBF24;
}

.official-certificate-container.cert-theme-dark .cert-footer-val {
  color: #F8FAFC;
}

.official-certificate-container.cert-theme-dark .cert-signature-line {
  border-bottom-color: rgba(212, 175, 55, 0.45);
}

.official-certificate-container.cert-theme-dark .cert-signatory-name {
  color: #F8FAFC;
}

.official-certificate-container.cert-theme-dark .cert-signature-svg {
  color: #FDE68A;
}

.official-certificate-container.cert-theme-dark .cert-qr-frame {
  background: #FFFFFF;
  border-color: #D4AF37;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.official-certificate-container.cert-theme-dark .cert-competency-status-badge {
  color: #4ADE80;
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(74, 222, 128, 0.45);
}

.official-certificate-container.cert-theme-dark .cert-meta-item strong {
  color: #F8FAFC;
}

.official-certificate-container.cert-theme-dark .cert-sha-hash {
  color: #94A3B8;
}

/* Responsive Scaling for Mobile Screens */
@media (max-width: 768px) {
  .official-certificate-container {
    aspect-ratio: auto !important;
    min-height: auto !important;
    padding: 1.25rem 1rem 1rem;
  }
  .cert-main-title {
    font-size: 2.2rem;
    letter-spacing: 3px;
  }
  .cert-main-subtitle {
    font-size: 1.5rem;
  }
  .cert-recipient-name {
    font-size: 2.6rem;
  }
  .cert-wave-tr, .cert-wave-bl {
    width: 200px;
    height: 150px;
  }
  .cert-filigree-corner {
    width: 44px;
    height: 44px;
  }
  .cert-footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }
  .cert-footer-left, .cert-footer-right {
    text-align: center;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .official-certificate-container {
    aspect-ratio: 16 / 9 !important;
  }
}

/* ==========================================================================
   LANDSCAPE PRINT STYLESHEET (@media print)
   ========================================================================== */

@media print {
  @page {
    size: landscape;
    margin: 0;
  }

  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    box-sizing: border-box !important;
  }

  html, body {
    background: #FAF8F5 !important;
    color: #0A2240 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body.cert-theme-dark,
  html.cert-theme-dark {
    background: #0A0F1D !important;
  }

  /* Completely eliminate all non-certificate DOM elements from print output */
  body > *:not(.modal):not(.verify-page),
  nav,
  .cp-navbar,
  .cp-navbar-notch,
  main,
  .dashboard-shell,
  footer,
  .atlas-footer,
  .verify-nav,
  .verify-hero,
  .verify-alert-bar,
  .verify-meta-card,
  .verify-footer,
  .verify-action-bar,
  .modal-backdrop,
  .sidebar-atlas,
  .topbar-atlas,
  #manageSkillsModal,
  #mockInterviewModal,
  #resumeViewerModal,
  #certificateModal .modal-header,
  #certificateModal .modal-footer,
  .btn,
  button,
  .btn-close,
  .toast-container,
  #chatWidgetContainer,
  .chat-toggle-btn {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }

  /* Reset Bootstrap modal to a clean, full-viewport print container */
  #certificateModal {
    position: static !important;
    inset: auto !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    background: transparent !important;
    overflow: hidden !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
  }

  #certificateModal .modal-dialog,
  #certificateModal .modal-content,
  #certificateModal .modal-body {
    position: static !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
    transform: none !important;
  }

  .verify-card-cert {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Strict single-page landscape certificate formatting (16:9) */
  .official-certificate-container {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 !important;
    padding: 1.6rem 3.25rem 1.35rem !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    page-break-inside: avoid !important;
    page-break-after: avoid !important;
    page-break-before: avoid !important;
    break-inside: avoid !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}




/* ==========================================================================
   DheePath — Student-Portal AI Career Mentor (chat.css)
   Enterprise Student Portal Aesthetics · Indigo, Violet & Emerald Accents
   Features: Code Cards, Step Badges, Section Tags, Pro-Tips & Action Pills
   DheePath Technologies Inc.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Floating Trigger Button (Interactive Eye-Tracking Mentor CTA)
   -------------------------------------------------------------------------- */
.cp-chat-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  width: auto;
  height: 50px;
  padding: 0 1.25rem;
  background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  box-shadow: 0 8px 24px -4px rgba(79, 70, 229, 0.42), 0 0 0 1px rgba(79, 70, 229, 0.15);
  cursor: pointer;
  user-select: none;
  outline: none;
  overflow: visible;
  white-space: nowrap !important;
  color: #FFFFFF;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, background 0.22s ease;
}

.cp-chat-trigger:hover {
  background: linear-gradient(135deg, #4338CA 0%, #3730A3 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px -4px rgba(79, 70, 229, 0.55), 0 0 0 2px rgba(99, 102, 241, 0.3);
}

.cp-chat-trigger:active {
  transform: translateY(0) scale(0.98);
}

.trigger-icon {
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trigger-label {
  font-family: var(--font-heading, system-ui, -apple-system, sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-left: 0.5rem;
  letter-spacing: -0.01em;
}

.trigger-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  margin-left: 0.5rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  display: inline-block;
  box-shadow: 0 0 6px #34D399;
}

/* --------------------------------------------------------------------------
   2. Floating Prompt Nudge Popup
   -------------------------------------------------------------------------- */
.cp-chat-question-popup {
  position: fixed;
  bottom: 86px;
  right: 24px;
  z-index: 9998;
  width: 330px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.05);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.landing-page .cp-chat-question-popup,
.recommendations-page .cp-chat-question-popup,
.assessment-page .cp-chat-question-popup,
body:has(.quiz-page-container) .cp-chat-question-popup,
body.modal-open .cp-chat-question-popup,
body.modal-open .cp-chat-trigger {
  display: none !important;
}

.cp-chat-question-popup.dismissed {
  opacity: 0;
  transform: scale(0.92) translateY(12px);
  pointer-events: none;
}

.cp-chat-question-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 0.5rem;
}

.cp-chat-question-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #4F46E5;
  font-family: var(--font-heading, system-ui, sans-serif);
}

.cp-chat-question-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: #1E293B;
  margin: 0;
}

.cp-chat-question-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cp-question-item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}

.cp-question-item-btn:hover {
  background: #EEF2FF;
  border-color: #C7D2FE;
  color: #4338CA;
  transform: translateX(2px);
}

.cp-question-item-btn .q-arrow {
  color: #4F46E5;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.cp-question-close {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.cp-question-close:hover {
  color: #EF4444;
}

/* --------------------------------------------------------------------------
   3. Chat Drawer Container (Student Portal Glassmorphic Window)
   -------------------------------------------------------------------------- */
.cp-chat-drawer {
  position: fixed;
  bottom: 86px;
  right: 24px;
  z-index: 1050;
  width: 420px;
  max-width: calc(100vw - 32px);
  height: 600px;
  max-height: calc(100vh - 105px);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1), transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.26s, width 0.2s ease, height 0.2s ease;
}

.cp-chat-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.cp-chat-drawer.expanded {
  width: 520px;
  max-width: calc(100vw - 32px);
  height: 740px;
  max-height: calc(100vh - 100px);
}

/* --------------------------------------------------------------------------
   4. Chat Header & Academic Telemetry
   -------------------------------------------------------------------------- */
.cp-chat-header {
  padding: 0.85rem 1.15rem;
  background: linear-gradient(to right, #FFFFFF 0%, #F8FAFC 100%);
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cp-chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.cp-chat-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  border: 1px solid #C7D2FE;
  color: #4F46E5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15);
}

.cp-avatar-status {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #FFFFFF;
}

.cp-chat-header-text {
  min-width: 0;
}

.cp-chat-title {
  font-family: var(--font-heading, system-ui, sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cp-verified-icon {
  color: #4F46E5;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.cp-chat-subtitle {
  font-size: 0.73rem;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  box-shadow: 0 0 6px #10B981;
  flex-shrink: 0;
}

.cp-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.cp-chat-btn-icon {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #64748B;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  font-size: 0.85rem;
}

.cp-chat-btn-icon:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #CBD5E1;
}

/* --------------------------------------------------------------------------
   5. Topic Quick Ribbon (Roadmap, Skills, Resume, Interviews, Projects)
   -------------------------------------------------------------------------- */
.cp-chat-topic-ribbon {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.cp-chat-topic-ribbon::-webkit-scrollbar {
  display: none;
}

.cp-topic-pill {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.cp-topic-pill:hover {
  background: #EEF2FF;
  border-color: #C7D2FE;
  color: #4338CA;
}

.cp-topic-pill.active {
  background: #4F46E5;
  border-color: #4F46E5;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
}

.cp-topic-pill.active i {
  color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   6. Messages Area & Message Bubbles
   -------------------------------------------------------------------------- */
.cp-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: #F8FAFC;
}

.cp-chat-messages::-webkit-scrollbar {
  width: 5px;
}

.cp-chat-messages::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.cp-chat-row {
  display: flex;
  flex-direction: column;
  max-width: 92%;
  animation: cpFadeInUp 0.22s ease-out;
}

@keyframes cpFadeInUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.cp-chat-row.user {
  align-self: flex-end;
  max-width: 85%;
}

.cp-chat-row.ai {
  align-self: flex-start;
}

/* Message Meta Header */
.cp-msg-meta-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.cp-msg-meta-header.user-header {
  justify-content: flex-end;
}

.cp-meta-avatar {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #EEF2FF;
  color: #4F46E5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}

.cp-meta-avatar.user-avatar {
  background: #E2E8F0;
  color: #334155;
}

.cp-meta-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
}

.cp-meta-badge {
  font-size: 0.65rem;
  font-weight: 600;
  background: #EEF2FF;
  color: #4338CA;
  border: 1px solid #E0E7FF;
  border-radius: 999px;
  padding: 0.08rem 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Chat Bubbles */
.cp-chat-bubble {
  padding: 0.85rem 1.05rem;
  font-size: 0.88rem;
  line-height: 1.6;
  border-radius: 16px;
  word-break: break-word;
}

.cp-chat-row.user .cp-chat-bubble {
  background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.22);
}

.cp-chat-row.ai .cp-chat-bubble {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #1E293B;
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.cp-chat-row.ai .cp-chat-bubble p {
  margin-bottom: 0.6rem;
}

.cp-chat-row.ai .cp-chat-bubble p:last-child {
  margin-bottom: 0;
}

/* Message Footer */
.cp-msg-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.35rem;
  padding: 0 0.25rem;
}

.cp-chat-time {
  font-size: 0.68rem;
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
}

.cp-msg-copy-btn {
  background: transparent;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 0.18rem 0.48rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.15s ease;
}

.cp-msg-copy-btn:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  color: #0F172A;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* --------------------------------------------------------------------------
   7. Student Portal Output Formatting Components
   -------------------------------------------------------------------------- */

/* Section Tag Banners */
.cp-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  margin: 0.65rem 0 0.45rem 0;
  letter-spacing: -0.01em;
}

.cp-section-tag.takeaway {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
}

.cp-section-tag.action-plan {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #15803D;
}

.cp-section-tag.tech-stack {
  background: #FAF5FF;
  border: 1px solid #E9D5FF;
  color: #7E22CE;
}

.cp-section-tag.portal-action {
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  color: #C2410C;
}

.cp-section-tag.pro-tip {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #B45309;
}

/* Pro-Tip Callout Card */
.cp-portal-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: linear-gradient(to right, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid #FDE68A;
  border-left: 4px solid #F59E0B;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  margin: 0.65rem 0;
  font-size: 0.84rem;
  color: #78350F;
  line-height: 1.5;
}

.cp-callout-icon {
  color: #D97706;
  font-size: 1.05rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.cp-callout-body strong {
  color: #92400E;
}

/* Numbered Step Rows */
.cp-step-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.45rem 0;
  font-size: 0.86rem;
}

.cp-step-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #4F46E5;
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.cp-step-content {
  flex: 1;
}

/* Portal Action Buttons (Internal Page Navigation) */
.cp-portal-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #4F46E5;
  color: #FFFFFF !important;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  text-decoration: none !important;
  margin: 0.25rem 0.25rem 0.25rem 0;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
  transition: all 0.18s ease;
}

.cp-portal-action-pill:hover {
  background: #4338CA;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.cp-portal-link {
  color: #4F46E5;
  font-weight: 600;
  text-decoration: underline;
}

.cp-highlight-text {
  color: #0F172A;
  font-weight: 700;
}

.cp-inline-chip {
  background: #EEF2FF;
  color: #4338CA;
  font-family: var(--font-mono, monospace);
  font-size: 0.82em;
  padding: 0.12rem 0.4rem;
  border-radius: 5px;
  border: 1px solid #E0E7FF;
}

/* Bullet Lists */
.cp-bullet-list {
  padding-left: 1.25rem;
  margin: 0.4rem 0;
}

.cp-bullet-list li {
  margin-bottom: 0.3rem;
  font-size: 0.86rem;
}

/* Code Block Cards */
.cp-code-block-card {
  margin: 0.65rem 0;
  background: #0F172A;
  border: 1px solid #1E293B;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cp-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.85rem;
  background: #1E293B;
  border-bottom: 1px solid #334155;
  color: #94A3B8;
  font-size: 0.76rem;
  font-family: var(--font-mono, monospace);
}

.cp-code-copy-btn {
  background: transparent;
  border: none;
  color: #38BDF8;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
}

.cp-code-copy-btn:hover {
  color: #7DD3FC;
}

.cp-code-pre {
  margin: 0;
  padding: 0.75rem 0.85rem;
  overflow-x: auto;
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  line-height: 1.5;
  color: #F8FAFC;
}

/* Welcome Card Features */
.cp-welcome-features {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.5rem 0;
}

.cp-welcome-item {
  font-size: 0.83rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #334155;
}

/* Follow-up Question Chips */
.cp-followup-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  padding-left: 0.2rem;
}

.cp-followup-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.cp-followup-pill {
  background: #FFFFFF;
  border: 1px solid #C7D2FE;
  border-radius: 999px;
  color: #4338CA;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  cursor: pointer;
  transition: all 0.16s ease;
  box-shadow: 0 1px 3px rgba(79, 70, 229, 0.06);
}

.cp-followup-pill:hover {
  background: #EEF2FF;
  border-color: #818CF8;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   8. Suggested Prompts Drawer
   -------------------------------------------------------------------------- */
.cp-chat-suggestions {
  padding: 0.65rem 1rem 0.5rem 1rem;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cp-suggestions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cp-chat-suggestions-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.cp-suggestions-chips {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cp-chat-chip {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #334155;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  font-size: 0.81rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.16s ease;
}

.cp-chat-chip:hover {
  background: #EEF2FF;
  border-color: #C7D2FE;
  color: #4338CA;
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   9. Typing Indicator
   -------------------------------------------------------------------------- */
.cp-chat-typing {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  border-bottom-left-radius: 2px;
  width: fit-content;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.cp-chat-typing-dot {
  width: 7px;
  height: 7px;
  background: #4F46E5;
  border-radius: 50%;
  animation: cpTypingBounce 1.4s infinite ease-in-out both;
}

.cp-chat-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.cp-chat-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes cpTypingBounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.35; }
  40% { transform: scale(1); opacity: 1; }
}

/* --------------------------------------------------------------------------
   10. Chat Input Footer & Controls
   -------------------------------------------------------------------------- */
.cp-chat-footer {
  padding: 0.75rem 1rem 0.85rem 1rem;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
}

.cp-chat-form {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.cp-prompts-toggle-btn {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #4F46E5;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.05rem;
  transition: all 0.16s ease;
  flex-shrink: 0;
}

.cp-prompts-toggle-btn:hover {
  background: #EEF2FF;
  border-color: #C7D2FE;
  color: #4338CA;
}

.cp-chat-input {
  flex: 1;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  color: #0F172A;
  padding: 0.65rem 0.95rem;
  font-size: 0.88rem;
  outline: none;
  transition: all 0.18s ease;
}

.cp-chat-input:focus {
  background: #FFFFFF;
  border-color: #4F46E5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
}

.cp-chat-input::placeholder {
  color: #94A3B8;
  font-size: 0.84rem;
}

.cp-chat-send-btn {
  background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.18s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.28);
}

.cp-chat-send-btn:hover {
  background: linear-gradient(135deg, #4338CA 0%, #3730A3 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.38);
}

.cp-chat-footer-telemetry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.4rem;
  padding: 0 0.2rem;
  font-size: 0.8125rem;
  color: #64748B;
}

/* --------------------------------------------------------------------------
   11. Mobile Responsiveness (< 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .cp-chat-question-popup {
    display: none !important;
  }

  .cp-chat-drawer {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 85vh;
    max-height: 85vh;
    border-radius: 22px 22px 0 0;
    border-bottom: none;
  }

  .cp-chat-drawer.expanded {
    width: 100%;
    height: 94vh;
    max-height: 94vh;
  }

  .cp-chat-trigger {
    bottom: 16px !important;
    right: 16px !important;
    min-width: 50px !important;
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  .cp-chat-trigger .trigger-label,
  .cp-chat-trigger .trigger-badge {
    display: none !important;
  }
}


/* ==========================================================================
   DheePath — EduTech Radial Button (radial-glow-button.css)
   Clean Indigo & Blue Primary CTA Micro-interaction
   ========================================================================== */

.rg-button-wrapper {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}

.rg-button,
a.rg-button {
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-width: 175px;
  min-height: 48px;
  padding: 0.8rem 1.8rem;
  border: 1px solid var(--color-indigo-600);
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF !important;
  background: var(--gradient-primary);
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
  overflow: hidden;
  user-select: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.rg-button:hover,
a.rg-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #4338CA 0%, #1D4ED8 100%);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.rg-button:active,
a.rg-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.rg-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}


/* ==========================================================================
   DheePath — EduTech Dynamic Navbar (notch-navbar.css)
   Ultra-Premium Floating Glass Island · High-End Design · Responsive
   ========================================================================== */

:root {
  --notch-nav-height: 62px;
  --notch-nav-clearance: calc(var(--notch-nav-height) + 2.75rem); /* ~106px clearance */
}

@media (max-width: 767.98px) {
  :root {
    --notch-nav-height: 58px;
    --notch-nav-clearance: calc(var(--notch-nav-height) + 1.75rem); /* ~86px */
  }
}

/* Page clearance beneath fixed navbar — ensures headers are always 100% visible */
body.dashboard-page main,
body.recommendations-page main,
body.roadmap-page main,
body.auth-page main,
.dashboard-page main,
.quiz-page-container,
main.container {
  padding-top: var(--notch-nav-clearance) !important;
}

/* Assessment Page Specialized Header Styling:
   Prevents content from scrolling above or behind floating island.
   Provides a clean full-width frosted bar at top: 0 with crisp border-bottom */
body.assessment-page .cp-navbar-notch {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1040 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
  padding: 8px 0 !important;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05) !important;
  pointer-events: auto !important;
}

body.assessment-page main,
body.assessment-page .assessment-layout {
  padding-top: 82px !important;
  padding-bottom: 5.5rem !important;
}

/* --------------------------------------------------------------------------
   1. Master Floating Header Container
   -------------------------------------------------------------------------- */
.cp-navbar-notch {
  position: fixed;
  top: 10px;
  left: 0;
  right: 0;
  z-index: 1040;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cp-navbar-notch .container,
.cp-navbar-notch .container-fluid,
.cp-navbar-notch > .container,
.cp-navbar-notch > .container-fluid {
  pointer-events: auto;
  padding: 0 12px !important;
  display: flex !important;
  justify-content: center !important;
  max-width: 1440px !important;
  width: 98% !important;
}

/* --------------------------------------------------------------------------
   2. Floating Central Island (High-End Frosted Glass Capsule)
   -------------------------------------------------------------------------- */
.notch-nav-island {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  max-width: 1380px;
  min-height: 56px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 9999px;
  padding: 0.35rem 0.85rem 0.35rem 1.15rem;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.07), 0 4px 12px -2px rgba(15, 23, 42, 0.03), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0 auto;
  box-sizing: border-box;
  overflow: visible;
}

/* Responsive Condensed Link Labels */
.nav-text-short {
  display: none;
}
.nav-text-full {
  display: inline;
}
@media (max-width: 1400px) {
  .nav-text-full {
    display: none !important;
  }
  .nav-text-short {
    display: inline !important;
  }
}

@media (max-width: 768px) {
  .notch-nav-island {
    width: 96%;
    max-width: 96vw;
    padding: 0.45rem 1rem;
    border-radius: 20px;
  }
}

/* Shimmer Top Accent */
.notch-nav-island::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5) 50%, transparent);
  pointer-events: none;
  border-radius: 9999px;
}

/* --------------------------------------------------------------------------
   3. Brand Logo (Heroic, Sharp & Clean)
   -------------------------------------------------------------------------- */
.notch-nav-island .navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-primary) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.notch-nav-island .navbar-brand:hover {
  text-decoration: none;
}

.notch-nav-island .brand-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  background: #0A0D1B;
  border: 1.5px solid rgba(59, 130, 246, 0.4);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  box-shadow: 0 3px 12px rgba(59, 130, 246, 0.22), 0 2px 6px rgba(79, 70, 229, 0.15);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.notch-nav-island .navbar-brand:hover .brand-icon {
  transform: translateY(-1px) scale(1.05);
  border-color: rgba(0, 242, 254, 0.85);
  box-shadow: 0 6px 18px rgba(0, 242, 254, 0.35);
}

.notch-nav-island .brand-icon img,
.notch-nav-island .brand-logo-img,
.brand-icon img {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px;
  min-height: 32px;
  display: block;
  border-radius: 7px;
  object-fit: contain;
}

.notch-nav-island .brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0F172A !important;
  line-height: 1.15;
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  white-space: nowrap;
}

.notch-nav-island .brand-accent {
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.notch-nav-island .brand-tagline-sub {
  font-family: var(--font-body) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 2px 9px !important;
  background: #EEF2FF !important;
  border: 1px solid #C7D2FE !important;
  border-radius: 9999px !important;
  color: #4338CA !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  display: none !important;
  align-items: center !important;
  gap: 5px !important;
  white-space: nowrap;
}

@media (min-width: 1360px) {
  .notch-nav-island .brand-tagline-sub {
    display: inline-flex !important;
  }
}

.pulse-dot-indigo {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6366F1;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5);
  animation: pulseIndigoDot 2s infinite;
}

@keyframes pulseIndigoDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(99, 102, 241, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

/* --------------------------------------------------------------------------
   4. Desktop Center Links (Unified Icon Stying, Zero Clown Colors)
   -------------------------------------------------------------------------- */
.notch-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.notch-nav-links li {
  flex-shrink: 0;
}

.notch-nav-link,
.notch-link {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  color: #475569 !important;
  text-decoration: none !important;
  padding: 0.42rem 0.72rem;
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.notch-nav-link i,
.notch-link i {
  font-size: 0.95rem;
  color: #64748B;
  transition: all 0.2s ease;
  display: inline-block;
}

.notch-nav-link:hover,
.notch-link:hover {
  color: #0F172A !important;
  background: #F1F5F9;
  text-decoration: none !important;
}

.notch-nav-link:hover i,
.notch-link:hover i {
  color: #4F46E5 !important;
  transform: translateY(-1px);
}

/* Active Route: High-aesthetic soft indigo pill with matching indigo icon */
.notch-nav-link.active,
.notch-nav-link[aria-current="page"],
.notch-link.active,
.notch-link[aria-current="page"] {
  color: #4338CA !important;
  background: #EEF2FF !important;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.08);
}

.notch-nav-link.active i,
.notch-link.active i {
  color: #4338CA !important;
}

/* --------------------------------------------------------------------------
   5. Mobile Menu Toggle & Dropdown Collapse
   -------------------------------------------------------------------------- */
.notch-mobile-toggle {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #0F172A;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.notch-mobile-toggle:hover {
  background: #EEF2FF;
  border-color: #C7D2FE;
  color: #4F46E5;
}

.notch-mobile-collapse {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.12);
  padding: 1.15rem 1.35rem;
}

.notch-mobile-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.notch-mobile-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.notch-mobile-links a:hover,
.notch-mobile-links a.active {
  background: #EEF2FF;
  color: #4338CA;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   6. Executive Profile & Auth Actions (Sleek Avatar Capsule + Sign Out)
   -------------------------------------------------------------------------- */
#authNavActions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-profile-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Modern Role Chips */
.nav-role-chip {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.nav-role-chip-demo {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.nav-role-chip-student {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}
.nav-role-chip-student:hover {
  background: #D1FAE5;
  border-color: #6EE7B7;
  color: #065F46;
}

.nav-role-chip-recruiter {
  background: #F0FDF4;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

.nav-role-chip-verified {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.nav-role-chip-unverified {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}
.nav-role-chip-unverified:hover {
  background: #FEF3C7;
  border-color: #FCD34D;
}

.nav-home-chip {
  background: #F8FAFC;
  color: #334155;
  border: 1px solid #CBD5E1;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-home-chip:hover {
  background: #EEF2FF;
  color: #4338CA;
  border-color: #A5B4FC;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

/* Modern User Capsule with Gradient Initials Avatar */
.nav-user-pill,
.nav-user-capsule {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 9999px !important;
  padding: 3px 11px 3px 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 175px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-user-pill:hover,
.nav-user-capsule:hover {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.nav-avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.nav-user-name,
.nav-user-capsule span {
  color: #0F172A !important;
  font-family: var(--font-body);
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

/* Recruiter variant */
.nav-user-pill-recruiter .nav-avatar-circle {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
}

/* Modern Circular Sign-Out Icon Button (Subtle Neutral -> Soft Rose Hover) */
.nav-btn-logout,
#logoutBtn {
  width: 32px;
  height: 32px;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #64748B !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.88rem !important;
  padding: 0 !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  flex-shrink: 0;
}

.nav-btn-logout:hover,
#logoutBtn:hover {
  background: #FEF2F2 !important;
  border-color: #FECDD3 !important;
  color: #E11D48 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.14);
}

/* --------------------------------------------------------------------------
   7. Responsive Scaling for Laptops & 1024px Viewports
   -------------------------------------------------------------------------- */
@media (max-width: 1360px) {
  .notch-nav-island {
    padding: 0.32rem 0.75rem 0.32rem 0.95rem;
    gap: 0.35rem;
  }
  .notch-nav-links {
    gap: 0.2rem;
  }
  .notch-nav-link,
  .notch-link {
    font-size: 0.82rem;
    padding: 0.32rem 0.55rem;
    gap: 0.25rem;
  }
  .notch-nav-island .brand-name {
    font-size: 1.25rem;
  }
}

@media (max-width: 1260px) {
  .notch-nav-island {
    padding: 0.3rem 0.65rem 0.3rem 0.85rem;
    gap: 0.28rem;
  }
  .notch-nav-links {
    gap: 0.12rem;
  }
  .notch-nav-link,
  .notch-link {
    font-size: 0.8rem;
    padding: 0.3rem 0.45rem;
    gap: 0.22rem;
  }
  .notch-nav-island .brand-name {
    font-size: 1.2rem;
  }
  /* In profile group: convert pill to avatar circle only to save 100px */
  .nav-user-name,
  .nav-user-capsule span:not(.nav-avatar-circle) {
    display: none !important;
  }
  .nav-user-pill,
  .nav-user-capsule {
    padding: 3px !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    justify-content: center !important;
  }
  .nav-avatar-circle {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.72rem !important;
  }
}

@media (max-width: 1080px) {
  .notch-nav-island {
    padding: 0.25rem 0.55rem 0.25rem 0.75rem;
    gap: 0.22rem;
  }
  .notch-nav-island .brand-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }
  .notch-nav-island .brand-icon img,
  .notch-nav-island .brand-logo-img {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
  }
  .notch-nav-island .brand-name {
    font-size: 1.15rem;
  }
  .notch-nav-links {
    gap: 0.08rem;
  }
  .notch-nav-link,
  .notch-link {
    font-size: 0.76rem;
    padding: 0.26rem 0.38rem;
    gap: 0.18rem;
  }
  .notch-nav-link i,
  .notch-link i {
    font-size: 0.84rem;
  }
  .nav-role-chip {
    font-size: 0.68rem;
    padding: 2px 7px;
  }
  .nav-btn-logout,
  #logoutBtn {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.82rem !important;
  }
}

/* --------------------------------------------------------------------------
   8. Mobile Viewport Adaptations (< 576px & < 380px)
   -------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
  .cp-navbar-notch {
    top: 6px;
  }
  .cp-navbar-notch .container,
  .cp-navbar-notch .container-fluid,
  .cp-navbar-notch > .container,
  .cp-navbar-notch > .container-fluid {
    padding: 0 6px !important;
    width: 100% !important;
  }
  .notch-nav-island {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px;
    padding: 0.3rem 0.65rem !important;
    gap: 0.35rem !important;
    border-radius: 16px;
  }
  .notch-nav-island .navbar-brand {
    gap: 0.45rem !important;
  }
  .notch-nav-island .brand-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 8px !important;
  }
  .notch-nav-island .brand-icon img,
  .notch-nav-island .brand-logo-img,
  .brand-icon img {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
  }
  .notch-nav-island .brand-name {
    font-size: clamp(1rem, 4.2vw, 1.2rem) !important;
    letter-spacing: -0.02em !important;
  }
  #authNavActions .nav-role-chip,
  #btnRecruiterLogout {
    display: none !important;
  }
  #authNavActions .btn {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.75rem !important;
  }
  .nav-btn-logout,
  #logoutBtn {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.78rem !important;
  }
  .notch-mobile-toggle {
    width: 34px !important;
    height: 34px !important;
  }
  .notch-mobile-collapse {
    padding: 0.85rem 1rem !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 380px) {
  .notch-nav-island {
    padding: 0.25rem 0.5rem !important;
    gap: 0.25rem !important;
  }
  .notch-nav-island .brand-name {
    font-size: 0.95rem !important;
  }
  .notch-nav-island .brand-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
  }
  .notch-nav-island .brand-icon img,
  .notch-nav-island .brand-logo-img,
  .brand-icon img {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
  }
  .notch-mobile-toggle {
    width: 30px !important;
    height: 30px !important;
  }
}



/* ==========================================================================
   DheePath — 21st.dev Animated Icons System (animated-icons.css)
   Micro-animations · State Transitions · Spring Physics · Ambient Glow
   DheePath · Enterprise Edition
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Master Icon Interactive Micro-Animations (Hover & Continuous)
   -------------------------------------------------------------------------- */
.bi,
[class^="bi-"],
[class*=" bi-"] {
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 0.3s ease,
              color 0.25s ease;
  will-change: transform;
}

/* Global button/interactive icon hover bounce (clean, crisp, no fuzzy drop-shadow artifacts) */
.btn:not(:disabled):not(.disabled):hover > .bi,
.btn:not(:disabled):not(.disabled):hover > [class^="bi-"],
.btn:not(:disabled):not(.disabled):hover > [class*=" bi-"],
.cp-btn:not(:disabled):hover > .bi,
.notch-nav-link:hover .bi {
  transform: scale(1.12);
}

/* Ensure disabled buttons and static cards never distort child icons */
.btn:disabled .bi,
.btn.disabled .bi,
.cp-btn:disabled .bi,
.cp-btn-locked .bi,
.btn-locked-route .bi {
  transform: none !important;
  filter: none !important;
  animation: none !important;
}

/* --------------------------------------------------------------------------
   2. Dedicated Animated Icon Micro-Motions (21st.dev Style)
   -------------------------------------------------------------------------- */

/* 🧭 Brand Logo & Compass (Fast Small-to-Big Pop + Dynamic Magnetic Wobble) */
.brand-icon,
.brand-compass {
  animation: logo-small-to-big 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform-origin: center center;
  will-change: transform;
}

@keyframes logo-small-to-big {
  0% {
    opacity: 0;
    transform: scale(0.2) rotate(-20deg);
  }
  65% {
    opacity: 1;
    transform: scale(1.18) rotate(6deg);
  }
  85% {
    transform: scale(0.95) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.brand-icon i,
.bi-compass-fill,
.bi-compass,
.anim-compass {
  animation: anim-compass-spin 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transform-origin: center center;
  display: inline-block;
}

@keyframes anim-compass-spin {
  0%   { transform: rotate(0deg) scale(1); filter: drop-shadow(0 0 6px rgba(0, 242, 254, 0.4)); }
  25%  { transform: rotate(38deg) scale(1.12); filter: drop-shadow(0 0 14px rgba(0, 242, 254, 0.75)); }
  45%  { transform: rotate(15deg) scale(1.03); }
  70%  { transform: rotate(-30deg) scale(1.1); filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.65)); }
  85%  { transform: rotate(-8deg) scale(1.02); }
  100% { transform: rotate(0deg) scale(1); filter: drop-shadow(0 0 6px rgba(0, 242, 254, 0.4)); }
}

.brand-icon:hover,
.navbar-brand:hover .brand-icon {
  transform: scale(1.15) !important;
  box-shadow: 0 0 24px rgba(0, 242, 254, 0.6) !important;
}

.brand-icon:hover i,
.navbar-brand:hover .brand-icon i {
  animation: anim-compass-hyper 0.8s ease-in-out infinite alternate !important;
}

@keyframes anim-compass-hyper {
  0%   { transform: rotate(-55deg) scale(1.22); filter: drop-shadow(0 0 18px #00F2FE); }
  100% { transform: rotate(55deg) scale(1.3); filter: drop-shadow(0 0 28px #38BDF8); }
}

/* ⚡ Lightning / Spark Pulse (Clean Amber subtle pulse without cyan drop-shadow boxes) */
.anim-lightning {
  animation: anim-lightning-flicker 3.2s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes anim-lightning-flicker {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15) translateY(-1px); }
  60%      { transform: scale(1.18) rotate(-4deg); }
}

/* 🚀 Rocket Launch Float */
.bi-rocket-takeoff-fill,
.bi-rocket-takeoff,
.bi-rocket,
.anim-rocket {
  animation: anim-rocket-float 3.5s ease-in-out infinite;
  transform-origin: bottom left;
}

@keyframes anim-rocket-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); filter: drop-shadow(0 0 4px rgba(0, 242, 254, 0.3)); }
  50%      { transform: translate(3px, -4px) rotate(4deg); filter: drop-shadow(0 4px 12px rgba(0, 242, 254, 0.7)); }
}

/* ⏱️ Speedometer Sweep */
.bi-speedometer2,
.bi-speedometer,
.anim-speedometer {
  animation: anim-speedometer-sweep 4.5s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes anim-speedometer-sweep {
  0%, 100% { transform: rotate(0deg); filter: drop-shadow(0 0 4px rgba(0, 242, 254, 0.3)); }
  30%      { transform: rotate(18deg) scale(1.1); filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.65)); }
  60%      { transform: rotate(-10deg) scale(1.05); }
}

/* ✨ Stars & Sparks Twinkle */
.bi-stars,
.bi-star-fill,
.bi-magic,
.anim-sparkle {
  animation: anim-stars-twinkle 3s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes anim-stars-twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.85; filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.3)); }
  50%      { transform: scale(1.22) rotate(180deg); opacity: 1; filter: drop-shadow(0 0 16px #FBBF24); }
}

/* 🔥 Flame / Fire Ember Pulse */
.bi-fire,
.anim-flame {
  animation: anim-fire-pulse 2.2s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes anim-fire-pulse {
  0%, 100% { transform: scale(1) skewX(0deg); filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.4)); }
  25%      { transform: scale(1.15, 1.22) skewX(-4deg); filter: drop-shadow(0 0 14px #EF4444); }
  75%      { transform: scale(1.1, 1.18) skewX(4deg); filter: drop-shadow(0 0 12px #F97316); }
}

/* 🧠 CPU & Neural Graph Synapse Pulse */
.bi-cpu-fill,
.bi-cpu,
.bi-diagram-3,
.bi-diagram-3-fill,
.anim-cpu {
  animation: anim-cpu-pulse 4s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes anim-cpu-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.3)); }
  50%      { transform: scale(1.12); filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.7)); }
}

/* 🗺️ Roadmap & Map Waypoint Shimmer */
.bi-map,
.bi-map-fill,
.anim-map {
  animation: anim-map-wobble 5s ease-in-out infinite;
}

@keyframes anim-map-wobble {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px) scale(1.05); filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.5)); }
}

/* ✅ Success Checkmark Pop */
.bi-check2-circle,
.bi-check-circle-fill,
.bi-patch-check-fill,
.anim-check {
  animation: anim-check-pop 3.8s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

@keyframes anim-check-pop {
  0%, 80%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.3)); }
  88%           { transform: scale(1.28); filter: drop-shadow(0 0 14px #10B981); }
  94%           { transform: scale(0.95); }
}

/* 🎓 Graduation Cap / Education Bounce */
.bi-mortarboard,
.bi-mortarboard-fill,
.anim-education {
  animation: anim-cap-tilt 4s ease-in-out infinite;
  transform-origin: center 70%;
}

@keyframes anim-cap-tilt {
  0%, 100% { transform: rotate(0deg); }
  35%      { transform: rotate(-8deg) scale(1.08); filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5)); }
  70%      { transform: rotate(6deg) scale(1.04); }
}

/* 🏆 Trophy Glow Shimmer */
.bi-trophy,
.bi-trophy-fill,
.bi-award,
.bi-award-fill,
.anim-trophy {
  animation: anim-trophy-sheen 3.6s ease-in-out infinite;
}

@keyframes anim-trophy-sheen {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(234, 179, 8, 0.4)); }
  50%      { transform: scale(1.15) rotate(5deg); filter: drop-shadow(0 0 18px #EAB308); }
}

/* 🎯 Target / Crosshair Pulse */
.bi-bullseye,
.bi-crosshair,
.anim-target {
  animation: anim-target-pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes anim-target-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(244, 63, 94, 0.3)); }
  50%      { transform: scale(1.18); filter: drop-shadow(0 0 14px #F43F5E); }
}

/* 💻 Code / Brackets Squeeze */
.bi-code-slash,
.bi-terminal,
.bi-terminal-fill,
.anim-code {
  animation: anim-code-squeeze 3.5s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes anim-code-squeeze {
  0%, 100% { transform: scale(1); }
  45%      { transform: scaleX(0.85) scaleY(1.12); filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.6)); }
  55%      { transform: scaleX(1.18) scaleY(0.92); }
}

/* --------------------------------------------------------------------------
   3. Animated Live Morphing SVG Icon Wrapper (21st.dev Spec)
   -------------------------------------------------------------------------- */
.anim-state-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  vertical-align: middle;
}

.anim-state-icon-wrapper svg {
  overflow: visible;
  transition: all 0.3s ease;
}

.anim-state-icon-wrapper:hover svg {
  filter: drop-shadow(0 0 12px #00F2FE);
}


/* ==========================================================================
   typing-character-fx.css — Keystroke Character Pop-up Micro-Animation
   DheePath · Enterprise Edition
   
   High-performance, GPU-accelerated character pop-up animations that trigger
   dynamically above input carets as users type in form fields and search bars.
   ========================================================================== */

.cp-char-popup {
  position: fixed;
  pointer-events: none;
  z-index: 999999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid #C7D2FE;
  color: #4F46E5;
  font-family: var(--font-mono);
  font-feature-settings: "zero" 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-shadow: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(79, 70, 229, 0.15);
  animation: cpCharPopUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  user-select: none;
  transform-origin: center bottom;
  will-change: transform, opacity;
}

/* Color Theme Variations */
.cp-char-popup.color-cyan {
  border-color: #A5F3FC;
  color: #0891B2;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1), 0 1px 3px rgba(6, 182, 212, 0.2);
}

.cp-char-popup.color-purple {
  border-color: #DDD6FE;
  color: #7C3AED;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1), 0 1px 3px rgba(124, 58, 237, 0.2);
}

.cp-char-popup.color-emerald {
  border-color: #A7F3D0;
  color: #059669;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1), 0 1px 3px rgba(16, 185, 129, 0.2);
}

.cp-char-popup.color-amber {
  border-color: #FDE68A;
  color: #D97706;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1), 0 1px 3px rgba(217, 119, 6, 0.2);
}

.cp-char-popup.color-rose {
  border-color: #FECDD3;
  color: #E11D48;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1), 0 1px 3px rgba(225, 29, 72, 0.2);
}

.cp-char-popup.is-password {
  border-color: #DDD6FE;
  color: #7C3AED;
  font-size: 11px;
  min-width: 22px;
  height: 22px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.cp-char-popup.is-backspace {
  border-color: #FECDD3;
  color: #DC2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
  animation: cpCharPopDown 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Keyframe Pop-Up Animations */
@keyframes cpCharPopUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 4px) scale(0.3) rotate(var(--pop-rot, 0deg));
  }
  25% {
    opacity: 1;
    transform: translate(-50%, -16px) scale(1.25) rotate(var(--pop-rot, 0deg));
  }
  65% {
    opacity: 0.95;
    transform: translate(-50%, -28px) scale(1.02) rotate(var(--pop-rot, 0deg));
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -44px) scale(0.65) rotate(var(--pop-rot, 0deg));
  }
}

@keyframes cpCharPopDown {
  0% {
    opacity: 0;
    transform: translate(-50%, -10px) scale(1) rotate(var(--pop-rot, 0deg));
  }
  25% {
    opacity: 1;
    transform: translate(-50%, 0px) scale(1.1) rotate(var(--pop-rot, 0deg));
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 14px) scale(0.5) rotate(var(--pop-rot, 0deg));
  }
}


/* ==========================================================================
   DheePath — Adaptive Skill Reality-Check Micro-Quiz (quiz.css)
   Clean Modern Light Theme · Indigo, Emerald & Amber Accents
   DheePath · Enterprise Edition
   ========================================================================== */

/* ── Container Layout ────────────────────────────────────────── */
.quiz-page-container {
  min-height: calc(100vh - 180px);
  padding-top: var(--notch-nav-clearance, 108px) !important;
  padding-bottom: 4rem;
  background: var(--color-background, #F8FAFC);
}

.quiz-card {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--color-border, #E2E8F0);
  border-radius: 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  transition: all 0.25s ease;
}

/* ── Progress & Stepper ─────────────────────────────────────── */
.quiz-header-bar {
  padding: 1.35rem 3rem;
  background: #FAFAFA;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .quiz-header-bar {
    padding: 1rem 1.25rem;
  }
}

.quiz-stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quiz-step-dot {
  width: 32px;
  height: 6px;
  border-radius: 999px;
  background: #E2E8F0;
  transition: all 0.25s ease;
}

@media (max-width: 575.98px) {
  .quiz-stepper {
    gap: 0.25rem;
  }
  .quiz-step-dot {
    width: 18px;
    height: 5px;
  }
}

.quiz-step-dot.active {
  background: var(--color-indigo-600, #4F46E5);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.quiz-step-dot.completed {
  background: #10B981;
}

/* ── Difficulty Pill ─────────────────────────────────────────── */
.difficulty-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-mono);
  font-feature-settings: "zero" 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.difficulty-pill.easy {
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #166534;
}

.difficulty-pill.medium {
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  color: #92400E;
}

.difficulty-pill.hard {
  background: #EDE9FE;
  border: 1px solid #DDD6FE;
  color: #5B21B6;
}

/* ── Skill Switcher Tabs ────────────────────────────────────── */
.skill-selector-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.skill-select-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.75rem;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  color: #334155;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.skill-select-btn:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
  transform: translateY(-1px);
}

.skill-select-btn.active {
  border-color: var(--color-indigo-600, #4F46E5);
  background: #EEF2FF;
  color: var(--color-indigo-600, #4F46E5);
  box-shadow: 0 0 0 1px var(--color-indigo-600, #4F46E5);
}

.skill-select-btn .badge-pill-verified {
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #10B981;
  color: #FFFFFF;
  font-weight: 600;
}

/* ── Category Filter Pills ───────────────────────────────────── */
.category-filter-bar {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.category-filter-bar::-webkit-scrollbar {
  height: 4px;
}

.category-filter-bar::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.category-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.category-filter-pill:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #1E293B;
}

.category-filter-pill.active {
  background: var(--color-indigo-600, #4F46E5);
  border-color: var(--color-indigo-600, #4F46E5);
  color: #FFFFFF;
  box-shadow: 0 2px 4px rgba(79, 70, 229, 0.25);
}

.category-filter-pill .pill-count {
  font-size: 0.7rem;
  opacity: 0.85;
}

/* ── Scrollable Skill Tray ───────────────────────────────────── */
.skill-selector-tray-container {
  max-height: 250px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 #F8FAFC;
}

.skill-selector-tray-container::-webkit-scrollbar {
  width: 6px;
}

.skill-selector-tray-container::-webkit-scrollbar-track {
  background: #F8FAFC;
}

.skill-selector-tray-container::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.skill-select-btn {
  padding: 0.55rem 0.95rem;
  font-size: 0.825rem;
  border-radius: 0.65rem;
}

/* ── Question & Prompt ───────────────────────────────────────── */
.quiz-body {
  padding: 2.75rem 3.25rem;
}

@media (max-width: 991px) {
  .quiz-body {
    padding: 2rem 1.75rem;
  }
}

@media (max-width: 768px) {
  .quiz-body {
    padding: 1.5rem 1.25rem;
  }
}

.quiz-question-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.5;
  margin-bottom: 1.35rem;
}

.quiz-code-block {
  font-family: var(--font-code, monospace);
  font-feature-settings: "zero" 0;
  font-size: 0.875rem;
  line-height: 1.5;
  background: #0F172A;
  color: #E2E8F0;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  border: 1px solid #1E293B;
}

/* ── Option Cards ────────────────────────────────────────────── */
.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.quiz-option-card {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 1.5px solid #E2E8F0;
  border-radius: 0.875rem;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  user-select: none;
}

.quiz-option-card:hover:not(.locked) {
  border-color: #CBD5E1;
  background: #F8FAFC;
  transform: translateX(4px);
}

.quiz-option-card.selected:not(.locked) {
  border-color: var(--color-indigo-600, #4F46E5);
  background: #EEF2FF;
  box-shadow: 0 0 0 1px var(--color-indigo-600, #4F46E5);
}

.quiz-option-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  margin-right: 1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.quiz-option-card.selected .quiz-option-radio {
  border-color: var(--color-indigo-600, #4F46E5);
}

.quiz-option-radio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-indigo-600, #4F46E5);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.quiz-option-card.selected .quiz-option-radio-dot {
  opacity: 1;
  transform: scale(1);
}

.quiz-option-text {
  font-size: 0.95rem;
  color: #334155;
  font-weight: 500;
  flex: 1;
}

/* ── Result Option States (After submit) ──────────────────────── */
.quiz-option-card.option-correct {
  border-color: #10B981 !important;
  background: #ECFDF5 !important;
  color: #065F46 !important;
}

.quiz-option-card.option-correct .quiz-option-radio {
  border-color: #10B981 !important;
  background: #10B981 !important;
}

.quiz-option-card.option-correct .quiz-option-radio::after {
  content: '✓';
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
}

.quiz-option-card.option-correct .quiz-option-radio-dot,
.quiz-option-card.option-wrong .quiz-option-radio-dot {
  display: none !important;
}

.quiz-option-card.option-wrong {
  border-color: #EF4444 !important;
  background: #FEF2F2 !important;
  color: #991B1B !important;
}

.quiz-option-card.option-wrong .quiz-option-radio {
  border-color: #EF4444 !important;
  background: #EF4444 !important;
}

.quiz-option-card.option-wrong .quiz-option-radio::after {
  content: '✕';
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
}

/* ── Educational Feedback Banner ────────────────────────────── */
.quiz-feedback-box {
  padding: 1.15rem 1.4rem;
  border-radius: 0.875rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  animation: fadeInDown 0.3s ease;
}

.quiz-feedback-box.correct {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}

.quiz-feedback-box.incorrect {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.quiz-feedback-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.quiz-feedback-content strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.quiz-feedback-content p {
  font-size: 0.875rem;
  margin-bottom: 0;
  opacity: 0.9;
}

/* ── Screen 3: Reality-Check Verdict / Comparison ────────────── */
.verdict-comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  margin: 1.75rem 0;
  padding: 1.75rem 2rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
}

@media (max-width: 640px) {
  .verdict-comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
    text-align: center;
  }
}

.verdict-box {
  padding: 1.75rem 1.5rem;
  background: #FFFFFF;
  border-radius: 0.875rem;
  border: 1.5px solid #E2E8F0;
  text-align: center;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  min-height: 135px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.verdict-box.verified {
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.verdict-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
  margin-bottom: 0.4rem;
}

.verdict-box.verified .verdict-label {
  color: #4F46E5;
}

.verdict-val {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.verdict-val.text-highlight {
  color: #4F46E5;
}

.verdict-vs-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #64748B;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* ── Topic Gaps Chips ───────────────────────────────────────── */
.gaps-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.gap-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.15s ease;
}

.gap-pill:hover {
  background: #E2E8F0;
  border-color: #94A3B8;
  color: #0F172A;
}

.gap-pill i {
  color: #F59E0B;
}

/* Scoped Badge Fallbacks for Quiz */
.badge-gold {
  background: #FEF3C7 !important;
  color: #92400E !important;
  border: 1px solid #FCD34D !important;
  font-weight: 600 !important;
  font-size: 0.72rem !important;
  padding: 0.3rem 0.75rem !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
}

.badge-leaf {
  background: #DCFCE7 !important;
  color: #166534 !important;
  border: 1px solid #86EFAC !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
  padding: 0.3rem 0.75rem !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
}

/* ── Verified Badge Trophy ──────────────────────────────────── */
.verified-trophy-banner {
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border: 1.5px solid #BBF7D0;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.trophy-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #059669;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* ── Badge Indicators for Tables & Matrix ───────────────────── */
.badge-quiz-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #15803D;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-self-rated {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #64748B;
  font-size: 0.72rem;
  font-weight: 600;
}

.badge-verify-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  color: #92400E;
  font-size: 0.72rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.badge-verify-cta:hover {
  background: #FDE68A;
  color: #78350F;
  transform: translateY(-1px);
}

.badge-verified-tiny {
  background: #4F46E5;
  color: #FFFFFF;
  font-size: 0.6rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-weight: 700;
  margin-left: 0.3rem;
}

.badge-self-tiny {
  background: #94A3B8;
  color: #FFFFFF;
  font-size: 0.6rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 0.3rem;
}

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

/* ── In-Assessment "Prove Your Skills" Verification Gate ───────── */
.prove-skills-panel {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.05);
  transition: all 0.25s ease;
}

.prove-skills-panel.all-verified {
  border-color: #86EFAC;
  background: #F0FDF4;
}

.prove-skills-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.prove-skills-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.prove-skills-sub {
  font-size: 0.83rem;
  color: #64748B;
  margin-top: 0.35rem;
  margin-bottom: 0;
  line-height: 1.45;
}

.prove-skills-badge {
  font-family: var(--font-mono);
  font-feature-settings: "zero" 0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: #EEF2FF;
  color: #4F46E5;
  border: 1px solid #C7D2FE;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.prove-skills-badge.completed {
  background: #DCFCE7;
  color: #166534;
  border-color: #86EFAC;
}

.prove-skills-badge.skipped {
  background: #F1F5F9;
  color: #475569;
  border-color: #CBD5E1;
}

.prove-skills-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.prove-skill-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.prove-skill-item:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.prove-skill-item.item-verified {
  background: #F0FDF4;
  border-color: #86EFAC;
  box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.06);
}

.prove-skill-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.prove-skill-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #94A3B8;
  flex-shrink: 0;
}

.prove-skill-item.item-verified .prove-skill-dot {
  background: #10B981;
}

.prove-skill-name {
  font-weight: 600;
  color: #0F172A;
  font-size: 0.92rem;
}

.prove-skill-level {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  text-transform: capitalize;
  font-family: var(--font-mono);
  font-feature-settings: "zero" 0;
}

.prove-skill-level.advanced {
  background: #EDE9FE;
  color: #6D28D9;
}

.prove-skill-level.intermediate {
  background: #E0F2FE;
  color: #0369A1;
}

.prove-skill-level.beginner {
  background: #F1F5F9;
  color: #475569;
}

.prove-skill-level.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.prove-skill-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-start-check {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 0.5rem;
  background: #4F46E5;
  color: #FFFFFF;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-start-check:hover {
  background: #4338CA;
  transform: translateY(-1px);
  color: #FFFFFF;
}

.btn-retest-check {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #C7D2FE;
  background: #EEF2FF;
  color: #4F46E5;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-retest-check:hover {
  background: #4F46E5;
  color: #FFFFFF;
  border-color: #4F46E5;
  transform: translateY(-1px);
}

.prove-skills-progress-bar {
  height: 6px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 1rem;
}

.prove-skills-progress-fill {
  height: 100%;
  background: #4F46E5;
  border-radius: 999px;
  transition: width 0.35s ease;
}

.prove-skills-progress-fill.completed {
  background: #10B981;
}

.skill-adjusted-note {
  font-size: 0.78rem;
  color: #475569;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  margin-top: 0.35rem;
  width: 100%;
}

/* Modal styling overrides */
#skillCheckModal .modal-dialog {
  max-width: 680px;
  margin: 1.75rem auto;
}

#skillCheckModal .modal-content {
  position: relative;
  min-height: 560px;
  border: none;
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
}

#skillCheckModal .modal-header {
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 1.25rem 1.75rem;
  flex-shrink: 0;
}

#skillCheckModal .modal-body {
  padding: 1.75rem;
  background: #FFFFFF;
  flex: 1 1 auto;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}

/* ── 45-Second Countdown Timer & Telemetry HUD (Pillar 6) ───── */
.quiz-timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "zero" 0, "tnum" 1;
  font-size: 0.82rem;
  font-weight: 700;
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #CBD5E1;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.quiz-timer-badge i {
  font-size: 0.9rem;
  color: var(--color-indigo-600, #4F46E5);
}

.quiz-timer-badge.warning {
  background: #FEF3C7;
  color: #B45309;
  border-color: #FCD34D;
}

.quiz-timer-badge.warning i {
  color: #B45309;
}

.quiz-timer-badge.danger {
  background: #FEE2E2;
  color: #B91C1C;
  border-color: #FCA5A5;
  animation: timerPulse 1s infinite alternate;
}

.quiz-timer-badge.danger i {
  color: #DC2626;
}

@keyframes timerPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  100% { transform: scale(1.04); box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15); }
}

.quiz-timer-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2.5px;
  background: var(--color-indigo-600, #4F46E5);
  transition: width 1s linear, background-color 0.3s ease;
}

.quiz-timer-badge.warning .quiz-timer-progress-bar {
  background: #D97706;
}

.quiz-timer-badge.danger .quiz-timer-progress-bar {
  background: #DC2626;
}

/* Proctor HUD Alert Toast */
.quiz-proctor-alert {
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  color: #92400E;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08);
  animation: slideDownAlert 0.3s ease-out;
}

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

/* ── 4-Tier Skill Passport Badges (Pillar 7) ───────────────── */
.passport-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-body, system-ui);
  letter-spacing: 0.2px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

/* Tier 0: Self-Rated (70% weight) */
.badge-passport-t0 {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #475569;
}

/* Tier 1: Quiz-Verified (85% weight) */
.badge-passport-t1 {
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  color: #4338CA;
}

.badge-passport-t1 i {
  color: #4F46E5;
}

/* Tier 2: GitHub Code-Verified (100% weight) */
.badge-passport-t2 {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.badge-passport-t2 i {
  color: #059669;
}

/* Tier 3: AI Interview-Verified (100%+ weight) */
.badge-passport-t3 {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
}

.badge-passport-t3 i {
  color: #D97706;
}

/* Telemetry Status: Unconfirmed Anomaly Flag */
.badge-status-unconfirmed {
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  color: #B45309;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Cooldown Alert Banner */
.quiz-cooldown-banner {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

/* ============================================================
   STRICT ANTI-CHEATING LOCKDOWN & STRIKE HUD STYLES
   ============================================================ */

/* Disable Text Selection & Dragging on Proctored Questions */
.proctored-no-select,
.proctored-no-select * {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}

/* Modal Blocking Strike Overlay */
#modalStrikeOverlay {
  position: absolute;
  inset: 0;
  z-index: 1060;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: 1.25rem;
  overflow-y: auto;
  min-height: 540px;
  animation: strikeFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#modalStrikeOverlay.d-none {
  display: none !important;
}

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

/* Strike Overlay Cards */
.strike-card {
  background: #FFFFFF;
  border-radius: 1rem;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  text-align: center;
  position: relative;
  margin: auto;
}

/* Strike 1: Amber Alert */
.strike-card-1 {
  border: 2px solid #F59E0B;
}
.strike-card-1 .strike-card-header {
  background: #FFFBEB;
  color: #B45309;
  padding: 1.25rem;
  border-bottom: 1px solid #FDE68A;
}

/* Strike 2: Crimson Final Warning */
.strike-card-2 {
  border: 2px solid #EF4444;
  box-shadow: 0 8px 16px -2px rgba(15, 23, 42, 0.2);
}
.strike-card-2 .strike-card-header {
  background: #FEF2F2;
  color: #B91C1C;
  padding: 1.25rem;
  border-bottom: 1px solid #FECACA;
  animation: pulseRedHeader 1.8s infinite;
}

@keyframes pulseRedHeader {
  0% { background: #FEF2F2; }
  50% { background: #FEE2E2; }
  100% { background: #FEF2F2; }
}

/* Strike 3: Disqualification & 24h Lockout */
.strike-card-3 {
  border: 2px solid #DC2626;
  background: #0F172A;
  color: #F8FAFC;
  box-shadow: 0 10px 20px -3px rgba(15, 23, 42, 0.4);
}
.strike-card-3 .strike-card-header {
  background: #1E293B;
  color: #F87171;
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid #334155;
}
.strike-card-3 .text-secondary,
.strike-card-3 p.text-secondary {
  color: #94A3B8 !important;
}

.strike-penalty-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  margin: 0.5rem 0;
}

.timer-penalty-flash {
  animation: timerPenaltyShake 0.6s ease;
}

@keyframes timerPenaltyShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); background: #EF4444 !important; color: white !important; }
  40%, 80% { transform: translateX(6px); background: #DC2626 !important; color: white !important; }
}


