/* ========================================================
   sarkari hith - REFERENCE DESIGN COMPONENTS
   Modern, authoritative government recruitment portal
======================================================== */

/* ========================================================
   1. HERO GATEWAY CARD (Sarvam.ai Atmospheric Glassmorphism)
======================================================== */
.hero-gateway-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 28px;
  margin: 1.25rem 0 1.75rem;
  padding: 3rem 3.25rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: block;
}

/* Atmospheric Ambient Glow Layer inside Hero */
.hero-gateway-card::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 20%;
  width: 450px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 69, 58, 0.15) 0%, rgba(99, 102, 241, 0.08) 50%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Background Artwork Layer (Seamless dark blend) */
.hero-parliament-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  background-image: url('/assets/images/parliament_hero.webp');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.1) 12%, rgba(0, 0, 0, 0.7) 45%, #000 85%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.1) 12%, rgba(0, 0, 0, 0.7) 45%, #000 85%);
  opacity: 0.32;
  filter: saturate(1.25) brightness(0.9);
}

.hero-content-col {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  max-width: 680px;
}

.hero-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero-eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 69, 58, 0.12);
  border: 1px solid rgba(255, 69, 58, 0.3);
  color: #ff7a59;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: fit-content;
  box-shadow: 0 0 15px rgba(255, 69, 58, 0.15);
}

.hero-display-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #ffffff;
  background: linear-gradient(180deg, #0f172a 30%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-highlight {
  background: var(--sarvam-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 30px rgba(255, 69, 58, 0.35);
}

.hero-display-subtitle {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.hero-divider {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 0.35rem;
}

/* Unified Large Pill Search Bar (Luminescent Glass Pill) */
.hero-search-wrapper {
  max-width: 640px;
}

.hero-search-bar {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.5rem 0.4rem 1.25rem;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(15, 23, 42, 0.08);
  transition: all var(--transition-normal);
  position: relative;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-search-bar:focus-within {
  border-color: #ff453a;
  box-shadow: 0 0 0 3px rgba(255, 69, 58, 0.25), 0 12px 40px rgba(255, 69, 58, 0.2);
}

.hero-search-icon {
  flex-shrink: 0;
  margin-right: 0.75rem;
  color: #64748b;
}

.hero-search-input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 0.96rem;
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.55rem 0;
  outline: none;
}

.hero-search-input::placeholder {
  color: #64748b;
  font-weight: 400;
}

.search-clear-btn {
  display: none;
  background: none;
  border: none;
  color: #64748b;
  padding: 0.35rem;
  border-radius: 50%;
  margin-right: 0.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-clear-btn:hover {
  color: var(--text-primary);
  background-color: rgba(15, 23, 42, 0.08);
}

.search-clear-btn.is-visible {
  display: inline-flex;
}

.search-badge-hint {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.5px;
  margin-right: 0.5rem;
}

.hero-search-btn {
  background: linear-gradient(135deg, #ff453a 0%, #e11d48 50%, #f97316 100%);
  color: #ffffff;
  border: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.6rem 1.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 69, 58, 0.4);
  transition: all var(--transition-fast);
}

.hero-search-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 69, 58, 0.55);
}

/* Quick Tags Row */
.hero-quick-tags-row {
  display: flex;
  align-items: center;
}

.hero-tags-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quick-tag-pill {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.quick-tag-pill:hover {
  background: rgba(255, 69, 58, 0.12);
  border-color: rgba(255, 69, 58, 0.4);
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(255, 69, 58, 0.25);
}

.quick-tag-pill.is-active {
  background: linear-gradient(135deg, rgba(255, 69, 58, 0.25) 0%, rgba(225, 29, 72, 0.25) 100%);
  border-color: #ff453a;
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(255, 69, 58, 0.35);
}

.quick-tag-next {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 50%;
  color: #64748b;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-tag-next:hover {
  background: rgba(255, 69, 58, 0.2);
  border-color: #ff453a;
  color: var(--text-primary);
}

/* ========================================================
   2. CATEGORY CHIPS CAROUSEL (Sarvam.ai Frosted Glass Pills)
======================================================== */
.sector-chips-scroll {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sector-chips-scroll::-webkit-scrollbar {
  display: none;
}

.sector-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transition: all var(--transition-fast);
  cursor: pointer;
  letter-spacing: -0.01em;
}

.sector-chip:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.18);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.sector-chip.is-active {
  background: linear-gradient(135deg, rgba(255, 69, 58, 0.22) 0%, rgba(244, 63, 94, 0.18) 100%);
  color: var(--text-primary);
  border-color: #ff453a;
  box-shadow: 0 0 18px rgba(255, 69, 58, 0.35);
  font-weight: 600;
}

.sector-chip-count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  background-color: rgba(15, 23, 42, 0.08);
  color: inherit;
}

.sector-chip.is-active .sector-chip-count {
  background-color: rgba(255, 69, 58, 0.4);
  color: var(--text-primary);
}

/* ========================================================
   3. BENTO FILTER CONTROLS BAR (Sarvam.ai Glass Control Dock)
======================================================== */
.filter-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.25rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(15, 23, 42, 0.06);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.filter-group-dropdowns {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.select-filter-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.select-filter {
  appearance: none;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #0f172a;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.5rem 2.2rem 0.5rem 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.select-filter:hover {
  background-color: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.2);
}

.select-filter:focus {
  border-color: #ff453a;
  background-color: #f1f5f9;
  box-shadow: 0 0 0 3px rgba(255, 69, 58, 0.25);
}

.select-arrow {
  position: absolute;
  right: 0.75rem;
  pointer-events: none;
  color: #64748b;
}

