/* ========================================================
   EASYAPPLYNOW // GAMING & TECH CAREER HUB
   THEMES: Light Mode (Default) | Light Pink | Cyber Black
   ======================================================== */

:root,
[data-theme="purple"] {
  --theme-mode: purple;
  --bg-deep: #f5f3ff;
  --bg-body: #faf5ff;
  --bg-card: #ffffff;
  --bg-card-hover: #faf5ff;
  --bg-hud: rgba(255, 255, 255, 0.96);
  --bg-subtle: #ede9fe;

  --neon-cyan: #7c3aed;
  /* Royal Cyber Purple primary */
  --neon-cyan-glow: rgba(124, 58, 237, 0.25);
  --neon-cyan-dim: #ede9fe;

  --neon-pink: #a855f7;
  --neon-pink-glow: rgba(168, 85, 247, 0.25);
  --neon-pink-dim: #f3e8ff;

  --neon-green: #059669;
  /* Matrix Emerald */
  --neon-green-glow: rgba(5, 150, 105, 0.25);
  --neon-green-dim: #d1fae5;

  --neon-gold: #d97706;
  /* Amber / Gold */
  --neon-gold-glow: rgba(217, 119, 6, 0.25);
  --neon-gold-dim: #fef3c7;

  --neon-purple: #7c3aed;
  /* Royal Cyber Purple */
  --neon-purple-glow: rgba(124, 58, 237, 0.25);
  --neon-purple-dim: #f3e8ff;

  --text-main: #2e1065;
  /* Deep rich royal purple text */
  --text-muted: #5b21b6;
  /* Medium purple muted text */
  --text-light: #7c3aed;
  --text-dark: #9333ea;

  --border-cyber: #ddd6fe;
  /* Soft lavender borders */
  --border-muted: #ede9fe;
  --border-strong: #c4b5fd;

  --grid-line-color: rgba(124, 58, 237, 0.08);
  --bg-gradient-top: #faf5ff;
  --bg-gradient-bottom: #f5f3ff;

  --font-cyber: 'Orbitron', -apple-system, sans-serif;
  --font-sub: 'Rajdhani', sans-serif;
  --font-tech: 'Chakra Petch', sans-serif;
  --font-body: 'Space Grotesk', -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px -1px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
  --transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.neon-purple {
  color: var(--neon-purple);
  font-weight: 800;
}

html {
  height: 100%;
  font-size: 14px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.gaming-light-theme {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  line-height: 1.4;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Background (Single Solid Color - No Multi-Color Gradients) */
.cyber-bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-body);
  z-index: -3;
  pointer-events: none;
  transition: background 0.3s ease;
}

.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    linear-gradient(var(--grid-line-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-color) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: -2;
  pointer-events: none;
  opacity: 0.7;
  transform: translateZ(0);
  contain: strict;
}

/* ========================================================
   HEADER & NAVIGATION
   ======================================================== */
.cyber-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-muted);
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04);
  transform: translateZ(0);
  will-change: transform;
}

.nav-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
}

.brand-zone {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-glitch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cyber);
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  cursor: pointer;
  text-decoration: none;
}

.brand-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.35);
  border: 1.5px solid rgba(124, 58, 237, 0.5);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  flex-shrink: 0;
}

.brand-logo-img:hover {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.55);
}





.brand-title {
  color: var(--text-main);
}







.server-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--neon-green-dim);
  border: 1px solid rgba(5, 150, 105, 0.3);
  padding: 3px 8px;
  border-radius: 14px;
  font-family: var(--font-tech);
  font-size: 0.68rem;
  letter-spacing: 0.5px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 6px rgba(5, 150, 105, 0.5);
}

.status-dot.pulsing {
  animation: statusPulse 1.8s infinite;
}

@keyframes statusPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.25);
    opacity: 1;
    box-shadow: 0 0 12px rgba(5, 150, 105, 0.7);
  }

  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

.status-label {
  color: var(--neon-green);
  font-weight: 700;
}

.status-ping {
  color: var(--text-muted);
  border-left: 1px solid var(--border-cyber);
  padding-left: 6px;
  font-weight: 600;
}



/* Settings Gear Icon in Top Bar */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-map-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border-cyber);
  border-radius: 8px;
  color: #7c3aed;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.location-map-btn:hover {
  background: #f5f3ff;
  border-color: #7c3aed;
  color: #6d28d9;
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.35);
}

.location-map-btn:active {
  transform: scale(0.95);
}

.location-btn-pulse {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: locationPulse 2s infinite ease-in-out;
}

@keyframes locationPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.6);
    opacity: 0.4;
  }
}

.settings-gear-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border-cyber);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.settings-gear-btn:hover {
  background: var(--neon-cyan-dim);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--neon-cyan-glow);
}

.settings-gear-btn:active {
  transform: rotate(90deg) scale(0.95);
}

/* ========================================================
   BUTTONS & HUD CONTROLS
   ======================================================== */
.hud-btn {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-cyber);
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.5px;
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.hud-btn-sm {
  padding: 6px 12px;
  font-size: 0.78rem;
}

.hud-btn:hover {
  background: var(--bg-subtle);
  border-color: var(--text-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.hud-btn-cyan {
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.3);
}

.hud-btn-cyan:hover {
  background: #0369a1;
  border-color: #0369a1;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
}

.hud-btn-pink {
  background: var(--neon-pink);
  border-color: var(--neon-pink);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.3);
}

.hud-btn-pink:hover {
  background: #be123c;
  border-color: #be123c;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.4);
}

.hud-btn-secondary {
  background: var(--bg-subtle);
  border-color: var(--border-cyber);
  color: var(--text-main);
}

