/* ==============================================================================
   BHARAT JOB ALERT & RECRUITMENT PORTAL - HIGH-DENSITY PROFESSIONAL DESIGN SYSTEM
   Optimized for High Information Density, Compact Scannable Layouts, 
   Modern Executive Typography, SEO Performance, and Low Scroll Fatigue.
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;

  /* Refined High-Density Base Font Size */
  font-size: 14.5px;

  /* Color Palette - Deep Gov Navy & Slate */
  --bg-primary: #090c13;
  --bg-secondary: #0f1523;
  --bg-card: rgba(16, 23, 38, 0.85);
  --bg-card-hover: rgba(23, 33, 54, 0.95);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(249, 115, 22, 0.35);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Indian Tricolor & Brand Accents */
  --saffron-400: #fb923c;
  --saffron-500: #f97316;
  --saffron-600: #ea580c;
  --navy-500: #3b82f6;
  --navy-600: #2563eb;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --amber-400: #fbbf24;

  --glow-saffron: 0 0 16px rgba(249, 115, 22, 0.18);
  --glow-blue: 0 0 16px rgba(59, 130, 246, 0.18);

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.45;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 12% 8%, rgba(249, 115, 22, 0.05) 0%, transparent 35%),
    radial-gradient(circle at 88% 15%, rgba(59, 130, 246, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 70%, rgba(16, 185, 129, 0.04) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Typography Scale - Refined & Compact */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.015em;
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 1.35rem; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }
h4 { font-size: 0.88rem; }

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Glass Surface */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

/* ==============================================================================
   HEADER & STREAMLINED TOP NAVIGATION
   ============================================================================== */
.gov-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 12, 19, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.top-strip {
  background: linear-gradient(90deg, #ff9933 0%, #ffffff 50%, #138808 100%);
  height: 2.5px;
  width: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-emblem {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--saffron-500), var(--navy-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  box-shadow: var(--glow-saffron);
  flex-shrink: 0;
}

.brand-text h1 {
  font-size: 1.12rem;
  font-weight: 800;
  background: linear-gradient(to right, #fff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  background: rgba(249, 115, 22, 0.12);
  color: var(--saffron-400);
  border: 1px solid rgba(249, 115, 22, 0.25);
  display: inline-block;
  margin-top: 1px;
}

.nav-right-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--navy-600), #1d4ed8);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition-fast);
  box-shadow: var(--glow-blue);
}

.admin-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

/* ==============================================================================
   COMPACT HERO & INTEGRATED SEARCH
   ============================================================================== */
.hero {
  padding: 0.85rem 0 0.45rem;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--saffron-400);
  margin-bottom: 0.35rem;
  white-space: nowrap;
  max-width: 95%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero h2 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.hero-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--saffron-400) 70%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-vacancies-highlight {
  color: #fbbf24;
  font-weight: 800;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.35);
}

.hero-desc {
  max-width: 640px;
  margin: 0 auto 0.65rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

/* Compact Search Box */
.search-wrapper {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(20, 28, 46, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.3rem 0.25rem 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: var(--transition-smooth);
}

.search-box:focus-within {
  border-color: var(--saffron-500);
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2), 0 8px 20px rgba(0, 0, 0, 0.4);
}

.search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.86rem;
  color: #fff;
  padding: 0.25rem 0.4rem;
}

.search-input::placeholder {
  color: var(--text-dim);
}

.search-org-wrapper {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 0.4rem 0 0.5rem;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.search-org-select {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.82rem;
  max-width: 125px;
  cursor: pointer;
  outline: none;
}

.search-btn {
  background: linear-gradient(135deg, var(--saffron-500), var(--saffron-600));
  color: #fff;
  border: none;
  outline: none;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.search-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

/* Compact Quick Filter Pills */
.filter-pills-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-pill:hover, .filter-pill.active {
  background: rgba(249, 115, 22, 0.14);
  color: var(--saffron-400);
  border-color: rgba(249, 115, 22, 0.35);
}

/* Key Metrics Stats Ticker (Interactive Quick Filters) */
.quick-kpi-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin: 0.85rem auto 0;
  max-width: 900px;
}

.kpi-chip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.75rem;
  background: rgba(14, 20, 33, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  text-align: left;
  font-family: inherit;
  width: 100%;
}

.kpi-chip:hover {
  background: rgba(24, 34, 56, 0.95);
  border-color: rgba(249, 115, 22, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.kpi-chip:active {
  transform: translateY(0);
}

.kpi-chip.active-kpi {
  background: rgba(249, 115, 22, 0.16);
  border-color: var(--saffron-500);
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.35);
}

.kpi-chip-num {
  font-weight: 800;
  color: #fff;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.kpi-chip-label {
  color: var(--text-muted);
  font-size: 0.72rem;
}

@media (max-width: 768px) {
  .quick-kpi-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
  }
}

/* Ad Placement - Streamlined & Compact */
.ad-slot-leaderboard {
  max-width: 1000px;
  margin: 0.65rem auto;
  min-height: 48px;
  padding: 0.35rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==============================================================================
   LIVE EXAM UPDATES STRIP (COMPACT MULTI-ITEM)
   ============================================================================== */
.exam-strip {
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.95rem;
  background: linear-gradient(135deg, rgba(23, 32, 54, 0.8), rgba(12, 18, 32, 0.9));
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: var(--radius-md);
}

.exam-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.exam-strip-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.55rem;
}

.exam-pill-card {
  padding: 0.38rem 0.65rem;
  background: rgba(9, 13, 22, 0.65);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  transition: var(--transition-fast);
}

.exam-pill-card:hover {
  background: rgba(24, 34, 58, 0.8);
  border-color: rgba(59, 130, 246, 0.35);
}

.pill-type-tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  flex-shrink: 0;
}

