/**
 * Sarkari Jobs Portal - Modern Executive Design System
 * Default Font: Plus Jakarta Sans
 * Widescreen Expansion (+20% Container Max-Width) & Color System
 */

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

:root {
  --sj-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Primary Brand Tones */
  --sj-navy-950: #050b18;
  --sj-navy-900: #0a1128;
  --sj-navy-800: #0f1c3f;
  --sj-navy-700: #172c60;
  --sj-blue-600: #1d4ed8;
  --sj-blue-500: #2563eb;
  --sj-blue-50: #eff6ff;
  
  /* Accent Colors */
  --sj-amber-500: #f59e0b;
  --sj-amber-600: #d97706;
  --sj-emerald-500: #10b981;
  --sj-emerald-600: #059669;
  --sj-rose-500: #ef4444;
  --sj-rose-600: #dc2626;
  --sj-indigo-500: #4f46e5;
  --sj-purple-500: #7c3aed;
  --sj-teal-500: #0d9488;
  
  /* Background & Surface Grays */
  --sj-bg: #f4f6fa;
  --sj-surface: #ffffff;
  --sj-border: #e2e8f0;
  --sj-border-light: #f1f5f9;
  --sj-text-dark: #0f172a;
  --sj-text-muted: #64748b;
  --sj-text-sub: #475569;
  
  /* Card Radii & Elevation */
  --sj-radius-sm: 8px;
  --sj-radius-md: 12px;
  --sj-radius-lg: 16px;
  --sj-radius-xl: 20px;
  --sj-radius-pill: 9999px;
  
  --sj-shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.05);
  --sj-shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.08), 0 1px 4px -1px rgba(15, 23, 42, 0.04);
  --sj-shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --sj-shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.12), 0 6px 16px -3px rgba(15, 23, 42, 0.06);
  --sj-shadow-hover: 0 12px 28px -4px rgba(37, 99, 235, 0.14), 0 6px 14px -2px rgba(15, 23, 42, 0.06);
}

/* Global Reset & Typography */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--sj-font);
  background-color: var(--sj-bg);
  color: var(--sj-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ==========================================================================
   20% Wider Container Rules for Ultra-Modern Wide Displays
   ========================================================================== */
@media (min-width: 1200px) {
  .container, .container-lg, .container-xl {
    max-width: 1380px !important;
  }
}

@media (min-width: 1400px) {
  .container, .container-lg, .container-xl, .container-xxl {
    max-width: 1560px !important;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sj-font);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sj-text-dark);
}

.fw-bold, .fw-extrabold {
  font-family: var(--sj-font);
  font-weight: 700 !important;
}

a {
  color: var(--sj-blue-600);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
a:hover {
  color: var(--sj-blue-500);
}

/* Refined Primary Buttons */
.btn-primary {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%) !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}

/* Form Controls Standard */
.form-control, .form-select {
  font-family: var(--sj-font);
  font-size: 0.92rem;
  border-radius: var(--sj-radius-md);
  border: 1px solid var(--sj-border);
  padding: 0.65rem 0.95rem;
  transition: all 0.2s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--sj-blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* ==========================================================================
   1. Header, Top Bar & Brand Identity
   ========================================================================== */

.top-notice-bar {
  background: linear-gradient(90deg, #050b18 0%, #0f1c3f 100%);
  color: #cbd5e1;
  font-size: 0.8125rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-notice-bar .top-link {
  color: #cbd5e1;
  font-weight: 500;
  transition: color 0.2s ease;
}
.top-notice-bar .top-link:hover {
  color: #ffffff;
}

/* Brand Header Strip */
.portal-brand-header {
  background: linear-gradient(135deg, #050b18 0%, #0c1833 50%, #132752 100%);
  color: #ffffff;
  padding: 1.85rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #f59e0b;
}

.portal-brand-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.brand-emblem {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
  margin-right: 14px;
  vertical-align: middle;
}

.portal-brand-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #ffffff;
  display: inline-block;
  vertical-align: middle;
}

.portal-brand-title span.brand-accent {
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.portal-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  width: fit-content;
  max-width: 100%;
}

.portal-brand-logo-img {
  max-height: 78px;
  max-width: 440px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.portal-brand-logo-img:hover {
  transform: none !important;
}

@media (max-width: 768px) {
  .portal-brand-logo-img {
    max-height: 60px;
    max-width: 300px;
  }
}

.portal-tagline {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 500;
}

.badge-trust {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--sj-radius-pill);
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   State Quick Access Chips Bar (Modern Executive SaaS Design)
   ========================================================================== */
.state-chip-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.state-chip-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #1e293b;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  white-space: nowrap;
}

.state-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  font-size: 0.825rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  white-space: nowrap;
}

.state-pill:hover {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
}

.state-pill.active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  border-color: #1d4ed8;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.28);
}

/* ==========================================================================
   2. Sleek Navbar & Navigation
   ========================================================================== */

.navbar-sarkari {
  background: #09132b !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
}

.navbar-sarkari .nav-link {
  color: #e2e8f0 !important;
  font-weight: 600;
  font-size: 0.8875rem;
  padding: 0.85rem 1.05rem !important;
  transition: all 0.2s ease;
  position: relative;
  letter-spacing: 0.01em;
}

.navbar-sarkari .nav-link:hover,
.navbar-sarkari .nav-link.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06);
}

