/* ========================================================
   PRADEEP SARKARI NEWS - STYLESHEET
   Modern, Clean, Fast, Responsive & Copyright-Free Portal
   ======================================================== */

:root {
  --primary: #1e3a8a;
  --primary-dark: #0f2b5c;
  --primary-light: #3b82f6;
  --accent-saffron: #f97316;
  --accent-red: #dc2626;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-color: #e2e8f0;
  --border-highlight: #cbd5e1;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 12px 24px -4px rgba(30, 58, 138, 0.15);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-page: #0b1120;
  --bg-card: #151e32;
  --bg-subtle: #1e293b;
  --border-color: #334155;
  --border-highlight: #475569;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 20px -3px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 12px 28px -4px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden !important;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden !important;
  max-width: 100%;
  width: 100%;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ========================================================
   1. TOP NOTIFICATION & SOCIAL BAR
   ======================================================== */
.topbar {
  background: linear-gradient(90deg, #091931 0%, #1e3a8a 100%);
  color: #e2e8f0;
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.topbar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.72rem;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #ef4444;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.topbar-date {
  color: #cbd5e1;
}

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

.topbar-legal-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.corner-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.corner-icon-link:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.corner-icon-link i {
  font-size: 0.78rem;
  color: #38bdf8;
}

@media (max-width: 600px) {
  .corner-icon-link span {
    display: none;
  }
  .corner-icon-link {
    padding: 4px 6px;
  }
}


.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.76rem;
  transition: var(--transition);
}

.social-pill.whatsapp {
  background: #22c55e;
  color: white;
}
.social-pill.whatsapp:hover {
  background: #16a34a;
  transform: translateY(-1px);
}

.social-pill.telegram {
  background: #0284c7;
  color: white;
}
.social-pill.telegram:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  transition: var(--transition);
}
.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ========================================================
   2. MAIN HEADER & BRANDING
   ======================================================== */
.header-main {
  background: var(--bg-card);
  border-bottom: 2px solid var(--border-color);
  padding: 16px 0 12px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

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

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

.brand-logo-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #f97316 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
  flex-shrink: 0;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

[data-theme="dark"] .brand-name {
  color: #ffffff;
}

.brand-name span.highlight {
  color: var(--accent-red);
  background: linear-gradient(120deg, #dc2626, #ea580c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  color: #3b82f6;
  font-size: 1.1rem;
}

.brand-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  margin-top: 2px;
}

.header-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-feature-box {
  border: 1px dashed var(--border-highlight);
  background: var(--bg-subtle);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  text-align: right;
  display: none;
}

@media (min-width: 900px) {
  .header-feature-box {
    display: block;
  }
}

.header-feature-box .feat-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-saffron);
  text-transform: uppercase;
}

