/* ==========================================================================
   HireLens AI — Enterprise Recruitment Intelligence Design System
   Inspired by 21st.dev, Inspira UI, Motion Division, and Animate UI
   ========================================================================== */

:root {
  /* Surface & Base Colors (Obsidian / Zinc 950 Hierarchy) */
  --bg-base: #09090b;
  --bg-surface: #111114;
  --bg-surface-elevated: #18181b;
  --bg-surface-hover: #222226;
  --bg-surface-subtle: rgba(255, 255, 255, 0.03);
  --bg-surface-active: rgba(255, 255, 255, 0.07);

  /* Borders & Hairlines */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-default: rgba(255, 255, 255, 0.10);
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-highlight: rgba(255, 255, 255, 0.28);

  /* Typography */
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-dim: #52525b;

  /* Disciplined Accent Colors */
  --emerald-base: #10b981;
  --emerald-subtle: rgba(16, 185, 129, 0.12);
  --emerald-border: rgba(16, 185, 129, 0.24);
  --emerald-glow: rgba(16, 185, 129, 0.25);

  --blue-base: #3b82f6;
  --blue-subtle: rgba(59, 130, 246, 0.12);
  --blue-border: rgba(59, 130, 246, 0.24);

  --amber-base: #f59e0b;
  --amber-subtle: rgba(245, 158, 11, 0.12);
  --amber-border: rgba(245, 158, 11, 0.24);

  --rose-base: #f43f5e;
  --rose-subtle: rgba(244, 63, 94, 0.12);
  --rose-border: rgba(244, 63, 94, 0.24);

  --violet-base: #8b5cf6;
  --violet-subtle: rgba(139, 92, 246, 0.12);
  --violet-border: rgba(139, 92, 246, 0.24);

  /* Fonts */
  --font-sans: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Sizing & Layout */
  --sidebar-width: 260px;
  --header-height: 64px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  /* Motion Physics Curves */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.925rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;

  /* Inspira UI Subtle Dot Grid Texture with Smooth Radial Falloff */
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.035) 0%, transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px;
  background-position: 0 0, 14px 14px;
  background-attachment: fixed;
}

/* Custom Minimalist Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Lenis Recommended CSS */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* ==========================================================================
   Typography Overrides & Enhancements
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
}

.text-muted {
  color: #a1a1aa !important;
}

.text-dim {
  color: #71717a !important;
}

.font-monospace, code {
  font-family: var(--font-mono) !important;
}

/* ==========================================================================
   Layout Shell
   ========================================================================== */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* ==========================================================================
   Sidebar Navigation (21st.dev Style)
   ========================================================================== */
.app-sidebar {
  width: var(--sidebar-width);
  background: #0c0c0f;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
}

.sidebar-brand {
  padding: 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.brand-icon {
  width: 34px;
  height: 34px;
  background: #18181b;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.2s var(--ease-spring);
}

.brand-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.brand-title span {
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 2px;
}

.sidebar-menu {
  flex: 1;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
}

.nav-link-custom {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.15s var(--ease-smooth);
  border: 1px solid transparent;
}

.nav-link-custom svg {
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.nav-link-custom:hover {
  color: #ffffff;
  background: var(--bg-surface-subtle);
  border-color: var(--border-subtle);
}

.nav-link-custom:hover svg {
  color: #ffffff;
}

/* Active Nav Item — Sophisticated Zinc Pill (Not neon green box!) */
.nav-link-custom.active {
  color: #ffffff;
  background: var(--bg-surface-active);
  border-color: var(--border-default);
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-link-custom.active svg {
  color: #ffffff;
}

.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
  background: #09090b;
}

/* ==========================================================================
   Header Navbar
   ========================================================================== */
.app-main {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.app-header {
  height: var(--header-height);
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.content-body {
  padding: 2rem 2.5rem;
  flex: 1;
}

/* ==========================================================================
   Inspira UI & 21st.dev Card Surface (Spotlight & Glass)
   ========================================================================== */
.glass-card {
  position: relative;
  background: rgba(18, 18, 22, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.06),
    0 4px 20px -2px rgba(0, 0, 0, 0.45);
  transition: 
    border-color 0.25s var(--ease-spring),
    box-shadow 0.25s var(--ease-spring),
    transform 0.25s var(--ease-spring);
  overflow: hidden;
}

/* Interactive Spotlight Sheen on Mousemove */
.glass-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    450px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(255, 255, 255, 0.12),
    transparent 40%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1),
    0 8px 30px -4px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

.glass-card-sm {
  padding: 1rem 1.25rem;
}

/* ==========================================================================
   Bento Stat Cards (Replaces the generic colored-border cards)
   ========================================================================== */
.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 130px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.5) 0%, rgba(14, 14, 17, 0.7) 100%);
  position: relative;
}

