/* ==========================================================================
   HIERO BRIDGE — SIGNATURE NEURAL BIOMORPHIC DESIGN SYSTEM
   Exact Theme Match: Deep Obsidian Black • Electric Neon Green (#07e219)
   Interactive Stardust Constellation • High-Contrast Enterprise Typography
   ========================================================================== */

:root {
  /* Layer 1 — Pure Deep Space Palette */
  --bg-dark: #050805;
  --bg-deep: #020402;
  --bg-space: #030604;
  --bg-surface: #0a0f0b;
  --bg-surface-elevated: #0f1711;
  --bg-card: rgba(18, 24, 18, 0.65);
  --bg-card-solid: #0d130e;
  --bg-card-hover: #121a13;
  --bg-input: #070b08;
  --bg-submodule: rgba(25, 32, 26, 0.55);
  
  /* Primary Signature Neon Green Accents (Exact Reference Match) */
  --primary-accent: #07e219;
  --primary: #07e219;
  --primary-deep: #059b12;
  --primary-glow: rgba(7, 226, 25, 0.45);
  --primary-light: #5ef86e;
  --primary-emerald: #10b981;
  
  /* Natural & Supporting Accents */
  --secondary: #00ff55;
  --accent-cyan: #06b6d4;
  --accent-amber: #f59e0b;
  --accent-purple: #a855f7;
  
  /* Status Colors */
  --success: #07e219;
  --success-glow: rgba(7, 226, 25, 0.35);
  --warning: #fbbf24;
  --danger: #f87171;
  --danger-bg: rgba(239, 68, 68, 0.12);
  --info: #38bdf8;

  /* Typography & High Contrast Ratios */
  --text-main: #ffffff;
  --text-bright: #ffffff;
  --text-muted: #a0a0a0;
  --text-dim: #07e219;
  --text-subtle: #8ecaa8;
  
  /* Spatial Precision Borders & Highlights — Subdued & Professional Glassmorphism */
  --border-color: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-active: rgba(7, 226, 25, 0.28);
  --border-glow: rgba(7, 226, 25, 0.35);
  --inner-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.05);

  /* Curvatures */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-organic-card: 24px;
  --radius-organic-pill: 9999px;

  /* Spatial Elevation Shadows */
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 16px 40px -12px rgba(0, 0, 0, 0.9);
  --shadow-glow: 0 0 28px var(--primary-glow);
  --shadow-spatial-float: 0 20px 50px -10px rgba(0, 0, 0, 0.95), 0 0 30px rgba(7, 226, 25, 0.2);

  --sidebar-w: 0px;
  --header-h: 74px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: #020402;
  color: var(--text-main);
  min-height: 100vh;
  display: block;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

/* Antigravity Neural Particle Canvas Background */
#antigravity-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

/* Numeric & Code Typography */
.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

*:focus-visible {
  outline: 2px solid var(--primary-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(7, 226, 25, 0.25);
  border-radius: var(--radius-organic-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-accent);
  box-shadow: 0 0 10px var(--primary-accent);
}

/* ==========================================================================
   1. LUXURY LOGO STARTUP PRELOADER
/* ==========================================================================
   PREMIUM DISCORD-STYLE ANIMATED LOGO REVEAL INTRO (ON LOAD & RELOAD)
   ========================================================================== */

.splash-reveal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: radial-gradient(circle at 50% 50%, #061108 0%, #020402 85%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.55s ease;
  will-change: opacity, transform;
}

.splash-reveal-overlay.dismissed {
  opacity: 0;
  transform: scale(1.03);
  visibility: hidden;
  pointer-events: none;
}

.splash-reveal-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  perspective: 1000px;
}

/* Ambient Backlight Glow */
.splash-holo-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 380px;
  margin-top: -190px;
  margin-left: -190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.35) 0%, rgba(0, 255, 102, 0.08) 50%, transparent 75%);
  filter: blur(45px);
  pointer-events: none;
  animation: splashAmbientGlow 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes splashAmbientGlow {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 0.95; transform: scale(1.2); }
  100% { opacity: 0.8; transform: scale(1); }
}

/* Concentric Staggered Rings */
.splash-rings-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  margin-top: -160px;
  margin-left: -160px;
  pointer-events: none;
}

.splash-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 255, 102, 0.4);
  box-sizing: border-box;
}

.splash-ring-1 {
  animation: splashRingExpand 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both, preloaderSpin 12s linear infinite 1.1s;
}

.splash-ring-2 {
  inset: -18px;
  border-style: dashed;
  border-color: rgba(0, 255, 102, 0.3);
  animation: splashRingExpand 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both, preloaderSpinReverse 16s linear infinite 1.1s;
}

.splash-ring-3 {
  inset: -36px;
  border-color: rgba(0, 255, 102, 0.18);
  animation: splashRingExpand 1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

@keyframes splashRingExpand {
  0% { opacity: 0; transform: scale(0.2); }
  60% { opacity: 0.9; transform: scale(1.08); }
  100% { opacity: 0.8; transform: scale(1); }
}

/* Center Logo Frame */
.splash-logo-frame {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  z-index: 3;
}

.splash-logo-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  position: relative;
  z-index: 4;
  transform-origin: center center;
  animation: discordLogoReveal 1.15s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  will-change: transform, opacity, filter;
}

/* Concentric Shockwaves */
.splash-logo-shockwave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  margin-top: -60px;
  margin-left: -60px;
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 102, 0.9);
  box-shadow: 0 0 30px rgba(0, 255, 102, 0.8);
  pointer-events: none;
  opacity: 0;
  animation: logoShockwave 1s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
  z-index: 2;
}

.splash-logo-shockwave.secondary {
  animation: logoShockwave 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both;
}

/* Optical Sheen Sweep Layer */
.splash-logo-sheen-sweep {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
  border-radius: 24px;
  mix-blend-mode: screen;
}

.splash-logo-sheen-sweep::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 15%,
    rgba(255, 255, 255, 0.5) 45%,
    rgba(0, 255, 102, 0.9) 50%,
    rgba(255, 255, 255, 0.5) 55%,
    transparent 85%
  );
  transform: translateX(-160%) skewX(-25deg);
  opacity: 0;
  animation: logoSheenSweep 1s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

/* Brand Text Track-in */
.splash-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  animation: splashTextTrackIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.splash-brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
  line-height: 1.15;
}

.splash-brand-title span.accent-green {
  color: #00ff66;
  text-shadow: 0 0 20px rgba(0, 255, 102, 0.6);
}

.splash-brand-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #8fa196;
  text-transform: uppercase;
  margin-top: 6px;
}

@keyframes splashTextTrackIn {
  0% {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(4px);
    letter-spacing: 4px;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
    letter-spacing: normal;
  }
}

/* Top Navbar Logo Spring Entrance on Reload */
.top-header-brand .brand-logo-frame {
  animation: navbarLogoEntrance 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s both;
}

@keyframes navbarLogoEntrance {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(-8px);
    filter: blur(6px);
  }
  60% {
    opacity: 1;
    transform: scale(1.12) translateY(0);
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes preloaderSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes preloaderSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* ==========================================================================
   2. SPATIAL APPLICATION SHELL
   ========================================================================== */

#app-container {
  display: flex;
  width: 100%;
  min-height: 100vh;
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  left: 0;
  transform: none;
}

/* Spatial Left Navigation Rail (Strictly fixed at 280px) */
.sidebar {
  width: var(--sidebar-w) !important;
  min-width: var(--sidebar-w) !important;
  max-width: var(--sidebar-w) !important;
  background: rgba(5, 8, 5, 0.95);
  backdrop-filter: blur(16px);
  border-right: 1px solid var(--border);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  height: 100vh !important;
  z-index: 90 !important;
  padding: 1.5rem 1.25rem;
  box-sizing: border-box !important;
}

/* Brand Header */
.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.75rem;
  padding-left: 0.25rem;
}

.brand-logo-frame {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.brand-logo-frame:hover {
  transform: scale(1.10) translateY(-2px);
}

.brand-logo-frame:active {
  transform: scale(0.92) translateY(1px);
  transition-duration: 0.1s;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border-active);
  box-shadow: 0 0 16px var(--primary-glow);
  background: #000;
  position: relative;
  z-index: 2;
  transition: box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.brand-logo-frame:hover .brand-logo-img {
  box-shadow: 0 0 24px rgba(0, 255, 102, 0.68), 0 0 6px #00ff66;
  border-color: rgba(0, 255, 102, 0.85);
  filter: brightness(1.08);
}

.brand-logo-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: 1;
  animation: logoPulse 3s infinite ease-in-out;
  pointer-events: none;
}

@keyframes logoPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.08); }
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  line-height: 1.1;
}
.brand-title span {
  color: var(--primary-accent);
  text-shadow: 0 0 12px var(--primary-glow);
}
.brand-subtitle {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 2px;
}

/* Role Selector Dropdown */
.role-picker {
  background: rgba(18, 24, 18, 0.8);
  border: 1px solid var(--border);
  box-shadow: var(--inner-highlight);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin-bottom: 1.5rem;
}

.role-picker-label-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.role-beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-accent);
  box-shadow: 0 0 8px var(--primary-accent);
  animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.role-picker label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
}

.role-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-bright);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}
.role-select:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 12px var(--primary-glow);
}

.nav-section-title {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 800;
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}

/* Navigation Menu Items */
.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  border: 1px solid transparent;
}

.nav-item:hover {
  background: rgba(7, 226, 25, 0.08);
  border-color: var(--border);
  color: #fff;
  transform: translateX(3px);
}

.nav-item.active {
  background: rgba(7, 226, 25, 0.12);
  border-color: var(--border-active);
  box-shadow: var(--inner-highlight), 0 4px 16px rgba(0, 0, 0, 0.5);
  color: #fff;
}

.nav-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-accent);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.nav-item.active .nav-icon-wrap {
  background: var(--primary-accent);
  color: #000;
  border-color: var(--primary-accent);
  box-shadow: 0 0 14px var(--primary-glow);
}

.nav-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.nav-text-block {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.nav-label {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

.nav-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.nav-active-pill {
  width: 4px;
  height: 18px;
  border-radius: var(--radius-organic-pill);
  background: var(--primary-accent);
  box-shadow: 0 0 10px var(--primary-accent);
  display: none;
}
.nav-item.active .nav-active-pill {
  display: block;
}

.nav-item-special {
  margin-top: 0.5rem;
  background: rgba(7, 226, 25, 0.05);
  border: 1px solid rgba(7, 226, 25, 0.25);
}
.nav-item-special:hover {
  background: rgba(7, 226, 25, 0.14);
  border-color: var(--primary-accent);
}
.icon-connect {
  color: var(--primary-accent);
}

/* Sidebar Footer */
.sidebar-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.quick-btn-reset {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.quick-btn-reset:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: var(--danger);
  color: var(--danger);
}

.system-tag-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.system-status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}

/* ==========================================================================
   3. TOP HEADER (Matching Reference UI)
   ========================================================================== */

.main-wrapper,
.main-viewport {
  margin-left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100vh;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: transparent;
  position: relative;
  z-index: 1;
  box-sizing: border-box !important;
  left: 0 !important;
  transform: none !important;
}

/* Full-Width Sticky Top Header */
.top-header {
  height: var(--header-h);
  background: rgba(3, 7, 4, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-sizing: border-box;
}

/* Top Header Left Brand */
.top-header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}
.top-header-brand .brand-logo-frame {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-header-brand .brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.top-header-brand .brand-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.24rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
  line-height: 1;
}
.top-header-brand .brand-title span {
  color: #00ff66;
}

/* Center Horizontal Workspace Navigation */
.top-workspace-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  font-family: inherit;
}
.top-nav-tab:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}
.top-nav-tab.active {
  background: rgba(0, 255, 102, 0.1) !important;
  border-color: rgba(0, 255, 102, 0.3) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
.top-nav-tab.active .nav-tab-icon {
  filter: drop-shadow(0 0 4px rgba(0, 255, 102, 0.5));
}
.nav-tab-icon {
  font-size: 1rem;
  line-height: 1;
}

/* Top Header Right Actions */
.top-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

/* User Profile Dropdown Wrapper */
.profile-dropdown-wrapper {
  position: relative;
}

/* Profile Account Pill Button */
.user-profile-account-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  padding: 5px 14px 5px 6px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: inherit;
  font-family: inherit;
  outline: none;
}