.hud-btn-secondary:hover {
  background: #ffffff;
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

/* Sync Dial Widget */
.sync-widget {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 4px 6px 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-cyber);
  box-shadow: var(--shadow-sm);
}

.sync-timer-dial {
  position: relative;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring__circle {
  transition: stroke-dashoffset 0.5s ease;
  stroke-dasharray: 69.115;
  stroke-dashoffset: 0;
}

.timer-number {
  position: absolute;
  font-family: var(--font-cyber);
  font-size: 0.65rem;
  color: var(--neon-cyan);
  font-weight: 800;
}

.rotating {
  animation: spinIcon 1s linear infinite;
}

@keyframes spinIcon {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ========================================================
   HERO SECTION
   ======================================================== */
.main-content {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 12px 14px 25px;
}

/* ========================================================
   TERMINAL & FILTER CONTROLS (ULTRA-COMPACT)
   ======================================================== */
.quest-section {
  position: relative;
  height: auto;
}

.terminal-bar {
  background: #ffffff;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  padding: 6px 8px;
  margin-bottom: 8px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: auto !important;
  min-height: 0 !important;
}

.terminal-top-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.search-wrap {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  height: 30px;
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--neon-cyan);
  font-size: 0.78rem;
}

.search-wrap input {
  width: 100%;
  height: 30px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-cyber);
  border-radius: 6px;
  padding: 0 26px 0 28px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  transition: var(--transition);
}

.search-wrap input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}

.clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.75rem;
}

.clear-btn:hover {
  color: var(--text-main);
}

/* ========================================================
   TOP FLOATING NOTIFICATION TOAST
   Enters from the top (slides down), displays, exits to the top (slides up)
   ======================================================== */
.top-notification-toast,
.live-toast {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translate(-50%, -150%);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
  max-width: 92vw;
  width: max-content;
  display: flex !important;
  align-items: center;
}

.top-notification-toast.active,
.live-toast.active {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.toast-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--neon-cyan);
  color: var(--text-main);
  padding: 8px 14px 8px 16px;
  border-radius: 30px;
  box-shadow: 0 10px 30px -4px rgba(2, 132, 199, 0.22), 0 4px 12px rgba(15, 23, 42, 0.08);
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.toast-inner.warning {
  border-color: var(--neon-gold);
  box-shadow: 0 10px 30px -4px rgba(217, 119, 6, 0.22), 0 4px 12px rgba(15, 23, 42, 0.08);
}

.toast-icon {
  color: var(--neon-cyan);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.toast-inner.warning .toast-icon {
  color: var(--neon-gold);
}

.toast-text {
  flex: 1;
  color: var(--text-main);
  line-height: 1.2;
}

.toast-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 4px;
  font-size: 0.78rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-left: 2px;
}

.toast-close-btn:hover {
  color: var(--neon-pink);
  transform: scale(1.15);
}

/* ========================================================
   QUEST CARDS & GRID
   ======================================================== */
/* ========================================================
   JOBS FOR YOU HEADER (MATCHING USER REFERENCE DESIGN)
   ======================================================== */
.quest-container {
  display: grid;
  gap: 16px;
  transition: var(--transition);
}

.quest-container.grid-layout {
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
}

.quest-container.list-layout {
  grid-template-columns: 1fr;
}

/* ========================================================
   PREMIUM JOB CARD (EXPANDED & HIGH VISIBILITY)
   ======================================================== */
.quest-card.card-premium-layout {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 18px;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  min-height: 255px;
  height: auto;
  box-sizing: border-box;
}

.quest-card.card-premium-layout:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.09);
}

/* ========================================================
   DEEP LINKED JOB HIGHLIGHT (Auto-target & scroll)
   ======================================================== */
.quest-card.job-card-highlighted {
  border-color: #7c3aed !important;
  box-shadow: 0 0 0 3.5px rgba(124, 58, 237, 0.45), 0 16px 36px rgba(124, 58, 237, 0.25) !important;
  transform: translateY(-4px) scale(1.015) !important;
  animation: pulseJobTarget 1.5s ease-in-out infinite alternate;
  z-index: 10;
  position: relative;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.quest-card.job-card-highlighted::before {
  content: '★ SHARED JOB TARGET';
  position: absolute;
  top: -11px;
  right: 18px;
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  color: #ffffff;
  font-family: var(--font-tech);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(124, 58, 237, 0.4);
  z-index: 12;
}

@keyframes pulseJobTarget {
  0% {
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.35), 0 8px 20px rgba(124, 58, 237, 0.15);
  }

  100% {
    box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.55), 0 18px 40px rgba(124, 58, 237, 0.32);
  }
}

.quest-card.job-card-highlighted.fade-highlight {
  animation: none !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.09) !important;
  transform: translateY(0) scale(1) !important;
}

.quest-card.job-card-highlighted.fade-highlight::before {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* ========================================================
   DEEP LINKED JOB HIGHLIGHT (Auto-target & scroll)
   ======================================================== */
.quest-card.job-card-highlighted {
  border-color: #7c3aed !important;
  box-shadow: 0 0 0 3.5px rgba(124, 58, 237, 0.45), 0 16px 36px rgba(124, 58, 237, 0.25) !important;
  transform: translateY(-4px) scale(1.015) !important;
  animation: pulseJobTarget 1.5s ease-in-out infinite alternate;
  z-index: 10;
  position: relative;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.quest-card.job-card-highlighted::before {
  content: '★ SHARED JOB TARGET';
  position: absolute;
  top: -11px;
  right: 18px;
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  color: #ffffff;
  font-family: var(--font-tech);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(124, 58, 237, 0.4);
  z-index: 12;
}

@keyframes pulseJobTarget {
  0% {
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.35), 0 8px 20px rgba(124, 58, 237, 0.15);
  }

  100% {
    box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.55), 0 18px 40px rgba(124, 58, 237, 0.32);
  }
}