/* Remove ugly 4px left-border! Replace with subtle top hairline accent */
.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-value {
  font-size: 2.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.35rem 0 0.15rem;
}

.stat-meta {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Buttons (Inspira UI Shimmer & 21st.dev Solid White)
   ========================================================================== */
/* Primary High-Contrast Button (Vercel / 21st style) */
.btn-primary-solid {
  background: #ffffff;
  color: #09090b;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.525rem 1.15rem;
  border: 1px solid #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary-solid svg {
  width: 16px;
  height: 16px;
}

.btn-primary-solid:hover {
  background: #e4e4e7;
  color: #09090b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.btn-primary-solid:active {
  transform: translateY(0) scale(0.98);
}

/* Redesigned .btn-mint (Discipline over Neon) */
.btn-mint {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.525rem 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 2px 8px rgba(16, 185, 129, 0.2);
}

.btn-mint svg {
  width: 16px;
  height: 16px;
}

.btn-mint:hover {
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 4px 16px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

.btn-mint:active {
  transform: translateY(0) scale(0.98);
}

/* Inspira UI Shimmer Button */
.btn-shimmer {
  position: relative;
  background: #18181b;
  color: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 0.525rem 1.15rem;
  font-weight: 600;
  font-size: 0.875rem;
  overflow: hidden;
  transition: all 0.2s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: 0.5s;
  pointer-events: none;
}

.btn-shimmer:hover::before {
  left: 100%;
}

.btn-shimmer:hover {
  border-color: var(--border-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.5);
}

.btn-shimmer:active {
  transform: translateY(0) scale(0.98);
}

/* Secondary Frosted Glass Button */
.btn-outline-glass {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 0.525rem 1rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.18s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-outline-glass svg {
  width: 15px;
  height: 15px;
  color: var(--text-secondary);
}

.btn-outline-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-outline-glass:hover svg {
  color: #ffffff;
}

.btn-outline-glass:active {
  transform: translateY(0) scale(0.98);
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

/* ==========================================================================
   Multi-Agent Workflow Pipeline (21st.dev Connected Rail)
   ========================================================================== */
.workflow-pipeline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #111114;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
  overflow-x: auto;
}

.pipeline-step {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.pipeline-step svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.pipeline-step.step-completed {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.2);
}

.pipeline-step.step-completed svg {
  color: #10b981;
}

.pipeline-step.step-active {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.28);
}

.pipeline-step.step-active svg {
  color: #3b82f6;
}

.pipeline-arrow {
  color: var(--text-dim);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   Status Badges & Tokens (21st.dev Minimalist Dot Pills)
   ========================================================================== */
.badge-status {
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.2;
}

.badge-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.badge-supported {
  background: rgba(16, 185, 129, 0.08);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.22);
}
.badge-supported::before {
  background: #10b981;
}

.badge-partial {
  background: rgba(245, 158, 11, 0.08);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.22);
}
.badge-partial::before {
  background: #f59e0b;
}

.badge-verification {
  background: rgba(139, 92, 246, 0.08);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.22);
}
.badge-verification::before {
  background: #8b5cf6;
}

.badge-not-found {
  background: rgba(244, 63, 94, 0.08);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.22);
}
.badge-not-found::before {
  background: #f43f5e;
}

.badge-shortlisted {
  background: rgba(16, 185, 129, 0.08);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.24);
}
.badge-shortlisted::before {
  background: #10b981;
}