/* Active Jobs Only Switch */
.filter-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
}

.filter-toggle-wrapper:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.15);
}

.filter-toggle-input {
  display: none;
}

.filter-toggle-slider {
  position: relative;
  width: 34px;
  height: 20px;
  background-color: rgba(15, 23, 42, 0.15);
  border-radius: 20px;
  transition: background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-toggle-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-toggle-input:checked+.filter-toggle-slider {
  background-color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

.filter-toggle-input:checked+.filter-toggle-slider::after {
  transform: translateX(14px);
}

.filter-toggle-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.filter-current-date-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  background-color: rgba(16, 185, 129, 0.15);
  color: #047857;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.reset-filters-btn {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.reset-filters-btn:hover {
  color: var(--text-primary);
  background-color: rgba(15, 23, 42, 0.08);
}

/* ========================================================
   4. DEGREE MATCH OPPORTUNITY SCOPE (Clay Segmented Control)
======================================================== */
/* ========================================================
   4. DEGREE MATCH OPPORTUNITY SCOPE (Sarvam.ai Glass Segmented Control)
======================================================== */
.degree-scope-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-xl);
  padding: 1rem 1.35rem;
  margin-top: 0.85rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.degree-scope-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.degree-scope-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.925rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.degree-scope-title svg {
  color: #b30000;
  filter: drop-shadow(0 0 8px rgba(255, 69, 58, 0.5));
}

.scope-stat-summary {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  color: var(--text-secondary);
  font-weight: 500;
  background-color: rgba(15, 23, 42, 0.04);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.degree-scope-pills {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.scope-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.825rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  background-color: rgba(15, 23, 42, 0.035);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.scope-pill:hover {
  background-color: rgba(15, 23, 42, 0.08);
  border-color: rgba(255, 69, 58, 0.4);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* Active Pill Segment with Glowing AI Gradient */
.scope-pill.is-active {
  background: linear-gradient(135deg, #ff453a 0%, #ff6b35 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(255, 69, 58, 0.4);
  font-weight: 700;
}

.scope-pill .pill-badge {
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 9999px;
  background-color: rgba(15, 23, 42, 0.1);
  color: inherit;
}

.scope-pill.is-active .pill-badge {
  background-color: rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

/* ========================================================
   5. TRENDING HIGHLIGHTS (Sarvam.ai Bento Highlights)
======================================================== */
.trending-section {
  margin-bottom: 3rem;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.heading-title-group {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.trending-title-main {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-primary);
}

.trending-flash-icon {
  color: #b30000;
  font-size: 1.45rem;
  filter: drop-shadow(0 0 10px rgba(255, 69, 58, 0.6));
}

.trending-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.view-all-trending-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.95rem;
  background-color: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-full);
  color: #b30000;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(12px);
}

.view-all-trending-btn:hover {
  background-color: rgba(255, 69, 58, 0.12);
  border-color: rgba(255, 69, 58, 0.45);
  color: var(--text-primary);
  transform: translateX(2px);
  box-shadow: 0 0 16px rgba(255, 69, 58, 0.25);
}

/* 5 Cards Row */
.trending-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.trending-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
  min-height: 180px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.trending-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 69, 58, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trending-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.08), 0 0 25px rgba(255, 69, 58, 0.18);
  border-color: rgba(255, 69, 58, 0.4);
}

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

.trending-card-top-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  position: relative;
}

.trending-num-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(255, 69, 58, 0.35);
  flex-shrink: 0;
}

.trending-watermark-icon {
  margin-left: auto;
  font-size: 1.35rem;
  opacity: 0.25;
  color: #64748b;
  transition: all 0.3s ease;
}

.trending-card:hover .trending-watermark-icon {
  opacity: 0.6;
  color: #b30000;
  transform: scale(1.1);
}

.trending-card-body {
  margin-bottom: 0.85rem;
}

.trending-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.trending-card:hover .trending-card-title {
  color: var(--text-primary);
}

.trending-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: 0.75rem;
  margin-top: auto;
}

.trending-org-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 82%;
  font-weight: 500;
  color: var(--text-secondary);
}

.trending-circle-chevron {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.trending-card:hover .trending-circle-chevron {
  background: linear-gradient(135deg, #ff453a, #ff6b35);
  border-color: transparent;
  color: #ffffff;
  transform: translateX(2px);
  box-shadow: 0 0 10px rgba(255, 69, 58, 0.4);
}

/* ========================================================
   6. THE 3-COLUMN sarkari hith MATRIX (Sarvam.ai Bento Matrix)
======================================================== */
.matrix-section {
  margin-bottom: 4rem;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.matrix-column {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  box-shadow: 0 12px 36px -8px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(15, 23, 42, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color var(--transition-fast);
}

.matrix-column:hover {
  border-color: rgba(15, 23, 42, 0.14);
}

/* Radiant Matrix Column Headers */
.column-header {
  padding: 1.25rem 1.35rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.header-results {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.9) 0%, rgba(159, 18, 57, 0.8) 100%);
}

.header-admitcards {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(67, 56, 202, 0.8) 100%);
}

.header-jobs {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.9) 0%, rgba(15, 118, 110, 0.8) 100%);
}

.column-header-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
}