.user-profile-account-pill:hover,
.profile-dropdown-wrapper.open .user-profile-account-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 255, 102, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transform: translateY(-1px);
}

.user-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #06180c;
  border: 1.5px solid var(--primary-accent);
  color: var(--primary-accent);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(7, 226, 25, 0.3);
}

.user-profile-details {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.user-full-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.user-role-label {
  font-size: 0.70rem;
  font-weight: 600;
  color: var(--primary-accent);
  letter-spacing: 0.2px;
}

.profile-dropdown-arrow {
  color: #8ecaa8;
  margin-left: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
}

.profile-dropdown-wrapper.open .profile-dropdown-arrow {
  transform: rotate(180deg);
  color: var(--primary-accent);
}

/* Flyout Profile Card Dropdown */
.profile-flyout-card {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: #08120a;
  border: 1px solid rgba(7, 226, 25, 0.35);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 28px rgba(7, 226, 25, 0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: none;
  flex-direction: column;
  gap: 14px;
  animation: profileFlyoutIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes profileFlyoutIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.profile-flyout-card.active,
.profile-dropdown-wrapper.open .profile-flyout-card {
  display: flex;
}

/* Header within Flyout */
.profile-flyout-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(7, 226, 25, 0.18);
}

.profile-flyout-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #06180c;
  border: 2px solid var(--primary-accent);
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(7, 226, 25, 0.35);
}

.profile-flyout-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.flyout-user-name {
  font-size: 0.94rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flyout-user-email {
  font-size: 0.76rem;
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flyout-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.flyout-role-badge {
  display: inline-flex;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--primary-accent);
  background: rgba(7, 226, 25, 0.12);
  border: 1px solid rgba(7, 226, 25, 0.3);
  padding: 2px 7px;
  border-radius: 12px;
}

.flyout-inst-tag {
  display: inline-flex;
  font-size: 0.66rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 7px;
  border-radius: 12px;
}

/* Sections inside Flyout */
.profile-flyout-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flyout-section-title {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8ecaa8;
  margin-bottom: 2px;
}

.flyout-role-options {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.flyout-role-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  width: 100%;
  text-align: left;
}

.flyout-role-item:hover {
  background: rgba(7, 226, 25, 0.08);
  border-color: rgba(7, 226, 25, 0.3);
  color: #ffffff;
}

.flyout-role-item.active {
  background: rgba(7, 226, 25, 0.15);
  border-color: var(--primary-accent);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(7, 226, 25, 0.2);
}

.role-item-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.role-item-text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  line-height: 1.25;
}

.role-item-text strong {
  font-size: 0.82rem;
  color: #ffffff;
}

.role-item-text small {
  font-size: 0.70rem;
  color: #94a3b8;
}

.role-item-check {
  color: var(--primary-accent);
  font-weight: 900;
  font-size: 0.9rem;
  display: none;
}

.flyout-role-item.active .role-item-check {
  display: block;
}

.flyout-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  font-family: inherit;
}

.flyout-action-btn:hover {
  background: rgba(7, 226, 25, 0.1);
  border-color: rgba(7, 226, 25, 0.35);
  color: #ffffff;
}

.flyout-action-btn svg {
  color: var(--primary-accent);
  flex-shrink: 0;
}

.profile-flyout-divider {
  height: 1px;
  background: rgba(7, 226, 25, 0.15);
  margin: 2px 0;
}

.flyout-signout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  font-family: inherit;
}

.flyout-signout-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.6);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.35);
}

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

.current-institution {
  display: flex;
  align-items: center;
  gap: 12px;
}

.inst-icon-shield {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-accent);
  box-shadow: var(--inner-highlight);
}

.inst-eyebrow {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 800;
}

.inst-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

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

.eco-pill {
  position: relative;
  background: rgba(7, 226, 25, 0.08);
  border: 1px solid var(--border-active);
  color: var(--primary-accent);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-organic-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--inner-highlight);
}
.eco-pill:hover {
  background: var(--primary-accent);
  color: #000;
  box-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-1px);
}
.eco-pill-glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-organic-pill);
  box-shadow: inset 0 0 12px rgba(7, 226, 25, 0.2);
  pointer-events: none;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 24, 18, 0.8);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--inner-highlight);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
}

.user-badge .avatar, .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #151e16;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  border: 1.5px solid var(--border-active);
  box-shadow: 0 0 10px var(--primary-glow);
  flex-shrink: 0;
}

.user-text {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.role-pill {
  font-size: 0.65rem;
  color: var(--primary-accent);
  font-weight: 600;
}

/* ==========================================================================
   4. CONTENT LAYOUT & PAGE HEADERS
   ========================================================================== */

#main-content-body {
  padding: 2rem;
  flex-grow: 1;
}

.page-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.page-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  line-height: 1.2;
}

.page-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Spatial Hero Banner (Matching Reference Visuals) */
.spatial-hero-banner {
  background: rgba(14, 20, 15, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), var(--inner-highlight);
  border-radius: var(--radius-organic-card);
  padding: 2.25rem 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.spatial-hero-banner::after {
  display: none !important;
}

/* Reference Analyser Pill Badge */
.hero-tag, .analyser-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-accent);
  background: rgba(7, 226, 25, 0.1);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-organic-pill);
  border: 1px solid var(--border-color);
  margin-bottom: 0.75rem;
}

.hero-tag::before, .analyser-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-accent);
  box-shadow: 0 0 8px var(--primary-accent);
}

.hero-title {
  font-family: 'Inter', 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.hero-title span {
  color: var(--primary-accent);
  text-shadow: 0 0 30px rgba(7, 226, 25, 0.35);
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 780px;
  line-height: 1.6;
}

/* ==========================================================================
   5. METRIC & KPI GRIDS
   ========================================================================== */

.metrics-grid, .kpi-spatial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.metric-card, .kpi-spatial-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), var(--inner-highlight);
  border-radius: var(--radius-organic-card);
  padding: 1.5rem;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.metric-card:hover, .kpi-spatial-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-spatial-float);
}

.metric-header, .kpi-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.metric-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.metric-icon, .kpi-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-accent);
  box-shadow: var(--inner-highlight);
}

.metric-icon svg, .kpi-icon-box svg {
  width: 20px;
  height: 20px;
}

.metric-value, .kpi-metric-val {
  font-family: 'Inter', 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric-sub, .kpi-subtext {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.metric-sub.trend-up {
  color: var(--success);
  font-weight: 600;
}

.kpi-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.kpi-micro-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-organic-pill);
  margin-top: 0.75rem;
  overflow: hidden;
}
.kpi-micro-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-deep), var(--primary-accent));
  border-radius: var(--radius-organic-pill);
}

/* ==========================================================================
   6. BADGES, TAGS & SKILL PILLS
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-organic-pill);
  text-transform: capitalize;
  letter-spacing: 0.3px;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}

.badge-new {
  background: rgba(7, 226, 25, 0.1);
  color: var(--primary-light);
  border: 1px solid rgba(7, 226, 25, 0.3);
}

.badge-open {
  background: rgba(7, 226, 25, 0.15);
  color: var(--success);
  border: 1px solid rgba(7, 226, 25, 0.45);
}

.badge-shortlist {
  background: rgba(251, 191, 36, 0.15);
  color: var(--warning);
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.badge-recruiter {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.badge-interview {
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.badge-selected, .badge-placed {
  background: rgba(7, 226, 25, 0.2);
  color: #fff;
  border: 1px solid var(--primary-accent);
  box-shadow: 0 0 10px rgba(7, 226, 25, 0.3);
}

.badge-rejected {
  background: rgba(248, 113, 113, 0.15);
  color: var(--danger);
  border: 1px solid rgba(248, 113, 113, 0.4);
}

.kpi-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-organic-pill);
  font-family: 'JetBrains Mono', monospace;
}
.kpi-badge.badge-success { background: rgba(7, 226, 25, 0.12); color: var(--success); border: 1px solid rgba(7, 226, 25, 0.3); }
.kpi-badge.badge-warning { background: rgba(251, 191, 36, 0.12); color: var(--warning); border: 1px solid rgba(251, 191, 36, 0.3); }
.kpi-badge.badge-info { background: rgba(6, 182, 212, 0.12); color: var(--accent-cyan); border: 1px solid rgba(6, 182, 212, 0.3); }

/* Skill Pills */
.skills-pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}
.skill-pill.matched {
  background: rgba(7, 226, 25, 0.12);
  border-color: rgba(7, 226, 25, 0.4);
  color: var(--primary-light);
  font-weight: 700;
}

/* ==========================================================================
   7. FILTER BARS, PIPELINE TABS & SEARCH INPUTS
   ========================================================================== */

.filter-bar {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.pipeline-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  background: rgba(10, 15, 11, 0.9);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.pipeline-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.pipeline-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.pipeline-tab.active {
  background: rgba(7, 226, 25, 0.15);
  color: var(--primary-light);
  border-color: var(--border-active);
  box-shadow: 0 0 14px rgba(7, 226, 25, 0.2);
}

.tab-count {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  font-size: 0.72rem;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-organic-pill);
  font-family: 'JetBrains Mono', monospace;
}

.pipeline-tab.active .tab-count {
  background: var(--primary-accent);
  color: #000;
  font-weight: 800;
}

/* Precision Search Input Wrap */
.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrap svg {
  position: absolute;
  left: 12px;
  width: 16px !important;
  height: 16px !important;
  max-width: 16px;
  max-height: 16px;
  color: var(--text-dim);
  pointer-events: none;
  z-index: 2;
}

.search-input-wrap input.form-control,
.search-input-wrap .form-control {
  padding-left: 36px !important;
  width: 100%;
}

.filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   8. OPPORTUNITY CARDS & GRIDS
   ========================================================================== */

.opp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.opp-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), var(--inner-highlight);
  border-radius: var(--radius-organic-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.opp-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-spatial-float);
}

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

.opp-company {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
  display: block;
}

.opp-title {
  font-family: 'Inter', 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.opp-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.opp-criteria-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.85rem;
  margin: 1rem 0;
}

.criteria-item {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
}

.criteria-item span {
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.criteria-item strong {
  color: #fff;
  font-size: 0.85rem;
  margin-top: 1px;
}

.opp-card-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.applicant-stat {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.applicant-stat strong {
  color: #fff;
}

/* ==========================================================================
   9. DATA TABLES & APPLICANT LISTS (Refined Cell Padding & Green Hierarchy)
   ========================================================================== */

.table-wrapper {
  background: rgba(8, 14, 9, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  overflow: hidden;
  margin-top: 1.5rem;
}

.table-header-bar {
  padding: 1.25rem 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  background: rgba(6, 12, 7, 0.4);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.86rem;
}

.custom-table th {
  background: #08120a;
  color: #8ecaa8;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.73rem;
  letter-spacing: 0.9px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.custom-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: #e2e8f0;
  vertical-align: middle;
  line-height: 1.45;
  transition: background 0.15s ease;
}

.custom-table tr:last-child td {
  border-bottom: none;
}

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

.candidate-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.92rem;
  letter-spacing: -0.2px;
}

.candidate-id {
  font-size: 0.76rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* ==========================================================================
   10. STUDENT TIMELINE TRACKER
   ========================================================================== */

.timeline-tracker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 1.5rem 0;
  padding: 0 1rem;
}

.timeline-tracker::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  flex: 1;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

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

.timeline-step.completed .step-circle {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
  color: #000;
  box-shadow: 0 0 12px var(--primary-glow);
}
.timeline-step.completed .step-label {
  color: var(--primary-light);
  font-weight: 700;
}

.timeline-step.current .step-circle {
  background: var(--bg-dark);
  border-color: var(--primary-accent);
  color: var(--primary-accent);
  box-shadow: 0 0 14px var(--primary-glow);
  transform: scale(1.15);
}
.timeline-step.current .step-label {
  color: #fff;
  font-weight: 800;
}

/* Shortlist Dispatch Floating Bar */
.shortlist-bar {
  position: fixed;
  bottom: 2rem;
  left: calc(var(--sidebar-w) + 2rem);
  right: 2rem;
  z-index: 900;
  background: rgba(8, 14, 9, 0.95);
  border: 1px solid var(--border-active);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), 0 0 30px var(--primary-glow);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 1rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.shortlist-badge-count {
  background: var(--primary-accent);
  color: #000;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-organic-pill);
}

/* ==========================================================================
   11. 3D ECOSYSTEM & AI VOICE INTERVIEW
   ========================================================================== */

.spatial-3d-wrapper {
  background: rgba(10, 16, 11, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), var(--inner-highlight);
  border-radius: var(--radius-organic-card);
  margin-bottom: 2.25rem;
  position: relative;
  overflow: hidden;
}

.spatial-3d-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.01);
}