.quest-card.job-card-highlighted.fade-highlight {
  animation: none !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.09) !important;
  transform: translateY(0) scale(1) !important;
}

.quest-card.job-card-highlighted.fade-highlight::before {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.card-left-content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  height: auto;
  min-height: 100%;
  overflow: hidden;
}

/* Card Header Row */
.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.company-tag-pill {
  background: #eef2ff;
  color: #4f46e5;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: middle;
}

.new-drop-badge {
  background: var(--neon-pink-dim);
  border: 1px solid var(--neon-pink);
  color: var(--neon-pink);
  font-family: var(--font-cyber);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1.1;
  animation: pulsePink 2s infinite ease-in-out;
}

.new-drop-badge i {
  font-size: 0.56rem;
}

.header-action-circles {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.circle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.96rem;
  flex-shrink: 0;
}

.circle-btn i {
  font-size: 0.96rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-btn:hover {
  transform: scale(1.1);
}

.whatsapp-circle-btn {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
}

.whatsapp-circle-btn:hover {
  background: #16a34a;
  color: #ffffff;
}

.share-circle-btn,
.copy-circle-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
}

.share-circle-btn:hover,
.copy-circle-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.referral-circle-btn {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #d97706;
}

.referral-circle-btn:hover {
  background: #d97706;
  color: #ffffff;
  border-color: #d97706;
}

.telegram-circle-btn {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
}

.telegram-circle-btn:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

/* Title & Logo Row */
.card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  flex-shrink: 0;
}

.job-card-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  letter-spacing: -0.2px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: break-word;
  word-break: normal;
  max-height: 2.7em;
  flex: 1 1 auto;
  min-width: 0;
}



/* Location & Commute */
.job-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  min-width: 0;
  flex-shrink: 0;
}

.location-meta {
  color: #64748b;
  font-weight: 600;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  overflow: hidden;
}

.location-pin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 5px 10px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
}

.meta-location-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 140px;
  vertical-align: middle;
}

.location-pin-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.live-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 16px;
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
  font-size: 0.80rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  flex-shrink: 0;
  white-space: nowrap;
}

.live-nav-btn .nav-icon-live {
  color: #7c3aed;
  font-size: 0.88rem;
}

.live-nav-btn .nav-text-label {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.live-nav-btn:hover {
  background: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

.live-nav-btn:hover i {
  color: #ffffff !important;
}

/* Pills Row + Action Circles Combined Row */
.pills-and-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  min-width: 0;
}

/* Action Circles — own dedicated row below pills */
.card-action-circles-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Pills Row (Smart Swipeable/Scrollable Horizontal Track) */
.job-pills-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 6px;
  margin: 2px 0;
  flex-shrink: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.job-pills-row::-webkit-scrollbar {
  display: none;
}

.pill-badge {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

.pill-salary {
  background: #dcfce7;
  color: #15803d;
  font-weight: 800;
}

.pill-company {
  background: #eff6ff;
  color: #2563eb;
}

.pill-category {
  background: #f1f5f9;
  color: #475569;
}

/* Bottom Action Row (Locked to Bottom with Smart Scrollable Overflow Protection) */
.card-bottom-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  flex-wrap: nowrap;
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-top: 4px;
}

.card-bottom-actions::-webkit-scrollbar {
  display: none;
}

.direct-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.90rem;
  padding: 8px 18px;
  border-radius: 20px;
  min-height: 38px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35);
  transition: var(--transition);
}

.direct-apply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.5);
  color: #ffffff;
}

.direct-apply-btn .bolt-icon {
  font-size: 1.05rem;
}

.direct-apply-btn .chevron-icon {
  font-size: 0.75rem;
  margin-left: 2px;
}

.intel-briefing-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 5px 11px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.76rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.bookmark-btn {
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1.25rem;
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.bookmark-btn:hover {
  color: var(--neon-pink);
  transform: scale(1.15);
}

.bookmark-btn.saved {
  color: var(--neon-pink);
}

/* ========================================================
   RIGHT SIDE 9:16 VERTICAL REEL (CLEAR & VISIBLE)
   ======================================================== */
.card-right-reel {
  flex: 0 0 124px;
  width: 124px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vertical-reel-frame {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 13px;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  background: #ffffff;
}

.vertical-reel-frame:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
  border-color: #94a3b8;
}

.reel-video-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.reel-thumbnail-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 12px;
  transition: transform 0.35s ease;
  filter: brightness(1.03) contrast(1.02);
}

.vertical-reel-frame:hover .reel-thumbnail-img {
  transform: scale(1.05);
}

/* List Layout Adjustments */
.quest-container.list-layout .quest-card {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
}

.modal-clean-header-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.80rem;
  letter-spacing: 0.3px;
  color: #7c3aed;
}

.quest-container.list-layout .quest-card::before {
  width: 4px;
  height: 100%;
  top: 0;
  left: 0;
}

.quest-container.list-layout .card-left-section {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.quest-container.list-layout .card-top-bar {
  margin-bottom: 0;
}

.quest-container.list-layout .quest-footer-actions {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  flex: 0 0 320px;
}

/* ========================================================
   LOADING & EMPTY STATES
   ======================================================== */
.loading-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border: 1px dashed var(--border-cyber);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.cyber-spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  border: 3px solid var(--border-muted);
  border-top-color: var(--neon-cyan);
  border-right-color: var(--neon-pink);
  border-radius: 50%;
  animation: spinIcon 0.8s linear infinite;
}