.header-feature-box .feat-desc {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ========================================================
   3. NAVIGATION BAR
   ======================================================== */
.nav-bar {
  background: #990000;
  background: linear-gradient(90deg, #8b0000 0%, #b91c1c 50%, #8b0000 100%);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.nav-links {
  display: flex;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

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

.nav-item a, .nav-item button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.nav-item a:hover, .nav-item button:hover, .nav-item.active a {
  background: rgba(0, 0, 0, 0.2);
  border-bottom-color: #fbbf24;
  color: #fef08a;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
}

.bookmark-counter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
}

.bookmark-counter-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.badge-count {
  background: #f59e0b;
  color: #0f172a;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

/* ========================================================
   4. BREAKING NEWS TICKER
   ======================================================== */
.ticker-section {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 6px 0;
  font-size: 0.88rem;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.ticker-label {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.1);
}

.ticker-marquee {
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
}

.ticker-marquee-inner {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  padding-left: 20px;
}

.ticker-marquee:hover .ticker-marquee-inner {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 36px;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.ticker-item:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.ticker-dot {
  margin: 0 10px;
  color: var(--accent-red);
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* ========================================================
   5. SEARCH & FAST FILTER BAR
   ======================================================== */
.search-section {
  padding: 16px 0 8px;
}

.search-box-wrapper {
  background: var(--bg-card);
  border: 2px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 8px 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.search-box-wrapper:focus-within {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.search-icon {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.search-input {
  flex-grow: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--text-main);
  outline: none;
  font-family: inherit;
}

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

.search-clear-btn {
  color: var(--text-muted);
  display: none;
  font-size: 1rem;
  padding: 4px;
}

.search-clear-btn.active {
  display: block;
}

/* Category Filter Pills */
.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 2px 4px;
  scrollbar-width: none;
}

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

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.pill-btn:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
  background: var(--bg-subtle);
}

.pill-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.25);
}

/* ========================================================
   6. FEATURED CARDS / HOT HIGHLIGHTS (TOP BOXES)
   ======================================================== */
.hot-highlights-section {
  padding: 12px 0 16px;
}

.hot-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .hot-highlights-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .hot-highlights-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

.hot-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
  color: white;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.hot-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.hot-card.gradient-indigo {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}
.hot-card.gradient-rose {
  background: linear-gradient(135deg, #991b1b, #ef4444);
}
.hot-card.gradient-emerald {
  background: linear-gradient(135deg, #065f46, #10b981);
}
.hot-card.gradient-amber {
  background: linear-gradient(135deg, #92400e, #f59e0b);
}
.hot-card.gradient-purple {
  background: linear-gradient(135deg, #581c87, #a855f7);
}
.hot-card.gradient-blue {
  background: linear-gradient(135deg, #075985, #0284c7);
}
.hot-card.gradient-teal {
  background: linear-gradient(135deg, #115e59, #14b8a6);
}
.hot-card.gradient-pink {
  background: linear-gradient(135deg, #831843, #ec4899);
}

.hot-card-title {
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hot-card-tag {
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.25);
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.hot-card-status {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fef08a;
  letter-spacing: 0.3px;
}

/* ========================================================
   7. CORE SARKARI 3-COLUMN SECTION (RESULTS / ADMIT / JOBS)
   ======================================================== */
.sarkari-columns-section {
  padding: 10px 0 24px;
}

.sarkari-tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Desktop Mode: 3 columns side-by-side in order: Admit Card, Result, Latest Job */
#admit-card {
  order: 1;
}

#results {
  order: 2;
  grid-column: auto;
}

#latest-jobs {
  order: 3;
}

.sarkari-col {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
  transition: var(--transition);
}

.sarkari-col:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-highlight);
}

/* Column Header */
.col-header {
  padding: 12px 14px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}

.col-header.results {
  background: linear-gradient(135deg, #047857 0%, #10b981 100%);
}

.col-header.admit-card {
  background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
}

.col-header.latest-jobs {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.col-header.answer-key {
  background: linear-gradient(135deg, #6b21a8 0%, #a855f7 100%);
}

.col-header.syllabus {
  background: linear-gradient(135deg, #c2410c 0%, #f97316 100%);
}

.col-header.admission {
  background: linear-gradient(135deg, #0e7490 0%, #06b6d4 100%);
}

.col-header.services {
  background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
}

.col-header.iti {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.col-header.scholarship {
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
}

.col-header.notifications {
  background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
}

.col-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.col-title-wrap h2 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.col-count-badge {
  background: rgba(255, 255, 255, 0.25);
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.col-action-btn {
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.col-action-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* Column Body & Lists */
.col-list {
  list-style: none;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.col-item {
  border-bottom: 1px solid var(--border-color);
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: var(--transition);
  position: relative;
}

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

.col-item:hover {
  background: var(--bg-subtle);
}

.item-bullet {
  color: var(--accent-red);
  font-size: 0.85rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.item-content {
  flex-grow: 1;
}

.item-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
  display: block;
  cursor: pointer;
}

.item-link:hover {
  color: var(--primary-light);
}

/* Item Meta and Qualification Badges */
.item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.qual-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 1px 7px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

[data-theme="dark"] .qual-pill {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.4);
}

/* Qualification Callout Box in Details / Modal */
.qualification-callout-box {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.04) 0%, rgba(16, 185, 129, 0.06) 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.3);
  border-left: 5px solid var(--primary-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 12px 0 16px;
}

[data-theme="dark"] .qualification-callout-box {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(59, 130, 246, 0.4);
  border-left-color: var(--primary-light);
}

.qual-callout-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

[data-theme="dark"] .qual-callout-header {
  color: #93c5fd;
}

.qual-callout-text {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.55;
  font-weight: 600;
}

.item-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.item-badge.hot {
  background: #fee2e2;
  color: #b91c1c;
}
.item-badge.warning {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}
.item-badge.new {
  background: #dcfce7;
  color: #15803d;
}
.item-badge.trending {
  background: #e0e7ff;
  color: #4338ca;
}

/* Form Status Badges: Open (Green) vs Not Open (Amber) vs Expired (Gray) */
.form-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.2px;
  line-height: 1.2;
}

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

[data-theme="dark"] .form-status-badge.open {
  background: rgba(16, 185, 129, 0.24);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.45);
}

.form-status-badge.not-open {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

[data-theme="dark"] .form-status-badge.not-open {
  background: rgba(245, 158, 11, 0.24);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.45);
}

.form-status-badge.expired {
  background: rgba(100, 116, 139, 0.15);
  color: #64748b;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

[data-theme="dark"] .form-status-badge.expired {
  background: rgba(100, 116, 139, 0.25);
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.4);
}

/* Form Last Date & Extended Badges */
.last-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: rgba(220, 38, 38, 0.08);
  color: var(--accent-red);
  border: 1px solid rgba(220, 38, 38, 0.25);
  letter-spacing: 0.1px;
}

.last-date-badge strong {
  color: #b91c1c;
  font-weight: 800;
}

[data-theme="dark"] .last-date-badge {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

[data-theme="dark"] .last-date-badge strong {
  color: #f87171;
}

.last-date-badge.extended {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.35);
}

[data-theme="dark"] .last-date-badge.extended {
  background: rgba(245, 158, 11, 0.22);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.4);
}

.extended-tag {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  color: #ffffff !important;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 1px 3px rgba(217, 119, 6, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.item-action-btns {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-top: 2px;
}

.bookmark-job-btn {
  color: var(--text-light);
  padding: 4px;
  border-radius: 4px;
  transition: var(--transition);
  font-size: 0.95rem;
}

.bookmark-job-btn:hover {
  color: #f59e0b;
}

.bookmark-job-btn.bookmarked {
  color: #f59e0b;
}

.col-footer {
  padding: 8px 14px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.view-more-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.view-more-link:hover {
  text-decoration: underline;
}

/* ========================================================
   8. SECONDARY 4-COLUMN GRID (ANSWER KEY, SYLLABUS, ADMISSION, SERVICES)
   ======================================================== */
.secondary-grid-section {
  padding: 8px 0 28px;
}

.sarkari-quad-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .sarkari-quad-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sarkari-quad-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================================
   9. WHATSAPP & TELEGRAM PROMO BANNER
   ======================================================== */
.promo-community-section {
  padding: 12px 0 24px;
}

.promo-community-card {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .promo-community-card {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.promo-text h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.promo-text p {
  font-size: 0.9rem;
  color: #a7f3d0;
}

.promo-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-community {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-community.btn-wa {
  background: #25d366;
  color: #064e3b;
}

.btn-community.btn-wa:hover {
  background: #1eb956;
  transform: translateY(-2px);
}

.btn-community.btn-tg {
  background: #0088cc;
  color: white;
}

.btn-community.btn-tg:hover {
  background: #0077b5;
  transform: translateY(-2px);
}

/* ========================================================
   10. JOB DETAIL MODAL (POPUP)
   ======================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 16px 20px;
  background: var(--primary-dark);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.modal-header-text h3 {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
}

.modal-org-tag {
  font-size: 0.8rem;
  color: #93c5fd;
  margin-top: 4px;
}

.modal-close-btn {
  color: #cbd5e1;
  font-size: 1.5rem;
  padding: 4px;
  line-height: 1;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: white;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-section-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--primary-light);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 6px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Two Column Tables in Modal */
.modal-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 600px) {
  .modal-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.info-table th, .info-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.info-table th {
  background: rgba(30, 58, 138, 0.08);
  font-weight: 700;
  width: 50%;
  color: var(--text-main);
}

.info-table td {
  font-weight: 600;
  color: var(--accent-red);
}

.modal-action-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
}

.modal-btn.primary {
  background: var(--accent-red);
  color: white;
}
.modal-btn.primary:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

.modal-btn.secondary {
  background: var(--primary);
  color: white;
}
.modal-btn.secondary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.modal-btn.outline {
  border: 1px solid var(--border-highlight);
  background: var(--bg-subtle);
  color: var(--text-main);
}
.modal-btn.outline:hover {
  background: var(--border-color);
}

.modal-footer {
  padding: 12px 20px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.share-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-share-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
}
.btn-share-icon.wa { background: #25d366; }
.btn-share-icon.tg { background: #0088cc; }
.btn-share-icon.copy { background: #64748b; }

/* ========================================================
   11. BOOKMARKS DRAWER (SAVED JOBS)
   ======================================================== */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: min(400px, 100vw);
  background: var(--bg-card);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1051;
}

.drawer-overlay.open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  padding: 16px 20px;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-body {
  padding: 16px;
  overflow-y: auto;
  flex-grow: 1;
}

.drawer-empty-state {
  text-align: center;
  padding: 40px 10px;
  color: var(--text-muted);
}

.drawer-empty-state i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: var(--text-light);
}

/* ========================================================
   12. SEO CONTENT, ABOUT & COPYRIGHT DISCLAIMER
   ======================================================== */
.seo-info-section {
  padding: 24px 0 16px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-card);
}

.seo-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
}

.seo-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

[data-theme="dark"] .seo-card h2 {
  color: #93c5fd;
}

.seo-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.disclaimer-box {
  background: rgba(220, 38, 38, 0.08);
  border-left: 4px solid var(--accent-red);
  padding: 12px 16px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 14px;
}

.disclaimer-box strong {
  color: var(--accent-red);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.disclaimer-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ========================================================
   13. FOOTER
   ======================================================== */
.site-footer {
  background: #091931;
  color: #cbd5e1;
  margin-top: auto;
  padding: 40px 0 20px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 30px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-col h4 {
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--accent-saffron);
  border-radius: 2px;
}

.footer-col p {
  line-height: 1.6;
  color: #94a3b8;
  font-size: 0.85rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: white;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #64748b;
}

.footer-bottom strong {
  color: #cbd5e1;
}

/* ========================================================
   14. FLOATING ACTION / SCROLL TO TOP
   ======================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 84px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: #0f172a;
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

/* ========================================================
   15. ASPIRANT SUPER TOOLKIT & RETENTION MAGNETS
   ======================================================== */

/* Daily Streak Banner */
.streak-banner {
  background: linear-gradient(90deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  color: #fef08a;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.streak-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.streak-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

/* Exam Countdown Tickers */
.countdown-section {
  padding: 16px 0 8px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .countdown-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .countdown-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.countdown-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition: var(--transition);
}

.countdown-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.countdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.countdown-exam-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.countdown-digits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 6px 0;
}

.digit-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  min-width: 38px;
}

.digit-box .num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-red);
  line-height: 1;
  display: block;
}

.digit-box .lbl {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.countdown-digits .colon {
  font-weight: 800;
  color: var(--text-muted);
  font-size: 1rem;
}

.countdown-status {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-top: 4px;
}

/* ========================================================
   TOOLKIT TABS & CARDS
   ======================================================== */
.toolkit-section {
  padding: 18px 0 24px;
}

.toolkit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.toolkit-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-theme="dark"] .toolkit-title {
  color: #93c5fd;
}

.toolkit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .toolkit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.tool-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1.5px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.tool-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(30, 58, 138, 0.1);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

[data-theme="dark"] .tool-icon-circle {
  background: rgba(59, 130, 246, 0.2);
}

.tool-card-head h3 {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.tool-card-head p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Age Calculator UI */
.calc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.calc-result-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 14px;
  text-align: center;
}

.result-number-hero {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

[data-theme="dark"] .result-number-hero {
  color: #60a5fa;
}

.result-breakdown {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.result-verdict {
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.result-verdict.eligible {
  background: #dcfce7;
  color: #15803d;
}

.result-verdict.not-eligible {
  background: #fee2e2;
  color: #b91c1c;
}

/* Image Resizer UI */
.dropzone-box {
  border: 2px dashed var(--border-highlight);
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  margin-bottom: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.dropzone-box:hover {
  border-color: var(--primary-light);
}

.preview-container {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 12px 0;
  background: var(--bg-subtle);
  padding: 10px;
  border-radius: var(--radius-sm);
}

.preview-thumb {
  max-width: 80px;
  max-height: 80px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  object-fit: contain;
  background: white;
}

/* Salary Calculator UI */
.salary-slip-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 14px;
  border: 1px solid var(--border-color);
}

.salary-hero-amount {
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.salary-hero-amount span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.salary-hero-amount h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent-green);
}

.salary-details-table {
  width: 100%;
  font-size: 0.82rem;
  border-collapse: collapse;
}

.salary-details-table td {
  padding: 4px 6px;
}

.salary-details-table td:last-child {
  text-align: right;
  font-weight: 600;
}

/* Daily Quiz UI */
.quiz-question-box {
  display: flex;
  flex-direction: column;
}

.quiz-progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.quiz-q-text {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 14px;
  color: var(--text-main);
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-opt-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  transition: var(--transition);
  cursor: pointer;
}

.quiz-opt-btn:hover:not(:disabled) {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--primary-light);
}

.quiz-opt-btn .opt-prefix {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.quiz-opt-btn.correct {
  background: #dcfce7 !important;
  border-color: #22c55e !important;
  color: #15803d !important;
}

.quiz-opt-btn.wrong {
  background: #fee2e2 !important;
  border-color: #ef4444 !important;
  color: #b91c1c !important;
}

.quiz-exp-box {
  margin-top: 12px;
  padding: 12px;
  background: var(--bg-subtle);
  border-left: 4px solid var(--primary-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.quiz-finish-card {
  text-align: center;
  padding: 24px 10px;
}

/* ========================================================
   GHAR BAITHE FORM SERVICE (घर बैठे फॉर्म भरवाने की सुविधा)
   ======================================================== */
.home-form-banner {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.home-form-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35);
}
.hfb-left {
  flex: 1;
  min-width: 0;
  max-width: 100%;
}
.hfb-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.22);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.hfb-title {
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 4px;
}
.hfb-desc {
  font-size: 0.85rem;
  opacity: 0.94;
  line-height: 1.4;
}
.hfb-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hfb-price-pill {
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hfb-price-pill .price-lbl {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.88;
}
.hfb-price-pill .price-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fef08a;
}
.hfb-action-btn {
  background: #ffffff;
  color: #065f46;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}
.hfb-action-btn:hover {
  background: #f0fdf4;
  transform: scale(1.03);
}

/* Document Checklist Grid */
.doc-checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.doc-item-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
}
.doc-item-box i {
  color: #10b981;
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Pricing Breakdown */
.pricing-breakdown-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 14px 0;
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--border-color);
}
.pricing-row:last-child {
  border-bottom: none;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
  padding-top: 10px;
}
[data-theme="dark"] .pricing-row:last-child {
  color: #93c5fd;
}

/* WhatsApp Big CTA Button */
.btn-whatsapp-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: white !important;
  font-size: 1.05rem;
  font-weight: 900;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: all 0.2s ease;
  width: 100%;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-whatsapp-submit:hover {
  background: #1ebc59;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* Floating WhatsApp Pill */
.floating-whatsapp-pill {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 999;
  background: #25d366;
  color: white !important;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.floating-whatsapp-pill:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}
.floating-whatsapp-pill i {
  font-size: 1.3rem;
}

/* Floating Rambaan E-Book Pill - Clean Left Placement (Zero Overlap with WhatsApp) */
.floating-ebook-pill {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 998;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff !important;
  border: 2px solid #ffffff;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.floating-ebook-pill:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.6);
}
.floating-ebook-pill .price-tag {
  background: #ffffff;
  color: #b45309;
  padding: 2px 7px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

/* Qualification Wise Jobs Section */
.qual-tabs-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  scrollbar-width: thin;
}
.qual-tab-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.qual-tab-btn:hover, .qual-tab-btn.active {
  background: var(--primary-light);
  color: white;
  border-color: var(--primary-light);
}
.qual-jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.qual-job-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.qual-job-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
}

/* ========================================================
   ARCHIVED / PAST NOTIFICATIONS & RETENTION STYLES
   ======================================================== */
.past-records-header {
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.12) 0%, rgba(148, 163, 184, 0.08) 100%);
  border-top: 2px dashed var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 14px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  letter-spacing: 0.2px;
}

.past-records-header i {
  color: #f59e0b;
  font-size: 0.85rem;
}

.item-badge.closed {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
  font-weight: 700;
}

[data-theme="dark"] .item-badge.closed {
  background: #1e293b;
  color: #94a3b8;
  border-color: #334155;
}

.archive-status-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #f59e0b;
  border-left: 5px solid #d97706;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.1);
}

[data-theme="dark"] .archive-status-banner {
  background: rgba(180, 83, 9, 0.15);
  border-color: #d97706;
}

/* ========================================================
   AMAZON AFFILIATE BOOKS & STUDY MATERIAL SECTION
   ======================================================== */
.book-tabs-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  scrollbar-width: thin;
}

.book-tab-btn {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.book-tab-btn:hover {
  border-color: #f59e0b;
  color: #b45309;
  background: #fffbeb;
}

.book-tab-btn.active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border-color: #d97706;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25);
}

.books-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.book-showcase-card {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.book-showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
}

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

.book-badge-tag {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.book-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.book-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-card-pub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.book-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.rating-stars {
  color: #f59e0b;
  font-size: 0.8rem;
}

.rating-score {
  font-weight: 800;
  color: var(--text-main);
}

.rating-count {
  color: var(--text-muted);
}

.book-pricing-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-top: 1px dashed var(--border-color);
  padding-top: 10px;
  margin-bottom: 12px;
}

.book-deal-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--accent-green);
}

.book-mrp {
  font-size: 0.84rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.book-discount-tag {
  font-size: 0.74rem;
  font-weight: 800;
  color: #dc2626;
  background: #fee2e2;
  padding: 1px 6px;
  border-radius: 4px;
}

.btn-amazon-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.2);
}

.btn-amazon-buy:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.35);
  color: #ffffff !important;
}

.affiliate-disclosure-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.8rem;
  color: var(--text-main);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
}

.affiliate-disclosure-box i {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ========================================================
   16. MOBILE-FIRST & SMARTPHONE ENHANCEMENTS (मोबाइल अनुकूलन)
   ======================================================== */

/* App-Style Sticky Bottom Navigation Bar (Phone Only) */
.mobile-bottom-nav {
  display: none;
}

.mobile-job-action-bar {
  display: none;
}

.table-scroll-hint {
  display: none;
}

@media (max-width: 768px) {
  /* Prevent content overlap with bottom sticky bars */
  body {
    padding-bottom: 80px !important;
  }

  /* App-Style Fixed Bottom Navigation */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px !important;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
    padding-top: 4px !important;
    padding-bottom: max(6px, env(safe-area-inset-bottom, 0px)) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    overflow: hidden !important;
  }

  [data-theme="dark"] .mobile-bottom-nav {
    background: rgba(15, 23, 42, 0.96);
    border-top-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.62rem !important;
    font-weight: 700;
    flex: 1;
    height: 100%;
    white-space: nowrap !important;
    line-height: 1 !important;
    padding: 2px 2px !important;
    transition: color 0.15s ease, transform 0.15s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-nav-item i {
    font-size: 1.05rem !important;
    margin-bottom: 2px !important;
  }

  .mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--primary-light);
  }

  .mobile-nav-item.highlight {
    color: #10b981;
  }

  .mobile-nav-item.highlight i {
    color: #10b981;
    animation: pulseIcon 2s infinite ease-in-out;
  }

  @keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
  }

  .mobile-nav-badge {
    position: absolute;
    top: 6px;
    right: calc(50% - 16px);
    background: #ef4444;
    color: white;
    font-size: 0.58rem;
    font-weight: 900;
    padding: 1px 4px;
    border-radius: var(--radius-full);
    line-height: 1;
  }

  /* Fixed Action Bar on Job Details Page (Apply & WhatsApp) */
  .mobile-job-action-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.16);
    padding: 8px 12px;
    z-index: 9999;
    padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
  }

  [data-theme="dark"] .mobile-job-action-bar {
    background: rgba(15, 23, 42, 0.96);
    border-top-color: rgba(255, 255, 255, 0.1);
  }

  .m-btn-apply {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 11px 8px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }

  .m-btn-whatsapp {
    flex: 1.25;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 11px 8px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }

  .m-btn-tool {
    width: 44px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    text-decoration: none;
    flex-shrink: 0;
  }

  /* Table Horizontal Swipe Indicator on Phone */
  .table-scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--primary-light);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    margin-bottom: 6px;
  }

  /* Floating Action Buttons Phone Optimization (Guaranteed Zero Overlap on all devices) */
  .floating-whatsapp-pill {
    bottom: 72px !important;
    right: 14px !important;
    padding: 0 !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45) !important;
  }
  .floating-whatsapp-pill span {
    display: none !important; /* Hide long text on phone so it NEVER collides with left pill */
  }
  .floating-whatsapp-pill i {
    font-size: 1.5rem !important;
    margin: 0 !important;
  }

  .floating-ebook-pill {
    bottom: 72px !important;
    left: 12px !important;
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
    max-width: 160px !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4) !important;
  }

  /* Top Nav on Phone (Full Width, Never Cut Off) */
  .nav-actions {
    display: none !important;
  }
  .nav-links {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-right: 16px !important;
  }
  .nav-item a, .nav-item button {
    padding: 10px 12px !important;
    font-size: 0.8rem !important;
  }

  /* Photo Resizer & Toolkit on Phone (Never Cut Off) */
  .resizer-grid-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 12px 10px !important;
    max-width: 100% !important;
  }

  .resizer-action-btns {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 10px !important;
  }

  .resizer-action-btns button,
  .resizer-action-btns a {
    width: 100% !important;
    padding: 11px !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .calc-form-row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .tool-card {
    padding: 12px 10px !important;
  }

  .tool-card-head {
    padding-bottom: 8px !important;
    margin-bottom: 10px !important;
  }

  .tool-card-head h3 {
    font-size: 0.88rem !important;
  }

  .dropzone-box {
    padding: 12px 8px !important;
  }

  .scroll-top-btn {
    bottom: 128px !important;
    right: 14px !important;
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }

  /* Compact padding on cards for mobile screens */
  .post-header-card, .post-content-card, .quick-action-bar-card {
    padding: 14px 12px !important;
  }

  .post-main-title {
    font-size: 1.28rem !important;
    line-height: 1.35 !important;
  }

  /* Top 4 Summary Cards Grid on Mobile */
  .quick-summary-quad-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Better Touch-Friendly Category Vacancy Cards */
  .cat-vacancy-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .cat-vac-box {
    padding: 8px 4px !important;
  }

  .cat-vac-box .cat-name {
    font-size: 0.68rem !important;
  }

  .cat-vac-box .cat-count {
    font-size: 1rem !important;
  }

  /* Cleaner mobile table cells */
  .data-matrix-table th, .data-matrix-table td {
    padding: 6px 6px !important;
    font-size: 0.74rem !important;
  }

  /* Search input prevents iOS zoom */
  .search-input {
    font-size: 16px !important;
  }

  /* Books cards 1-column thumb stack */
  .books-showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .btn-amazon-buy {
    padding: 12px 14px !important;
    font-size: 0.92rem !important;
  }

  /* ========================================================
     PHONE VIEW: 2-COLUMN SARKARI GRID (ADMIT CARD & LATEST JOBS)
     ======================================================== */
  .container {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .sarkari-tri-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }

  /* Show Admit Card & Latest Jobs Side-by-Side as the top 2 columns */
  #admit-card {
    order: 1 !important;
  }

  #latest-jobs {
    order: 2 !important;
  }

  #results {
    order: 3 !important;
    grid-column: 1 / -1 !important;
  }

  .sarkari-quad-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }

  /* Compact Phone Typography & Column Styling */
  .col-header {
    padding: 7px 8px !important;
  }

  .col-title-wrap {
    gap: 5px !important;
  }

  .col-title-wrap h2 {
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .col-title-wrap i {
    font-size: 0.8rem !important;
  }

  .col-count-badge {
    display: none !important;
  }

  .col-item {
    padding: 6px 6px !important;
    gap: 5px !important;
  }

  .item-bullet {
    font-size: 0.62rem !important;
    margin-top: 2px !important;
  }

  .item-link {
    font-size: 0.72rem !important;
    line-height: 1.28 !important;
    font-weight: 600 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .item-meta {
    margin-top: 2px !important;
    gap: 3px !important;
    flex-wrap: wrap !important;
  }

  .item-date {
    font-size: 0.62rem !important;
  }

  .qual-pill {
    font-size: 0.58rem !important;
    padding: 1px 3px !important;
  }

  .item-badge {
    font-size: 0.55rem !important;
    padding: 1px 3px !important;
  }

  .item-action-btns {
    display: none !important;
  }

  .col-footer {
    padding: 5px 6px !important;
  }

  .view-more-link {
    font-size: 0.68rem !important;
  }

  /* Hot Highlights Cards on Phone */
  .hot-highlights-grid {
    gap: 6px !important;
  }

  .hot-card {
    padding: 6px 8px !important;
    min-height: 54px !important;
  }

  .hot-card-title {
    font-size: 0.74rem !important;
    line-height: 1.2 !important;
    margin-bottom: 3px !important;
  }

  .hot-card-tag {
    font-size: 0.6rem !important;
    padding: 1px 5px !important;
    margin-bottom: 2px !important;
  }

  .hot-card-status {
    font-size: 0.6rem !important;
  }

  /* Header Branding on Phone */
  .brand-name {
    font-size: 1.15rem !important;
  }

  .brand-logo-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
  }

  .brand-tagline {
    font-size: 0.68rem !important;
  }

  /* Ticker Text on Phone */
  .ticker-wrap {
    padding: 3px 0 !important;
  }

  .ticker-label {
    font-size: 0.66rem !important;
    padding: 2px 6px !important;
  }

  .ticker-item {
    font-size: 0.72rem !important;
    margin-right: 16px !important;
  }

  /* Job details page smaller text */
  .post-header-card, .post-content-card, .quick-action-bar-card {
    padding: 10px 8px !important;
  }

  .post-main-title {
    font-size: 1.12rem !important;
    line-height: 1.3 !important;
  }

  .content-box-heading {
    font-size: 0.92rem !important;
    padding-left: 8px !important;
    margin-bottom: 10px !important;
  }

  .timeline-card {
    padding: 8px 10px !important;
  }

  .timeline-card .tl-label {
    font-size: 0.66rem !important;
  }

  .timeline-card .tl-val {
    font-size: 0.84rem !important;
  }

  .quick-summary-quad-grid > div {
    padding: 10px 10px !important;
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
  }

  /* STRICT ZERO-BLANK MARGIN SHIELD (कोई भी साइड ब्लैंक एरिया न दिखे) */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
  }

  .container,
  .topbar,
  .header-main,
  .nav-bar,
  .ticker-section,
  .search-section,
  .hot-highlights-section,
  .sarkari-columns-section,
  .secondary-grid-section,
  .toolkit-section,
  .promo-community-section,
  .seo-info-section,
  .site-footer {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  /* Safe flex and card widths on phone */
  .header-row,
  .topbar-content,
  .topbar-left,
  .topbar-right,
  .promo-community-card,
  .footer-grid,
  .footer-bottom {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* Ultra-User-Friendly Mobile Polish for Phones (<= 640px) */
  .filter-pills-row {
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    padding-bottom: 8px !important;
  }

  .pill-btn {
    scroll-snap-align: start !important;
    flex-shrink: 0 !important;
    font-size: 0.8rem !important;
    padding: 8px 14px !important;
  }

  /* Job details dedicated mock test card on phone */
  #jobMockTestCard {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 14px 12px !important;
    gap: 12px !important;
  }

  #jobStartTestBtn {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
  }

  /* Streak banner mobile readability */
  .streak-banner {
    padding: 6px 0 !important;
  }
  .streak-container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    font-size: 0.74rem !important;
  }

  /* Extra Mobile-First Polish: Zero Horizontal Scroll & Comfortable Tap Targets */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  .floating-ebook-pill {
    bottom: 72px !important;
    left: 10px !important;
    padding: 8px 12px !important;
    font-size: 0.78rem !important;
  }
  .col-item a.item-title,
  .col-list .col-item {
    min-height: 44px;
  }
  .calc-form-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .promo-buttons {
    flex-direction: column !important;
    width: 100% !important;
  }
  .promo-buttons .btn-community {
    width: 100% !important;
    justify-content: center !important;
  }
  .category-pills-row,
  .nav-links {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .category-pills-row::-webkit-scrollbar,
  .nav-links::-webkit-scrollbar {
    display: none;
  }
}

/* Hide Netlify Drawer & "Powered by Netlify" corner badge */
#__netlify-drawer,
netlify-drawer,
[data-netlify-drawer],
[data-netlify-badge],
#netlify-badge,
.netlify-badge,
a[href*="netlify.com"][style*="fixed"],
div[style*="fixed"] > a[href*="netlify.com"],
iframe[title*="Netlify Drawer"],
iframe[src*="app.netlify.com/drawer"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}