.spatial-3d-title-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spatial-3d-title {
  font-family: 'Inter', 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.spatial-3d-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.spatial-3d-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-3d-ctrl {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-3d-ctrl:hover {
  background: var(--primary-accent);
  color: #000;
  border-color: var(--primary-accent);
}

#dashboard-3d-ecosystem-mount {
  width: 100%;
  height: 380px;
  position: relative;
  cursor: grab;
}

/* AI Voice Interview Orb & Waveform */
.interview-container {
  text-align: center;
  background: radial-gradient(circle at 50% 30%, #0e2013 0%, #040805 80%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.ai-avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.ai-orb {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-accent));
  border: 2px solid var(--primary-accent);
  box-shadow: 0 0 35px var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orbGlow 3s ease-in-out infinite alternate;
}

@keyframes orbGlow {
  0% { transform: scale(0.96); box-shadow: 0 0 25px var(--primary-glow); }
  100% { transform: scale(1.06); box-shadow: 0 0 50px rgba(7, 226, 25, 0.65); }
}

.waveform-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 48px;
  margin-bottom: 1.5rem;
}

.waveform-bar {
  width: 4px;
  height: 10px;
  background: var(--primary-accent);
  border-radius: 4px;
  transition: height 0.1s ease;
}

.waveform-bars.active .waveform-bar {
  animation: wave 1.2s ease-in-out infinite;
}

.waveform-bars.active .waveform-bar:nth-child(2) { animation-delay: 0.1s; }
.waveform-bars.active .waveform-bar:nth-child(3) { animation-delay: 0.2s; }
.waveform-bars.active .waveform-bar:nth-child(4) { animation-delay: 0.3s; }
.waveform-bars.active .waveform-bar:nth-child(5) { animation-delay: 0.4s; }
.waveform-bars.active .waveform-bar:nth-child(6) { animation-delay: 0.5s; }
.waveform-bars.active .waveform-bar:nth-child(7) { animation-delay: 0.4s; }
.waveform-bars.active .waveform-bar:nth-child(8) { animation-delay: 0.3s; }
.waveform-bars.active .waveform-bar:nth-child(9) { animation-delay: 0.2s; }
.waveform-bars.active .waveform-bar:nth-child(10) { animation-delay: 0.1s; }

@keyframes wave {
  0%, 100% { height: 8px; }
  50% { height: 42px; background: var(--secondary); }
}

/* ==========================================================================
   12. MODALS, BUTTONS & FORM CONTROLS
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.modal-content {
  background: #090e0a;
  border: 1px solid var(--border-active);
  box-shadow: var(--shadow-spatial-float), var(--inner-highlight);
  border-radius: var(--radius-organic-card);
  padding: 2.25rem;
  width: 100%;
  max-width: 680px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-backdrop.open .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.modal-close:hover {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}

/* Primary Neon Green CTA Buttons (Matching Reference) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: var(--primary-accent);
  color: #000000;
  border-color: var(--primary-accent);
  box-shadow: 0 0 25px var(--primary-glow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary:hover {
  background: #25f435;
  box-shadow: 0 0 35px rgba(7, 226, 25, 0.7);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #1a221c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: var(--inner-highlight);
}
.btn-secondary:hover {
  background: #232c25;
  border-color: var(--border-active);
  color: #fff;
}

.btn-accent {
  background: var(--primary-accent);
  color: #000;
  box-shadow: 0 0 25px var(--primary-glow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-accent:hover {
  background: #25f435;
  box-shadow: 0 0 35px rgba(7, 226, 25, 0.7);
  transform: translateY(-2px);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  border-color: var(--danger);
  color: var(--danger);
}
.btn-danger:hover {
  background: var(--danger);
  color: #fff;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  border-radius: 8px;
}
.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
  border-radius: 14px;
}

/* Form Controls */
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 0.88rem;
  padding: 0.68rem 0.9rem;
  border-radius: var(--radius-sm);
  outline: none;
  transition: all 0.2s ease;
}
.form-control:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 14px var(--primary-glow);
}

/* Drag and Drop Import Zone */
.import-zone {
  border: 2px dashed var(--border-active);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  background: rgba(7, 226, 25, 0.03);
  cursor: pointer;
  transition: all 0.2s ease;
}
.import-zone:hover, .import-zone.dragover {
  background: rgba(7, 226, 25, 0.08);
  border-color: var(--primary-accent);
  box-shadow: 0 0 25px var(--primary-glow);
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: rgba(7, 12, 8, 0.95);
  border: 1px solid var(--border-active);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9), 0 0 20px var(--primary-glow);
  backdrop-filter: blur(16px);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Reflow */
@media (max-width: 1024px) {
  .opp-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .sidebar {
    width: 72px;
    padding: 1rem 0.5rem;
  }
  .brand-text-block, .nav-text-block, .nav-section-title, .role-picker, .sidebar-footer {
    display: none;
  }
  .main-wrapper {
    margin-left: 72px;
  }
  .top-header {
    padding: 0 1rem;
  }
  #main-content-body {
    padding: 1.25rem;
  }
  .shortlist-bar {
    left: 80px;
  }
}

/* ==========================================================================
   HIERO BRIDGE — MASTER LOGIN & LANDING ENTRY EXPERIENCE
   Signature Theme: Deep Obsidian Black • Electric Neon Green (#00ff66)
   3D Perspective Holographic Projection Platform & Spacious Auth Card
   ========================================================================== */

/* Cursor-Reactive Background Canvas */
#network-canvas.network-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: #030504;
}

/* Base Body State for Entry Screen */
body.hiero-entry-body {
  background-color: #030504;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Plus Jakarta Sans', 'Outfit', -apple-system, sans-serif;
  color: #ffffff;
}

/* Main Login & Landing Viewport Container */
#login-screen.login-screen-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px 72px 32px;
  box-sizing: border-box;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Top & Center Split-Screen Stage */
.login-main-stage {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: center;
  max-width: 1420px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}

/* ==========================================================================
   LEFT COLUMN: BRAND SHOWCASE & HOLOGRAPHIC ECOSYSTEM
   ========================================================================== */
.brand-showcase-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 580px;
  max-width: 580px;
  width: 100%;
}

/* Small Hiero Bridge Identity at the Top */
.brand-top-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: brandIdentityReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

@keyframes brandIdentityReveal {
  0% {
    opacity: 0;
    transform: translateY(-16px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

.brand-top-logo-frame {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.22);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  cursor: pointer;
}

.brand-top-identity:hover .brand-top-logo-frame {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 0 28px rgba(0, 255, 102, 0.5);
}

.identity-lotus-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-top-text {
  display: flex;
  flex-direction: column;
}

.identity-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  line-height: 1.15;
}

.identity-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: #8fa196;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Center Brand Visual & Holographic Platform */
.brand-center-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0 10px;
  margin: auto 0;
  width: 100%;
}

/* ==========================================================================
   PREMIUM DISCORD-STYLE ANIMATED LOGO REVEAL & MOTION SYSTEM
   Motion Flow: Seed Anticipation -> Spring Transformation Pop -> Radial Assembly & Sheen Sweep -> Clean Settling -> Pristine Final State
   ========================================================================== */

.hero-logo-frame {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  perspective: 1000px;
  cursor: pointer;
  user-select: none;
}

/* Exact Approved HIERO Logo (Strictly Preserved) with Discord-Style Spring Reveal */
.approved-hiero-hero-img {
  width: 100%;
  max-width: 370px;
  height: auto;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 4;
  transform-origin: center center;
  will-change: transform, opacity, filter;
  /* Multi-stage animation: reveal sequence followed by organic float */
  animation: 
    discordLogoReveal 1.25s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    heroBiomorphicFloat 6s ease-in-out 1.35s infinite alternate;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Interactive hover micro-interaction */
.hero-logo-frame:hover .approved-hiero-hero-img {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 0 45px rgba(0, 255, 102, 0.65)) drop-shadow(0 0 15px rgba(0, 255, 102, 0.8));
}

.hero-logo-frame:active .approved-hiero-hero-img {
  transform: translateY(-1px) scale(0.97);
  transition-duration: 0.1s;
}

/* Discord-Style Logo Reveal Keyframes */
@keyframes discordLogoReveal {
  0% {
    opacity: 0;
    transform: scale(0.32) translateY(24px);
    filter: blur(16px) brightness(2.5) drop-shadow(0 0 25px rgba(0, 255, 102, 0.95));
  }
  30% {
    opacity: 0.85;
    transform: scale(0.6) translateY(12px);
    filter: blur(8px) brightness(1.7) drop-shadow(0 0 45px rgba(0, 255, 102, 0.85));
  }
  58% {
    opacity: 1;
    transform: scale(1.10) translateY(-6px);
    filter: blur(1px) brightness(1.25) drop-shadow(0 0 40px rgba(0, 255, 102, 0.65));
  }
  78% {
    opacity: 1;
    transform: scale(0.975) translateY(2px);
    filter: blur(0px) brightness(1.04) drop-shadow(0 0 35px rgba(0, 255, 102, 0.45));
  }
  90% {
    opacity: 1;
    transform: scale(1.015) translateY(-1px);
    filter: blur(0px) brightness(1.0);
  }
  100% {
    opacity: 1;
    transform: scale(1.0) translateY(0);
    filter: blur(0px) brightness(1.0) drop-shadow(0 0 35px rgba(0, 255, 102, 0.42));
  }
}

/* Biomorphic Idle Floating Motion */
@keyframes heroBiomorphicFloat {
  0% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 35px rgba(0, 255, 102, 0.42));
  }
  100% {
    transform: translateY(-6px) scale(1.008);
    filter: drop-shadow(0 0 45px rgba(0, 255, 102, 0.55));
  }
}

/* Optical Shockwave Emitter Layers */
.logo-reveal-shockwave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin-top: -100px;
  margin-left: -100px;
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 102, 0.85);
  box-shadow: 0 0 30px rgba(0, 255, 102, 0.75), inset 0 0 20px rgba(0, 255, 102, 0.45);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  will-change: transform, opacity;
  animation: logoShockwave 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

.logo-reveal-shockwave.shockwave-secondary {
  border-color: rgba(0, 255, 102, 0.5);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.4);
  animation: logoShockwave 1.25s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

@keyframes logoShockwave {
  0% {
    opacity: 0;
    transform: scale(0.25);
    border-width: 3px;
  }
  25% {
    opacity: 0.95;
    border-color: rgba(0, 255, 102, 0.95);
    box-shadow: 0 0 35px rgba(0, 255, 102, 0.9), inset 0 0 25px rgba(0, 255, 102, 0.6);
  }
  80% {
    opacity: 0.15;
    transform: scale(2.1);
    border-width: 1px;
    box-shadow: 0 0 50px rgba(0, 255, 102, 0.1);
  }
  100% {
    opacity: 0;
    transform: scale(2.4);
    border-width: 1px;
  }
}