.loading-text {
  font-family: var(--font-cyber);
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  margin-bottom: 8px;
  font-weight: 700;
}

.loading-sub {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border: 1px dashed var(--border-cyber);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.empty-icon {
  font-size: 3rem;
  color: var(--neon-gold);
  margin-bottom: 16px;
}

.empty-state h3 {
  font-family: var(--font-cyber);
  font-size: 1.4rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: var(--text-main);
}

.empty-state p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 20px;
}

/* ========================================================
   PAGINATION BAR
   ======================================================== */
.pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.pagination-info {
  font-family: var(--font-tech);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.pagination-info span {
  color: var(--neon-cyan);
}

.pagination-page-sub {
  margin-left: 6px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.pagination-page-sub strong {
  color: var(--neon-cyan);
  font-weight: 800;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  background: #ffffff;
  border: 1px solid var(--border-cyber);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-cyber);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: var(--border-muted);
  background: var(--bg-subtle);
}

.page-btn:hover:not(:disabled) {
  background: var(--bg-subtle);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-1px);
}

.page-btn.active {
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.35);
}

.page-ellipsis {
  padding: 0 6px;
  font-family: var(--font-cyber);
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 800;
}

/* ========================================================
   INTEL / MODAL WINDOW
   ======================================================== */
.cyber-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.cyber-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-window {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #ddd6fe;
  border-radius: 16px;
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* Header is permanently pinned at top */
  box-shadow: 0 24px 60px -12px rgba(124, 58, 237, 0.25), 0 0 35px var(--neon-cyan-glow);
  transform: scale(0.96) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyber-modal.active .modal-window {
  transform: scale(1) translateY(0);
}

/* Pinned Header: Stays fixed at the top when user scrolls */
.modal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  flex-shrink: 0;
  padding: 8px 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.level-pill {
  font-family: var(--font-tech);
  font-size: 0.68rem;
  font-weight: 800;
  background: #ffffff;
  border: 1px solid var(--border-cyber);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--neon-cyan);
}

.modal-close {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border-cyber);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--neon-pink-dim);
  border-color: var(--neon-pink);
  color: var(--neon-pink);
  transform: rotate(90deg);
}

/* Scrollable Content Body */
.modal-body {
  padding: 14px 16px;
  overflow-y: auto;
  flex: 1;
}

.modal-guild-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center !important;
  gap: 8px;
  margin: 0 auto 12px;
  text-align: center !important;
}

.guild-avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1.5px solid #ddd6fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--neon-cyan);
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.12);
  margin: 0 auto;
}

.modal-guild-name {
  font-family: var(--font-tech);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  text-align: center !important;
  margin: 0 auto;
}

.modal-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 3px;
  text-align: center !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.modal-quest-title {
  font-family: var(--font-sub);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin: 0 auto 10px;
  text-align: center !important;
  width: 100%;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center;
  gap: 6px;
  margin: 0 auto 14px;
  width: 100%;
}

.modal-tags .level-badge {
  font-size: 0.64rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.modal-intel-box {
  background: #f8fafc;
  border: 1px solid var(--border-cyber);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.intel-box-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body, sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 8px;
}

.live-signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #059669;
  box-shadow: 0 0 6px rgba(5, 150, 105, 0.6);
  animation: pulseDot 1.8s infinite;
}

.transmission-feed {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.transmission-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  text-decoration: none;
  color: #0f172a;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  cursor: pointer;
}

.transmission-card:hover {
  border-color: #7c3aed;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.12);
}

.trans-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  border: 1px solid transparent;
}

.trans-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trans-label {
  font-family: var(--font-body, sans-serif);
  font-weight: 700;
  font-size: 0.82rem;
  color: #0f172a;
  line-height: 1.2;
}

.trans-url {
  font-family: var(--font-body, sans-serif);
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trans-action-pill {
  font-family: var(--font-body, sans-serif);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.transmission-info-card {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.72rem;
  color: #64748b;
}

.trans-bullet {
  color: #7c3aed;
  font-size: 0.65rem;
}

.trans-info-text {
  font-weight: 600;
  color: #0f172a;
}

/* Sleek Modal Action Bar */
.modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border-muted);
  width: 100%;
}

.modal-apply-btn {
  flex: 1;
  height: 42px;
  padding: 0 16px;
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: #ffffff;
  border-radius: 10px;
  font-family: var(--font-body, sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.modal-apply-btn:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #4f46e5 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.45);
}

.modal-reel-btn {
  height: 42px;
  padding: 0 14px;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  color: #db2777;
  border-radius: 10px;
  font-family: var(--font-body, sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.modal-reel-btn:hover {
  background: #fce7f3;
  border-color: #f472b6;
  color: #be185d;
}

.modal-save-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #475569;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.modal-save-btn:hover {
  background: #f1f5f9;
  border-color: #7c3aed;
  color: #7c3aed;
}

.modal-save-btn.saved {
  background: #f5f3ff;
  border-color: #7c3aed;
  color: #7c3aed;
}

/* ========================================================
   FOOTER
   ======================================================== */
.cyber-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-muted);
  background: #ffffff;
  padding: 24px 20px;
  box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.03);
}

.footer-container {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand .brand-title {
  font-family: var(--font-cyber);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-main);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-links {
  text-align: right;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--neon-green);
  justify-content: flex-end;
  font-weight: 700;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--neon-green);
}

.footer-credit {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--text-dark);
  margin-top: 6px;
  font-weight: 600;
}