.navbar-sarkari .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: #f59e0b;
  border-radius: 3px 3px 0 0;
}

.navbar-sarkari .dropdown-menu {
  background: #0a1128;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--sj-radius-md);
  box-shadow: var(--sj-shadow-lg);
  padding: 8px;
}

.navbar-sarkari .dropdown-item {
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--sj-radius-sm);
  padding: 6px 12px;
  transition: all 0.15s ease;
}

.navbar-sarkari .dropdown-item:hover {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  transform: translateX(3px);
}

/* ==========================================================================
   3. Breaking Live Ticker (Modern Hardware-Accelerated CSS Marquee)
   ========================================================================== */

.news-ticker-container {
  background: #ffffff;
  border: 1px solid var(--sj-border);
  border-radius: var(--sj-radius-md);
  padding: 8px 16px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  box-shadow: var(--sj-shadow-xs);
  overflow: hidden;
  position: relative;
}

.ticker-badge {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: var(--sj-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  margin-right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
  z-index: 2;
  flex-shrink: 0;
  animation: pulse-badge 2.5s infinite;
}

@keyframes pulse-badge {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.ticker-track-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 36px;
  animation: tickerScroll 40s linear infinite;
  will-change: transform;
}

.ticker-track-wrap:hover .ticker-track {
  animation-play-state: paused;
}

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

.ticker-item-link {
  color: var(--sj-text-dark);
  font-weight: 600;
  font-size: 0.88rem;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}
.ticker-item-link:hover {
  color: var(--sj-blue-600) !important;
}

/* Trending Stars Multi-Color Chiming & Shimmering Animation */
@keyframes iconChimeMultiColor {
  0% {
    transform: scale(1) rotate(0deg);
    color: #f59e0b; /* Golden Amber */
    filter: drop-shadow(0 0 0px rgba(245, 158, 11, 0));
    opacity: 0.85;
  }
  18% {
    transform: scale(1.38) rotate(-14deg);
    color: #ef4444; /* Ruby Rose */
    filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.9)) brightness(1.3);
    opacity: 1;
  }
  36% {
    transform: scale(1) rotate(0deg);
    color: #8b5cf6; /* Vivid Purple */
    filter: drop-shadow(0 0 0px rgba(139, 92, 246, 0));
    opacity: 0.85;
  }
  54% {
    transform: scale(1.34) rotate(14deg);
    color: #06b6d4; /* Electric Cyan */
    filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.85)) brightness(1.25);
    opacity: 1;
  }
  72% {
    transform: scale(1) rotate(0deg);
    color: #10b981; /* Emerald Green */
    filter: drop-shadow(0 0 0px rgba(16, 185, 129, 0));
    opacity: 0.85;
  }
  90% {
    transform: scale(1.3) rotate(-8deg);
    color: #ec4899; /* Radiant Pink */
    filter: drop-shadow(0 0 6px rgba(236, 72, 153, 0.85)) brightness(1.25);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
    color: #f59e0b; /* Golden Amber */
    filter: drop-shadow(0 0 0px rgba(245, 158, 11, 0));
    opacity: 0.85;
  }
}