/* Optical Diagonal Sheen Sweep Layer */
.logo-sheen-sweep-layer {
  position: absolute;
  inset: -15%;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
  border-radius: 20px;
  mix-blend-mode: screen;
}

.logo-sheen-sweep-layer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 15%,
    rgba(255, 255, 255, 0.45) 45%,
    rgba(0, 255, 102, 0.85) 50%,
    rgba(255, 255, 255, 0.45) 55%,
    transparent 85%
  );
  transform: translateX(-150%) skewX(-25deg);
  opacity: 0;
  will-change: transform, opacity;
  animation: logoSheenSweep 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.hero-logo-frame:hover .logo-sheen-sweep-layer::before {
  animation: logoSheenSweepHover 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes logoSheenSweep {
  0% {
    transform: translateX(-160%) skewX(-25deg);
    opacity: 0;
  }
  20% {
    opacity: 0.95;
  }
  75% {
    transform: translateX(160%) skewX(-25deg);
    opacity: 0.85;
  }
  100% {
    transform: translateX(200%) skewX(-25deg);
    opacity: 0;
  }
}

@keyframes logoSheenSweepHover {
  0% {
    transform: translateX(-160%) skewX(-25deg);
    opacity: 0;
  }
  30% {
    opacity: 0.9;
  }
  80% {
    transform: translateX(160%) skewX(-25deg);
    opacity: 0.7;
  }
  100% {
    transform: translateX(200%) skewX(-25deg);
    opacity: 0;
  }
}

/* Synchronized Ambient Green Glow Expansion */
.logo-ambient-green-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.32) 0%, rgba(0, 255, 102, 0.1) 45%, transparent 75%);
  filter: blur(35px);
  pointer-events: none;
  z-index: 1;
  animation: ambientGlowBloom 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes ambientGlowBloom {
  0% {
    opacity: 0;
    transform: scale(0.35);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.15);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Futuristic Holographic Projection Platform Underneath */
.holo-platform-wrap {
  position: relative;
  width: 440px;
  height: 160px;
  margin-top: -68px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  perspective: 750px;
  pointer-events: none;
}

/* 3D Perspective Concentric Glowing Rings */
.holo-rings-3d {
  position: absolute;
  width: 440px;
  height: 440px;
  transform: rotateX(75deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.holo-ring {
  position: absolute;
  border-radius: 50%;
  box-sizing: border-box;
}

/* Ring 1 (Outer Perimeter) */
.holo-ring-1 {
  width: 420px;
  height: 420px;
  border: 1.5px solid rgba(0, 255, 102, 0.38);
  box-shadow: 0 0 24px rgba(0, 255, 102, 0.24), inset 0 0 20px rgba(0, 255, 102, 0.12);
  animation: holoRotate 26s linear infinite, holoRingIgnite 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.65s both;
}

/* Ring 2 (Dashed Orbit) */
.holo-ring-2 {
  width: 320px;
  height: 320px;
  border: 1.5px dashed rgba(0, 255, 102, 0.55);
  box-shadow: 0 0 18px rgba(0, 255, 102, 0.28);
  animation: holoRotateReverse 18s linear infinite, holoRingIgnite 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}

/* Ring 3 (Inner Focus Ring) */
.holo-ring-3 {
  width: 220px;
  height: 220px;
  border: 2px solid rgba(0, 255, 102, 0.75);
  box-shadow: 0 0 26px rgba(0, 255, 102, 0.45), inset 0 0 16px rgba(0, 255, 102, 0.25);
  animation: holoPulse 4s ease-in-out infinite, holoRingIgnite 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s both;
}

/* Ring 4 (Core Energy Ring) */
.holo-ring-4 {
  width: 120px;
  height: 120px;
  border: 2px solid #00ff66;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.55) 0%, rgba(0, 255, 102, 0.15) 60%, transparent 100%);
  box-shadow: 0 0 35px #00ff66, inset 0 0 20px #00ff66;
  animation: holoPulse 3.5s ease-in-out infinite, holoRingIgnite 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes holoRingIgnite {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  60% {
    opacity: 1;
    transform: scale(1.06);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Holographic Perspective Grid Plane */
.holo-grid-plane {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background-image: 
    radial-gradient(rgba(0, 255, 102, 0.22) 1px, transparent 1px),
    repeating-radial-gradient(circle, rgba(0, 255, 102, 0.08) 0, rgba(0, 255, 102, 0.08) 1px, transparent 2px, transparent 20px);
  background-size: 20px 20px, 100% 100%;
  opacity: 0.65;
}

/* Soft Green Laser Core & Upward Radiant Flare */
.holo-core-flare {
  position: absolute;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #00ff66;
  filter: blur(18px);
  opacity: 0.85;
  animation: coreFlare 3s ease-in-out infinite alternate;
}

/* Subtle Vertical Digital Light Rays */
.holo-vertical-beams {
  position: absolute;
  bottom: 50%;
  width: 260px;
  height: 90px;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
}

.holo-vertical-beams .beam {
  width: 1.5px;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 255, 102, 0.55) 0%, rgba(0, 255, 102, 0.12) 60%, transparent 100%);
  filter: drop-shadow(0 0 4px #00ff66);
}

.holo-vertical-beams .beam-1 { height: 65%; opacity: 0.6; }
.holo-vertical-beams .beam-2 { height: 85%; opacity: 0.8; }
.holo-vertical-beams .beam-3 { height: 100%; opacity: 0.95; }
.holo-vertical-beams .beam-4 { height: 85%; opacity: 0.8; }
.holo-vertical-beams .beam-5 { height: 65%; opacity: 0.6; }

@keyframes holoRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes holoRotateReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes holoPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes coreFlare {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.15); opacity: 0.95; }
}

/* Brand Messaging */
.brand-messaging {
  margin-top: 10px;
  animation: brandMessagingReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

@keyframes brandMessagingReveal {
  0% {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

.brand-slogan {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  line-height: 1.25;
}

.brand-description {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 520px;
  margin: 0;
}

/* ==========================================================================
   RIGHT COLUMN: SPACIOUS AUTHENTICATION EXPERIENCE
   ========================================================================== */
.auth-panel-column {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.auth-card {
  width: 100%;
  max-width: 530px;
  background: rgba(9, 13, 11, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  padding: 48px 44px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.88), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 5;
}

.auth-card:hover {
  border-color: rgba(0, 255, 102, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.92);
}

/* Header */
.auth-header {
  margin-bottom: 24px;
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.28);
  border-radius: 999px;
  color: #00ff66;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 18px;
}

.badge-icon {
  stroke: #00ff66;
}

.auth-title {
  font-family: 'Outfit', sans-serif;
  font-size: 33px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.accent-green {
  color: #00ff66;
  text-shadow: 0 0 16px rgba(0, 255, 102, 0.35);
}

.auth-subtitle {
  font-size: 14.5px;
  color: #8e9e94;
  margin: 0;
  line-height: 1.5;
}

/* Social Login Options */
.social-login-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-social {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.btn-google {
  background: #ffffff;
  color: #111827;
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.btn-google:hover {
  background: #f8fafc;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.12);
}

.btn-github {
  background: #141816;
  color: #f0f6fc;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-github:hover {
  background: #1a201c;
  border-color: rgba(0, 255, 102, 0.3);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.divider-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: #5a6b61;
  font-weight: 600;
  letter-spacing: 2px;
}

/* Form Groups & Inputs */
.auth-form {
  display: flex;
  flex-direction: column;
}

.login-error-alert {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

.input-leading-icon {
  position: absolute;
  left: 16px;
  color: #5a6b61;
  pointer-events: none;
  transition: color 0.2s ease;
}

.input-trailing-action {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: #6b7c72;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.input-trailing-action:hover {
  color: #00ff66;
}

.form-input {
  width: 100%;
  height: 52px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
  font-size: 14.5px;
  padding: 0 46px 0 46px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-input::placeholder {
  color: #64746d;
}

.form-input:focus {
  border-color: #00ff66;
  background: rgba(0, 255, 102, 0.02);
  box-shadow: 0 0 0 3px rgba(0, 255, 102, 0.14);
}

.input-container:focus-within .input-leading-icon {
  color: #00ff66;
}

/* Account Options Row */
.account-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0 22px;
  font-size: 13.5px;
}

.custom-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #8e9e94;
  user-select: none;
}

.custom-checkbox-input {
  display: none;
}

.custom-checkbox-indicator {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.custom-checkbox-input:checked + .custom-checkbox-indicator {
  background: #00ff66;
  border-color: #00ff66;
  box-shadow: 0 0 8px rgba(0, 255, 102, 0.4);
}

.custom-checkbox-indicator svg {
  stroke: #030805;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.15s ease-in-out;
}

.custom-checkbox-input:checked + .custom-checkbox-indicator svg {
  opacity: 1;
  transform: scale(1);
}

.forgot-password-link {
  color: #00ff66;
  text-decoration: none;
  font-weight: 500;
  font-size: 13.5px;
  transition: opacity 0.2s ease;
}

.forgot-password-link:hover {
  opacity: 0.85;
  text-decoration: underline;
}

/* Primary Login CTA Button */
.btn-primary-cta {
  width: 100%;
  height: 52px;
  background: #00ff66;
  color: #020904;
  border: none;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.32);
}

.btn-primary-cta:hover {
  background: #14ff73;
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 255, 102, 0.58);
}

.btn-primary-cta:hover .arrow-icon {
  transform: translateX(4px);
}

.btn-primary-cta .arrow-icon {
  transition: transform 0.2s ease;
}

.btn-primary-cta:active {
  transform: translateY(0);
  box-shadow: 0 0 16px rgba(0, 255, 102, 0.4);
}

.btn-primary-cta.btn-loading {
  opacity: 0.75;
  cursor: wait;
}

/* Sign Up Footer Prompt */
.auth-footer-prompt {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: #8e9e94;
}

.signup-link {
  color: #00ff66;
  font-weight: 600;
  text-decoration: none;
  margin-left: 5px;
  transition: opacity 0.2s ease;
}

.signup-link:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* Quick Role Switcher (Demo / Testing Helpers) */
.demo-personas-section {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.persona-chips-label {
  font-size: 11.5px;
  color: #728277;
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

.persona-chips-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.persona-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 12px;
  color: #a1b0a6;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.persona-chip:hover {
  border-color: rgba(0, 255, 102, 0.4);
  color: #ffffff;
  background: rgba(0, 255, 102, 0.06);
}

.persona-chip.active {
  background: rgba(0, 255, 102, 0.12);
  border-color: #00ff66;
  color: #00ff66;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.15);
}

/* ==========================================================================
   BOTTOM TRUST INDICATORS BAR
   ========================================================================== */
.trust-indicators-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  background: rgba(8, 12, 10, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  max-width: 1420px;
  width: 100%;
  margin: 36px auto 0;
  box-sizing: border-box;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.trust-col {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00ff66;
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.15);
  flex-shrink: 0;
}

.trust-info {
  display: flex;
  flex-direction: column;
}

.trust-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.trust-desc {
  font-size: 13px;
  color: #8e9e94;
  margin-top: 2px;
}

.trust-separator {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 28px;
  flex-shrink: 0;
}

/* ==========================================================================
   TOPBAR LOGOUT BUTTON IN DASHBOARD
   ========================================================================== */
.topbar-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: 10px;
  color: #f87171;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 12px;
}

.topbar-logout-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.55);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
}

/* ==========================================================================
   MODAL DIALOGS (FORGOT PASSWORD & SIGN UP)
   ========================================================================== */
.hiero-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.hiero-modal.active {
  display: flex;
}

.hiero-modal .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  background: #0a0e0c;
  border: 1px solid rgba(0, 255, 102, 0.28);
  border-radius: 24px;
  padding: 34px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 50px rgba(0, 255, 102, 0.1);
  box-sizing: border-box;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.modal-title-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: #00ff66;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00ff66;
  box-shadow: 0 0 8px #00ff66;
}

.modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.modal-close-btn {
  background: none;
  border: none;
  color: #8fa196;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 18px;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.hiero-toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.hiero-toast {
  background: rgba(9, 13, 11, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 255, 102, 0.35);
  border-radius: 12px;
  padding: 12px 18px;
  color: #ffffff;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 255, 102, 0.15);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.hiero-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff66;
  box-shadow: 0 0 8px #00ff66;
  flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE LAYOUT MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
  #login-screen.login-screen-layout {
    padding: 36px 44px 28px;
  }
  .login-main-stage {
    gap: 48px;
  }
  .approved-hiero-hero-img {
    max-width: 320px;
  }
  .holo-platform-wrap {
    width: 380px;
    height: 140px;
  }
}

@media (max-width: 992px) {
  .login-main-stage {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .brand-showcase-column {
    max-width: 100%;
    align-items: center;
    text-align: center;
    min-height: auto;
  }
  .brand-top-identity {
    justify-content: center;
  }
  .brand-messaging {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .auth-panel-column {
    justify-content: center;
  }
  .auth-card {
    margin: 0 auto;
  }
  .trust-indicators-bar {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
  }
  .trust-separator {
    display: none;
  }
}

@media (max-width: 576px) {
  #login-screen.login-screen-layout {
    padding: 24px 16px;
  }
  .auth-card {
    padding: 32px 20px;
    border-radius: 20px;
  }
  .auth-title {
    font-size: 26px;
  }
  .approved-hiero-hero-img {
    max-width: 250px;
  }
  .holo-platform-wrap {
    width: 300px;
    height: 120px;
    margin-top: -50px;
  }
  .brand-slogan {
    font-size: 21px;
  }
}

/* ==========================================================================
   AUTHENTICATED DASHBOARD LAYOUT & BACKGROUND PURITY ENFORCEMENT
   Guarantees:
   1. Left sidebar is strictly fixed at 280px.
   2. Main dashboard starts strictly after the sidebar with zero overlap and full visibility.
   3. Zero horizontal displacement, no residual transforms from login transition.
   4. Deep obsidian black background (#020402), subtle green dots and thin lines only.
   5. Complete suppression of all login holographic/circular/radial glow elements.
   ========================================================================== */

body.authenticated {
  background-color: #020402 !important;
}

body.authenticated #network-canvas.network-bg-canvas,
body.authenticated #antigravity-bg {
  background-color: #020402 !important;
  opacity: 0.85 !important;
}

/* Ensure #login-screen and all its glowing holographic elements are 100% hidden */
body.authenticated #login-screen,
#login-screen.hidden,
#login-screen[style*="display: none"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: none !important;
}

/* Full-Width Application Container (No Sidebar) */
#app-container {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-height: 100vh !important;
  position: relative !important;
  z-index: 2 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  transform: none !important;
  left: 0 !important;
  background: transparent !important;
}

/* Sidebar Completely Removed */
.sidebar,
#app-container .sidebar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  position: static !important;
  overflow: hidden !important;
}

/* Full-Width Main Content Wrapper */
#app-container .main-wrapper,
#app-container .main-viewport {
  margin-left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: calc(100vh - var(--header-h)) !important;
  box-sizing: border-box !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  z-index: 1 !important;
  left: 0 !important;
  transform: none !important;
}