/* ========================================================
   RESPONSIVE QUERIES
   ======================================================== */
/* Responsive Grid Adaptation for Tablets & Laptops */
@media (min-width: 769px) and (max-width: 1100px) {
  .quest-container.grid-layout {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .quest-container.grid-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 13px;
  }

  .cyber-modal {
    padding: 10px 8px 12px;
    align-items: flex-start;
    padding-top: max(10px, env(safe-area-inset-top));
  }

  .modal-window {
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 16px;
    border: 1.5px solid #ddd6fe;
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.2);
  }

  .modal-header {
    padding: 12px 16px;
  }

  .modal-clean-header-title {
    font-size: 0.88rem;
    font-weight: 800;
  }

  .modal-close {
    width: 32px;
    height: 32px;
    font-size: 1.05rem;
    border-radius: 8px;
  }

  .modal-body {
    padding: 16px 18px 24px;
  }

  .modal-guild-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center !important;
    gap: 8px;
    margin: 0 auto 12px;
    text-align: center !important;
  }

  .guild-avatar {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
    border-radius: 14px;
    margin: 0 auto;
  }

  .modal-guild-name {
    font-size: 1.35rem;
    font-weight: 800;
    text-align: center !important;
    margin: 0 auto;
  }

  .modal-location {
    font-size: 0.88rem;
    margin-top: 4px;
    text-align: center !important;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .modal-quest-title {
    font-size: 1.30rem;
    line-height: 1.35;
    margin: 12px auto;
    text-align: center !important;
    width: 100%;
  }

  .modal-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center !important;
    gap: 6px;
    margin: 0 auto 16px;
  }

  .modal-tags .level-badge {
    font-size: 0.72rem;
    padding: 3px 8px;
  }

  .modal-intel-box {
    margin-bottom: 16px;
    padding: 12px;
  }

  .intel-box-title {
    font-size: 0.78rem;
    margin-bottom: 10px;
  }

  .transmission-card {
    padding: 10px 12px;
  }

  .trans-icon-box {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .trans-label {
    font-size: 0.68rem;
  }

  .trans-url {
    font-size: 0.78rem;
  }

  .trans-action-pill {
    font-size: 0.68rem;
    padding: 2px 7px;
  }

  .modal-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
  }

  .modal-apply-btn {
    flex: 1;
    height: 40px;
    font-size: 0.84rem;
  }

  .modal-reel-btn {
    height: 40px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .modal-save-btn {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .main-content {
    padding: 8px 8px 30px;
  }

  .nav-container {
    padding: 6px 10px;
  }

  .terminal-bar {
    padding: 6px 10px;
  }

  .quest-container.grid-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quest-card.card-premium-layout {
    padding: 12px 14px;
    min-height: 145px;
  }

  .card-right-reel {
    width: 95px;
    flex: 0 0 95px;
    height: 168px;
  }

  .job-card-title {
    font-size: 1.05rem;
  }

  .job-pills-row {
    gap: 5px;
    margin: 6px 0;
  }

  .card-bottom-actions {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 8px;
  }

  .direct-apply-btn {
    flex: 1 1 auto;
    min-width: 110px;
    justify-content: center;
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-status {
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  html {
    font-size: 12.5px;
  }

  .main-content {
    padding: 6px 6px 25px;
  }

  .nav-container {
    padding: 5px 8px;
  }

  .terminal-bar {
    padding: 5px 8px;
  }

  .brand-logo-glitch {
    gap: 6px;
  }

  .brand-logo-img {
    width: 24px;
    height: 24px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .quest-card.card-premium-layout {
    padding: 10px 12px;
  }

  .card-right-reel {
    width: 88px;
    flex: 0 0 88px;
    height: 156px;
  }

  .job-card-title {
    font-size: 0.98rem;
  }

  .company-tag-pill {
    font-size: 0.72rem;
    padding: 2px 7px;
  }

  .circle-btn {
    width: 32px;
    height: 32px;
    font-size: 1.05rem;
  }

  .circle-btn i {
    font-size: 1.05rem;
  }

  .direct-apply-btn {
    font-size: 0.82rem;
    padding: 7px 10px;
  }
}

@media (max-width: 400px) {
  .nav-container {
    padding: 4px 6px;
    gap: 6px;
  }

  .status-ping {
    display: none;
  }

  .terminal-bar {
    padding: 4px 6px;
    gap: 4px;
  }

  .master-filter-btn {
    padding: 0 8px;
    font-size: 0.72rem;
  }

  .saved-search-btn {
    width: 32px;
    height: 28px;
  }

  .quest-card.card-premium-layout {
    padding: 8px 10px;
    gap: 8px;
  }

  .card-right-reel {
    flex: 0 0 82px;
    width: 82px;
    height: 146px;
  }

  .job-card-title {
    font-size: 0.92rem;
  }

  .company-tag-pill {
    font-size: 0.68rem;
    padding: 2px 6px;
    max-width: 110px;
  }

  .location-pin-btn {
    font-size: 0.68rem;
    padding: 2px 6px;
    max-width: 90px;
  }

  .live-nav-btn {
    font-size: 0.68rem;
    padding: 2px 6px;
  }

  .pill-badge {
    font-size: 0.68rem;
    padding: 2px 6px;
  }

  .circle-btn {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
  }

  .circle-btn i {
    font-size: 0.95rem;
  }

  .direct-apply-btn {
    padding: 6px 8px;
    font-size: 0.78rem;
  }
}

@media (max-width: 380px) {
  .card-right-reel {
    flex: 0 0 78px;
    width: 78px;
    height: 138px;
  }

  .job-card-title {
    font-size: 0.88rem;
  }

  .naukri-tabs-column {
    width: 105px !important;
    min-width: 105px !important;
  }

  .naukri-tab-btn {
    padding: 8px 6px !important;
    font-size: 0.72rem !important;
  }
}



/* ========================================================
   SETTINGS SIDE DRAWER & OVERLAY (Opens from Right)
   ======================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.settings-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 90vw;
  height: 100vh;
  background: #ffffff;
  z-index: 1000;
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 28px rgba(15, 23, 42, 0.14);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-cyber);
}

.settings-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-cyber);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.drawer-title {
  font-family: var(--font-tech);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  margin: 0;
}

.drawer-title-icon {
  color: var(--neon-cyan);
  font-size: 1.05rem;
}

.drawer-close-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border-cyber);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.drawer-close-btn:hover {
  background: var(--neon-pink-dim);
  border-color: var(--neon-pink);
  color: var(--neon-pink);
  transform: scale(1.05);
}

.drawer-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  flex: 1;
}

.drawer-section {
  background: #ffffff;
  border: 1px solid var(--border-cyber);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.drawer-section-title {
  font-family: var(--font-tech);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.drawer-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-cyber);
  padding: 10px 12px;
  border-radius: 8px;
}

.drawer-control-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-control-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer-control-sub {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 500;
}

.switch-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

/* ========================================================
   REUSABLE SETTINGS COMPONENTS (Group, Rows, Badges, Sliders)
   ======================================================== */

.settings-group {
  background: #ffffff;
  border: 1px solid var(--border-cyber);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(124, 58, 237, 0.04);
  display: flex;
  flex-direction: column;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  gap: 10px;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.15s ease;
}

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

.settings-row:hover {
  background-color: #faf5ff;
}

.settings-item-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

/* Reusable Icon Badges */
.settings-icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.settings-icon-badge.badge-purple {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}

.settings-icon-badge.badge-cyan {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.settings-icon-badge.badge-amber {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.settings-icon-badge.badge-emerald {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

/* Reusable Item Text */
.settings-item-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.settings-item-title {
  font-size: 0.80rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.settings-item-sub {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.2;
}

/* Master Sound Pill Button */
.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.sound-toggle-btn.active {
  background: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35);
}

.sound-toggle-btn.active:hover {
  background: #6d28d9;
  transform: translateY(-1px);
}

.sound-toggle-btn.muted {
  background: #f1f5f9;
  color: #94a3b8;
  border-color: #cbd5e1;
}

.sound-toggle-btn.muted:hover {
  background: #e2e8f0;
}

/* Settings Slider Card */
.settings-slider-card {
  padding: 10px 12px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.settings-slider-card.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.settings-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.volume-val-badge {
  font-family: var(--font-tech);
  font-size: 0.78rem;
  font-weight: 800;
  color: #7c3aed;
  background: #ede9fe;
  padding: 2px 8px;
  border-radius: 6px;
  min-width: 38px;
  text-align: center;
}

.settings-slider-track-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-endpoint-icon {
  font-size: 0.75rem;
  color: #8b5cf6;
  flex-shrink: 0;
}

/* Custom Themed Range Slider */
.theme-range-slider {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: #ede9fe;
  outline: none;
  transition: background 0.2s ease;
}

.theme-range-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #7c3aed;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(124, 58, 237, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.theme-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.6);
}

.theme-range-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #7c3aed;
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 4px rgba(124, 58, 237, 0.4);
}

/* Reusable Switch Toggle Component */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
  flex-shrink: 0;
  margin: 0;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: 0.22s ease;
  border-radius: 22px;
}

.switch-slider::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.switch-toggle input:checked+.switch-slider {
  background-color: #7c3aed;
}

.switch-toggle input:checked+.switch-slider::before {
  transform: translateX(20px);
}

/* Reusable Action Button */
.settings-action-btn {
  width: 100%;
  padding: 8px 14px;
  background: #f5f3ff;
  border: 1.5px solid #ddd6fe;
  color: #7c3aed;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.80rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 4px;
}

.settings-action-btn:hover {
  background: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
  box-shadow: 0 3px 10px rgba(124, 58, 237, 0.25);
  transform: translateY(-1px);
}

.drawer-links-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-social-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-tech);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid transparent;
}

.drawer-social-btn.whatsapp-link {
  background: #f0fdf4;
  color: #16a34a;
  border-color: #bbf7d0;
}

.drawer-social-btn.whatsapp-link:hover {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
}

.drawer-social-btn.telegram-link {
  background: #f0f9ff;
  color: #0284c7;
  border-color: #bae6fd;
}

.drawer-social-btn.telegram-link:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.drawer-footer-info {
  padding: 14px 18px;
  border-top: 1px solid var(--border-cyber);
  background: #f8fafc;
}

.drawer-subtext {
  font-size: 0.68rem;
  color: var(--text-muted);
}



/* ========================================================
   SETTINGS DRAWER VIEW TOGGLES (GRID VIEW & LIST VIEW)
   ======================================================== */
.drawer-layout-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.drawer-layout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  width: 100%;
}

.drawer-layout-btn:hover {
  border-color: #7c3aed;
  background: #faf5ff;
}

.drawer-layout-btn.active {
  border-color: #7c3aed;
  background: #f5f3ff;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15);
}

.drawer-layout-btn i {
  font-size: 0.95rem;
  color: #64748b;
  transition: all 0.2s ease;
}

.drawer-layout-btn.active i {
  color: #7c3aed;
}

.layout-btn-title {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-main);
}

.drawer-layout-btn.active .layout-btn-title {
  color: #7c3aed;
}

.layout-status-pill {
  font-family: var(--font-tech);
  font-size: 0.70rem;
  font-weight: 800;
  color: #7c3aed;
  background: #ede9fe;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* Live Database Sync Drawer Row */
.drawer-sync-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px solid var(--border-cyber);
  border-radius: 8px;
}

.sync-timer-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-tech);
  font-size: 0.76rem;
  color: #0284c7;
  font-weight: 600;
}