.trending-chime-icon {
  display: inline-block !important;
  animation: iconChimeMultiColor 4.5s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform, filter, color;
}

.trending-chip:nth-child(6n+1) .trending-chime-icon {
  animation-delay: 0s;
}
.trending-chip:nth-child(6n+2) .trending-chime-icon {
  animation-delay: 0.75s;
}
.trending-chip:nth-child(6n+3) .trending-chime-icon {
  animation-delay: 1.5s;
}
.trending-chip:nth-child(6n+4) .trending-chime-icon {
  animation-delay: 2.25s;
}
.trending-chip:nth-child(6n+5) .trending-chime-icon {
  animation-delay: 3s;
}
.trending-chip:nth-child(6n+6) .trending-chime-icon {
  animation-delay: 3.75s;
}

/* Trending Recruitment Pills Container (Balanced 2-Line Grid) */
.trending-pills-card {
  background: #ffffff;
  border: 1px solid var(--sj-border);
  border-radius: var(--sj-radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
  box-shadow: var(--sj-shadow-xs);
}

.trending-pills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 10px;
}

@media (max-width: 991px) {
  .trending-pills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .trending-pills-grid {
    grid-template-columns: 1fr;
  }
}

.trending-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 0.815rem;
  font-weight: 600;
  color: var(--sj-text-dark);
  background: #f8fafc;
  border: 1px solid var(--sj-border);
  border-radius: var(--sj-radius-md);
  text-decoration: none;
  transition: all 0.15s ease;
  min-height: 46px;
}

.trending-pill:hover {
  background: #ffffff;
  border-color: var(--sj-primary);
  color: var(--sj-primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.trending-pill-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  font-size: 0.8rem;
  word-break: break-word;
}

.trending-pill:nth-child(6n+1) .trending-chime-icon {
  animation-delay: 0s;
}
.trending-pill:nth-child(6n+2) .trending-chime-icon {
  animation-delay: 0.75s;
}
.trending-pill:nth-child(6n+3) .trending-chime-icon {
  animation-delay: 1.5s;
}
.trending-pill:nth-child(6n+4) .trending-chime-icon {
  animation-delay: 2.25s;
}
.trending-pill:nth-child(6n+5) .trending-chime-icon {
  animation-delay: 3s;
}
.trending-pill:nth-child(6n+6) .trending-chime-icon {
  animation-delay: 3.75s;
}

/* ==========================================================================
   4. High-End 6-Category Grid Cards (Homepage)
   ========================================================================== */

.category-card {
  background: #ffffff;
  border: 1px solid var(--sj-border);
  border-radius: var(--sj-radius-lg);
  box-shadow: var(--sj-shadow-sm);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sj-shadow-hover);
  border-color: #cbd5e1;
}

.category-card-header {
  padding: 14px 20px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.01em;
}
.category-card-header * {
  color: #ffffff !important;
}

.header-result { background: linear-gradient(135deg, #059669 0%, #10b981 100%); }
.header-admit-card { background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%); }
.header-latest-jobs { background: linear-gradient(135deg, #dc2626 0%, #f43f5e 100%); }
.header-answer-key { background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%); }
.header-syllabus { background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%); }
.header-yojana { background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%); }

.category-card-body {
  padding: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.category-item-row {
  display: block;
  padding: 12px 18px;
  border-bottom: 1px solid var(--sj-border-light);
  color: var(--sj-text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  transition: all 0.18s ease;
  position: relative;
}

.category-item-row:hover {
  background-color: #f8fafc;
  color: var(--sj-blue-600);
  padding-left: 24px;
}

.category-item-row:hover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #f59e0b;
}

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

.badge-status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--sj-radius-pill);
  text-transform: uppercase;
  margin-left: 6px;
  display: inline-block;
}