.column-icon-box {
  width: 42px;
  height: 42px;
  background-color: rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(15, 23, 42, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
}

.column-text-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.column-title-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.column-title-row h3 {
  color: var(--text-primary);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
  text-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.column-count-badge {
  font-family: var(--font-mono);
  background-color: rgba(15, 23, 42, 0.22);
  color: var(--text-primary);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(15, 23, 42, 0.35);
}

.column-tag-new {
  background: linear-gradient(135deg, #fef08a, #fde047);
  color: #713f12;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.column-subtitle {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  line-height: 1.25;
}

.column-header-graphic {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.75rem;
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

.column-items-list {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  max-height: 840px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

/* Individual Matrix Notification Card Row */
.matrix-item {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  background-color: transparent;
}

.matrix-item:last-child {
  border-bottom: none;
}

.matrix-item:hover {
  background-color: rgba(15, 23, 42, 0.035);
  transform: translateX(4px);
}

/* Left Circular Avatar Icon */
.matrix-item-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  transition: all 0.2s ease;
}

.matrix-item:hover .matrix-item-avatar {
  border-color: rgba(255, 69, 58, 0.35);
  background-color: rgba(255, 69, 58, 0.08);
  transform: scale(1.05);
}

.matrix-item-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.matrix-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.42;
  letter-spacing: -0.015em;
  word-break: break-word;
  transition: color 0.15s ease;
}

.matrix-item:hover .matrix-item-title {
  color: #c2410c;
}

.matrix-badge-new {
  display: inline-block;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 800;
  padding: 0.05rem 0.4rem;
  border-radius: 4px;
  text-transform: uppercase;
  margin-left: 0.4rem;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.matrix-item-badges {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.matrix-item-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

.meta-item-date {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: #64748b;
}

.meta-item-divider {
  color: rgba(255, 255, 255, 0.15);
}

.meta-item-state {
  color: #475569;
  font-weight: 500;
}

.matrix-item-action {
  flex-shrink: 0;
  padding-left: 0.35rem;
}

.matrix-circle-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.matrix-item:hover .matrix-circle-chevron {
  background: linear-gradient(135deg, #ff453a, #ff6b35);
  border-color: transparent;
  color: #ffffff;
  transform: translateX(3px);
  box-shadow: 0 0 10px rgba(255, 69, 58, 0.4);
}

/* ========================================================
   7. HIGH-CONTRAST NEON MICRO-PILL BADGES
======================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  line-height: 1.35;
  white-space: nowrap;
}

.badge-sector {
  background-color: rgba(15, 23, 42, 0.05);
  color: #475569;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.badge-status.success {
  background-color: rgba(16, 185, 129, 0.15);
  color: #047857;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.badge-status.warning {
  background-color: rgba(245, 158, 11, 0.15);
  color: #92400e;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.badge-status.info {
  background-color: rgba(99, 102, 241, 0.15);
  color: #4338ca;
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.badge-status.neutral {
  background-color: rgba(15, 23, 42, 0.04);
  color: #64748b;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.badge-state {
  background-color: rgba(15, 23, 42, 0.04);
  color: #64748b;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.69rem;
}

/* Direct Branch Match: Electric Cyan Pill */
.badge-field-match {
  background: rgba(6, 182, 212, 0.15);
  color: #0369a1;
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

/* Universal Degree Match: Soft Emerald Pill */
.badge-general-match {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
  border: 1px solid rgba(52, 211, 153, 0.35);
  font-weight: 600;
}

.badge-stream-warning {
  background: rgba(239, 68, 68, 0.15);
  color: #b91c1c;
  border: 1px solid rgba(248, 113, 113, 0.35);
  font-weight: 700;
}

.badge-stream-mismatch {
  background-color: rgba(15, 23, 42, 0.04);
  color: #64748b;
  border: 1px solid rgba(15, 23, 42, 0.06);
  opacity: 0.75;
}

.badge-stream-pill {
  background-color: rgba(15, 23, 42, 0.04);
  color: #64748b;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.7rem;
}

.badge-deadline-active {
  font-family: var(--font-mono);
  background-color: rgba(16, 185, 129, 0.15);
  color: #047857;
  border: 1px solid rgba(52, 211, 153, 0.35);
  font-size: 0.7rem;
}

.badge-deadline-expired {
  font-family: var(--font-mono);
  background-color: rgba(239, 68, 68, 0.15);
  color: #b91c1c;
  border: 1px solid rgba(248, 113, 113, 0.35);
  font-size: 0.7rem;
}

/* Mobile Column Tab Buttons */
.matrix-mobile-tabs {
  display: none;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 0.35rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.matrix-tab-btn {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #64748b;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.matrix-tab-btn.is-active {
  background: linear-gradient(135deg, #ff453a, #ff6b35);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 69, 58, 0.4);
}

.matrix-tab-btn .tab-badge {
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 9999px;
  background-color: rgba(15, 23, 42, 0.15);
  color: inherit;
  margin-left: 0.3rem;
}

.matrix-tab-btn.is-active .tab-badge {
  background-color: rgba(0, 0, 0, 0.25);
  color: inherit;
}

/* ========================================================
   8. SECONDARY SERVICES TABS (Sarvam.ai Bento Cards)
======================================================== */
.secondary-section {
  margin-bottom: 4rem;
}

.tab-nav-bar {
  display: flex;
  gap: 0.35rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.tab-nav-item {
  padding: 0.85rem 1.25rem;
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #64748b;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab-nav-item:hover {
  color: #0f172a;
}

.tab-nav-item.is-active {
  color: #b30000;
  border-bottom-color: #ff453a;
  text-shadow: 0 0 12px rgba(255, 69, 58, 0.5);
}

.secondary-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.secondary-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.08);
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.secondary-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 69, 58, 0.4);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.08), 0 0 20px rgba(255, 69, 58, 0.15);
}

.secondary-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: #0f172a;
  transition: color 0.2s ease;
}

.secondary-card:hover .secondary-card-title {
  color: #c2410c;
}

.secondary-card-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

/* ========================================================
   9. DETAIL MODAL DIALOG (Sarvam.ai Cosmic Glass Sheet)
======================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-overlay.is-open {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 24px;
  max-width: 780px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px -15px rgba(15, 23, 42, 0.08), 0 0 40px rgba(255, 69, 58, 0.1), inset 0 1px 0 rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transform: scale(0.96);
  transition: transform var(--transition-normal);
}

#item-detail-modal .modal-dialog { max-width: 1040px; }
.modal-details-status { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }
.modal-details-status:empty { display: none; }
.modal-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.modal-overview-fact { padding: 0.85rem; border: 1px solid var(--border-color); border-radius: 10px; overflow-wrap: anywhere; }
.modal-overview-fact span { display: block; font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 0.35rem; }
.modal-overview-fact strong { font-size: 0.85rem; }
.modal-extended-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.modal-detail-points { padding-left: 1.2rem; font-size: 0.875rem; line-height: 1.7; list-style: disc; }
ol.modal-detail-points { list-style: decimal; }
.modal-detail-points li + li { margin-top: 0.45rem; }
.modal-unavailable { font-size: 0.825rem; color: var(--text-secondary); line-height: 1.5; }
.modal-table-scroll { max-width: 100%; overflow-x: auto; }
.modal-table-scroll table { min-width: 480px; width: 100%; }
#modal-additional-tables .modal-info-box + .modal-info-box { margin-top: 1rem; }
#item-detail-modal .modal-info-box { min-width: 0; overflow-wrap: anywhere; }

.modal-overlay.is-open .modal-dialog {
  transform: scale(1);
}

.modal-header {
  padding: 1.35rem 1.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  background-color: rgba(255, 255, 255, 0.85);
}

.modal-title-group h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.35;
  margin-bottom: 0.45rem;
  color: #0f172a;
}

.modal-close-btn {
  color: #64748b;
  padding: 0.45rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: all var(--transition-fast);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: var(--text-primary);
  background-color: rgba(255, 69, 58, 0.2);
  border-color: rgba(255, 69, 58, 0.4);
}

.modal-body {
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

/* Modal Eligibility Banners */
.modal-eligibility-banner {
  margin-bottom: 0.25rem;
}

.eligibility-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1.25rem;
  border-radius: 14px;
  margin-bottom: 0.75rem;
  font-size: 0.8875rem;
  line-height: 1.55;
  border: 1px solid transparent;
}

.eligibility-banner.is-direct-field {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.35);
  color: #0369a1;
}

.eligibility-banner.is-eligible,
.eligibility-banner.is-general-graduate {
  background-color: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #047857;
}

.eligibility-banner.is-ineligible {
  background-color: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #b91c1c;
}

.eligibility-banner.is-warning {
  background-color: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #92400e;
}

.modal-disciplines-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  background-color: rgba(15, 23, 42, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.825rem;
}

.modal-disciplines-title {
  font-weight: 600;
  color: #64748b;
}

.modal-disciplines-chips {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.badge-discipline-tag {
  background-color: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #475569;
  font-size: 0.75rem;
}

.badge-discipline-tag.is-highlighted {
  border-color: rgba(56, 189, 248, 0.45);
  color: #0369a1;
  background-color: rgba(6, 182, 212, 0.15);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

/* Bento Info Boxes Grid */
.modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.modal-info-box {
  background-color: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
}

.modal-info-box h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
}

.modal-info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.85rem;
}

.modal-info-list li:last-child {
  border-bottom: none;
}

.modal-info-list li span {
  color: #64748b;
}

.modal-info-list li strong {
  color: #0f172a;
  font-weight: 600;
}

/* Sarvam Vacancy Data Table */
.vacancy-table-wrapper {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background-color: rgba(255, 255, 255, 0.6);
}

.modal-vacancy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.modal-vacancy-table th {
  background-color: rgba(15, 23, 42, 0.04);
  padding: 0.75rem 0.95rem;
  font-weight: 600;
  color: #475569;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.modal-vacancy-table td {
  padding: 0.75rem 0.95rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  color: #0f172a;
}

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

.badge-row-field {
  background: rgba(6, 182, 212, 0.15);
  color: #0369a1;
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.badge-row-general {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
  border: 1px solid rgba(52, 211, 153, 0.35);
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.badge-row-other {
  background: rgba(15, 23, 42, 0.04);
  color: #64748b;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

/* Action Buttons */
.modal-actions {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding-top: 0.5rem;
}

.btn-primary-action {
  background: linear-gradient(135deg, #ff453a 0%, #ff6b35 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.925rem;
  letter-spacing: -0.01em;
  padding: 0.75rem 1.55rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(255, 69, 58, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary-action:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 69, 58, 0.45);
}

.btn-secondary-action {
  background-color: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #0f172a;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-secondary-action:hover {
  background-color: rgba(15, 23, 42, 0.1);
  border-color: rgba(15, 23, 42, 0.2);
  color: var(--text-primary);
}

/* ========================================================
   10. TOAST NOTIFICATIONS & EMPTY STATES
======================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background-color: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08), 0 0 20px rgba(255, 69, 58, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  animation: slideInRight 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(20px);
}

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

.toast.success {
  border-left: 3px solid #10b981;
}

.toast.error {
  border-left: 3px solid #ef4444;
}

.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  color: #64748b;
}

.empty-state h3 {
  font-size: 1.2rem;
  margin: 1rem 0 0.5rem;
  color: #0f172a;
}

/* ========================================================
   11. JOB ALERTS & EMAIL NOTIFICATION SYSTEM
======================================================== */
.btn-job-alerts {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(15, 23, 42, 0.05);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-job-alerts:hover {
  background-color: rgba(255, 69, 58, 0.15);
  border-color: rgba(255, 69, 58, 0.45);
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(255, 69, 58, 0.3);
}

.alerts-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff453a, #ff6b35);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.12rem 0.5rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px rgba(255, 69, 58, 0.4);
}

/* Callout Banner */
.job-alerts-banner {
  background: linear-gradient(135deg, rgba(255, 69, 58, 0.1) 0%, rgba(99, 102, 241, 0.08) 100%), rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 69, 58, 0.3);
  border-radius: 20px;
  padding: 1.35rem 1.65rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), 0 0 25px rgba(255, 69, 58, 0.1);
  transition: all var(--transition-fast);
  backdrop-filter: blur(18px);
}

.job-alerts-banner:hover {
  border-color: rgba(255, 69, 58, 0.5);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08), 0 0 30px rgba(255, 69, 58, 0.2);
}

.job-alerts-banner-content {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.job-alerts-banner-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 69, 58, 0.15);
  border: 1px solid rgba(255, 69, 58, 0.3);
  color: #b30000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(255, 69, 58, 0.25);
}

.job-alerts-banner-title {
  margin: 0 0 0.25rem 0;
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
}

.job-alerts-banner-subtitle {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.45;
}

.btn-banner-subscribe {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ff453a, #ff6b35);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(255, 69, 58, 0.4);
  transition: all var(--transition-fast);
}

.btn-banner-subscribe:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 69, 58, 0.5);
}

/* Modal Specific Styles */
.alerts-modal-dialog {
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.alerts-pill-badge {
  background: rgba(255, 69, 58, 0.15);
  color: #b30000;
  border: 1px solid rgba(255, 69, 58, 0.3);
}

.alerts-modal-subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
}

.alerts-modal-body {
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-col {
  flex: 1;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.45rem;
}

.required-asterisk {
  color: #b30000;
  font-weight: 800;
}

.form-label-hint {
  font-size: 0.75rem;
  font-weight: 400;
  color: #64748b;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem 0.95rem;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.1);
  background-color: #f8fafc;
  color: #0f172a;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
  border-color: #ff453a;
  box-shadow: 0 0 0 3px rgba(255, 69, 58, 0.25);
}

.form-help-text {
  display: block;
  font-size: 0.725rem;
  color: #64748b;
  margin-top: 0.35rem;
}

/* Degree Pills Selection */
.alerts-discipline-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-height: 160px;
  overflow-y: auto;
  padding: 0.65rem;
  background-color: rgba(15, 23, 42, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.alert-discipline-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.775rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background-color: rgba(15, 23, 42, 0.04);
  color: #64748b;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
}

.alert-discipline-chip:hover {
  border-color: rgba(255, 69, 58, 0.4);
  color: #0f172a;
}

.alert-discipline-chip.is-selected {
  background: linear-gradient(135deg, rgba(255, 69, 58, 0.2), rgba(255, 107, 53, 0.2));
  border-color: #ff453a;
  color: #c2410c;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(255, 69, 58, 0.25);
}

/* Match Counter Preview Box */
.alerts-match-box {
  background-color: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.25rem;
  margin-bottom: 1.25rem;
}

.alerts-match-badge {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #047857;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.alerts-match-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.alerts-match-job-chip {
  font-size: 0.725rem;
  background-color: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  color: #0f172a;
  max-width: 270px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alerts-status-banner {
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.alerts-status-banner.is-success {
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid #10b981;
  color: #047857;
}

.alerts-status-banner.is-error {
  background-color: rgba(239, 68, 68, 0.12);
  border: 1px solid #ef4444;
  color: #b91c1c;
}

.alerts-modal-actions {
  display: flex;
  gap: 0.85rem;
  position: sticky;
  bottom: 0;
  background: #ffffff;
  padding: 1.15rem 0 0.35rem;
  margin-top: 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  z-index: 10;
}

.quick-subscribe-filters-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: rgba(255, 69, 58, 0.1);
  color: #c2410c;
  border: 1px solid rgba(255, 69, 58, 0.3);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-subscribe-filters-btn:hover {
  background-color: #ff453a;
  color: #ffffff;
  border-color: #ff453a;
  box-shadow: 0 0 12px rgba(255, 69, 58, 0.4);
}

.btn-primary-alert {
  flex: 1.5;
  background: linear-gradient(135deg, #ff453a, #ff6b35);
  color: #ffffff;
  border: none;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 69, 58, 0.35);
  transition: all var(--transition-fast);
}

.btn-primary-alert:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 69, 58, 0.5);
}

.btn-primary-alert:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary-alert {
  flex: 1;
  background-color: rgba(15, 23, 42, 0.05);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary-alert:hover:not(:disabled) {
  background-color: rgba(15, 23, 42, 0.1);
  border-color: rgba(15, 23, 42, 0.2);
}

.btn-secondary-alert:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========================================================
   12. SPECIFIC JOB DEADLINE TRACKING & REMINDERS UI
======================================================== */
.btn-track-job {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #64748b;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-track-job:hover {
  background-color: rgba(255, 69, 58, 0.15);
  border-color: rgba(255, 69, 58, 0.4);
  color: var(--text-primary);
}

.matrix-item:hover .btn-track-job {
  border-color: rgba(15, 23, 42, 0.15);
}

/* Modal Job Tracker CTA Card */
.job-tracker-modal-card {
  background: linear-gradient(135deg, rgba(255, 69, 58, 0.08), rgba(99, 102, 241, 0.08)), rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 69, 58, 0.25);
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  backdrop-filter: blur(16px);
}

.job-tracker-modal-card .tracker-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.job-tracker-modal-card .tracker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #b30000;
  letter-spacing: 0.5px;
}

.job-tracker-modal-card .tracker-text strong {
  display: block;
  font-size: 0.98rem;
  color: #0f172a;
  line-height: 1.35;
}

.job-tracker-modal-card .tracker-text span {
  font-size: 0.825rem;
  color: #64748b;
}

.btn-activate-tracking {
  background: linear-gradient(135deg, #ff453a, #ff6b35);
  color: #ffffff;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 16px rgba(255, 69, 58, 0.35);
  transition: all var(--transition-fast);
}

.btn-activate-tracking:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 69, 58, 0.5);
}