.sync-timer-badge strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0369a1;
}

.hud-btn-sync-action {
  padding: 6px 12px;
  font-size: 0.74rem;
  border-radius: 6px;
}



/* ========================================================
   MASTER FILTER BUTTON & NAUKRI-STYLE FILTER MODAL
   ======================================================== */
.master-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: #ffffff;
  border: 1.5px solid #0284c7;
  color: #0284c7;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(2, 132, 199, 0.1);
}

.master-filter-btn:hover {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(2, 132, 199, 0.25);
  transform: translateY(-1px);
}

.master-filter-btn i {
  font-size: 0.82rem;
}

.filter-applied-badge {
  background: #0284c7;
  color: #ffffff;
  font-size: 0.60rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.master-filter-btn:hover .filter-applied-badge {
  background: #ffffff;
  color: #0284c7;
}

/* Naukri Filter Modal Overlay */
.naukri-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 10050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.naukri-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Naukri Filter Modal Window */
.naukri-filter-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: 840px;
  max-width: 92vw;
  height: 620px;
  max-height: 88vh;
  background: #ffffff;
  border: 1.5px solid #ddd6fe;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.2);
  z-index: 10051;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.naukri-filter-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.naukri-modal-header {
  padding: 14px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  position: relative;
}

.naukri-drag-handle {
  display: none;
  width: 40px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 2px;
  margin: 0 auto 10px;
}

.naukri-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.naukri-modal-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.naukri-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.naukri-clear-text-btn {
  background: none;
  border: none;
  color: #7c3aed;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.naukri-clear-text-btn:hover {
  background: #f5f3ff;
  text-decoration: underline;
}

.naukri-close-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.naukri-close-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #ef4444;
}