.badge-needs-review {
  background: rgba(245, 158, 11, 0.08);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.24);
}
.badge-needs-review::before {
  background: #f59e0b;
}

.badge-interview-planned {
  background: rgba(59, 130, 246, 0.08);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.24);
}
.badge-interview-planned::before {
  background: #3b82f6;
}

.badge-not-proceeding {
  background: rgba(244, 63, 94, 0.08);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.24);
}
.badge-not-proceeding::before {
  background: #f43f5e;
}

/* Live Pulsing Indicator (Inspira UI) */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.pulse-dot {
  position: relative;
  display: flex;
  width: 8px;
  height: 8px;
}

.pulse-dot .pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #10b981;
  opacity: 0.75;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pulse-dot .pulse-core {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* ==========================================================================
   Candidate Code Token (Monospace Tag)
   ========================================================================== */
.candidate-code-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-default);
  color: #e4e4e7;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.3;
}

/* ==========================================================================
   Score Pill (Refined Circular Score Indicator)
   ========================================================================== */
.score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid;
}

.score-pill.score-high {
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
  background: rgba(16, 185, 129, 0.08);
}

.score-pill.score-med {
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.08);
}

.score-pill.score-low {
  border-color: rgba(244, 63, 94, 0.4);
  color: #fb7185;
  background: rgba(244, 63, 94, 0.08);
}

/* ==========================================================================
   Data Table (21st.dev Clean Tabular Aesthetic)
   ========================================================================== */
.table-custom {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table-custom th {
  background: transparent;
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
}

.table-custom td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.885rem;
  vertical-align: middle;
  transition: background 0.15s ease;
}

.table-custom tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Progress Bar Refinement */
.progress {
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar {
  border-radius: 9999px;
  transition: width 0.6s var(--ease-spring);
}

/* ==========================================================================
   Evidence Grounding Card (21st.dev Code Review / Inspector Style)
   ========================================================================== */
.evidence-card {
  background: #111114;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 0.85rem;
  transition: all 0.2s var(--ease-spring);
}

.evidence-card:hover {
  border-color: var(--border-hover);
  background: #151518;
}

.evidence-snippet {
  background: #09090b;
  border-left: 2px solid #10b981;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #e4e4e7;
  margin: 0.75rem 0;
  font-family: var(--font-sans);
  line-height: 1.5;
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.evidence-snippet.snippet-missing {
  border-left-color: var(--rose-base);
  color: var(--text-muted);
}

/* ==========================================================================
   Bootstrap Overrides for Cohesive Look
   ========================================================================== */
.bg-dark {
  background-color: #121215 !important;
}

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

.form-control-glass, .form-select.form-control-glass {
  background: #0c0c0e !important;
  border: 1px solid var(--border-default) !important;
  color: #ffffff !important;
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  transition: all 0.15s ease;
}

.form-control-glass:focus, .form-select.form-control-glass:focus {
  background: #111114 !important;
  border-color: var(--border-hover) !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

.modal-content-glass {
  background: #111114;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  box-shadow: 0 24px 48px -8px rgba(0, 0, 0, 0.8);
}

.modal-header-glass {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem;
}

.modal-footer-glass {
  border-top: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem;
}

/* Switch Toggle Styling */
.form-check-input {
  background-color: #27272a;
  border-color: var(--border-default);
  cursor: pointer;
}
.form-check-input:checked {
  background-color: #10b981;
  border-color: #10b981;
}

/* ==========================================================================
   Motion Division & Animate UI Micro-Animations
   ========================================================================== */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: slideUpFade 0.45s var(--ease-spring) forwards;
}

.delay-1 { animation-delay: 0.04s; }
.delay-2 { animation-delay: 0.08s; }
.delay-3 { animation-delay: 0.12s; }
.delay-4 { animation-delay: 0.16s; }

/* Toast Notifications Container */
.toast-container-custom {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Candidate Avatars Micro-Interactions */
.candidate-avatar {
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}
.candidate-avatar:hover {
  transform: scale(1.08);
}