/* Selected Job Details Box in Tracking Modal */
.track-selected-job-card {
  background-color: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.25rem;
}

.track-job-org {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #b30000;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.track-job-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.track-job-deadline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.track-deadline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
  color: #475569;
}

.track-days-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  background-color: rgba(99, 102, 241, 0.15);
  color: #4338ca;
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.track-days-badge.is-urgent {
  background-color: rgba(239, 68, 68, 0.15);
  color: #b91c1c;
  border-color: rgba(248, 113, 113, 0.35);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.25);
}

/* How It Works Steps Box */
.track-how-it-works-box {
  background-color: rgba(15, 23, 42, 0.02);
  border: 1px dashed rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  padding: 0.95rem 1.15rem;
  margin-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.track-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.45;
}

.track-step .step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff453a, #ff6b35);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Tracked Jobs Dashboard in Modal */
.tracked-jobs-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: 380px;
  overflow-y: auto;
}

.tracked-job-row {
  background-color: rgba(15, 23, 42, 0.035);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 0.95rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.95rem;
  transition: all var(--transition-fast);
}

.tracked-job-row:hover {
  background-color: rgba(15, 23, 42, 0.06);
  border-color: rgba(255, 69, 58, 0.35);
}

.tracked-job-row .job-main {
  flex: 1;
}