.naukri-modal-body {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #ffffff;
}

.naukri-tabs-column {
  width: 220px;
  min-width: 220px;
  border-right: 1px solid #e2e8f0;
  background: #f8fafc;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 6px 0;
}

.naukri-tab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  text-align: left;
  width: 100%;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
}

.naukri-tab-btn i {
  margin-right: 8px;
  font-size: 0.92rem;
  color: #8b5cf6;
  width: 16px;
  text-align: center;
  transition: color 0.15s ease;
}

.naukri-tab-btn.active i {
  color: #7c3aed;
}

.naukri-tab-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.naukri-tab-btn.active {
  background: #ffffff;
  color: #7c3aed;
  font-weight: 800;
  border-left-color: #7c3aed;
  box-shadow: inset 0 1px 0 #f1f5f9;
}

.naukri-tab-badge {
  background: #7c3aed;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.naukri-content-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #ffffff;
}

.naukri-search-wrap {
  padding: 12px 20px;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.naukri-search-wrap .search-icon {
  color: #94a3b8;
  font-size: 0.9rem;
}

.naukri-search-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #0f172a;
  background: transparent;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
}

.naukri-search-wrap input:focus {
  border-bottom-color: #7c3aed;
}

.naukri-options-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.naukri-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
  user-select: none;
}

.naukri-option-row:hover {
  background: #f8fafc;
}

.naukri-option-row.checked {
  background: #f5f3ff;
}

.naukri-option-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.naukri-checkbox-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.70rem;
  color: transparent;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.naukri-option-row.checked .naukri-checkbox-box {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #ffffff;
}

.naukri-option-label {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: #334155;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.naukri-option-row.checked .naukri-option-label {
  color: #7c3aed;
  font-weight: 700;
}

.naukri-option-count {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
  margin-left: 8px;
  flex-shrink: 0;
}

.naukri-no-options {
  padding: 30px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.88rem;
}

.naukri-modal-footer {
  padding: 14px 20px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.naukri-btn-cancel {
  padding: 8px 18px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.naukri-btn-cancel:hover {
  border-color: #7c3aed;
  color: #7c3aed;
  background: #faf5ff;
}

.naukri-btn-apply {
  padding: 8px 24px;
  border-radius: 8px;
  border: 1.5px solid #7c3aed;
  background: #7c3aed;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

.naukri-btn-apply:hover {
  background: #6d28d9;
  border-color: #6d28d9;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
  transform: translateY(-1px);
}

/* Mobile Bottom Sheet Responsive Overrides */
@media (max-width: 680px) {
  .naukri-filter-modal {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 86vh;
    max-height: 86vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }

  .naukri-filter-modal.active {
    transform: translateY(0);
  }

  .naukri-drag-handle {
    display: block;
  }

  .naukri-tabs-column {
    width: 130px;
    min-width: 130px;
  }

  .naukri-tab-btn {
    padding: 10px;
    font-size: 0.78rem;
  }
}



/* ========================================================
   SAVED JOBS BUTTON (LEFT OF SEARCH PANEL)
   ======================================================== */
.saved-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 30px;
  width: 36px;
  min-width: 36px;
  background: #ffffff;
  border: 1.5px solid #7c3aed;
  color: #7c3aed;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(124, 58, 237, 0.1);
  padding: 0;
}

.saved-search-btn:hover {
  background: #7c3aed;
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(124, 58, 237, 0.25);
  transform: translateY(-1px);
}

.saved-search-btn:active {
  transform: scale(0.96);
}

.saved-search-btn i {
  font-size: 0.95rem;
}

.saved-search-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ec4899;
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

/* ========================================================
   SAVED JOBS SIDE DRAWER (OPENS FROM LEFT)
   ======================================================== */
.saved-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: #ffffff;
  z-index: 1000;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 8px 0 28px rgba(15, 23, 42, 0.14);
  display: flex;
  flex-direction: column;
  border-right: 1.5px solid #ddd6fe;
}

.saved-drawer.active {
  transform: translateX(0);
}

.saved-drawer-counter {
  background: #7c3aed;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
}

.saved-drawer-list {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  flex: 1;
}

.saved-drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.empty-bookmark-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f5f3ff;
  border: 1.5px dashed #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #7c3aed;
  margin-bottom: 14px;
}