/* Page Container — Full-Width Expansive Spatial Layout (No Side Gaps) */
.page-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

#main-content-body {
  padding: 24px 28px 48px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  flex-grow: 1 !important;
}

/* ==========================================================================
   HIGH-IMPACT GLASSMORPHIC INSTITUTION STATUS RIBBON (GAP-FREE TELEMETRY)
   ========================================================================== */
.institution-header-strip {
  background: linear-gradient(135deg, rgba(8, 14, 10, 0.78) 0%, rgba(4, 9, 6, 0.88) 100%);
  border: 1px solid rgba(0, 255, 102, 0.16);
  border-radius: 16px;
  padding: 12px 22px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  box-sizing: border-box;
  transition: border-color 0.25s ease;
}

.institution-header-strip:hover {
  border-color: rgba(0, 255, 102, 0.3);
}

.inst-strip-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.inst-icon-shield {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: radial-gradient(circle at center, rgba(0, 255, 102, 0.14) 0%, rgba(0, 255, 102, 0.02) 100%);
  border: 1.5px solid #00ff66;
  color: #00ff66;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.35);
}

.inst-identity-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.inst-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.inst-title-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.2px;
  font-family: var(--font-heading), 'Outfit', sans-serif;
  line-height: 1.2;
}

.inst-pill-badge {
  font-size: 0.70rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.inst-pill-badge.tier {
  background: rgba(0, 255, 102, 0.12);
  color: #00ff66;
  border: 1px solid rgba(0, 255, 102, 0.35);
}

.inst-pill-badge.code {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-family: 'JetBrains Mono', monospace;
}

.inst-category-sub {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748b;
  font-family: var(--font-sans), sans-serif;
}

/* Middle Live Telemetry Chips */
.inst-strip-center {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.inst-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 13px;
  border-radius: 20px;
  font-family: var(--font-sans), sans-serif;
}

.inst-live-chip strong {
  color: #ffffff;
}

.inst-live-chip.live-sync {
  border-color: rgba(0, 255, 102, 0.22);
  background: rgba(0, 255, 102, 0.05);
}

.pulsing-green-dot {
  width: 7px;
  height: 7px;
  min-width: 7px;
  border-radius: 50%;
  background: #00ff66;
  box-shadow: 0 0 8px #00ff66;
  animation: pulseNeonDot 1.8s ease-in-out infinite;
}

@keyframes pulseNeonDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 6px #00ff66;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.75;
    box-shadow: 0 0 14px #00ff66;
  }
}

.inst-strip-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-inst-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.btn-inst-action:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-inst-action.primary {
  background: rgba(0, 255, 102, 0.1);
  border-color: rgba(0, 255, 102, 0.35);
  color: #00ff66;
}

.btn-inst-action.primary:hover {
  background: rgba(0, 255, 102, 0.2);
  border-color: #00ff66;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.25);
}

/* ==========================================================================
   PLACEMENT OPERATIONS COMMAND HUB HERO BANNER
   ========================================================================== */
.spatial-hero-banner {
  background: linear-gradient(180deg, rgba(12, 19, 14, 0.6) 0%, rgba(6, 10, 7, 0.7) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 20px !important;
  padding: 30px 34px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  position: relative !important;
  overflow: hidden !important;
}

.hero-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  color: #00ff66 !important;
  background: rgba(0, 255, 102, 0.06) !important;
  border: 1px solid rgba(0, 255, 102, 0.18) !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  margin-bottom: 12px !important;
}

.hero-title {
  font-size: 2.15rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.5px !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.2 !important;
}

.text-neon-green {
  color: #00ff66 !important;
}

.hero-desc {
  font-size: 0.92rem !important;
  color: #94a3b8 !important;
  max-width: 860px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* ==========================================================================
   3D ECOSYSTEM CONTAINER
   ========================================================================== */
.spatial-3d-wrapper {
  background: rgba(6, 11, 8, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 18px !important;
  margin-bottom: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
}

.spatial-3d-header {
  padding: 16px 24px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: rgba(255, 255, 255, 0.01) !important;
}

.spatial-3d-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.spatial-3d-sub {
  font-size: 0.78rem !important;
  color: #94a3b8 !important;
  margin-top: 2px !important;
}

#dashboard-3d-ecosystem-mount {
  width: 100% !important;
  height: 340px !important;
  position: relative !important;
  cursor: grab !important;
}

/* ==========================================================================
   STATISTICS CARDS (4-COLUMN HIGH-IMPACT HORIZONTAL ROW)
   ========================================================================== */
.kpi-spatial-grid,
.metrics-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px !important;
  margin-bottom: 24px !important;
}

@media (max-width: 1024px) {
  .kpi-spatial-grid,
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .kpi-spatial-grid,
  .metrics-grid {
    grid-template-columns: 1fr !important;
  }
}

.kpi-spatial-card,
.metric-card {
  background: rgba(10, 15, 11, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 18px !important;
  padding: 22px 24px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
  display: flex !important;
  flex-direction: column !important;
}

.kpi-spatial-card:hover,
.metric-card:hover {
  background: rgba(14, 21, 15, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6) !important;
}

.kpi-header-row,
.metric-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 14px !important;
}

.kpi-icon-box,
.metric-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.15rem !important;
  color: #00ff66 !important;
}

.kpi-badge {
  font-size: 0.70rem !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 12px !important;
  letter-spacing: 0.3px !important;
}

.kpi-badge.badge-success {
  background: rgba(0, 255, 102, 0.08) !important;
  color: #00ff66 !important;
  border: 1px solid rgba(0, 255, 102, 0.18) !important;
}

.kpi-badge.badge-info {
  background: rgba(6, 182, 212, 0.08) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(6, 182, 212, 0.18) !important;
}

.kpi-badge.badge-warning {
  background: rgba(245, 158, 11, 0.08) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.18) !important;
}

.kpi-metric-val,
.metric-value {
  font-size: 2.35rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1 !important;
  margin-bottom: 6px !important;
  letter-spacing: -0.8px !important;
}

.kpi-label {
  font-size: 0.94rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 3px !important;
}

.kpi-subtext,
.metric-sub {
  font-size: 0.76rem !important;
  color: #94a3b8 !important;
  margin-bottom: 14px !important;
  flex-grow: 1 !important;
  line-height: 1.35 !important;
}

.kpi-micro-bar {
  width: 100% !important;
  height: 3px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: 3px !important;
  overflow: hidden !important;
}

.kpi-micro-fill {
  height: 100% !important;
  background: #00ff66 !important;
  border-radius: 3px !important;
}

/* ==========================================================================
   OPPORTUNITY PIPELINE FILTER BAR & SEARCH INPUT
   ========================================================================== */