.tracked-job-row .job-title-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 0.3rem;
}

.tracked-job-row .job-meta-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  color: #64748b;
}

.tracked-job-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.btn-test-timer-1m {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.42rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  background-color: rgba(99, 102, 241, 0.15);
  color: #4338ca;
  border: 1px solid rgba(129, 140, 248, 0.3);
  transition: all var(--transition-fast);
}

.btn-test-timer-1m:hover:not(:disabled) {
  background-color: #6366f1;
  color: #ffffff;
  border-color: #6366f1;
}

.btn-test-timer-1m.is-counting {
  background-color: rgba(245, 158, 11, 0.15);
  color: #92400e;
  border-color: rgba(251, 191, 36, 0.35);
  cursor: default;
}

.btn-send-now {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.42rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  background-color: rgba(239, 68, 68, 0.15);
  color: #b91c1c;
  border: 1px solid rgba(248, 113, 113, 0.3);
  transition: all var(--transition-fast);
}

.btn-send-now:hover:not(:disabled) {
  background-color: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.btn-toggle-applied {
  padding: 0.42rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.btn-toggle-applied.is-pending {
  background-color: rgba(16, 185, 129, 0.15);
  color: #047857;
  border-color: rgba(52, 211, 153, 0.3);
}

.btn-toggle-applied.is-pending:hover {
  background-color: #10b981;
  color: #ffffff;
}

.btn-toggle-applied.is-applied {
  background-color: rgba(15, 23, 42, 0.05);
  color: #64748b;
  border-color: rgba(15, 23, 42, 0.1);
}

.btn-toggle-applied.is-applied:hover {
  background-color: rgba(15, 23, 42, 0.1);
  color: var(--text-primary);
}

.badge-status-applied {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: rgba(16, 185, 129, 0.15);
  color: #047857;
  padding: 2px 8px;
  border-radius: 4px;
}

.badge-status-tracking {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: rgba(245, 158, 11, 0.15);
  color: #92400e;
  padding: 2px 8px;
  border-radius: 4px;
}

/* ----------------------------------------------------
   Top 0.1% SEO Knowledge Hub & FAQ Accordion Styles
   ---------------------------------------------------- */
.hero-eyebrow-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c2410c;
  background-color: rgba(255, 69, 58, 0.12);
  border: 1px solid rgba(255, 69, 58, 0.25);
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 0.65rem;
}

.seo-guide-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
  margin: 3rem 0 3.5rem 0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.seo-guide-header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.seo-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0369a1;
  background-color: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}