.saved-drawer-empty h4 {
  font-family: var(--font-tech);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.saved-drawer-empty p {
  font-size: 0.82rem;
  line-height: 1.45;
  max-width: 260px;
}

.saved-item-card {
  background: #ffffff;
  border: 1.5px solid #ddd6fe;
  border-radius: 12px;
  padding: 12px 14px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.06);
}

.saved-item-card:hover {
  border-color: #7c3aed;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.14);
  transform: translateY(-1px);
}

.saved-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.saved-company-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.saved-fallback-icon {
  color: #7c3aed;
  font-size: 0.85rem;
}

.saved-item-remove-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.saved-item-remove-btn:hover {
  color: #ef4444;
  background: #fee2e2;
}

.saved-item-title {
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 8px;
  cursor: pointer;
}

.saved-item-title:hover {
  color: #7c3aed;
}

.saved-location-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.saved-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.saved-apply-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

.saved-apply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

.saved-details-btn {
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.saved-details-btn:hover {
  background: #f5f3ff;
  border-color: #7c3aed;
  color: #7c3aed;
}

/* Saved item extra pills */
.saved-extra-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.saved-extra-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1;
  box-sizing: border-box;
}

.saved-extra-pill i {
  font-size: 0.82rem;
  flex-shrink: 0;
}

.saved-extra-pill span {
  display: inline-block;
  white-space: nowrap;
}

.saved-extra-pill.pill-reel {
  background: #fdf2f8;
  color: #db2777;
  border: 1px solid #fbcfe8;
}

.saved-extra-pill.pill-reel:hover {
  background: #db2777;
  color: #ffffff;
  border-color: #db2777;
  transform: translateY(-1px);
}

.saved-extra-pill.pill-referral {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.saved-extra-pill.pill-referral:hover {
  background: #d97706;
  color: #ffffff;
  border-color: #d97706;
  transform: translateY(-1px);
}

.saved-extra-pill.pill-telegram {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.saved-extra-pill.pill-telegram:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: translateY(-1px);
}

.saved-drawer-footer {
  padding: 12px 16px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.saved-clear-all-btn {
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: 1px solid #fca5a5;
  color: #ef4444;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.saved-clear-all-btn:hover {
  background: #fee2e2;
  border-color: #ef4444;
}



/* ========================================================
   CLICK HERE TO SEE COMPANY NAME & TITLE FALLBACK BUTTONS
   ======================================================== */
.see-details-pill {
  cursor: pointer;
  background: rgba(124, 58, 237, 0.10);
  color: #7c3aed;
  border: 1px dashed #7c3aed;
  font-family: var(--font-body);
  font-size: 0.70rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.see-details-pill:hover {
  background: #7c3aed;
  color: #ffffff;
  border-style: solid;
}

.click-see-details-btn {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(99, 102, 241, 0.06) 100%);
  border: 1.5px dashed #7c3aed;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: all 0.2s ease;
  width: 100%;
  margin-bottom: 6px;
}

.click-see-details-btn:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16) 0%, rgba(99, 102, 241, 0.14) 100%);
  border-color: #6d28d9;
  border-style: solid;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.14);
}

.click-see-details-btn .btn-top-prompt {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: #7c3aed;
  display: flex;
  align-items: center;
  gap: 6px;
}

.click-see-details-btn .btn-sub-prompt {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Modal Company Details Callout Card */
.company-details-callout-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, rgba(99, 102, 241, 0.04) 100%);
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.company-details-callout-card .callout-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.90rem;
  color: #7c3aed;
  margin-bottom: 4px;
}

.company-details-callout-card .callout-card-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}



/* ========================================================
   THEME ADAPTATION OVERRIDES FOR CYBER BLACK & PURPLE EDITION
   ======================================================== */
[data-theme="purple"] .quest-card.card-premium-layout {
  background: #ffffff;
  border-color: #ddd6fe;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.06);
}

[data-theme="purple"] .quest-card.card-premium-layout:hover {
  border-color: #7c3aed;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12);
}

[data-theme="purple"] .job-card-title {
  color: #2e1065;
}

[data-theme="purple"] .master-filter-btn {
  background: #ffffff;
  border-color: #7c3aed;
  color: #7c3aed;
}

[data-theme="purple"] .master-filter-btn:hover {
  background: #7c3aed;
  color: #ffffff;
}

[data-theme="purple"] .naukri-tab-btn.active {
  border-left-color: #7c3aed;
  color: #7c3aed;
}

[data-theme="purple"] .naukri-search-wrap input {
  border-bottom-color: #7c3aed;
}

[data-theme="purple"] .naukri-option-row.checked .naukri-checkbox-box {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #ffffff;
}

[data-theme="purple"] .naukri-btn-cancel {
  border-color: #7c3aed;
  color: #7c3aed;
}

[data-theme="purple"] .naukri-btn-apply {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #ffffff;
}