.type-admit-card { background: rgba(59, 130, 246, 0.18); color: #60a5fa; }
.type-result { background: rgba(16, 185, 129, 0.18); color: #34d399; }
.type-answer-key { background: rgba(245, 158, 11, 0.18); color: #fbbf24; }
.type-syllabus { background: rgba(236, 72, 153, 0.18); color: #f472b6; }

/* Category Navigation Tabs - Compact */
.category-tabs {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-bottom: 0.75rem;
  scrollbar-width: thin;
}

.cat-tab {
  white-space: nowrap;
  padding: 0.38rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.cat-tab:hover, .cat-tab.active {
  background: var(--navy-600);
  color: #fff;
  border-color: var(--navy-500);
}

/* ==============================================================================
   MAIN DENSE LAYOUT & SIDEBAR
   ============================================================================== */
.main-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.15rem;
  margin: 0.75rem auto 2.5rem;
}

@media (max-width: 992px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}

/* Sidebar Filter Box */
.filter-sidebar {
  padding: 1rem;
  height: fit-content;
  position: sticky;
  top: 68px;
}

.sidebar-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-group {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
  display: block;
}

.select-custom {
  width: 100%;
  background: rgba(12, 17, 29, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 0.45rem 0.65rem;
  font-family: inherit;
  font-size: 0.82rem;
  outline: none;
  transition: var(--transition-fast);
}

.select-custom:focus {
  border-color: var(--navy-500);
}

/* Section Header & View Controls */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.section-title {
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.view-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.view-toggle-btn:hover, .view-toggle-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* ==============================================================================
   HIGH-DENSITY COMPACT JOB ROW VIEW (DEFAULT - MINIMUM SCROLLING)
   ============================================================================== */
.jobs-list-dense {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.job-dense-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 130px 105px 100px auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
}

.job-dense-row:hover {
  background: var(--bg-card-hover);
  border-color: rgba(249, 115, 22, 0.35);
  transform: translateX(2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.job-dense-row.featured-row {
  border-left: 3.5px solid var(--saffron-500);
}

/* Column 1: Organization & Badge */
.row-col-org {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.row-org-name {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--saffron-400);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.row-advt {
  font-size: 0.66rem;
  color: var(--text-dim);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Column 2: Title & Badges */
.row-col-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.row-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.row-title:hover {
  color: var(--saffron-400);
}

.row-chips-inline {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.chip-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chip-tag.qual-chip {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.25);
}

.chip-tag.cat-chip {
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.2);
}

.chip-interactive {
  cursor: pointer;
  transition: var(--transition-fast);
}

.chip-interactive:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-mini-share {
  padding: 0.28rem 0.48rem;
  font-size: 0.72rem;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.1);
  color: #4ade80;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
}

.btn-mini-share:hover {
  background: rgba(37, 211, 102, 0.25);
  border-color: #4ade80;
  transform: translateY(-1px);
}

.active-filters-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
}

.active-filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: var(--saffron-400);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  font-weight: 700;
}

.active-filter-remove {
  cursor: pointer;
  font-weight: 800;
  opacity: 0.8;
  padding: 0 2px;
}

.active-filter-remove:hover {
  opacity: 1;
  color: var(--rose-400);
}

/* Column 3: Vacancies & Pay */
.row-col-vacancies {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.row-vacancies-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--amber-400);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.row-salary {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Column 4 & 5: Location, Age & Deadline Meta Group */
.row-col-meta {
  display: contents;
}

/* Column 4: Location & Age */
.row-col-location {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.row-location {
  font-size: 0.74rem;
  font-weight: 700;
  color: #e2e8f0;
}

.row-age {
  font-size: 0.66rem;
  color: var(--text-dim);
}

/* Column 5: Deadline */
.row-col-deadline {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.row-deadline-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.row-deadline-pill.urgent {
  color: var(--rose-400);
  font-weight: 800;
}

.row-deadline-date {
  font-size: 0.66rem;
  color: var(--text-dim);
}

/* Column 6: Actions */
.row-col-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  justify-content: flex-end;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-mini-apply {
  padding: 0.32rem 0.65rem;
  background: linear-gradient(135deg, var(--saffron-500), var(--saffron-600));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  transition: var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-mini-apply:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.btn-mini-notice {
  padding: 0.32rem 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.74rem;
  transition: var(--transition-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-mini-notice:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-mini-share,
.btn-mini-books {
  min-width: 28px;
  height: 28px;
  padding: 0 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .job-dense-row {
    grid-template-columns: 120px minmax(0, 1fr) 120px 95px auto;
    gap: 0.5rem;
  }
  .row-col-location {
    display: none;
  }
}

/* ==============================================================================
   COMPACT CARD GRID VIEW (ALTERNATIVE VIEW)
   ============================================================================== */
.jobs-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 0.75rem;
}

.job-card-compact {
  padding: 0.95rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
}

.job-card-compact:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.1);
}

.job-card-compact.featured-card {
  border-top: 3px solid var(--saffron-500);
}

.card-top-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.card-title-compact {
  font-size: 0.96rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  display: block;
}

.card-title-compact:hover {
  color: var(--saffron-400);
}

.card-facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin: 0.6rem 0;
  padding: 0.5rem 0.65rem;
  background: rgba(9, 13, 22, 0.55);
  border-radius: var(--radius-sm);
}

.card-fact-item {
  display: flex;
  flex-direction: column;
}

.card-fact-k {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
}

.card-fact-v {
  font-size: 0.8rem;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

/* ==============================================================================
   JOB DETAIL PAGE - DENSE EXECUTIVE REDESIGN
   ============================================================================== */
.job-detail-header-dense {
  padding: 1.25rem 1.6rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-md);
  border-top: 3.5px solid var(--saffron-500);
}

.detail-kpi-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.65rem;
  margin: 1rem 0 1.25rem;
}

.detail-kpi-box {
  padding: 0.65rem 0.85rem;
  background: rgba(10, 15, 26, 0.7);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-kpi-k {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.detail-kpi-v {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
}

.detail-grid-dense {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.25rem;
}

@media (max-width: 960px) {
  .detail-grid-dense {
    grid-template-columns: 1fr;
  }
}

.detail-dense-card {
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.quick-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0;
  font-size: 0.84rem;
}

.quick-table th, .quick-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.quick-table th {
  color: var(--text-dim);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  width: 32%;
}

.quick-table td {
  font-weight: 600;
  color: #fff;
}

/* Verified Source Badge */
.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
}

/* ==============================================================================
   SEO KEYWORD DIRECTORY JUMP SECTION
   ============================================================================== */
.seo-directory-section {
  margin: 2.5rem 0 1.5rem;
  padding: 1.25rem;
  background: rgba(14, 20, 32, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.seo-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 0.85rem;
}

.seo-directory-col h5 {
  font-size: 0.82rem;
  color: var(--saffron-400);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.seo-links-cloud {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.seo-links-cloud a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.seo-links-cloud a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ==============================================================================
   FOOTER - STREAMLINED
   ============================================================================== */
.portal-footer {
  margin-top: 3.5rem;
  padding: 2.5rem 0 1.5rem;
  background: #05070c;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

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

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 0.45rem;
}

.footer-links-list a {
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--saffron-400);
}

/* Primary and Secondary Action Buttons */
.btn-primary {
  padding: 0.45rem 1.15rem;
  background: linear-gradient(135deg, var(--saffron-500), var(--saffron-600));
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-primary:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.btn-secondary {
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Admin Dashboard Metrics Grid */
.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

@media (max-width: 600px) {
  .admin-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.metric-card {
  background: var(--surface-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: var(--transition-fast);
}

.metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--saffron-500);
}

.metric-card h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.metric-card .metric-val {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

/* ==============================================================================
   COMPREHENSIVE MOBILE & TABLET OPTIMIZATIONS (Max-Width: 768px & 480px)
   ============================================================================== */

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  .container {
    padding: 0 0.5rem !important;
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Header & Navigation: Clean, perfectly spaced, zero-wrapping */
  .nav-inner {
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.35rem !important;
    overflow: visible !important;
  }
  
  .brand {
    gap: 0.45rem !important;
    flex-shrink: 0 !important;
  }

  .brand-emblem {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.95rem !important;
  }

  .brand-text h1 {
    font-size: 0.92rem !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  .brand-badge {
    display: none !important; /* Hide long badge on mobile to free up header space */
  }

  .nav-right-group {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    flex-shrink: 0 !important;
    max-width: calc(100vw - 165px) !important;
  }

  .nav-item-home {
    display: none !important; /* Clicking logo takes home, free up space */
  }

  .nav-links {
    gap: 0.2rem !important;
    flex-shrink: 1 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    white-space: nowrap !important;
  }

  .nav-links::-webkit-scrollbar {
    display: none !important;
  }

  .nav-link {
    font-size: 0.74rem !important;
    padding: 0.2rem 0.35rem !important;
    white-space: nowrap !important;
  }

  .theme-toggle-btn {
    flex-shrink: 0 !important;
    padding: 0.25rem 0.45rem !important;
    font-size: 0.85rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: var(--radius-full) !important;
    z-index: 10 !important;
    min-width: 32px !important;
    min-height: 28px !important;
  }

  .theme-toggle-btn .theme-btn-text {
    display: none !important;
  }

  .admin-btn {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }

  /* Compact Hero: Maximizes vertical viewing space */
  .hero {
    padding: 0.45rem 0.25rem 0.35rem !important;
  }

  .hero-pill {
    font-size: 0.68rem !important;
    padding: 0.16rem 0.55rem !important;
    margin-bottom: 0.25rem !important;
    white-space: nowrap !important;
    max-width: 100% !important;
  }

  .hero h2 {
    font-size: 1.12rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.15rem !important;
  }

  .hero-desc {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
    margin: 0.15rem auto 0.45rem !important;
    max-width: 95% !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* Compact Search Box: Spacious Input with No Cutoffs */
  .search-wrapper {
    margin: 0.35rem auto !important;
    width: 100% !important;
  }

  .search-box {
    padding: 0.2rem 0.25rem 0.2rem 0.7rem !important;
    border-radius: var(--radius-full) !important;
  }

  .search-input {
    font-size: 0.8rem !important;
    padding: 0.25rem 0.25rem !important;
  }

  .search-org-wrapper {
    padding: 0 0.3rem 0 0.35rem !important;
  }

  .search-org-select {
    max-width: 85px !important;
    font-size: 0.75rem !important;
  }

  .search-btn {
    padding: 0.42rem 0.85rem !important;
    font-size: 0.78rem !important;
  }

  /* Category tabs horizontal touch scroll */
  .category-tabs {
    padding: 0.2rem 0.25rem 0.45rem;
    gap: 0.35rem;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    box-sizing: border-box;
  }

  .cat-tab {
    font-size: 0.74rem;
    padding: 0.3rem 0.6rem;
    flex-shrink: 0;
  }

  /* Main Layout */
  .main-layout {
    grid-template-columns: 100% !important;
    gap: 0.65rem !important;
    margin: 0.35rem auto 1.5rem !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .filter-sidebar {
    position: static !important;
    padding: 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .section-title {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.95rem !important;
  }

  .view-controls {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
  }

  .view-controls .select-custom {
    flex: 1 1 120px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .view-controls .view-toggle-btn {
    flex: 1 1 80px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* Job Dense Row -> High-Density Mobile Card */
  .jobs-list-dense {
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .job-dense-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
    padding: 0.85rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .row-col-org {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
    gap: 0.35rem !important;
  }

  .row-org-name {
    font-size: 0.76rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.25 !important;
    max-width: 70% !important;
  }

  .row-advt {
    font-size: 0.66rem !important;
    white-space: nowrap !important;
    text-align: right !important;
  }

  .row-col-main {
    width: 100% !important;
    min-width: 0 !important;
  }

  .row-title {
    font-size: 0.95rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.35 !important;
    margin-bottom: 0.25rem !important;
  }

  .row-chips-inline {
    gap: 0.3rem !important;
    flex-wrap: wrap !important;
  }

  .row-col-vacancies {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0.35rem 0.55rem !important;
    background: rgba(15, 23, 42, 0.6) !important;
    border-radius: var(--radius-xs) !important;
    font-size: 0.78rem !important;
    box-sizing: border-box !important;
  }

  /* Mobile Location & Deadline Meta Subrow (Side-by-Side: Location Left, Days Left Right) */
  .row-col-meta {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    border-top: 1px dashed var(--border-subtle) !important;
    padding-top: 0.4rem !important;
    box-sizing: border-box !important;
    gap: 0.5rem !important;
  }

  .row-col-location {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    font-size: 0.74rem !important;
    gap: 0.12rem !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .row-col-deadline {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    text-align: right !important;
    border-top: none !important;
    padding-top: 0 !important;
    gap: 0.12rem !important;
    flex-shrink: 0 !important;
  }

  /* Mobile Action Row: Clean 1-row layout with icon buttons & flexible action buttons */
  .row-col-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    width: 100% !important;
    margin-top: 0.35rem !important;
    box-sizing: border-box !important;
  }

  .row-col-actions .btn-mini-share,
  .row-col-actions .btn-mini-books {
    width: 36px !important;
    height: 34px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-size: 0.92rem !important;
    border-radius: var(--radius-sm) !important;
    box-sizing: border-box !important;
  }

  .row-col-actions .btn-mini-notice:not(.btn-mini-books) {
    flex: 1 1 auto !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.35rem 0.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    border-radius: var(--radius-sm) !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    min-width: 0 !important;
  }

  .row-col-actions .btn-mini-apply {
    flex: 1.2 1 auto !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.35rem 0.5rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border-radius: var(--radius-sm) !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    min-width: 0 !important;
  }

  /* Grid View Mobile Optimization */
  .jobs-list-grid {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .job-card-compact {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.85rem !important;
  }

  .card-footer-compact {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }

  .card-footer-compact > div:last-child {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .card-footer-compact .btn-mini-notice,
  .card-footer-compact .btn-mini-apply {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.55rem 0.4rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border-radius: var(--radius-sm) !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    min-width: 0 !important;
  }

  /* Job Detail Page Mobile Styles */
  .job-detail-header-dense {
    padding: 0.85rem !important;
  }

  .detail-kpi-matrix {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
    margin: 0.75rem 0 !important;
  }

  .detail-kpi-box {
    padding: 0.5rem 0.65rem !important;
  }

  .detail-kpi-v {
    font-size: 0.88rem !important;
  }

  .detail-dense-card {
    padding: 0.85rem !important;
  }

  .quick-table th {
    width: 42% !important;
    font-size: 0.72rem !important;
    padding: 0.4rem 0.5rem !important;
  }

  .quick-table td {
    font-size: 0.8rem !important;
    padding: 0.4rem 0.5rem !important;
  }

  /* Mobile PDF / Document Viewer */
  #pdf-viewer-section {
    padding: 0.75rem !important;
  }

  #pdf-frame-wrapper {
    min-height: 420px !important;
  }

  #pdf-iframe {
    height: 460px !important;
  }

  /* Mobile Sticky Bottom CTA Bar */
  .mobile-bottom-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: rgba(10, 15, 26, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    border-top: 1px solid var(--border-subtle) !important;
    padding: 0.6rem 0.85rem !important;
    gap: 0.5rem !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5) !important;
    box-sizing: border-box !important;
  }

  .mobile-bottom-bar a {
    flex: 1 !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.65rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    border-radius: var(--radius-sm) !important;
    box-sizing: border-box !important;
  }

  body.has-mobile-bar {
    padding-bottom: 70px !important;
  }
}

@media (max-width: 480px) {
  .search-org-wrapper {
    display: none !important; /* Hide org dropdown inside search bar on phones to grant input full width */
  }

  .search-input {
    font-size: 0.8rem !important;
  }

  .search-btn-text {
    display: none !important; /* Icon-only search on ultra-compact mobile */
  }

  .search-btn {
    padding: 0.45rem 0.7rem !important;
  }
}

@media (min-width: 769px) {
  .mobile-bottom-bar {
    display: none !important;
  }
}

/* ==============================================================================
   AMAZON INDIA AFFILIATE RESOURCE CARDS & EXAM PREP KITS (tag=abhi2408-21)
   High-converting, responsive study book showcase & sidebar widgets
   ============================================================================== */

.books-showcase-card {
  border-top: 3px solid #ff9900 !important;
  position: relative;
  overflow: hidden;
}

.books-showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.65rem;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.book-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
}

.book-card:hover {
  background: rgba(23, 33, 54, 0.9);
  border-color: rgba(255, 153, 0, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.12);
}

.book-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}

.book-tag {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.book-tag-bestseller {
  background: rgba(255, 153, 0, 0.18);
  color: #ffb84d;
  border: 1px solid rgba(255, 153, 0, 0.35);
}

.book-tag-pyq {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.book-tag-top {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.book-rating {
  font-size: 0.72rem;
  color: #fbbf24;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.book-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

.btn-amazon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #ff9900, #f28b00);
  color: #111827 !important;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  width: 100%;
  text-decoration: none;
  transition: var(--transition-fast);
  box-shadow: 0 2px 6px rgba(255, 153, 0, 0.25);
}

.btn-amazon:hover {
  background: linear-gradient(135deg, #ffaa1a, #ff9900);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.35);
}

.amazon-disclaimer {
  font-size: 0.7rem;
  color: var(--text-dim);
  line-height: 1.4;
  padding: 0.5rem 0.65rem;
  background: rgba(15, 23, 42, 0.5);
  border-radius: var(--radius-xs);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  margin-top: 0.75rem;
}

.amazon-search-bar {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.85rem;
  background: rgba(15, 23, 42, 0.7);
  padding: 0.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.amazon-search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.8rem;
  padding: 0.3rem 0.5rem;
  outline: none;
}

.sidebar-prep-card {
  background: linear-gradient(180deg, rgba(23, 33, 54, 0.95), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(255, 153, 0, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-top: 0.85rem;
}

.prep-tab-btn {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition-fast);
}

.prep-tab-btn.active, .prep-tab-btn:hover {
  background: rgba(255, 153, 0, 0.15);
  border-color: rgba(255, 153, 0, 0.4);
  color: #ffb84d;
}

/* ==============================================================================
   FOMO COUNTDOWN TIMERS & URGENCY ACCELERATORS (Boost Application Rates)
   ============================================================================== */

/* 1. Job Card Urgency Badges */
.fomo-urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1;
}

.fomo-urgency-badge.urgent-critical {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.45);
  color: #fda4af;
  animation: pulseCritical 1.8s infinite;
}

.fomo-urgency-badge.urgent-warning {
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: #fdba74;
}

.fomo-urgency-badge.urgent-standard {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

.fomo-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  box-shadow: 0 0 6px currentColor;
}

@keyframes pulseCritical {
  0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4); }
  70% { box-shadow: 0 0 0 7px rgba(244, 63, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

/* 2. Sticky FOMO Top Urgency Header Bar on Job Details */
.fomo-sticky-bar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: linear-gradient(90deg, #1e112a, #111827, #090c13);
  border-bottom: 1px solid rgba(244, 63, 94, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.fomo-sticky-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.fomo-countdown-digits {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.fomo-digit-block {
  background: rgba(244, 63, 94, 0.2);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fff;
  font-weight: 800;
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  font-size: 0.78rem;
  font-family: monospace;
}

.fomo-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-400);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

/* 3. Live Social Proof Floating Toast Ticker */
.fomo-toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fomo-toast-card {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3.5px solid var(--saffron-500);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 0 15px rgba(249, 115, 22, 0.12);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 360px;
  backdrop-filter: blur(16px);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.fomo-toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.25), rgba(234, 88, 12, 0.1));
  border: 1px solid rgba(249, 115, 22, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.fomo-toast-body {
  flex: 1;
  min-width: 0;
}

.fomo-toast-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.fomo-toast-title strong {
  color: var(--saffron-400);
}

.fomo-toast-subtitle {
  font-size: 0.67rem;
  color: var(--text-dim);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.fomo-toast-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.1rem;
  opacity: 0.6;
  transition: var(--transition-fast);
}
.fomo-toast-close:hover {
  color: #fff;
  opacity: 1;
}

/* 4. Push Notification Opt-in Prompt Banner */
.push-optin-strip {
  background: linear-gradient(90deg, rgba(30, 58, 138, 0.85), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.push-optin-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 260px;
}

.push-bell-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  animation: bellRing 3.5s ease-in-out infinite;
}

@keyframes bellRing {
  0%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(14deg); }
  20%, 40% { transform: rotate(-14deg); }
  50% { transform: rotate(0); }
}

.push-optin-text h4 {
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 2px;
}

.push-optin-text p {
  font-size: 0.72rem;
  color: #cbd5e1;
  line-height: 1.35;
}

.push-optin-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-push-allow {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border: none;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-xs);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.btn-push-allow:hover {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  transform: translateY(-1px);
}

.btn-push-later {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-xs);
  font-size: 0.74rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-push-later:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* 5. Deadline Reminder Alarm Button & Badge */
.deadline-alarm-btn {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(234, 88, 12, 0.1));
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: var(--saffron-400);
  border-radius: var(--radius-xs);
  padding: 0.45rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  transition: var(--transition-fast);
  margin-top: 0.45rem;
}

.deadline-alarm-btn:hover {
  background: rgba(249, 115, 22, 0.25);
  border-color: var(--saffron-500);
  color: #fff;
}

.deadline-alarm-btn.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--emerald-400);
  color: var(--emerald-400);
}

/* ==============================================================================
   LIGHT THEME DESIGN SYSTEM & THEME SWITCHER
   Ultra-Crisp, High-Contrast Government Executive Design System
   ============================================================================== */

/* Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.32rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
  backdrop-filter: blur(8px);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--border-accent);
  transform: translateY(-1px);
}

.theme-toggle-btn .theme-icon-light {
  display: none;
}
.theme-toggle-btn .theme-icon-dark {
  display: inline-block;
}

/* --- LIGHT THEME VARIABLE OVERRIDES --- */
[data-theme="light"] {
  --bg-primary: #f4f6fa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --border-subtle: rgba(15, 23, 42, 0.12);
  --border-accent: rgba(234, 88, 12, 0.45);

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;

  --saffron-400: #d97706;
  --saffron-500: #ea580c;
  --saffron-600: #c2410c;
  --navy-500: #2563eb;
  --navy-600: #1d4ed8;
  --emerald-400: #059669;
  --emerald-500: #10b981;
  --rose-400: #e11d48;
  --rose-500: #be123c;
  --amber-400: #d97706;

  --surface-dark: #f1f5f9;
  --surface-light: #ffffff;

  --glow-saffron: 0 4px 16px rgba(234, 88, 12, 0.12);
  --glow-blue: 0 4px 16px rgba(37, 99, 235, 0.12);
}

[data-theme="light"] body {
  background-color: #f4f6fa;
  color: #0f172a;
  background-image: 
    radial-gradient(circle at 12% 8%, rgba(249, 115, 22, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 88% 15%, rgba(59, 130, 246, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 70%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(15, 23, 42, 0.1);
  border-color: var(--saffron-500);
}

[data-theme="light"] .theme-toggle-btn .theme-icon-light {
  display: inline-block;
}
[data-theme="light"] .theme-toggle-btn .theme-icon-dark {
  display: none;
}

/* Light Theme Header & Nav */
[data-theme="light"] .gov-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .brand-text h1 {
  color: #0f172a;
}

[data-theme="light"] .nav-link {
  color: #334155;
}
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #ea580c;
}

/* Light Theme Cards & Panels */
[data-theme="light"] .glass-panel {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .job-dense-row {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .job-dense-row:hover {
  background: #f8fafc;
  border-color: rgba(234, 88, 12, 0.4);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .job-card-compact {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .job-card-compact:hover {
  background: #f8fafc;
  border-color: rgba(234, 88, 12, 0.4);
}

[data-theme="light"] .row-title,
[data-theme="light"] .card-title-compact {
  color: #0f172a;
}

[data-theme="light"] .row-title:hover,
[data-theme="light"] .card-title-compact:hover {
  color: #ea580c;
}

[data-theme="light"] .row-org-name {
  color: #d97706;
}

[data-theme="light"] .search-box {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .search-input {
  color: #0f172a;
}

[data-theme="light"] .search-input::placeholder {
  color: #94a3b8;
}

/* Light Theme Sidebar Filters & Inputs */
[data-theme="light"] .filter-input,
[data-theme="light"] .filter-select,
[data-theme="light"] select,
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="number"],
[data-theme="light"] input[type="date"],
[data-theme="light"] textarea {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .kpi-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .kpi-chip:hover {
  background: #f8fafc;
}
[data-theme="light"] .kpi-chip-num {
  color: #0f172a;
}

/* Light Theme Category Tabs */
[data-theme="light"] .cat-tab {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
}
[data-theme="light"] .cat-tab:hover,
[data-theme="light"] .cat-tab.active {
  background: #fff7ed;
  border-color: #ea580c;
  color: #ea580c;
}

/* Light Theme Buttons */
[data-theme="light"] .btn-secondary {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}
[data-theme="light"] .btn-secondary:hover {
  background: #e2e8f0;
  color: #000;
}

[data-theme="light"] .btn-mini-notice {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
}
[data-theme="light"] .btn-mini-notice:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Light Theme Detail Page & Sticky Urgency */
[data-theme="light"] .detail-kpi-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}
[data-theme="light"] .detail-kpi-k {
  color: #64748b;
}
[data-theme="light"] .detail-kpi-v {
  color: #0f172a;
}

/* Light Theme Card Facts Grid (Fixes Dark Boxes on Light Cards) */
[data-theme="light"] .card-facts-grid {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
[data-theme="light"] .card-fact-k {
  color: #64748b;
  font-weight: 700;
}
[data-theme="light"] .card-fact-v {
  color: #0f172a;
  font-weight: 700;
}
[data-theme="light"] .card-fact-v[style*="amber"],
[data-theme="light"] .card-fact-v[style*="--amber-400"] {
  color: #d97706 !important;
  font-weight: 800 !important;
}

/* Light Theme Verified Tag */
[data-theme="light"] .verified-tag {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-weight: 700;
}

/* Light Theme View Controls & Sort Dropdown */
[data-theme="light"] .view-toggle-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #64748b;
}
[data-theme="light"] .view-toggle-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}
[data-theme="light"] .view-toggle-btn.active {
  background: #ffffff;
  color: #0f172a;
  border-color: #0f172a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  font-weight: 700;
}
[data-theme="light"] .select-custom,
[data-theme="light"] #sort-select {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

/* Light Theme Card Footer Buttons */
[data-theme="light"] .card-footer-compact {
  border-top: 1px solid #f1f5f9;
}
[data-theme="light"] .btn-mini-share {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
}
[data-theme="light"] .btn-mini-share:hover {
  background: #e2e8f0;
  color: #0f172a;
}
[data-theme="light"] .btn-mini-notice {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
}
[data-theme="light"] .btn-mini-notice:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Light Theme FOMO Sticky Bar & Social Proof */
[data-theme="light"] .fomo-sticky-bar {
  background: linear-gradient(90deg, #ffffff, #fff7ed, #ffffff);
  border-bottom: 1px solid rgba(234, 88, 12, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .fomo-sticky-left {
  color: #0f172a;
}
[data-theme="light"] .fomo-digit-block {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}
[data-theme="light"] .fomo-toast-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 3.5px solid #ea580c;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .fomo-toast-title {
  color: #0f172a;
}
[data-theme="light"] .push-optin-strip {
  background: linear-gradient(90deg, #eff6ff, #ffffff);
  border: 1px solid #bfdbfe;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
}
[data-theme="light"] .push-optin-text h4 {
  color: #1e3a8a;
}
[data-theme="light"] .push-optin-text p {
  color: #334155;
}

/* Light Theme Admin & Tables */
[data-theme="light"] .metric-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}
[data-theme="light"] .metric-card h4 {
  color: #64748b;
}
[data-theme="light"] .admin-tab {
  color: #475569;
}
[data-theme="light"] .source-table th {
  background: #f8fafc;
  color: #475569;
}
[data-theme="light"] .source-table td {
  color: #0f172a;
}

/* Light Theme Badges, Chips & Exam Alerts */
[data-theme="light"] .hero-pill {
  background: rgba(234, 88, 12, 0.08);
  border: 1px solid rgba(234, 88, 12, 0.25);
  color: #c2410c;
}
[data-theme="light"] .brand-badge {
  background: rgba(234, 88, 12, 0.1);
  color: #ea580c;
  border: 1px solid rgba(234, 88, 12, 0.3);
}
[data-theme="light"] .chip-tag {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
}
[data-theme="light"] .chip-tag.qual-chip {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}
[data-theme="light"] .chip-tag.cat-chip {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}
[data-theme="light"] .exam-strip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .exam-update-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}
[data-theme="light"] .exam-update-pill:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
[data-theme="light"] .sidebar-prep-card {
  background: #ffffff;
  border: 1px solid #fed7aa;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.08);
}
/* Light Theme Header & Brand Text Fix */
[data-theme="light"] .brand-text h1 {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #0f172a !important;
  color: #0f172a !important;
  font-weight: 800;
}

[data-theme="light"] .brand-emblem {
  background: linear-gradient(135deg, #ea580c, #2563eb);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.2);
}

/* Light Theme Hero Title & Gradient Fix */
[data-theme="light"] .hero h2 {
  color: #0f172a;
}

[data-theme="light"] .hero-gradient {
  background: linear-gradient(135deg, #0f172a 20%, #ea580c 60%, #2563eb 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .hero-vacancies-highlight {
  color: #d97706;
  text-shadow: none;
}

/* Light Theme FOMO Urgency Badges & Deadlines */
[data-theme="light"] .fomo-urgency-badge.urgent-standard {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: #1d4ed8;
  font-weight: 800;
}

[data-theme="light"] .fomo-urgency-badge.urgent-warning {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #c2410c;
  font-weight: 800;
}

[data-theme="light"] .fomo-urgency-badge.urgent-critical {
  background: #fff1f2;
  border: 1px solid #fca5a5;
  color: #be123c;
  font-weight: 800;
}

[data-theme="light"] .row-deadline-pill {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-weight: 700;
}

[data-theme="light"] .row-deadline-pill.urgent {
  background: #fff1f2;
  border: 1px solid #fca5a5;
  color: #be123c;
  font-weight: 800;
}

[data-theme="light"] .btn-mini-share {
  background: #f0fdf4 !important;
  border: 1px solid #86efac !important;
  color: #16a34a !important;
  font-size: 0.8rem;
}

[data-theme="light"] .btn-mini-share:hover {
  background: #dcfce7 !important;
  border-color: #22c55e !important;
}

[data-theme="light"] .btn-mini-books {
  background: #fff7ed !important;
  border: 1px solid #fed7aa !important;
  color: #ea580c !important;
}

[data-theme="light"] .btn-mini-books:hover {
  background: #ffedd5 !important;
  border-color: #f97316 !important;
}

/* Light Theme Dense Row & Mobile Card Polishing */
[data-theme="light"] .row-col-vacancies {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .row-vacancies-badge {
  color: #ea580c !important;
  font-weight: 800 !important;
}

[data-theme="light"] .row-salary {
  color: #475569 !important;
  font-weight: 600 !important;
}

[data-theme="light"] .row-col-location {
  color: #64748b !important;
}

[data-theme="light"] .row-location {
  color: #c2410c !important;
  font-weight: 700 !important;
}

[data-theme="light"] .row-age {
  color: #475569 !important;
  font-weight: 600 !important;
}

[data-theme="light"] .row-org-name {
  color: #c2410c !important;
  font-weight: 700 !important;
}

[data-theme="light"] .row-advt {
  color: #64748b !important;
}

[data-theme="light"] .row-title {
  color: #0f172a !important;
  font-weight: 700 !important;
}

[data-theme="light"] .job-card-compact {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .job-card-compact:hover {
  background: #f8fafc;
  border-color: rgba(234, 88, 12, 0.4);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .card-org-compact {
  color: #c2410c !important;
}

[data-theme="light"] .card-title-compact {
  color: #0f172a !important;
}

[data-theme="light"] .card-vacancies-compact {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

[data-theme="light"] .card-vacancies-val {
  color: #ea580c;
}

[data-theme="light"] .card-salary-val {
  color: #475569;
}