.seo-guide-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.seo-guide-intro {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.75;
}

.seo-quick-grid-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.seo-quick-block {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
}

.seo-block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.seo-block-title svg {
  color: #b30000;
}

.seo-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.seo-inline-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  background-color: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.seo-inline-badge:hover {
  background: linear-gradient(135deg, #ff453a, #ff6b35);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(255, 69, 58, 0.35);
}

.seo-editorial-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.seo-article-card {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.35rem;
}

.seo-article-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.55rem;
  line-height: 1.4;
}

.seo-article-card p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .seo-guide-card {
    padding: 1.35rem;
    margin: 2rem 0;
  }

  .seo-guide-title {
    font-size: 1.25rem;
  }

  .seo-quick-grid-row {
    grid-template-columns: 1fr;
  }
}

/* --- 5-Tap Admin Live Scraper Modal & Animations --- */
.modal-dialog-compact {
  max-width: 520px;
}

.scraper-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 69, 58, 0.2);
  border-top-color: #ff453a;
  border-right-color: #ff6b35;
  border-radius: 50%;
  animation: scraperSpinAnim 0.85s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  box-shadow: 0 0 16px rgba(255, 69, 58, 0.3);
}

@keyframes scraperSpinAnim {
  to { transform: rotate(360deg); }
}