.filter-bar {
  background: rgba(8, 13, 9, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 16px !important;
  padding: 10px 18px !important;
  margin-bottom: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

.pipeline-tabs {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}

.pipeline-tab {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  color: #94a3b8 !important;
  padding: 6px 12px !important;
  border-radius: 20px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
}

.pipeline-tab:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #ffffff !important;
}

.pipeline-tab.active {
  background: rgba(0, 255, 102, 0.1) !important;
  border-color: rgba(0, 255, 102, 0.25) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.tab-count {
  font-size: 0.70rem !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #94a3b8 !important;
}

.pipeline-tab.active .tab-count {
  background: #00ff66 !important;
  color: #000000 !important;
}

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

.search-input-wrap svg {
  position: absolute !important;
  left: 12px !important;
  color: #64748b !important;
  pointer-events: none !important;
}

.search-input-wrap input {
  background: rgba(4, 8, 5, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 20px !important;
  padding: 7px 16px 7px 34px !important;
  color: #ffffff !important;
  font-size: 0.82rem !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  width: 240px !important;
  font-family: inherit !important;
}

.search-input-wrap input:focus {
  border-color: rgba(0, 255, 102, 0.4) !important;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.15) !important;
}

/* ==========================================================================
   OPPORTUNITY / JOB CARDS (3-COLUMN RESPONSIVE ENTERPRISE GRID)
   ========================================================================== */
.opp-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  margin-bottom: 48px !important;
}

@media (max-width: 1280px) {
  .opp-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

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

.opp-card {
  background: rgba(10, 16, 12, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 18px !important;
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
  box-sizing: border-box !important;
}

.opp-card:hover {
  background: rgba(13, 20, 15, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !important;
}

.opp-company {
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #00ff66 !important;
  margin-bottom: 6px !important;
}

.opp-title {
  font-size: 1.20rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.3px !important;
}

.opp-meta {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  font-size: 0.80rem !important;
  color: #94a3b8 !important;
  margin-bottom: 16px !important;
}

.opp-criteria-box {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px 16px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  margin-bottom: 16px !important;
}

.criteria-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.criteria-item span {
  font-size: 0.70rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #64748b !important;
}

.criteria-item strong {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.skills-pill-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-bottom: 20px !important;
}

.skill-pill {
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
}

.skill-pill.matched {
  background: rgba(0, 255, 102, 0.08) !important;
  border-color: rgba(0, 255, 102, 0.25) !important;
  color: #00ff66 !important;
}

.opp-card-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  gap: 12px !important;
}

.applicant-stat {
  font-size: 0.82rem !important;
  color: #94a3b8 !important;
}

.applicant-stat strong {
  color: #ffffff !important;
}

/* Vibrant Neon Green Action Button */
.btn-primary,
button.btn-primary {
  background: #00ff66 !important;
  color: #000000 !important;
  font-weight: 800 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 18px !important;
  font-size: 0.84rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.35) !important;
  font-family: inherit !important;
}

.btn-primary:hover,
button.btn-primary:hover {
  background: #1aff75 !important;
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.6) !important;
  transform: translateY(-1px) !important;
}

.btn-secondary,
button.btn-secondary {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
}

.btn-secondary:hover,
button.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

/* ==========================================================================
   DEDICATED STUDENT APPLICATION PORTAL STYLING (/apply)
   ========================================================================== */

body.student-portal-body {
  background-color: #020402 !important;
  color: #ffffff !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

/* Student Application Header */
.student-portal-header {
  height: 74px;
  background: rgba(4, 8, 5, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 255, 102, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  width: 100%;
}

.student-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.student-header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.student-header-pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #00ff66;
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.25);
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 2px;
}

.student-header-inst {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
}

.inst-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.inst-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}

/* Student Main Layout Container */
.student-main-layout {
  max-width: 1060px;
  margin: 0 auto;
  padding: 36px 24px 80px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  flex-grow: 1;
}

/* Multi-Screen Switcher */
.student-screen {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.student-screen.active {
  display: block;
  opacity: 1;
  animation: fadeInSpatial 0.35s ease forwards;
}

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

/* Welcome Header */
.student-welcome-banner {
  margin-bottom: 28px;
}

.welcome-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #00ff66;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.3);
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.student-main-heading {
  font-size: 2.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.student-subheading {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 820px;
  line-height: 1.6;
  margin: 0;
}

/* Opportunity Showcase Card */
.opp-showcase-card {
  background: rgba(8, 14, 10, 0.88);
  border: 1px solid rgba(0, 255, 102, 0.22);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.75);
  box-sizing: border-box;
}

.showcase-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.showcase-company {
  font-size: 0.85rem;
  font-weight: 800;
  color: #00ff66;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.showcase-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 12px 0;
  letter-spacing: -0.4px;
}

.showcase-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.meta-pill {
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 14px;
}

.badge-status-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #00ff66;
  background: rgba(0, 255, 102, 0.12);
  border: 1px solid rgba(0, 255, 102, 0.35);
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* 4-Tile Criteria Matrix */
.criteria-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0;
}

@media (max-width: 900px) {
  .criteria-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .criteria-matrix-grid {
    grid-template-columns: 1fr;
  }
}

.matrix-tile {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.matrix-label {
  font-size: 0.70rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.matrix-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.matrix-sub {
  font-size: 0.74rem;
  color: #94a3b8;
}

.text-cyan {
  color: #22d3ee !important;
}

.text-warning {
  color: #fbbf24 !important;
}

/* Showcase Section */
.showcase-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-micro-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.role-desc-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0;
}

/* Showcase Action Bar */
.showcase-action-bar {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 768px) {
  .showcase-action-bar {
    flex-direction: column;
    align-items: stretch;
  }
}

.action-helper-text {
  font-size: 0.88rem;
  color: #94a3b8;
  max-width: 480px;
  line-height: 1.5;
}

.btn-start-application {
  background: #00ff66 !important;
  color: #000000 !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.6px !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 16px 36px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 0 24px rgba(0, 255, 102, 0.45) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  white-space: nowrap !important;
  font-family: inherit !important;
}

.btn-start-application:hover {
  background: #1aff75 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 0 36px rgba(0, 255, 102, 0.7) !important;
}

/* ==========================================================================
   JOURNEY STEPPER BAR
   ========================================================================== */
.journey-stepper-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
}

.journey-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #94a3b8;
}

.journey-step.completed .step-circle {
  background: rgba(0, 255, 102, 0.18);
  border-color: #00ff66;
  color: #00ff66;
}

.journey-step.completed .step-label {
  color: #cbd5e1;
}

.journey-step.active .step-circle {
  background: #00ff66;
  border-color: #00ff66;
  color: #000000;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.5);
}

.journey-step.active .step-label {
  color: #ffffff;
  font-weight: 700;
}

.journey-divider {
  width: 48px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.journey-divider.active {
  background: #00ff66;
}

/* Form Header Block */
.form-header-block {
  margin-bottom: 28px;
  text-align: left;
}

/* Application Form Card */
.application-form-card {
  background: rgba(8, 14, 10, 0.88);
  border: 1px solid rgba(0, 255, 102, 0.22);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.75);
  box-sizing: border-box;
}

.opp-mini-recap {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 255, 102, 0.18);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

@media (max-width: 640px) {
  .opp-mini-recap {
    flex-direction: column;
    align-items: flex-start;
  }
}

.recap-company {
  font-size: 0.74rem;
  font-weight: 800;
  color: #00ff66;
  letter-spacing: 1px;
  margin-right: 8px;
}

.recap-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.recap-rule {
  font-size: 0.84rem;
  color: #94a3b8;
}

/* Form Groups */
.form-group-spatial {
  margin-bottom: 28px;
}

.form-label-spatial {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.required-star {
  color: #00ff66;
  margin-left: 2px;
}

.label-subtext {
  display: block;
  font-size: 0.76rem;
  font-weight: 400;
  color: #94a3b8;
  margin-top: 2px;
}

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

.input-spatial-wrap .input-icon {
  position: absolute;
  left: 16px;
  color: #64748b;
  pointer-events: none;
}

.form-input-spatial {
  width: 100%;
  background: rgba(4, 8, 5, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 16px 14px 48px;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.form-input-spatial:focus {
  border-color: #00ff66;
  box-shadow: 0 0 16px rgba(0, 255, 102, 0.25);
}

.form-input-spatial.input-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.25);
}

.field-error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 6px;
}

/* Academic Year Multi-Select Cards */
.academic-year-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}

.apply-year-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(4, 8, 5, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
}

.apply-year-card:hover {
  border-color: rgba(0, 255, 102, 0.45);
  background: rgba(0, 255, 102, 0.03);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.apply-year-card.selected {
  border-color: #00ff66;
  background: rgba(0, 255, 102, 0.09);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.24);
}

.apply-year-card.input-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.28) !important;
}

.apply-year-checkbox {
  display: none;
}

.apply-year-checkbox-indicator {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  background: rgba(0, 0, 0, 0.3);
  font-size: 13px;
  font-weight: 900;
  color: transparent;
}

.apply-year-card:hover .apply-year-checkbox-indicator {
  border-color: rgba(0, 255, 102, 0.6);
}

.apply-year-card.selected .apply-year-checkbox-indicator {
  background: #00ff66;
  border-color: #00ff66;
  color: #000000;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.6);
}

.apply-year-card.selected .apply-year-checkbox-indicator::after {
  content: '✓';
  color: #000000;
}

.apply-year-card-text {
  display: flex;
  flex-direction: column;
}

.apply-year-card-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.apply-year-card-sub {
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: 3px;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .academic-year-cards-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Hidden File Input */
.sr-only-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Resume Drag & Drop Dropzone */
.resume-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.resume-dropzone:hover,
.resume-dropzone.drag-over {
  border-color: #00ff66;
  background: rgba(0, 255, 102, 0.04);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.18);
}

.resume-dropzone.has-file {
  border-color: rgba(0, 255, 102, 0.4);
  background: rgba(0, 255, 102, 0.02);
}

.resume-dropzone.dropzone-invalid {
  border-color: #ef4444;
}

.dropzone-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.25);
  color: #00ff66;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.dropzone-prompt {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.dropzone-prompt strong {
  color: #00ff66;
}

.dropzone-meta {
  font-size: 0.76rem;
  color: #94a3b8;
}

.dropzone-selected-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.file-preview-left {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.file-doc-icon {
  font-size: 2rem;
  line-height: 1;
}

.file-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.file-size {
  font-size: 0.78rem;
  color: #00ff66;
}

.btn-remove-file {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-remove-file:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #ffffff;
}

/* ==========================================================================
   INTERACTIVE ANIMATED CGPA SCALE
   ========================================================================== */
.cgpa-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cgpa-display-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.cgpa-display-number {
  font-size: 2.85rem;
  font-weight: 900;
  color: #00ff66;
  line-height: 1;
  text-shadow: 0 0 20px rgba(0, 255, 102, 0.5);
  letter-spacing: -1px;
}

.cgpa-display-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.cgpa-scale-wrapper {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 28px 20px;
  box-sizing: border-box;
}

.slider-track-container {
  position: relative;
  width: 100%;
  margin: 12px 0 16px;
}

.spatial-cgpa-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(to right, #00ff66 0%, #00ff66 85%, rgba(255, 255, 255, 0.1) 85%, rgba(255, 255, 255, 0.1) 100%);
  outline: none;
  cursor: grab;
  transition: background 0.1s ease;
}

.spatial-cgpa-slider:active {
  cursor: grabbing;
}

/* WebKit Slider Thumb */
.spatial-cgpa-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #00ff66;
  border: 3px solid #040805;
  box-shadow: 0 0 16px rgba(0, 255, 102, 0.8);
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.spatial-cgpa-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 24px rgba(0, 255, 102, 1);
}

/* Firefox Slider Thumb */
.spatial-cgpa-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #00ff66;
  border: 3px solid #040805;
  box-shadow: 0 0 16px rgba(0, 255, 102, 0.8);
  cursor: grab;
}

/* Threshold Marker Line */
.cgpa-threshold-line {
  position: absolute;
  top: -8px;
  height: 26px;
  width: 2px;
  background: #fbbf24;
  pointer-events: none;
  z-index: 2;
}

.threshold-tag {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 1px 6px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Numeric Scale Ticks (0.0 - 10.0) */
.cgpa-scale-ticks {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 24px;
  padding: 0 2px;
  box-sizing: border-box;
}

.cgpa-tick {
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.cgpa-tick:hover,
.cgpa-tick.active {
  color: #00ff66;
  transform: scale(1.2);
}

/* Live Intelligent Eligibility Feedback Card */
.eligibility-feedback-card {
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  transition: all 0.25s ease;
}

.eligibility-feedback-card.eligible {
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.3);
}

.eligibility-feedback-card.not-eligible {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.eligibility-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  flex-shrink: 0;
}

.eligible .eligibility-icon-wrap {
  background: rgba(0, 255, 102, 0.15);
  border: 1px solid #00ff66;
  color: #00ff66;
}

.not-eligible .eligibility-icon-wrap {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid #fbbf24;
  color: #fbbf24;
}

.eligibility-title {
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.eligible .eligibility-title {
  color: #00ff66;
}

.not-eligible .eligibility-title {
  color: #fbbf24;
}

.eligibility-desc {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.4;
}

/* Form Actions */
.form-navigation-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 16px;
}

.btn-form-back {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-form-back:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.btn-form-submit {
  background: #00ff66 !important;
  color: #000000 !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px 32px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.4) !important;
  font-family: inherit !important;
}

.btn-form-submit:hover {
  background: #1aff75 !important;
  box-shadow: 0 0 28px rgba(0, 255, 102, 0.65) !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   SUCCESS / CONFIRMATION SCREEN
   ========================================================================== */
.success-confirmation-card {
  background: rgba(8, 14, 10, 0.88);
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.8);
  box-sizing: border-box;
}

.success-icon-glow-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 255, 102, 0.12);
  border: 1.5px solid #00ff66;
  box-shadow: 0 0 30px rgba(0, 255, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-icon-inner {
  color: #00ff66;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #00ff66;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.3);
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.success-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px 0;
  letter-spacing: -0.4px;
}

.success-sub {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 28px 0;
}

.receipt-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 28px 0;
  text-align: left;
}

.receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
}