.badge-status-new {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.badge-status-hot {
  background-color: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.category-card-footer {
  padding: 12px 18px;
  background: #f8fafc;
  border-top: 1px solid var(--sj-border);
  text-align: center;
  margin-top: auto;
}
.category-card-footer a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sj-text-sub);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.category-card-footer a:hover {
  color: var(--sj-blue-600);
}

/* ==========================================================================
   5. Sidebar Community & Live Notifications (Well-Spaced, Anti-Squish)
   ========================================================================== */

.sidebar-header-blue {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
  color: #ffffff !important;
}
.sidebar-header-blue * {
  color: #ffffff !important;
}
.sidebar-header-blue .text-warning, .sidebar-header-blue .text-warning * {
  color: #f59e0b !important;
}
.sidebar-header-blue .badge {
  background-color: #ffffff !important;
  color: #1e3a8a !important;
}

.sidebar-header-dark {
  background: linear-gradient(135deg, #050b18 0%, #0f1c3f 100%) !important;
  color: #ffffff !important;
}
.sidebar-header-dark * {
  color: #ffffff !important;
}
.sidebar-header-dark .text-warning, .sidebar-header-dark .text-warning * {
  color: #f59e0b !important;
}

.sidebar-feed-item {
  padding: 14px 18px !important;
  border-bottom: 1px solid var(--sj-border-light);
  transition: all 0.18s ease;
  display: block;
}
.sidebar-feed-item:hover {
  background-color: #f8fafc;
}
.sidebar-feed-item:last-child {
  border-bottom: none;
}

.sidebar-feed-title {
  font-size: 0.8875rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.45;
  margin-bottom: 6px;
}

.badge-cat-soft {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--sj-radius-pill);
  letter-spacing: 0.01em;
}

.badge-helpdesk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  font-size: 0.75rem;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--sj-radius-pill);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.contact-info-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.contact-info-link:hover {
  color: #ffffff;
  opacity: 1;
}

/* ==========================================================================
   6. Cryptographic Password Generator & Live Strength Checklist
   ========================================================================== */