.scraper-progress-bar {
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, #ff453a, #ff6b35, #10b981);
  border-radius: 99px;
  box-shadow: 0 0 12px rgba(255, 69, 58, 0.5);
  animation: scraperBarAnim 1.6s ease-in-out infinite alternate;
}

@keyframes scraperBarAnim {
  0% { transform: translateX(0%); width: 30%; }
  100% { transform: translateX(180%); width: 45%; }
}

/* ========================================================
   SEO FAQ ACCORDION & KEYWORD HUB STYLES
======================================================== */
.seo-faq-section {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 2.25rem;
}

.seo-faq-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.faq-item {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 69, 58, 0.35);
}

.faq-item.is-open {
  border-color: #ff453a;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), 0 0 16px rgba(255, 69, 58, 0.15);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.15rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: inherit;
}

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: #b30000;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.35rem;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.7;
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
  padding: 0 1.35rem 1.25rem 1.35rem;
}

.faq-answer p {
  margin-bottom: 0.5rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.seo-keyword-hub {
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.1);
}

.seo-keyword-hub-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 1rem;
}

.seo-keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.seo-kw-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  background: rgba(15, 23, 42, 0.04);
  color: #64748b;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.seo-kw-chip:hover {
  background: linear-gradient(135deg, #ff453a, #ff6b35);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0 12px rgba(255, 69, 58, 0.3);
}

/* ========================================================
   DEDICATED SPECIAL RECRUITMENTS & OPPORTUNITIES TABLE
   ======================================================== */
.nav-radar-item {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
}

.radar-live-beacon {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #16a34a;
  flex-shrink: 0;
}

.radar-nav-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 4px;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.radar-section {
  margin: 2.5rem auto 1.5rem;
  width: 100%;
}

.radar-card-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  padding: 1.75rem;
  position: relative;
}

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

.radar-header-main {
  max-width: 680px;
}

.radar-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.65rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  margin-bottom: 0.65rem;
}

.radar-brand-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #334155;
  text-transform: uppercase;
}

.radar-brand-tag {
  font-size: 0.7rem;
  color: #64748b;
  padding-left: 0.4rem;
  border-left: 1px solid #cbd5e1;
}

.radar-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 0.35rem;
}

.radar-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.radar-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.radar-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 300px;
}

.radar-search-icon {
  position: absolute;
  left: 0.75rem;
  color: #94a3b8;
  pointer-events: none;
}

.radar-search-input {
  width: 100%;
  padding: 0.55rem 2rem 0.55rem 2.25rem;
  font-size: 0.85rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.radar-search-input:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.radar-search-clear {
  position: absolute;
  right: 0.65rem;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
  transition: color 0.15s ease;
}

.radar-search-clear:hover {
  color: #ef4444;
}

.radar-total-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #334155;
  white-space: nowrap;
}

/* Category Filter Tabs */
.radar-tabs-nav {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.radar-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.radar-tab-btn:hover {
  color: #0f172a;
}

.radar-tab-btn.is-active {
  color: #0284c7;
  border-bottom-color: #0284c7;
  font-weight: 600;
}

.radar-tab-counter {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #475569;
}

.radar-tab-btn.is-active .radar-tab-counter {
  background: #e0f2fe;
  color: #0284c7;
}

/* Responsive Table */
.radar-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

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

.radar-table thead {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.radar-table th {
  padding: 0.85rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  white-space: nowrap;
}

.radar-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #1e293b;
}

.radar-table tbody tr {
  transition: background-color 0.12s ease;
  cursor: pointer;
}

.radar-table tbody tr:hover {
  background-color: #f8fafc;
}

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

/* Post Title & Metadata */
.radar-post-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-width: 400px;
}

.radar-post-title {
  font-weight: 600;
  color: #0f172a;
  font-size: 0.88rem;
  line-height: 1.42;
  transition: color 0.12s ease;
}

.radar-table-row:hover .radar-post-title {
  color: #0284c7;
}

.radar-post-meta-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.radar-type-tag {
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.radar-audience-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 4px;
}

.radar-audience-pill.pill-student {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.radar-audience-pill.pill-professional {
  background: #f5f3ff;
  color: #5b21b6;
  border: 1px solid #ddd6fe;
}

.radar-salary-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.radar-vac-count {
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.radar-qual-tag {
  display: inline-flex;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 400;
}

/* Conducting Body */
.radar-org-name {
  font-weight: 600;
  color: #334155;
  max-width: 240px;
  line-height: 1.4;
  font-size: 0.84rem;
}

/* Category Badge */
.badge-sector {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 6px;
  background-color: var(--badge-bg, #f1f5f9);
  color: var(--badge-color, #0284c7);
  border: 1px solid var(--badge-color, #0284c7);
  white-space: nowrap;
}

/* Region / Level */
.radar-state-box {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.radar-state-text {
  font-size: 0.82rem;
  font-weight: 500;
  color: #334155;
}

.radar-level-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 4px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  text-transform: capitalize;
}

/* Deadline Cell & Status */
.radar-date-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.radar-date-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}

.radar-date-pill.is-active {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.radar-date-pill.is-urgent {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.radar-date-pill.is-expired {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.radar-date-val {
  font-size: 0.74rem;
  color: #64748b;
}

/* Action Buttons */
.radar-action-btn-group {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}

.btn-radar-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 6px;
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.12s ease;
}

.btn-radar-details:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

.btn-radar-official {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 6px;
  background: #0284c7;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.12s ease;
}

.btn-radar-official:hover {
  background: #0369a1;
}

/* Empty State */
.radar-empty-cell {
  padding: 3rem 1.5rem !important;
  text-align: center;
}

.radar-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.radar-empty-title {
  font-size: 1rem;
  font-weight: 600;
  color: #334155;
  margin: 0;
}

.radar-empty-desc {
  font-size: 0.84rem;
  color: #64748b;
  max-width: 420px;
  margin: 0;
}

/* Table Footer */
.radar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.8rem;
  color: #64748b;
}

.radar-footer-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   Dedicated Context.dev Institutional & PSU Opportunities Section
   ========================================================================== */

.header-ctx-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1px 5px;
  border-radius: 4px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  margin-right: 0.35rem;
}

.context-dev-section {
  margin: 3.5rem 0 3rem 0;
  position: relative;
}

.context-dev-card-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05), 0 2px 8px -2px rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
}

.context-dev-card-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0284c7, #059669, #7c3aed, #ea580c);
}

/* Section Header */
.context-dev-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.context-dev-header-main {
  flex: 1 1 500px;
}

.context-dev-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  margin-bottom: 0.85rem;
}