.receipt-row:last-child {
  border-bottom: none;
}

.receipt-label {
  color: #94a3b8;
  font-weight: 500;
}

.receipt-value {
  font-weight: 700;
  color: #ffffff;
}

.success-action-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* ==========================================================================
   REDESIGNED OPPORTUNITY APPLICATION LINK GENERATED MODAL
   Spacious, Two-Column, Enterprise-Grade Distribution Gateway
   ========================================================================== */

.modal-content.link-modal-content {
  max-width: 880px !important;
  background: rgba(6, 11, 8, 0.96) !important;
  border: 1.5px solid rgba(0, 255, 102, 0.28) !important;
  border-radius: 20px !important;
  padding: 32px 36px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 255, 102, 0.15) !important;
  text-align: left !important;
  box-sizing: border-box !important;
  animation: modalPopSpatial 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes modalPopSpatial {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(14px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Modal Top Section */
.link-modal-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.link-modal-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 255, 102, 0.1);
  border: 1.5px solid rgba(0, 255, 102, 0.35);
  color: #00ff66;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(0, 255, 102, 0.25);
  flex-shrink: 0;
}

.link-modal-heading {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.link-modal-subheading {
  font-size: 0.88rem;
  color: #94a3b8;
  margin: 0;
}

/* Opportunity Information Summary Banner */
.link-modal-opp-banner {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(0, 255, 102, 0.18);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.modal-opp-badge {
  font-size: 0.74rem;
  font-weight: 800;
  color: #00ff66;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.modal-opp-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.modal-opp-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #94a3b8;
}

.modal-opp-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-opp-id-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  font-family: monospace;
}

.modal-opp-status-pill {
  font-size: 0.72rem;
  font-weight: 800;
  color: #00ff66;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.3);
  padding: 4px 10px;
  border-radius: 12px;
}

/* Two-Column Main Content Grid */
.link-modal-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 20px;
  margin-bottom: 26px;
}

/* Left Column Components */
.modal-subcard {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

.modal-subcard:last-child {
  margin-bottom: 0;
}

.modal-subcard-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #00ff66;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00ff66;
  box-shadow: 0 0 6px #00ff66;
}

.modal-url-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(4, 8, 5, 0.85);
  border: 1px solid rgba(0, 255, 102, 0.25);
  border-radius: 10px;
  padding: 4px 6px 4px 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-url-input-wrap:focus-within {
  border-color: #00ff66;
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.2);
}

.url-prefix-icon {
  color: #64748b;
  display: flex;
  align-items: center;
}

.modal-url-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: monospace;
  font-size: 0.82rem;
  padding: 8px 4px;
  width: 100%;
}

.btn-modal-copy {
  background: #00ff66 !important;
  color: #000000 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.3) !important;
  font-family: inherit !important;
}

.btn-modal-copy:hover {
  background: #1aff75 !important;
  box-shadow: 0 0 18px rgba(0, 255, 102, 0.5) !important;
}

.btn-modal-copy.copied {
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.5) !important;
}

.modal-url-helper {
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: 8px;
  line-height: 1.4;
}

.modal-subcard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.modal-subcard-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
}

.modal-rule-tag {
  font-size: 0.65rem;
  font-weight: 800;
  color: #00ff66;
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.2);
  padding: 2px 8px;
  border-radius: 10px;
}

.modal-criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
  margin-bottom: 14px;
}

.modal-criteria-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.crit-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.crit-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
}

.modal-meta-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.meta-micro-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 8px;
  border-radius: 6px;
}

.meta-micro-pill strong {
  color: #cbd5e1;
}

/* Right Column: Dedicated QR Access Card */
.qr-access-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 255, 102, 0.18);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
  justify-content: space-between;
}

.qr-card-header {
  margin-bottom: 12px;
}

.qr-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.qr-card-sub {
  font-size: 0.76rem;
  color: #94a3b8;
  line-height: 1.35;
  max-width: 220px;
  margin: 0 auto;
}

.qr-code-presentation-box {
  position: relative;
  padding: 12px;
  margin: 6px auto 12px;
}

.qr-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #00ff66;
  border-style: solid;
  pointer-events: none;
}

.qr-top-left {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.qr-top-right {
  top: 0;
  right: 0;
  border-width: 2px 2px 0 0;
}

.qr-bottom-left {
  bottom: 0;
  left: 0;
  border-width: 0 0 2px 2px;
}

.qr-bottom-right {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

.qr-frame {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(0, 255, 102, 0.35);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.qr-code-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  display: block;
}

.qr-code-svg-fallback {
  width: 140px;
  height: 140px;
}

.qr-scan-line {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ff66, transparent);
  box-shadow: 0 0 8px #00ff66;
  animation: scanLineAnim 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scanLineAnim {
  0% {
    top: 14px;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    top: calc(100% - 14px);
    opacity: 0;
  }
}

.qr-card-footer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.qr-info-item {
  font-size: 0.74rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Bottom Action Footer Bar */
.link-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-modal-secondary {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #cbd5e1 !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  padding: 12px 20px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: inherit !important;
}

.btn-modal-secondary:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.btn-modal-primary {
  background: #00ff66 !important;
  color: #000000 !important;
  font-size: 0.88rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 12px 24px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.4) !important;
  font-family: inherit !important;
}

.btn-modal-primary:hover {
  background: #1aff75 !important;
  box-shadow: 0 0 28px rgba(0, 255, 102, 0.65) !important;
  transform: translateY(-1px) !important;
}

/* Modal Responsive Adaptations */
@media (max-width: 768px) {
  .link-modal-grid {
    grid-template-columns: 1fr !important;
  }
  .modal-content.link-modal-content {
    padding: 24px 20px !important;
  }
  .link-modal-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .btn-modal-secondary,
  .btn-modal-primary {
    width: 100% !important;
    justify-content: center !important;
  }
}/* ==========================================================================
   ADVANCED FILTER SYSTEM — VERIFIED FINAL-YEAR STUDENT POOL
   ========================================================================== */

/* Filter Trigger Button */
.btn-filter-trigger {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 255, 102, 0.25);
  color: #00ff66;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  user-select: none;
}

.btn-filter-trigger:hover {
  background: rgba(0, 255, 102, 0.1);
  border-color: #00ff66;
  box-shadow: 0 0 16px rgba(0, 255, 102, 0.3);
  transform: translateY(-1px);
}

.btn-filter-trigger.active {
  background: rgba(0, 255, 102, 0.14);
  border-color: #00ff66;
  box-shadow: 0 0 18px rgba(0, 255, 102, 0.35);
  color: #ffffff;
}

.filter-badge-count {
  background: #00ff66;
  color: #000000;
  font-size: 0.68rem;
  font-weight: 900;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 0 8px rgba(0, 255, 102, 0.6);
}

/* Active Filter Chips Strip */
.active-filters-strip {
  padding: 10px 20px;
  background: rgba(0, 255, 102, 0.03);
  border-bottom: 1px solid rgba(0, 255, 102, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: filterStripSlide 0.25s ease-out;
}

@keyframes filterStripSlide {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.active-filters-label {
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 0.70rem;
}

.active-filter-chips-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.active-filter-chip {
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.3);
  color: #e2e8f0;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 0 8px rgba(0, 255, 102, 0.12);
}

.active-filter-chip:hover {
  background: rgba(0, 255, 102, 0.14);
  border-color: rgba(0, 255, 102, 0.5);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.25);
}

.chip-remove-btn {
  background: transparent;
  border: none;
  color: #00ff66;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
  padding: 0 2px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease, transform 0.15s ease;
}

.chip-remove-btn:hover {
  color: #ffffff;
  transform: scale(1.2);
}

.btn-clear-all-filters {
  background: transparent;
  border: none;
  color: #94a3b8;
  text-decoration: underline;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: auto;
  transition: color 0.2s ease;
  padding: 2px 6px;
}

.btn-clear-all-filters:hover {
  color: #ff4d4f;
}

/* Filter Modal Panel */
.modal-content.filter-panel-content {
  max-width: 580px !important;
  width: 92% !important;
  background: rgba(6, 11, 8, 0.97) !important;
  border: 1.5px solid rgba(0, 255, 102, 0.3) !important;
  border-radius: 18px !important;
  padding: 26px 28px !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.96), 0 0 35px rgba(0, 255, 102, 0.18) !important;
  backdrop-filter: blur(20px) !important;
  animation: filterModalEnter 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes filterModalEnter {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.filter-panel-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-header-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.3);
  color: #00ff66;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.2);
}

.filter-panel-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 3px 0;
  letter-spacing: -0.2px;
}

.filter-panel-subtitle {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.3;
}

.filter-panel-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filter-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 18px 20px;
  transition: border-color 0.2s ease;
}

.filter-section:hover {
  border-color: rgba(0, 255, 102, 0.2);
}

.filter-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  gap: 12px;
}

.filter-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #00ff66;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 3px;
  display: block;
}

.filter-section-desc {
  font-size: 0.76rem;
  color: #94a3b8;
  line-height: 1.3;
}

.cgpa-filter-val-pill {
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.35);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.90rem;
  color: #00ff66;
  white-space: nowrap;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.2);
  font-family: monospace;
}

/* CGPA Slider & Ticks */
.filter-slider-container {
  margin-top: 6px;
}

.filter-slider-track-wrap {
  position: relative;
  margin: 6px 0 12px;
}

.spatial-cgpa-slider.filter-cgpa-input {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.spatial-cgpa-slider.filter-cgpa-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00ff66;
  border: 2px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.spatial-cgpa-slider.filter-cgpa-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.95);
}

.spatial-cgpa-slider.filter-cgpa-input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00ff66;
  border: 2px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.filter-cgpa-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.70rem;
  color: #64748b;
  font-family: monospace;
  font-weight: 600;
  padding: 0 2px;
  user-select: none;
}

.f-tick {
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.f-tick:hover {
  color: #00ff66;
  background: rgba(0, 255, 102, 0.12);
  transform: translateY(-1px);
}

/* Academic Year Options Grid */
.academic-year-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.year-select-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
}

.year-select-card:hover {
  border-color: rgba(0, 255, 102, 0.35);
  background: rgba(0, 255, 102, 0.02);
  transform: translateY(-1px);
}

.year-select-card.selected {
  border-color: #00ff66;
  background: rgba(0, 255, 102, 0.08);
  box-shadow: 0 0 16px rgba(0, 255, 102, 0.18);
}

.year-select-card input[type="checkbox"] {
  display: none;
}

.year-card-indicator {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  background: rgba(0, 0, 0, 0.2);
}

.year-select-card.selected .year-card-indicator {
  background: #00ff66;
  border-color: #00ff66;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.4);
}

.year-select-card.selected .year-card-indicator::after {
  content: '✓';
  color: #000000;
  font-size: 12px;
  font-weight: 900;
}

.year-card-info {
  display: flex;
  flex-direction: column;
}