.btn-pass-gen {
  font-size: 0.78rem;
  font-weight: 700;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: var(--sj-radius-pill);
  padding: 4px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-pass-gen:hover {
  background: #dbeafe;
  color: #1e40af;
  border-color: #93c5fd;
}

.password-meter-wrap {
  height: 6px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin: 8px 0;
}
.password-meter-bar {
  height: 100%;
  width: 0%;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.password-criteria-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 4px 12px;
  margin-top: 6px;
}
.password-criteria-item {
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}
.password-criteria-item.valid {
  color: #059669;
  font-weight: 600;
}
.password-criteria-item.valid i {
  color: #10b981;
}

/* ==========================================================================
   7. Auth Pages Styling
   ========================================================================== */

.auth-wrapper {
  min-height: calc(100vh - 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0;
}

.auth-card {
  background: #ffffff;
  border: 1px solid var(--sj-border);
  border-radius: var(--sj-radius-xl);
  box-shadow: var(--sj-shadow-lg);
  overflow: hidden;
}

.auth-card-sidebar {
  background: linear-gradient(135deg, #050b18 0%, #0f1c3f 60%, #172c60 100%);
  color: #ffffff;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.auth-card-sidebar * {
  color: #ffffff;
}
.auth-card-sidebar .text-white-50 {
  color: rgba(255, 255, 255, 0.6) !important;
}
.auth-card-sidebar .text-warning, .auth-card-sidebar .text-warning * {
  color: #f59e0b !important;
}

.auth-card-sidebar::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.auth-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.25rem;
}
.auth-benefit-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #f59e0b !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.auth-benefit-icon * {
  color: #f59e0b !important;
}

.auth-card-form {
  padding: 3rem 2.75rem;
}

@media (max-width: 768px) {
  .auth-card-form {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   8. Single Post / Job Article View (`job.php`)
   ========================================================================== */

.job-article-card {
  background: #ffffff;
  border: 1px solid var(--sj-border);
  border-radius: var(--sj-radius-xl);
  box-shadow: var(--sj-shadow-sm);
  padding: 2.25rem;
}

@media (max-width: 768px) {
  .job-article-card {
    padding: 1.25rem;
  }
}

.job-article-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--sj-text-dark);
  letter-spacing: -0.025em;
}

/* Structured Dates & Fee Cards */
.meta-box-card {
  background: #ffffff;
  border: 1px solid var(--sj-border);
  border-radius: var(--sj-radius-lg);
  overflow: hidden;
  box-shadow: var(--sj-shadow-xs);
  height: 100%;
}

.meta-box-card-header {
  padding: 12px 18px;
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.meta-box-card-header * {
  color: #ffffff !important;
}

.meta-box-card-header.bg-dates {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}

.meta-box-card-header.bg-fee {
  background: linear-gradient(135deg, #065f46 0%, #10b981 100%);
}

.meta-box-table {
  margin: 0;
  font-size: 0.9rem;
}
.meta-box-table td {
  padding: 10px 16px;
  border-color: var(--sj-border-light);
}

/* Direct Action Links Box */
.action-links-box {
  background: #ffffff;
  border: 2px solid #ef4444;
  border-radius: var(--sj-radius-lg);
  overflow: hidden;
  box-shadow: var(--sj-shadow-md);
}

.action-links-header {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: #ffffff !important;
  padding: 14px;
  font-weight: 800;
  font-size: 1.15rem;
  text-align: center;
  letter-spacing: 0.02em;
}
.action-links-header * {
  color: #ffffff !important;
}

.btn-official-action {
  font-weight: 700;
  font-size: 0.875rem;
  padding: 7px 20px;
  border-radius: var(--sj-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.btn-official-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* ==========================================================================
   9. Premium Footer
   ========================================================================== */

.footer-sarkari {
  background: linear-gradient(180deg, #050b18 0%, #030710 100%);
  color: #94a3b8;
  border-top: 4px solid #f59e0b;
}

.footer-sarkari h5, .footer-sarkari h6 {
  color: #ffffff;
}

.footer-links li a {
  color: #94a3b8;
  transition: all 0.15s ease;
  display: inline-block;
}
.footer-links li a:hover {
  color: #f59e0b;
  transform: translateX(4px);
}

.footer-disclaimer-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--sj-radius-md);
  padding: 14px 18px;
}

/* ==========================================================================
   10. Empty State Card Illustration
   ========================================================================== */

.empty-state-box {
  padding: 3.5rem 2rem;
  text-align: center;
  background: #ffffff;
  border-radius: var(--sj-radius-xl);
  border: 1px solid var(--sj-border);
  box-shadow: var(--sj-shadow-xs);
}
.empty-state-icon-circle {
  width: 72px;
  height: 72px;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   11. Native Mobile App Framework & Glassmorphism Design System
   STRICTLY ISOLATED TO MOBILE DEVICES: max-width: 991.98px
   ========================================================================== */
@media (max-width: 991.98px) {
  /* Safe Area Bottom Spacing to prevent content overlap with Fixed Bottom Dock */
  body {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 20px)) !important;
  }

  main.container {
    margin-bottom: 85px !important;
    padding-bottom: 25px !important;
  }

  /* 1. Native Mobile App Top Header */
  .mobile-app-header {
    background: #0a1128 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 56px;
    z-index: 1050 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  }

  .mobile-app-header .container-fluid {
    height: 100%;
  }

  .mobile-app-logo-img {
    max-height: 34px;
    max-width: 165px;
    object-fit: contain;
  }

  .mobile-app-emblem {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
  }

  .mobile-app-name {
    font-weight: 800;
    color: #ffffff;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
  }

  .mobile-app-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
  }

  .mobile-app-icon-btn:active {
    transform: scale(0.92);
    background: rgba(255, 255, 255, 0.2);
  }

  .mobile-app-pill-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease;
    text-decoration: none;
  }

  .mobile-app-pill-btn.telegram-pill {
    background: #0088cc;
  }

  .mobile-app-pill-btn.whatsapp-pill {
    background: #25d366;
  }

  .mobile-app-pill-btn:active {
    transform: scale(0.92);
  }

  /* 2. Native Mobile Bottom Navigation Bar (Solid White, High Z-Index, No Ghosting) */
  .mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1) !important;
    z-index: 1060 !important;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }

  .mobile-nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 0 4px;
    color: #64748b;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-nav-tab:active {
    transform: scale(0.92);
  }

  .mobile-nav-tab .nav-tab-icon {
    font-size: 1.25rem;
    line-height: 1;
    margin-bottom: 3px;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .mobile-nav-tab .nav-tab-label {
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.01em;
  }

  .mobile-nav-tab.active {
    color: var(--sj-blue-600);
  }

  .mobile-nav-tab.active .nav-tab-icon {
    transform: translateY(-2px) scale(1.1);
    color: var(--sj-blue-600);
  }

  .mobile-nav-tab.active .nav-tab-label {
    font-weight: 700;
    color: var(--sj-blue-600);
  }

  /* 3. Mobile Explore Slide-Up Bottom Sheet */
  .mobile-explore-sheet {
    border-radius: 24px 24px 0 0 !important;
    background: #f8fafc;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.22);
    z-index: 1070 !important;
  }

  .mobile-sheet-pill-indicator {
    width: 40px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 99px;
  }

  .mobile-explore-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px 12px;
    text-decoration: none;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .mobile-explore-card:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .mobile-explore-card .card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .mobile-explore-card .card-info strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .mobile-explore-card .card-info small {
    font-size: 0.65rem;
    color: #64748b;
  }

  /* 4. Native Horizontal Momentum Chip Scrollers */
  .state-pills-wrap,
  .mobile-chip-scroller {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .state-pills-wrap::-webkit-scrollbar,
  .mobile-chip-scroller::-webkit-scrollbar {
    display: none !important;
  }

  .state-pill,
  .mobile-state-chip {
    display: inline-flex !important;
    align-items: center !important;
    padding: 6px 14px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 99px !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    flex-shrink: 0 !important;
    transition: transform 0.15s ease, background 0.15s ease !important;
  }

  .state-pill.active {
    background: var(--sj-blue-600) !important;
    color: #ffffff !important;
    border-color: var(--sj-blue-600) !important;
  }

  .state-pill:active,
  .mobile-state-chip:active {
    transform: scale(0.95);
    background: #f1f5f9 !important;
  }

  /* 5. Category Post Card Responsive Improvements */
  .post-card-desc {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.45 !important;
    font-size: 0.82rem !important;
  }

  .card-job-footer {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .btn-view-job {
    white-space: nowrap !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border-radius: 99px !important;
    padding: 4px 14px !important;
    flex-shrink: 0 !important;
  }

  /* 6. Single Job View Sticky Floating Bottom Action Dock */
  .mobile-job-floating-dock {
    position: fixed !important;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    left: 0 !important;
    right: 0 !important;
    padding: 10px 16px !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08) !important;
    z-index: 1055 !important;
  }

  /* 7. Featured Recruitments Header on Mobile */
  .featured-header-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  /* 8. Native App Micro-Interactions & Tap Highlights */
  .category-box-card, .featured-box-card, .trending-pill, .list-group-item {
    -webkit-tap-highlight-color: transparent;
  }

  .category-box-card:active, .featured-box-card:active {
    transform: scale(0.985);
  }

  .trending-pill:active {
    transform: scale(0.96);
  }

  /* 9. Candidate Auth Pages Mobile Responsiveness */
  .auth-wrapper {
    min-height: auto !important;
    padding: 0.5rem 0 1.5rem !important;
    width: 100% !important;
  }

  .auth-card {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    width: 100% !important;
  }

  .auth-card-form {
    padding: 1.5rem 1.15rem !important;
  }

  .otp-box {
    width: clamp(38px, 12vw, 48px) !important;
    height: clamp(46px, 14vw, 56px) !important;
    font-size: 1.25rem !important;
    padding: 0 !important;
  }

  #otpBoxes {
    gap: clamp(4px, 1.5vw, 8px) !important;
  }

  .password-criteria-list {
    grid-template-columns: 1fr 1fr !important;
    gap: 4px 8px !important;
  }

  .btn-pass-gen {
    font-size: 0.72rem !important;
    padding: 2px 8px !important;
  }
}