.context-dev-live-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
  animation: ctxBeaconPulse 2s infinite ease-in-out;
}

@keyframes ctxBeaconPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.5); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(2, 132, 199, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

.context-dev-badge-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0369a1;
  text-transform: uppercase;
}

.context-dev-badge-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: #64748b;
  border-left: 1px solid #cbd5e1;
  padding-left: 0.5rem;
}

.context-dev-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.context-dev-subtitle {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.55;
  max-width: 680px;
  margin: 0;
}

/* Metrics Counter Box */
.context-dev-metrics-card {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem 1.25rem;
  gap: 1.25rem;
}

.ctx-metric-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ctx-metric-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  font-family: var(--font-mono, monospace);
}

.ctx-metric-val.text-green {
  color: #059669;
}

.ctx-metric-val.text-purple {
  color: #7c3aed;
}

.ctx-metric-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 0.2rem;
  white-space: nowrap;
}

.ctx-metric-divider {
  width: 1px;
  height: 32px;
  background-color: #cbd5e1;
}

/* Toolbar & Filter Tabs */
.context-dev-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.context-dev-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ctx-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 10px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

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

.ctx-tab-btn.is-active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 12px -2px rgba(2, 132, 199, 0.35);
}

.ctx-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 9999px;
  background: #ffffff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.ctx-tab-btn.is-active .ctx-tab-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: transparent;
}

/* Search Box */
.context-dev-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 280px;
  flex: 1 1 280px;
  max-width: 400px;
}

.ctx-search-icon {
  position: absolute;
  left: 0.85rem;
  color: #94a3b8;
  pointer-events: none;
}

.ctx-search-input {
  width: 100%;
  padding: 0.55rem 2.2rem 0.55rem 2.35rem;
  font-size: 0.84rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  transition: all 0.15s ease;
}

.ctx-search-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.ctx-search-clear {
  position: absolute;
  right: 0.65rem;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 0 0.3rem;
  line-height: 1;
}

/* Openings Grid (Cards) */
.context-dev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}

/* Individual Card */
.ctx-opening-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  position: relative;
}

.ctx-opening-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
}

/* Card Header */
.ctx-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.ctx-org-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.ctx-monogram {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.15);
}

.ctx-org-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ctx-org-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ctx-region-text {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 0.15rem;
}

.ctx-sector-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #0369a1;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

/* Card Body */
.ctx-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ctx-opening-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 0;
  transition: color 0.12s ease;
}

.ctx-opening-card:hover .ctx-opening-title {
  color: #0284c7;
}

/* Tags Row */
.ctx-tags-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.ctx-tag-audience {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.ctx-tag-audience.tag-student {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.ctx-tag-audience.tag-professional {
  background: #f5f3ff;
  color: #5b21b6;
  border: 1px solid #ddd6fe;
}

.ctx-tag-type {
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.ctx-tag-stipend {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.ctx-tag-vacancies {
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.ctx-qual-text {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ctx-qual-icon {
  vertical-align: -2px;
  margin-right: 0.25rem;
  color: #64748b;
}

/* Card Footer */
.ctx-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.ctx-deadline-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ctx-deadline-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}

.ctx-deadline-badge.pill-active {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.ctx-deadline-badge.pill-urgent {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.ctx-deadline-badge.pill-closed {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.ctx-deadline-date {
  font-size: 0.72rem;
  color: #64748b;
}

.ctx-card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-ctx-details {
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.12s ease;
}

.btn-ctx-details:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}

.btn-ctx-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 8px;
  background: #0284c7;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.12s ease;
}

.btn-ctx-apply:hover {
  background: #0369a1;
}

/* Empty State */
.ctx-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.ctx-empty-icon {
  margin-bottom: 0.25rem;
}

.ctx-empty-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #334155;
  margin: 0;
}

.ctx-empty-desc {
  font-size: 0.86rem;
  color: #64748b;
  max-width: 440px;
  margin: 0;
}

/* Section Footer Note */
.context-dev-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.8rem;
  color: #64748b;
  flex-wrap: wrap;
}

.context-dev-footer-left {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ctx-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #059669;
}

.ctx-live-ring {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .context-dev-card-wrapper {
    padding: 1.25rem;
    border-radius: 16px;
  }
  .context-dev-title {
    font-size: 1.35rem;
  }
  .context-dev-metrics-card {
    width: 100%;
    justify-content: space-around;
  }
  .context-dev-grid {
    grid-template-columns: 1fr;
  }
  .context-dev-search-wrapper {
    max-width: 100%;
  }
}