.year-card-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.year-card-sub {
  font-size: 0.68rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* Filter Preview Banner */
.filter-preview-banner {
  background: rgba(0, 255, 102, 0.04);
  border: 1px solid rgba(0, 255, 102, 0.18);
  border-radius: 9px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.80rem;
  color: #cbd5e1;
}

.filter-preview-banner .preview-icon {
  font-size: 1.05rem;
}

/* Filter Panel Footer */
.filter-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-filter-reset {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.80rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.btn-filter-reset:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-filter-apply {
  background: #00ff66 !important;
  color: #000000 !important;
  font-size: 0.85rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 22px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  box-shadow: 0 0 16px rgba(0, 255, 102, 0.4) !important;
  font-family: inherit !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-filter-apply:hover {
  background: #1aff75 !important;
  box-shadow: 0 0 26px rgba(0, 255, 102, 0.65) !important;
  transform: translateY(-1px) !important;
}

/* Mobile & Tablet Adjustments for Filter Panel */
@media (max-width: 640px) {
  .academic-year-options-grid {
    grid-template-columns: 1fr;
  }
  .filter-section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .cgpa-filter-val-pill {
    align-self: flex-start;
    margin-top: 6px;
  }
  .filter-panel-footer {
    flex-direction: column-reverse;
  }
  .btn-filter-reset,
  .btn-filter-apply {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   COMPACT SLEEK STUDENT POOL CARDS STREAM (PICTURE 2 REDESIGN)
   ========================================================================== */
.student-cards-stream {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.student-pool-card {
  position: relative;
  background: linear-gradient(135deg, rgba(8, 14, 10, 0.82) 0%, rgba(4, 8, 5, 0.9) 100%);
  border: 1px solid rgba(0, 255, 102, 0.16);
  border-radius: 18px;
  padding: 18px 24px 16px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.student-pool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 255, 102, 0.04), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.student-pool-card:hover {
  border-color: rgba(0, 255, 102, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 255, 102, 0.12), inset 0 1px 0 rgba(0, 255, 102, 0.15);
}

.student-pool-card:hover::before {
  opacity: 1;
}

/* Card Top Section: Identity & Stats */
.student-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Identity Left */
.student-identity-block {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 280px;
}

.student-avatar-ring {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #07150a 0%, #020502 100%);
  border: 2px solid #00ff66;
  box-shadow: 0 0 16px rgba(0, 255, 102, 0.5), inset 0 0 8px rgba(0, 255, 102, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.1rem;
  font-family: var(--font-heading), 'Outfit', sans-serif;
  letter-spacing: -0.5px;
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.5);
  transition: transform 0.25s ease;
}

.student-pool-card:hover .student-avatar-ring {
  transform: scale(1.04);
  box-shadow: 0 0 22px rgba(0, 255, 102, 0.7), inset 0 0 10px rgba(0, 255, 102, 0.4);
}

.student-identity-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.student-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.student-card-name {
  font-size: 1.22rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
  font-family: var(--font-heading), 'Outfit', sans-serif;
  line-height: 1.2;
}

.student-card-name:hover {
  color: #00ff66;
  cursor: pointer;
}

.badge-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 255, 102, 0.12);
  border: 1px solid rgba(0, 255, 102, 0.45);
  color: #00ff66;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.15);
  transition: all 0.2s ease;
}

.badge-verified-pill:hover {
  background: rgba(0, 255, 102, 0.22);
  border-color: #00ff66;
  box-shadow: 0 0 16px rgba(0, 255, 102, 0.35);
}

.badge-verified-pill.pending {
  background: rgba(234, 179, 8, 0.12);
  border-color: rgba(234, 179, 8, 0.45);
  color: #facc15;
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.15);
}

.badge-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.badge-status-pill.active {
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.3);
  color: #00ff66;
}

.badge-status-pill.placed {
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #d8b4fe;
}

.badge-status-pill.ineligible {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.student-card-subline {
  font-size: 0.82rem;
  color: #94a3b8;
  font-family: var(--font-sans), 'Plus Jakarta Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.student-card-subline .sub-roll {
  font-family: 'JetBrains Mono', monospace;
  color: #e2e8f0;
  font-weight: 600;
}

.student-card-subline .sub-dept {
  color: #00ff66;
  font-weight: 600;
}

.student-card-subline .sub-dot {
  color: rgba(255, 255, 255, 0.25);
}

/* Right Stats Cluster */
.student-card-stats-cluster {
  display: flex;
  align-items: center;
  gap: 28px;
}

.student-metric-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 68px;
  text-align: center;
}

.student-metric-box .metric-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #00ff66;
  text-transform: uppercase;
  margin-bottom: 2px;
  font-family: var(--font-sans), sans-serif;
}

.student-metric-box .metric-tag.dim {
  color: #64748b;
}

.student-metric-box .metric-number {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
  font-family: var(--font-heading), 'Outfit', sans-serif;
  letter-spacing: -0.5px;
}

.student-metric-box .metric-number.cgpa-number {
  color: #00ff66;
  text-shadow: 0 0 14px rgba(0, 255, 102, 0.5);
}

.student-metric-box .metric-number.count-number {
  color: #ffffff;
}

.student-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.btn-card-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-card-action:hover {
  background: rgba(0, 255, 102, 0.12);
  border-color: rgba(0, 255, 102, 0.4);
  color: #00ff66;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.2);
}

.btn-card-action.delete {
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.2);
  padding: 7px 10px;
}

.btn-card-action.delete:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ef4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.25);
}

/* Card Divider */
.student-card-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(0, 255, 102, 0.25) 0%, rgba(255, 255, 255, 0.06) 60%, rgba(255, 255, 255, 0.02) 100%);
  margin: 14px 0 12px 0;
}

/* Card Bottom Section: Competencies & Master Resume */
.student-card-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.student-competencies-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}

.competencies-heading {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  color: #00ff66;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: var(--font-sans), sans-serif;
}

.competency-chips-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.competency-chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: #00ff66;
  background: rgba(0, 255, 102, 0.06);
  border: 1px solid rgba(0, 255, 102, 0.25);
  border-radius: 7px;
  padding: 3px 10px;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
}

.competency-chip:hover {
  background: rgba(0, 255, 102, 0.16);
  border-color: #00ff66;
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.25);
}

.applied-opp-chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 7px;
  padding: 3px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-master-resume {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  padding: 6px 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  font-family: var(--font-sans), sans-serif;
}

.btn-master-resume:hover {
  background: rgba(0, 255, 102, 0.12);
  border-color: #00ff66;
  color: #00ff66;
  box-shadow: 0 0 16px rgba(0, 255, 102, 0.3);
  transform: translateY(-1px);
}

.btn-master-resume svg {
  color: #00ff66;
}

@media (max-width: 900px) {
  .student-card-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .student-card-stats-cluster {
    width: 100%;
    justify-content: space-between;
  }
  .student-card-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .btn-master-resume {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   SPATIAL ROUTE TRANSITION OVERLAY (LOGO-FREE, 3-SEC CYBER-HUD AESTHETICS)
   ========================================================================== */
.spatial-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 999998;
  background: radial-gradient(circle at 50% 50%, rgba(6, 20, 10, 0.88) 0%, rgba(2, 4, 2, 0.95) 85%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.97);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  will-change: opacity, transform;
}

.spatial-transition-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: scale(1);
}

.spatial-transition-overlay.dismissing {
  opacity: 0;
  transform: scale(1.03);
  visibility: hidden;
  pointer-events: none;
}

/* Top Edge Neon Laser Sweep Line */
.spatial-transition-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 255, 102, 0.2) 15%,
    rgba(0, 255, 102, 0.95) 45%,
    #ffffff 50%,
    rgba(0, 255, 102, 0.95) 55%,
    rgba(0, 255, 102, 0.2) 85%,
    transparent 100%
  );
  box-shadow: 0 0 28px #00ff66, 0 0 50px rgba(0, 255, 102, 0.95);
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}

.spatial-transition-overlay.active .spatial-transition-laser {
  animation: laserSweepTrack 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Central Stage Container */
.spatial-transition-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  max-width: 620px;
  width: 100%;
}

/* Ambient Backlight Holographic Glow */
.spatial-trans-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 440px;
  height: 440px;
  margin-top: -220px;
  margin-left: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.35) 0%, rgba(0, 255, 102, 0.08) 50%, transparent 75%);
  filter: blur(55px);
  pointer-events: none;
  opacity: 0;
}

.spatial-transition-overlay.active .spatial-trans-ambient-glow {
  animation: splashAmbientGlow 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Holographic Navigation Card Capsule */
.spatial-navigation-card {
  position: relative;
  background: linear-gradient(135deg, rgba(8, 22, 12, 0.98) 0%, rgba(2, 6, 3, 0.98) 100%);
  border: 1.5px solid rgba(0, 255, 102, 0.85);
  border-radius: 24px;
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.95), 0 0 45px rgba(0, 255, 102, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  width: 100%;
  transform: translateY(-24px) scale(0.92);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  overflow: hidden;
}

.spatial-transition-overlay.active .spatial-navigation-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Icon Cluster with Concentric Radar Pulse Rings */
.nav-hud-icon-cluster {
  position: relative;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-hud-icon-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #0a2411 0%, #010401 100%);
  border: 2.5px solid #00ff66;
  box-shadow: 0 0 24px rgba(0, 255, 102, 0.85), inset 0 0 10px rgba(0, 255, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: #00ff66;
  z-index: 3;
  animation: hudIconPulse 1.4s ease-in-out infinite;
}

.nav-hud-pulse-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 255, 102, 0.5);
  animation: hudRadarPulse 1.8s ease-out infinite;
}

.pulse-ring.ring-2 {
  inset: -16px;
  border-color: rgba(0, 255, 102, 0.25);
  animation: hudRadarPulse 1.8s ease-out infinite 0.6s;
}

@keyframes hudRadarPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* Typography Block */
.nav-hud-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.nav-hud-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 2px;
}

.spatial-trans-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 800;
  color: #00ff66;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(0, 255, 102, 0.12);
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 102, 0.35);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.25);
}

.nav-hud-live-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 1px;
  background: rgba(56, 189, 248, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.spatial-trans-title {
  font-family: var(--font-heading), 'Outfit', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 4px 0;
}

.spatial-trans-title span.accent-green {
  color: #00ff66;
  text-shadow: 0 0 18px rgba(0, 255, 102, 0.85);
}

.spatial-trans-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* 3-Second High-Precision Progress Tracker */
.nav-hud-progress-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.nav-hud-progress-bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 102, 0.25);
}

.nav-hud-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00ff66, #38bdf8);
  box-shadow: 0 0 14px #00ff66;
  border-radius: 999px;
}

.spatial-transition-overlay.active .nav-hud-progress-fill {
  animation: hudProgressFill 3s linear forwards;
}

.nav-hud-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.status-radar-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: #00ff66;
  box-shadow: 0 0 10px #00ff66;
  animation: pulseNeonDot 1.2s infinite;
}

.status-radar-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: #00ff66;
  letter-spacing: 1px;
  text-transform: uppercase;
  flex: 1;
  text-align: left;
}

.nav-hud-time-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 800;
  color: #00ff66;
  background: rgba(0, 255, 102, 0.12);
  padding: 1px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 102, 0.3);
}

@keyframes hudProgressFill {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@keyframes laserSweepTrack {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes hudIconPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 24px rgba(0, 255, 102, 0.85), inset 0 0 10px rgba(0, 255, 102, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 36px rgba(0, 255, 102, 1), inset 0 0 16px rgba(0, 255, 102, 0.7);
  }
}

@keyframes pulseNeonDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

@keyframes splashAmbientGlow {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Stage View Enter Warp Animation */
.spatial-view-enter {
  animation: spatialViewWarpEnter 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes spatialViewWarpEnter {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Button Click Ripple Wave Effect */
.btn-ripple-host {
  position: relative !important;
  overflow: hidden !important;
}

.spatial-click-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.65) 0%, rgba(0, 255, 102, 0.1) 60%, transparent 80%);
  transform: scale(0);
  animation: spatialRippleWave 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
  z-index: 10;
}

@keyframes spatialRippleWave {
  0% {
    transform: scale(0);
    opacity: 0.9;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}



