/* ========================================================
   HRIT UNIVERSITY GHAZIABAD — CDC SMART PLACEMENT PORTAL
   Official Institutional Design System & Theme Alignment
   Brand Colors: Royal Burgundy (#60060f) & Royal Gold (#c2943b)
   ======================================================== */

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

:root {
  /* HRIT Official Brand Colors */
  --hrit-burgundy-900: #1f0205;
  --hrit-burgundy-800: #60060f;
  --hrit-burgundy-700: #7d101c;
  --hrit-burgundy-600: #9b1424;
  --hrit-burgundy-50: #fdf2f4;
  --hrit-burgundy-100: #f9dde2;

  /* HRIT Gold & Ochre Accents */
  --hrit-gold-800: #8a6417;
  --hrit-gold-600: #c2943b;
  --hrit-gold-500: #d4a34b;
  --hrit-gold-100: #fbf3e2;
  --hrit-gold-50: #fefaf3;

  /* Neutrals */
  --bg-page: #fbfbfa;
  --bg-card: #ffffff;
  --border-light: #e8e6e1;
  --border-subtle: #f3efe8;
  --text-main: #1f0205;
  --text-muted: #5e6470;
  --text-subtle: #8a92a0;

  /* Semantic Feedback */
  --emerald-600: #059669;
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --amber-600: #d97706;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --rose-600: #dc2626;
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --purple-600: #7c3aed;
  --purple-50: #f5f3ff;
  --purple-100: #ede9fe;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(31, 2, 5, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(31, 2, 5, 0.08), 0 1px 2px -1px rgba(31, 2, 5, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(31, 2, 5, 0.08), 0 2px 4px -2px rgba(31, 2, 5, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(31, 2, 5, 0.09), 0 4px 6px -4px rgba(31, 2, 5, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(31, 2, 5, 0.12), 0 8px 10px -6px rgba(31, 2, 5, 0.06);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================================
   TOP NOTIFICATION STRIP (Matching hrituniversity.edu.in)
   ======================================================== */
.top-notice-strip {
  background: var(--hrit-burgundy-900);
  color: #f3efe8;
  font-size: 0.725rem;
  padding: 0.4rem 1.5rem;
  border-bottom: 1px solid rgba(212, 163, 75, 0.3);
}

.top-notice-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.strip-item svg {
  color: var(--hrit-gold-500);
  flex-shrink: 0;
}

.strip-badge {
  background: var(--hrit-gold-600);
  color: #1f0205;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 3px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ========================================================
   TOPBAR & HEADER
   ======================================================== */
.topbar {
  background: #ffffff;
  border-bottom: 2px solid var(--hrit-burgundy-800);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 38px;
  background: var(--border-light);
}

.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--hrit-burgundy-800);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', -apple-system, sans-serif;
}

.brand-text h1 span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hrit-gold-800);
  background: var(--hrit-gold-100);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(194, 148, 59, 0.3);
}

.brand-text p {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--hrit-gold-50);
  border: 1px solid var(--hrit-gold-100);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hrit-burgundy-800);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--hrit-burgundy-900);
  line-height: 1.2;
}

.user-role-tag {
  font-size: 0.7rem;
  color: var(--hrit-gold-800);
  font-weight: 600;
}

.btn-logout {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}

.btn-logout:hover {
  background: var(--rose-50);
  color: var(--rose-600);
  border-color: var(--rose-100);
}

/* ========================================================
   CONTAINER & LAYOUT
   ======================================================== */
.main-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 4rem 1.5rem;
}

/* Announcement Banner (HRIT Signature Burgundy Gradient) */
.urgent-banner {
  background: linear-gradient(135deg, #60060f 0%, #1f0205 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 163, 75, 0.4);
}

.urgent-banner::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(194, 148, 59, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(212, 163, 75, 0.25);
  border: 1px solid rgba(212, 163, 75, 0.6);
  color: #fce7b2;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.banner-tag .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
}

.banner-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
  font-family: 'Inter', -apple-system, sans-serif;
}

.banner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: #f3efe8;
  margin-bottom: 1.15rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.meta-item svg {
  width: 17px;
  height: 17px;
  color: var(--hrit-gold-500);
}

.banner-desc {
  font-size: 0.925rem;
  color: #f9dde2;
  max-width: 900px;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.banner-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* Recruiter Strip */
.recruiter-marquee-section {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-xs);
}

.recruiter-header-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--hrit-burgundy-800);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.recruiter-header-label::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: var(--border-light);
}

.recruiter-logos-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.recruiter-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: grayscale(80%);
  opacity: 0.85;
  transition: all 0.2s ease;
}

.recruiter-img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Modern Segmented Tab Bar */
.tabs-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.35rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1.75rem;
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.7rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  border-radius: var(--radius-lg);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  position: relative;
}

.tab-btn:hover {
  color: var(--hrit-burgundy-900);
  background: rgba(255, 255, 255, 0.7);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--hrit-burgundy-900) 0%, #3a0409 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(96, 6, 15, 0.22);
}

.tab-count {
  font-size: 0.725rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  background: #e2e8f0;
  color: #475569;
  transition: all 0.2s ease;
}

.tab-btn.active .tab-count {
  background: var(--hrit-gold-500);
  color: #1f0205;
  font-weight: 800;
}

/* ========================================================
   CARDS & GRIDS
   ======================================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.section-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--hrit-burgundy-900);
  letter-spacing: -0.01em;
  font-family: 'Inter', -apple-system, sans-serif;
}

.section-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.drives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-bottom: 1.5rem;
  align-items: stretch;
}

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

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

.drive-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  box-sizing: border-box;
}

.drive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(96, 6, 15, 0.12);
  border-color: rgba(194, 148, 59, 0.45);
}

/* 1. Micro Bar: Category Badge + Status Badge */
.card-micro-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  min-height: 24px;
}

.drive-category-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--hrit-burgundy-800);
  background: #fdf2f4;
  border: 1px solid #fecdd3;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.card-status-slot {
  display: flex;
  align-items: center;
}

.eligibility-pill {
  font-size: 0.675rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

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

.pill-warning {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.pill-eligible {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.pill-ineligible {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* 2. Brand & Role Header */
.card-brand-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.drive-card-logo-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.brand-text-col {
  flex: 1;
  min-width: 0;
}

.company-name {
  font-size: 0.775rem;
  font-weight: 700;
  color: #64748b;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.drive-role-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0;
  min-height: 2.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 3. Compensation Banner */
.card-ctc-strip {
  background: linear-gradient(135deg, rgba(96, 6, 15, 0.05) 0%, rgba(194, 148, 59, 0.12) 100%);
  border: 1px solid rgba(194, 148, 59, 0.35);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  min-height: 38px;
  box-sizing: border-box;
}

.ctc-label-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ctc-icon-badge {
  font-size: 0.85rem;
}

.ctc-title-text {
  font-size: 0.675rem;
  font-weight: 700;
  color: var(--hrit-burgundy-900);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ctc-val-text {
  font-size: 0.825rem;
  font-weight: 800;
  color: var(--hrit-burgundy-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 62%;
  text-align: right;
}

/* 4. Schedule & Venue */
.card-schedule-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 50px;
  box-sizing: border-box;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.725rem;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sched-icon {
  width: 13px;
  height: 13px;
  color: var(--hrit-burgundy-700);
  flex-shrink: 0;
}

.sched-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sched-text strong {
  color: #0f172a;
}

/* 5. 2x2 Criteria Grid */
.card-criteria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.6rem;
  background: #fdfafb;
  border: 1px solid #fae8eb;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.75rem;
  min-height: 56px;
  box-sizing: border-box;
}

.crit-cell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  overflow: hidden;
}

.crit-lbl {
  color: #64748b;
  font-weight: 500;
  flex-shrink: 0;
  margin-right: 4px;
}

.crit-val {
  color: #0f172a;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 6. Protocol Callout */
.mandatory-callout {
  background: #fdf2f2;
  border-left: 3px solid #ef4444;
  padding: 0.4rem 0.65rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.7rem;
  color: #991b1b;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 36px;
  box-sizing: border-box;
}

.mandatory-callout.callout-standard {
  background: #f0fdf4;
  border-left: 3px solid #10b981;
  color: #166534;
}

.callout-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.callout-msg {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 7. Description */
.card-desc {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #64748b;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.1rem;
  max-height: 2.1rem;
}

/* 8. Footer */
.card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
}

.footer-protocol-note {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 600;
}

.footer-btn-group {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.footer-btn-group .btn {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Pagination Bar Styling */
.drives-pagination-bar {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 0.85rem 1.35rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.pagination-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.pagination-info {
  font-size: 0.825rem;
  color: #64748b;
}

.pagination-info strong {
  color: var(--hrit-burgundy-900);
  font-weight: 800;
}

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

.page-numbers-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.page-num-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  font-size: 0.825rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-num-btn:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  color: var(--hrit-burgundy-900);
}

.page-num-btn.active {
  background: linear-gradient(135deg, var(--hrit-burgundy-900) 0%, #3e040a 100%);
  color: #ffffff;
  border-color: var(--hrit-burgundy-900);
  box-shadow: 0 2px 8px rgba(96, 6, 15, 0.25);
}

.page-nav-btn {
  padding: 0.45rem 0.85rem;
  height: 34px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.page-nav-btn:hover:not(:disabled) {
  background: #f8fafc;
  border-color: var(--hrit-burgundy-800);
  color: var(--hrit-burgundy-900);
}

.page-nav-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f8fafc;
}

.pagination-info-only {
  text-align: center;
  font-size: 0.825rem;
  color: #64748b;
  padding: 0.25rem 0;
}

.mandatory-callout svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

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

/* ========================================================
   BUTTONS
   ======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--hrit-burgundy-800);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--hrit-burgundy-700);
  box-shadow: 0 4px 12px rgba(96, 6, 15, 0.3);
}

.btn-gold {
  background: var(--hrit-gold-600);
  color: #1f0205;
  font-weight: 700;
}

.btn-gold:hover {
  background: var(--hrit-gold-500);
  box-shadow: 0 4px 12px rgba(194, 148, 59, 0.3);
}

.btn-secondary {
  background: #ffffff;
  border-color: var(--border-light);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--bg-page);
  border-color: var(--hrit-burgundy-100);
}

.btn-disabled {
  background: var(--border-light);
  color: var(--text-muted);
  cursor: not-allowed;
  border-color: var(--border-light);
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.775rem;
  border-radius: var(--radius-sm);
}

/* ========================================================
   DIGITAL ADMIT PASS / GATE TICKET MODAL
   ======================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(31, 2, 5, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
}

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

.pass-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--hrit-burgundy-800);
  overflow: hidden;
  position: relative;
  transform: scale(0.95);
  transition: all 0.2s ease;
}

.modal-overlay.active .pass-container {
  transform: scale(1);
}

.pass-header {
  background: linear-gradient(135deg, #1f0205 0%, #60060f 100%);
  color: #ffffff;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--hrit-gold-500);
}

.pass-hrit-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.pass-logo {
  height: 48px;
  width: auto;
  background: white;
  padding: 3px;
  border-radius: 4px;
}

.pass-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: 'Inter', -apple-system, sans-serif;
  letter-spacing: 0.02em;
}

.pass-header p {
  font-size: 0.725rem;
  color: #fce7b2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.pass-badge {
  background: #10b981;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pass-body {
  padding: 1.75rem;
}

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

.pass-info-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.info-pair {
  display: flex;
  flex-direction: column;
}

.info-pair label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.info-pair span {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--hrit-burgundy-900);
}

.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-page);
  border: 1px dashed var(--hrit-burgundy-100);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.qr-code-img {
  width: 120px;
  height: 120px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 0.5rem;
}

.qr-box p {
  font-size: 0.675rem;
  color: var(--hrit-burgundy-800);
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

.pass-instructions {
  background: var(--hrit-gold-50);
  border: 1px solid var(--hrit-gold-100);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-size: 0.75rem;
  color: #78350f;
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.pass-instructions strong {
  color: var(--hrit-burgundy-800);
  display: block;
  margin-bottom: 0.25rem;
}

.pass-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

/* ========================================================
   TABLES & LISTS
   ======================================================== */
.data-table-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.table-responsive {
  overflow-x: auto;
}

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

.data-table th {
  background: var(--hrit-burgundy-50);
  padding: 0.75rem 0.85rem;
  font-weight: 700;
  color: var(--hrit-burgundy-800);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-light);
}

.data-table td {
  padding: 0.85rem 0.85rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  vertical-align: middle;
}

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

.data-table tr:hover {
  background: var(--bg-page);
}

/* ========================================================
   LOGIN PAGE SPECIFIC (HRIT Themed)
   ======================================================== */
.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top left, #60060f 0%, #1f0205 100%);
  padding: 1.5rem;
}

.login-card {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 2.5rem 2.25rem;
  border: 1px solid rgba(212, 163, 75, 0.4);
}

.login-brand {
  text-align: center;
  margin-bottom: 1.75rem;
}

.login-logo {
  height: 60px;
  width: auto;
  margin-bottom: 0.75rem;
}

.login-brand h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--hrit-burgundy-900);
  font-family: 'Inter', -apple-system, sans-serif;
}

.login-brand p {
  font-size: 0.825rem;
  color: var(--hrit-gold-800);
  font-weight: 600;
  margin-top: 0.25rem;
}

.role-switcher {
  display: flex;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 1.5rem;
}

.role-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.55rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.role-btn.active {
  background: #ffffff;
  color: var(--hrit-burgundy-800);
  box-shadow: var(--shadow-xs);
}

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

.form-group label {
  display: block;
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--hrit-burgundy-900);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-size: 0.875rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-main);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--hrit-burgundy-700);
  box-shadow: 0 0 0 3px rgba(96, 6, 15, 0.15);
}

.quick-demo-box {
  margin-top: 1.5rem;
  padding: 0.85rem;
  background: var(--hrit-gold-50);
  border: 1px dashed var(--hrit-gold-600);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
}

.quick-demo-box p {
  font-weight: 700;
  color: var(--hrit-burgundy-800);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.675rem;
}

.demo-btn-row {
  display: flex;
  gap: 0.5rem;
}

.demo-chip-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--hrit-burgundy-900);
  cursor: pointer;
}

.demo-chip-btn:hover {
  background: var(--hrit-burgundy-50);
  border-color: var(--hrit-burgundy-100);
  color: var(--hrit-burgundy-800);
}

/* ========================================================
   FOOTER (Matching hrituniversity.edu.in)
   ======================================================== */
.portal-footer {
  background: var(--hrit-burgundy-900);
  color: #f3efe8;
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  border-top: 3px solid var(--hrit-gold-600);
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hrit-gold-500);
  margin-bottom: 0.85rem;
  font-family: 'Inter', -apple-system, sans-serif;
}

.footer-col p, .footer-col span {
  font-size: 0.825rem;
  color: #e5e2dc;
  line-height: 1.6;
}

.approval-badges-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.approval-logo {
  height: 38px;
  width: auto;
  background: #ffffff;
  padding: 2px 4px;
  border-radius: 4px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #a39e95;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon.burgundy { background: var(--hrit-burgundy-50); color: var(--hrit-burgundy-800); }
.stat-icon.gold { background: var(--hrit-gold-100); color: var(--hrit-gold-800); }
.stat-icon.emerald { background: var(--emerald-50); color: var(--emerald-600); }
.stat-icon.amber { background: var(--amber-50); color: var(--amber-600); }

.stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--hrit-burgundy-900);
  line-height: 1.2;
}

.stat-lbl {
  font-size: 0.775rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--hrit-burgundy-900);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-left: 4px solid var(--hrit-gold-500);
  animation: slideUp 0.25s ease forwards;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .recruiter-logos-row {
    justify-content: center;
  }
}

/* ========================================================
   OPTION 1: SPLIT SCREEN SHOWCASE LAYOUT
   ======================================================== */
.split-screen-wrapper {
  min-height: 100vh;
  display: flex;
  background: #ffffff;
}

.split-hero-side {
  flex: 1.15;
  background: linear-gradient(135deg, rgba(31, 2, 5, 0.94) 0%, rgba(96, 6, 15, 0.90) 100%), url('../assets/footer_campus.webp') center/cover no-repeat;
  color: #ffffff;
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.split-hero-side::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at bottom right, rgba(194, 148, 59, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.split-hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.split-hero-logo {
  height: 54px;
  width: auto;
  background: #ffffff;
  padding: 4px;
  border-radius: var(--radius-sm);
}

.split-hero-title h2 {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: 'Inter', -apple-system, sans-serif;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.split-hero-title p {
  font-size: 0.75rem;
  color: var(--hrit-gold-500);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.split-hero-content {
  position: relative;
  z-index: 2;
  margin: 2.5rem 0;
}

.hero-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(194, 148, 59, 0.2);
  border: 1px solid rgba(194, 148, 59, 0.4);
  color: #fce7b2;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.split-hero-content h1 {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-family: 'Inter', -apple-system, sans-serif;
  color: #ffffff;
}

.split-hero-content h1 span {
  color: var(--hrit-gold-500);
  font-style: italic;
}

.split-hero-content p {
  font-size: 0.95rem;
  color: #f9dde2;
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.split-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 540px;
}

.split-stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.split-stat-box:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(212, 163, 75, 0.5);
  transform: translateY(-2px);
}

.split-stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Inter', -apple-system, sans-serif;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.split-stat-number span {
  color: var(--hrit-gold-500);
  font-size: 1.1rem;
}

.split-stat-label {
  font-size: 0.75rem;
  color: #fce7b2;
  font-weight: 600;
  margin-top: 0.2rem;
}

.split-hero-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
}

.split-hero-footer p {
  font-size: 0.725rem;
  color: #fce7b2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.split-recruiters-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.split-recruiters-row img {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: all 0.2s ease;
}

.split-recruiters-row img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.split-form-side {
  flex: 0.95;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  background: #ffffff;
}

.split-form-container {
  width: 100%;
  max-width: 440px;
}

/* ========================================================
   OPTION 2: FULL-SCREEN VIGNETTE & FLOATING GLASS CARDS
   ======================================================== */
.vignette-screen-wrapper {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(31, 2, 5, 0.88) 0%, rgba(96, 6, 15, 0.82) 50%, rgba(31, 2, 5, 0.92) 100%), url('../assets/campus_hero.webp') center/cover no-repeat fixed;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding: 1.5rem;
}

.vignette-topbar {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(31, 2, 5, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.5rem;
}

.vignette-center-area {
  max-width: 1280px;
  width: 100%;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: center;
  gap: 2rem;
}

.floating-glass-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.glass-feature-card {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.glass-feature-card:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(212, 163, 75, 0.6);
  transform: translateY(-3px);
}

.glass-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 163, 75, 0.25);
  border: 1px solid rgba(212, 163, 75, 0.5);
  color: #fce7b2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.glass-feature-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  font-family: 'Inter', -apple-system, sans-serif;
}

.glass-feature-card p {
  font-size: 0.8rem;
  color: #f9dde2;
  line-height: 1.45;
}

.vignette-login-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  padding: 2.25rem;
  border: 2px solid var(--hrit-gold-500);
}

@media (max-width: 1024px) {
  .split-screen-wrapper {
    flex-direction: column;
  }
  .split-hero-side {
    padding: 2.5rem 1.5rem;
  }
  .vignette-center-area {
    grid-template-columns: 1fr;
  }
  .floating-glass-column {
    display: none;
  }
}

/* ========================================================
   CDC / TPO OFFICER CONSOLE ENHANCEMENTS
   Strict Inter Typography & HRIT Brand Consistency
   ======================================================== */
.admin-sub-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 0;
  z-index: 80;
}

.admin-nav-bar {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 52px;
}

.admin-tabs-list {
  display: flex;
  align-items: stretch;
  height: 52px;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
}

.admin-tabs-list::-webkit-scrollbar {
  display: none;
}

.admin-tabs-list li {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.75rem;
  font-size: 0.825rem;
  font-weight: 500;
  color: #64748b;
  border: none;
  background: transparent;
  border-bottom: 2.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  font-family: 'Inter', -apple-system, sans-serif;
  height: 100%;
  border-radius: 4px 4px 0 0;
}

.admin-tab-btn svg {
  color: #94a3b8;
  transition: color 0.15s ease;
  flex-shrink: 0;
}

.admin-tab-btn:hover {
  color: #0f172a;
  background: #f8fafc;
}

.admin-tab-btn:hover svg {
  color: #475569;
}

.admin-tab-btn.active {
  color: #60060f;
  font-weight: 700;
  border-bottom-color: #60060f;
  background: #fdf6f7;
}

.admin-tab-btn.active svg {
  color: #60060f;
}

.admin-tab-btn .badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
}

.admin-tab-btn:hover .badge-count {
  background: #e2e8f0;
  color: #334155;
}

.admin-tab-btn.active .badge-count {
  background: #60060f;
  color: #ffffff;
  border-color: #60060f;
  box-shadow: 0 1px 2px rgba(96, 6, 15, 0.2);
}

/* Secondary Navigation Action Buttons */
.admin-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-subnav-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.82rem;
  font-size: 0.81rem;
  font-weight: 600;
  border-radius: 7px;
  cursor: pointer;
  font-family: 'Inter', -apple-system, sans-serif;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  line-height: 1.25;
}
  line-height: 1.25;
}

.btn-subnav-action svg {
  flex-shrink: 0;
}

.btn-subnav-secondary {
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.btn-subnav-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-1px);
}

.btn-subnav-primary {
  background: linear-gradient(135deg, #60060f 0%, #44040b 100%);
  color: #ffffff;
  border: 1px solid #4a040b;
  box-shadow: 0 1.5px 4px rgba(96, 6, 15, 0.22);
}

.btn-subnav-primary:hover {
  background: linear-gradient(135deg, #780813 0%, #52050d 100%);
  box-shadow: 0 3px 8px rgba(96, 6, 15, 0.32);
  transform: translateY(-1px);
}

.admin-content-section {
  display: none;
  animation: fadeInAdmin 0.2s ease-in-out;
}

.admin-content-section.active {
  display: block;
}

@keyframes fadeInAdmin {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scanner Desk Cards */
.scanner-container-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  max-width: 920px;
  margin: 0 auto 2rem auto;
}

.scanner-input-wrap {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.scanner-input {
  flex: 1;
  padding: 0.75rem 1.15rem;
  font-size: 1rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: 'Inter', -apple-system, sans-serif;
  letter-spacing: 0.02em;
}

.scanner-input:focus {
  outline: none;
  border-color: var(--hrit-burgundy-800);
  box-shadow: 0 0 0 3px rgba(96, 6, 15, 0.1);
}

.scanner-verified-box {
  display: none;
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(31, 2, 5, 0.12), 0 8px 10px -6px rgba(31, 2, 5, 0.06);
  animation: fadeIn 0.25s ease-out;
}

/* ========================================================
   LAB 121 LIVE CAMERA & QR SCANNER STYLES
   ======================================================== */
.scanner-mode-tabs {
  display: flex;
  gap: 0.5rem;
  background: #f1f5f9;
  padding: 0.35rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  border: 1px solid #e2e8f0;
}

.scanner-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #475569;
  font-size: 0.825rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scanner-tab-btn:hover {
  color: var(--hrit-burgundy-900);
}

.scanner-tab-btn.active {
  background: #ffffff;
  color: var(--hrit-burgundy-900);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.scanner-section-panel {
  display: none;
}
.scanner-section-panel.active {
  display: block;
}

/* Camera Viewport */
.camera-scanner-viewport {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 340px;
  margin: 0 auto 1rem auto;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
  border: 2px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
}

#qrReaderContainer {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
}

#qrReaderContainer video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* High-Tech HUD Viewfinder Overlay */
.camera-hud-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.camera-hud-overlay.active {
  display: block;
}

.hud-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 3.5px solid var(--hrit-gold-500);
}

.hud-corner.top-left {
  top: 25px;
  left: 35px;
  border-right: none;
  border-bottom: none;
  border-radius: 6px 0 0 0;
}

.hud-corner.top-right {
  top: 25px;
  right: 35px;
  border-left: none;
  border-bottom: none;
  border-radius: 0 6px 0 0;
}

.hud-corner.bottom-left {
  bottom: 35px;
  left: 35px;
  border-right: none;
  border-top: none;
  border-radius: 0 0 0 6px;
}

.hud-corner.bottom-right {
  bottom: 35px;
  right: 35px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 6px 0;
}

/* Animated Laser Sweep Line */
.hud-laser-line {
  position: absolute;
  top: 35px;
  left: 35px;
  right: 35px;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, #22c55e, #86efac, #22c55e, transparent);
  box-shadow: 0 0 12px 2px rgba(34, 197, 94, 0.7);
  animation: hudLaserScan 2s ease-in-out infinite alternate;
}

@keyframes hudLaserScan {
  0% { top: 35px; }
  100% { top: calc(100% - 45px); }
}

.hud-caption {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  letter-spacing: 0.02em;
}

/* Camera Placeholder */
.camera-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background: #f8fafc;
  width: 100%;
  height: 100%;
}

.camera-placeholder-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fdf2f4;
  color: var(--hrit-burgundy-900);
  border: 1.5px solid var(--hrit-burgundy-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Camera Controls Bar */
.camera-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.85rem;
  box-shadow: var(--shadow-sm);
}

.camera-status-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  animation: pulseLive 1.2s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* File Scanner Dropzone */
.file-scanner-dropzone {
  border: 2px dashed var(--border-light);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: #fafaf9;
  cursor: pointer;
  transition: all 0.2s ease;
  max-width: 540px;
  margin: 0 auto;
}

.file-scanner-dropzone:hover,
.file-scanner-dropzone.dragover {
  border-color: var(--hrit-burgundy-800);
  background: var(--hrit-burgundy-50);
}

/* ========================================================
   ENTERPRISE DRIVES DESK STYLING (ORGANIZED & SYMMETRICAL)
   ======================================================== */
.enterprise-drives-table {
  table-layout: fixed;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.enterprise-drives-table th {
  background: #fdf8f6;
  padding: 0.85rem 1rem;
  font-weight: 700;
  color: var(--hrit-burgundy-900);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.enterprise-drives-table td {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  vertical-align: top;
  overflow: hidden;
}

.enterprise-drives-table tr:last-child td {
  border-bottom: none;
}

.enterprise-drives-table tr:hover {
  background: #fafaf9;
}

.enterprise-drives-table th:last-child,
.enterprise-drives-table td:last-child {
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}

/* 1. Recruiter & Role */
.drive-brand-cell {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.drive-logo-box {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.drive-title-link {
  font-weight: 700;
  font-size: 0.885rem;
  color: var(--hrit-burgundy-900);
  text-decoration: none;
  line-height: 1.3;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 230px;
  transition: color 0.15s ease;
}

.drive-title-link:hover {
  color: var(--hrit-burgundy-700);
  text-decoration: underline;
}

.drive-role-subtitle {
  font-size: 0.765rem;
  color: #475569;
  font-weight: 500;
  margin-top: 0.2rem;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-width: 230px;
}

.drive-id-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
  display: inline-block;
}

/* 2. Package & Location */
.package-headline {
  font-size: 0.885rem;
  font-weight: 800;
  color: #047857;
  line-height: 1.25;
  white-space: nowrap;
}

.package-sub {
  font-size: 0.715rem;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  display: inline-block;
  margin-top: 0.25rem;
  font-weight: 600;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.package-loc {
  font-size: 0.745rem;
  color: #64748b;
  margin-top: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 3. Cut-Off & Degrees */
.cutoff-main {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.cutoff-sub {
  font-size: 0.735rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 0.15rem;
  white-space: nowrap;
}

.degree-tags-wrap {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.degree-tag-pill {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #cbd5e1;
  font-size: 0.675rem;
  font-weight: 600;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  line-height: 1.2;
}

/* 4. Date & Venue */
.date-main {
  font-size: 0.825rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.venue-sub {
  font-size: 0.735rem;
  color: #475569;
  font-weight: 500;
  margin-top: 0.25rem;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ppt-required-badge {
  display: inline-block;
  font-size: 0.64rem;
  color: #9f1239;
  background: #ffe4e6;
  border: 1px solid #fecdd3;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
  margin-top: 0.25rem;
  white-space: nowrap;
}

/* 5. ATS Mini Funnel Card (2x2 Equal Grid) */
.ats-funnel-card {
  width: 155px;
}

.funnel-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.funnel-cell-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 5px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.funnel-cell-box:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.funnel-num {
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
}

.funnel-name {
  font-size: 0.61rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 3px;
}

.funnel-cell-box.blue .funnel-num { color: #1d4ed8; }
.funnel-cell-box.purple .funnel-num { color: #7e22ce; }
.funnel-cell-box.amber .funnel-num { color: #b45309; }
.funnel-cell-box.emerald .funnel-num { color: #047857; }

/* 6. Drive Status & Quick Toggle */
.status-col-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 90px;
  margin: 0 auto;
}

.badge-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 86px;
  height: 24px;
  border-radius: 999px;
  font-size: 0.725rem;
  font-weight: 700;
  text-align: center;
}

.badge-status-pill.active {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.badge-status-pill.closed {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.status-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.badge-status-pill.active .status-indicator-dot {
  background: #10b981;
}

.badge-status-pill.closed .status-indicator-dot {
  background: #94a3b8;
}

.btn-status-toggle {
  width: 86px;
  height: 25px;
  border-radius: 5px;
  font-size: 0.69rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}

.btn-status-toggle.btn-close {
  color: #be123c;
  border-color: #fecdd3;
}

.btn-status-toggle.btn-close:hover {
  background: #fff1f2;
}

.btn-status-toggle.btn-reopen {
  color: #047857;
  border-color: #a7f3d0;
}

.btn-status-toggle.btn-reopen:hover {
  background: #ecfdf5;
}

/* 7. Actions */
.actions-col-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  max-width: 124px;
  margin: 0 auto;
}

.btn-open-ats {
  width: 100%;
  height: 28px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 0.4rem;
  background: var(--hrit-burgundy-800);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(96, 6, 15, 0.2);
}

.btn-open-ats:hover {
  background: var(--hrit-burgundy-900);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(96, 6, 15, 0.25);
}

.btn-sub-actions-row {
  display: flex;
  gap: 0.3rem;
  width: 100%;
}

.btn-sub-action {
  flex: 1;
  height: 24px;
  font-size: 0.685rem;
  font-weight: 600;
  padding: 0 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-sub-action:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

/* Command Toolbar */
.drives-command-toolbar {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.toolbar-left {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.toolbar-label {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--hrit-burgundy-800);
  margin: 0;
}

.toolbar-select {
  height: 34px;
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
}

.toolbar-select:focus {
  border-color: var(--hrit-burgundy-800);
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toolbar-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.toolbar-search-wrap .search-icon {
  position: absolute;
  left: 10px;
  color: #94a3b8;
  pointer-events: none;
}

.toolbar-search-input {
  height: 34px;
  padding: 0.25rem 0.75rem 0.25rem 2rem;
  font-size: 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  width: 270px;
  outline: none;
  transition: border-color 0.15s ease;
}

.toolbar-search-input:focus {
  border-color: var(--hrit-burgundy-800);
}

/* ========================================================
   ENTERPRISE STUDENTS DIRECTORY STYLING
   ======================================================== */
.enterprise-students-table {
  table-layout: fixed;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.enterprise-students-table th {
  background: #fdf8f6;
  padding: 0.85rem 0.85rem;
  font-weight: 700;
  color: var(--hrit-burgundy-900);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.enterprise-students-table td {
  padding: 0.95rem 0.85rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  vertical-align: top;
  overflow: hidden;
}

.enterprise-students-table tr:last-child td {
  border-bottom: none;
}

.enterprise-students-table tr:hover {
  background: #fafaf9;
}

.enterprise-students-table th:last-child,
.enterprise-students-table td:last-child {
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}

/* ========================================================
   ENTERPRISE CANDIDATE PIPELINE TABLE & ATS STYLES
   ======================================================== */
.enterprise-pipeline-table {
  table-layout: fixed;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.enterprise-pipeline-table th {
  background: #fdf8f6;
  padding: 0.85rem 0.85rem;
  font-weight: 700;
  color: var(--hrit-burgundy-900);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.enterprise-pipeline-table td {
  padding: 0.95rem 0.85rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  vertical-align: top;
  overflow: hidden;
}

.enterprise-pipeline-table tr:last-child td {
  border-bottom: none;
}

.enterprise-pipeline-table tr:hover {
  background: #fafaf9;
}

.enterprise-pipeline-table th:last-child,
.enterprise-pipeline-table td:last-child {
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}

/* Pipeline Stage Pills */
.stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.stage-pill.applied { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.stage-pill.ppt { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.stage-pill.shortlisted { background: #faf5ff; color: #7e22ce; border: 1px solid #e9d5ff; }
.stage-pill.interview { background: #fdf4ff; color: #a21caf; border: 1px solid #f5d0fe; }
.stage-pill.selected { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.stage-pill.rejected { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }

/* Stage Round Select Dropdown in Pipeline Table */
.stage-round-select {
  width: 100%;
  font-size: 0.725rem;
  padding: 0.28rem 0.45rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  color: #1e293b;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-top: 0.35rem;
  outline: none;
}
.stage-round-select:hover {
  border-color: var(--hrit-burgundy-600);
}
.stage-round-select:focus {
  border-color: var(--hrit-burgundy-800);
  box-shadow: 0 0 0 2px rgba(96, 6, 15, 0.1);
}

@media (max-width: 1100px) {
  .pipeline-funnel-container {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 768px) {
  .pipeline-funnel-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Course Badge Pills */
.course-badge-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
}

.course-badge-pill.mca {
  background: #fdf2f4;
  color: var(--hrit-burgundy-900);
  border: 1px solid var(--hrit-burgundy-200);
}

.course-badge-pill.btech {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.course-badge-pill.bca {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.course-badge-pill.mba {
  background: #faf5ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.course-badge-pill.bba {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.course-badge-pill.pharm {
  background: #ecfeff;
  color: #0e7490;
  border: 1px solid #a5f3fc;
}

/* Score Tags */
.academic-score-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.675rem;
  font-weight: 600;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  white-space: nowrap;
}

.academic-cgpa-pill {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-weight: 800;
  font-size: 0.785rem;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
}

/* Attendance Pills */
.student-att-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.725rem;
  white-space: nowrap;
}

.student-att-pill.high {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.student-att-pill.mid {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.student-att-pill.low {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
}

/* Skills micro chips */
.student-skill-chip {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.08rem 0.3rem;
  border-radius: 3px;
  white-space: nowrap;
}

/* CSV Drag Dropzone */
.csv-dropzone {
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  background: #fafaf9;
  cursor: pointer;
  transition: all 0.15s ease;
}

.csv-dropzone:hover, .csv-dropzone.dragover {
  border-color: var(--hrit-burgundy-800);
  background: var(--hrit-burgundy-50);
}

.student-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.725rem;
  font-weight: 700;
}

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

.badge-unplaced {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.badge-process {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}

/* ========================================================
   NAUKRI / ATS MODERN RECRUITER WORKSPACE STYLES
   ======================================================== */
.naukri-header-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.naukri-funnel-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-bottom: 1.75rem;
}

.naukri-funnel-step {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.naukri-funnel-step:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 18px -3px rgba(15, 23, 42, 0.08);
}

.funnel-step-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.funnel-step-icon.blue { background: #eff6ff; color: #2563eb; }
.funnel-step-icon.amber { background: #fffbeb; color: #d97706; }
.funnel-step-icon.emerald { background: #ecfdf5; color: #059669; }
.funnel-step-icon.burgundy { background: #fdf2f2; color: #60060f; }

.funnel-badge-pill {
  font-size: 0.695rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  letter-spacing: -0.01em;
  font-family: 'Inter', -apple-system, sans-serif;
}

.funnel-badge-pill.pill-blue { background: #eff6ff; color: #1d4ed8; border: 1px solid #dbeafe; }
.funnel-badge-pill.pill-amber { background: #fffbeb; color: #b45309; border: 1px solid #fef3c7; }
.funnel-badge-pill.pill-emerald { background: #ecfdf5; color: #047857; border: 1px solid #d1fae5; }
.funnel-badge-pill.pill-burgundy { background: #fdf2f2; color: #60060f; border: 1px solid #fee2e2; }

.funnel-step-val {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  font-family: 'Inter', -apple-system, sans-serif;
  letter-spacing: -0.025em;
  margin-top: 0.35rem;
  margin-bottom: 0.25rem;
}

.funnel-step-lbl {
  font-size: 0.84rem;
  color: #1e293b;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-family: 'Inter', -apple-system, sans-serif;
}

.funnel-step-sub {
  font-size: 0.725rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 0.25rem;
  font-family: 'Inter', -apple-system, sans-serif;
}

/* Naukri Job / Drive Card */
.naukri-drive-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.35rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}

.naukri-drive-card:hover {
  border-color: var(--hrit-burgundy-600);
  box-shadow: 0 8px 20px -4px rgba(96, 6, 15, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  transform: translateY(-2px);
}

.naukri-drive-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.naukri-company-branding {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.naukri-monogram {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
  background: #ffffff;
  overflow: hidden;
  padding: 3px;
}

.naukri-monogram img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.naukri-monogram svg {
  width: 100%;
  height: 100%;
  display: block;
}

.naukri-company-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hrit-burgundy-900);
  line-height: 1.25;
}

.naukri-company-subtitle {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 1px;
}

.naukri-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.1rem 0;
  padding: 0.75rem 0;
  border-top: 1px dashed var(--border-light);
  border-bottom: 1px dashed var(--border-light);
}

.naukri-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #374151;
  background: #f8fafc;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.naukri-ats-pipeline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.ats-metric-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.ats-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.775rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
}

.ats-metric-pill.highlight {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.ats-metric-pill.success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.ats-metric-pill.blue {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.ats-open-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--hrit-burgundy-800);
  background: var(--hrit-burgundy-50);
  border: 1px solid var(--hrit-burgundy-200);
  padding: 0.45rem 1rem;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.naukri-drive-card:hover .ats-open-cta {
  background: var(--hrit-burgundy-800);
  color: #ffffff;
  border-color: var(--hrit-burgundy-800);
}

/* Company Dedicated Workspace Details */
.company-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.company-breadcrumb a {
  color: var(--hrit-burgundy-800);
  text-decoration: none;
  font-weight: 600;
}

.company-hero-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.company-tabs-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.company-tab-btn {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: -2px;
}

.company-tab-btn:hover {
  color: var(--hrit-burgundy-800);
}

.company-tab-btn.active {
  color: var(--hrit-burgundy-800);
  border-bottom-color: var(--hrit-burgundy-800);
}

/* Candidate Action Pill */
.candidate-action-btn {
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-size: 0.725rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

@media (max-width: 900px) {
  .naukri-funnel-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .naukri-funnel-container {
    grid-template-columns: 1fr;
  }
}

/* Candidate ATS Pipeline & Drawer Enhancements */
#companyApplicantsTableBody tr {
  transition: background-color 0.15s ease;
}
#companyApplicantsTableBody tr:hover {
  background-color: #fdf8f9;
}


/* ========================================================
   STUDENT DASHBOARD BANGER REVAMP STYLES
   ======================================================== */

.student-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

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

.student-welcome-card {
  background: linear-gradient(135deg, #ffffff 0%, #fdf8f9 100%);
  border: 1.5px solid #fecdd3;
  border-radius: var(--radius-xl);
  padding: 1.65rem 1.75rem;
  box-shadow: 0 4px 16px rgba(96, 6, 15, 0.05);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.student-welcome-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(194, 148, 59, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-avatar-box {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 3px solid var(--hrit-gold-500);
  box-shadow: 0 4px 12px rgba(96, 6, 15, 0.2);
  overflow: hidden;
  flex-shrink: 0;
  background: #fdf2f4;
}

.hero-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-info-wrap {
  flex: 1;
}

.hero-greeting {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-submeta {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.725rem;
  font-weight: 700;
}

.hero-pill-verified {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.hero-pill-cgpa {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.hero-pill-resume {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.student-announcement-card {
  background: linear-gradient(135deg, var(--hrit-burgundy-900) 0%, #1f0205 100%);
  border-radius: var(--radius-xl);
  padding: 1.65rem 1.75rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(96, 6, 15, 0.25);
  border: 1.5px solid rgba(194, 148, 59, 0.3);
  position: relative;
  overflow: hidden;
}

.student-announcement-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 85% 20%, rgba(194, 148, 59, 0.25) 0%, transparent 55%),
              radial-gradient(circle at 15% 85%, rgba(239, 68, 68, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

/* KPI Counter Bar */
.student-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 900px) {
  .student-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .student-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.kpi-metric-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
}

.kpi-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-color: var(--hrit-burgundy-300);
}

.kpi-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.kpi-icon-burgundy { background: #fdf2f4; color: var(--hrit-burgundy-800); border: 1px solid #fecdd3; }
.kpi-icon-blue { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.kpi-icon-green { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.kpi-icon-gold { background: #fefce8; color: #ca8a04; border: 1px solid #fef08a; }

.kpi-number {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.kpi-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2px;
}

.kpi-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Modern 2-Tier Toolbar Control Deck */
.drives-toolbar-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.toolbar-top-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.toolbar-search-wrap {
  flex: 1;
  position: relative;
}

.toolbar-search-input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--text-main);
  background: #f8fafc;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.toolbar-search-input:focus {
  background: #ffffff;
  border-color: var(--hrit-burgundy-800);
  box-shadow: 0 0 0 3px rgba(96, 6, 15, 0.1);
}

.toolbar-search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.toolbar-sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.sort-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
}

.sort-select {
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sort-select:focus, .sort-select:hover {
  background: #ffffff;
  border-color: var(--hrit-burgundy-800);
}

.toolbar-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid #f1f5f9;
}

.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-pill-btn {
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.775rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.filter-pill-btn:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

.filter-pill-btn.active {
  background: linear-gradient(135deg, var(--hrit-burgundy-900) 0%, #3e040a 100%);
  color: #ffffff;
  border-color: var(--hrit-burgundy-900);
  box-shadow: 0 2px 8px rgba(96, 6, 15, 0.2);
}

.filter-pill-btn.active .pill-badge-num {
  color: #fde68a;
}

.toolbar-result-count {
  font-size: 0.775rem;
  color: #64748b;
}

.toolbar-result-count strong {
  color: var(--hrit-burgundy-900);
  font-weight: 800;
}

/* Enhanced Drive Card Logo */
.drive-card-logo-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.drive-card-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* High Package / Special Badges */
.badge-ctc-pill {
  background: linear-gradient(135deg, rgba(96, 6, 15, 0.08) 0%, rgba(194, 148, 59, 0.12) 100%);
  border: 1px solid rgba(96, 6, 15, 0.2);
  color: var(--hrit-burgundy-900);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* JD Details Modal Styling */
.jd-modal-container {
  background: #ffffff;
  width: 92%;
  max-width: 820px;
  max-height: 90vh;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.jd-modal-header {
  padding: 1.25rem 1.75rem;
  background: linear-gradient(135deg, #60060f 0%, #1f0205 100%);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #c2943b;
}

.jd-modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  flex: 1;
}

.jd-modal-footer {
  padding: 1.15rem 1.75rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Stepper / Timeline for My Applications */
.stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 1.25rem 0 0.5rem 0;
  padding: 0 1rem;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  text-align: center;
}

.stepper-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.725rem;
  font-weight: 800;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-bottom: 0.35rem;
}

.stepper-step.completed .stepper-dot {
  background: #10b981;
  color: #ffffff;
}

.stepper-step.active .stepper-dot {
  background: var(--hrit-burgundy-800);
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(96, 6, 15, 0.2);
}

.stepper-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
}

.stepper-step.active .stepper-label {
  color: var(--hrit-burgundy-800);
  font-weight: 800;
}

.stepper-step.completed .stepper-label {
  color: #047857;
}

.stepper-line {
  position: absolute;
  top: 13px;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
}


/* Announcement Carousel / Deadline Slider */
.announcement-slider {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 165px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.announcement-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.announcement-slide.active {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 1;
  animation: slideFadeIn 0.35s ease forwards;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}

.slider-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  position: relative;
  z-index: 5;
}

.slider-dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-dot.active {
  background: var(--hrit-gold-500);
  width: 18px;
  border-radius: 4px;
}

.slider-nav-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.15s ease;
}

.slider-nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--hrit-gold-500);
}


/* ========================================================
   WORKSHOPS & CIRCULARS TAB (TAB 3)
   ======================================================== */
.notices-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.notices-filter-bar::-webkit-scrollbar {
  height: 4px;
}

.notices-filter-bar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.filter-pill-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.filter-pill-btn:hover {
  border-color: var(--hrit-burgundy-800);
  color: var(--hrit-burgundy-900);
  background: #fff8f8;
  transform: translateY(-1px);
}

.filter-pill-btn.active {
  background: var(--hrit-burgundy-800);
  border-color: var(--hrit-burgundy-800);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(96, 6, 15, 0.25);
}

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

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

.workshop-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.workshop-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px rgba(96, 6, 15, 0.08);
}

.workshop-card.pinned-notice {
  border-left: 4.5px solid var(--hrit-gold-500);
}

.workshop-card-inner {
  display: flex;
  gap: 1.15rem;
  padding: 1.25rem 1.35rem;
  align-items: flex-start;
  height: 100%;
}

.notice-date-tile {
  width: 64px;
  min-width: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.notice-date-month {
  display: block;
  background: var(--hrit-burgundy-800);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.notice-date-day {
  display: block;
  font-size: 1.45rem;
  font-weight: 900;
  color: #0f172a;
  padding: 0.3rem 0;
  line-height: 1.1;
  font-family: 'Inter', -apple-system, sans-serif;
}

.notice-date-year {
  display: block;
  font-size: 0.65rem;
  color: #64748b;
  font-weight: 600;
  padding-bottom: 0.35rem;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
}

.notice-date-tile.date-urgent .notice-date-month {
  background: #dc2626;
}

.notice-date-tile.date-workshop .notice-date-month {
  background: #0284c7;
}

.notice-main-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.notice-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.notice-category-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cat-compliance {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.cat-workshop {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.cat-event {
  background: #fefce8;
  color: #854d0e;
  border: 1px solid #fef08a;
}

.notice-priority-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 12px;
  letter-spacing: 0.03em;
}

.prio-urgent {
  background: #fee2e2;
  color: #b91c1c;
}

.prio-high {
  background: #fef3c7;
  color: #92400e;
}

.prio-med {
  background: #f1f5f9;
  color: #475569;
}

.notice-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0;
}

.notice-signatory-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #64748b;
}

.notice-desc-text {
  font-size: 0.825rem;
  color: #334155;
  line-height: 1.55;
  margin: 0;
}

.notice-zoom-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.zoom-creds {
  font-size: 0.75rem;
  color: #166534;
}

.btn-zoom {
  background: #15803d;
  color: #ffffff !important;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(21, 128, 61, 0.25);
  transition: all 0.2s ease;
}

.btn-zoom:hover {
  background: #166534;
  transform: translateY(-1px);
}

.notice-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #e2e8f0;
  padding-top: 0.5rem;
  margin-top: 0.25rem;
}

.notice-stamp-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: #047857;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ========================================================
   DIGITAL ADMIT PASS MODAL (AADHAAR / SMART CARD LUXURY STYLE)
   ======================================================== */
.pass-modal-wrapper {
  max-width: 800px;
  width: 100%;
  position: relative;
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 94vh;
  overflow-y: auto;
  padding: 0.5rem;
}

.modal-overlay.active .pass-modal-wrapper {
  transform: scale(1);
}

/* Top Action Bar Above Pass */
.pass-actions-topbar {
  background: linear-gradient(135deg, #1f0205 0%, #3d050a 100%);
  border: 1px solid rgba(194, 148, 59, 0.4);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.pass-action-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.925rem;
}

.live-pass-status-pill {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid #10b981;
  color: #a7f3d0;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.04em;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.pass-action-btns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pass-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pass-close-btn:hover {
  background: rgba(239, 68, 68, 0.85);
  border-color: #ef4444;
}

/* SMART ADMIT CARD CONTAINER (Aadhaar & Official Smart Hall Ticket) */
.smart-admit-card {
  background: #ffffff;
  background-image: 
    radial-gradient(#f1f5f9 1.5px, transparent 1.5px),
    linear-gradient(to bottom, #ffffff 0%, #fffcf8 100%);
  background-size: 20px 20px, 100% 100%;
  border: 3px solid #60060f;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(194, 148, 59, 0.5);
  overflow: hidden;
  position: relative;
  page-break-inside: avoid;
}

/* Header with HRIT Emblem & CDC Directorate */
.smart-card-header {
  background: linear-gradient(135deg, #1f0205 0%, #3f050b 50%, #60060f 100%);
  color: #ffffff;
  padding: 1.15rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--hrit-gold-500);
  position: relative;
}

.smart-card-header::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at right center, rgba(194, 148, 59, 0.18), transparent 70%);
  pointer-events: none;
}

.sc-header-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  z-index: 1;
}

.sc-uni-logo {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #ffffff;
  padding: 3px;
  border: 2px solid var(--hrit-gold-500);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  object-fit: contain;
}

.sc-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sc-uni-name {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.sc-dept-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: #fce7b2;
  letter-spacing: 0.05em;
  margin: 0;
  text-transform: uppercase;
}

.sc-doc-title {
  display: inline-block;
  background: rgba(194, 148, 59, 0.28);
  border: 1px solid var(--hrit-gold-500);
  color: #ffe8b5;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
  margin-top: 2px;
  align-self: flex-start;
}

.sc-header-right {
  z-index: 1;
}

.sc-govt-seal {
  background: rgba(255, 255, 255, 0.09);
  border: 1.5px solid rgba(194, 148, 59, 0.6);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  text-align: center;
  color: #fce7b2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.15);
}

.sc-govt-seal span {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.sc-govt-seal strong {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
}

/* Security Hologram Ribbon */
.sc-security-ribbon {
  background: linear-gradient(90deg, #996515 0%, #daa520 20%, #ffe082 40%, #ffd700 60%, #b8860b 80%, #996515 100%);
  color: #1f0205;
  padding: 0.3rem 1rem;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid #b8860b;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.7), inset 0 -1px 2px rgba(0,0,0,0.25);
  white-space: nowrap;
  overflow: hidden;
}

/* Card Body */
.smart-card-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.35rem;
  padding: 1.35rem 1.45rem;
  background: #ffffff;
  position: relative;
}

@media (max-width: 640px) {
  .smart-card-body {
    grid-template-columns: 1fr;
  }
}

/* Candidate Photo Column */
.sc-student-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
}

.sc-photo-wrapper {
  position: relative;
  width: 130px;
  height: 152px;
  border-radius: 8px;
  overflow: hidden;
  border: 2.5px solid var(--hrit-gold-500);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: #f8fafc;
}

.sc-candidate-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sc-photo-stamp {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) rotate(-6deg);
  background: rgba(96, 6, 15, 0.92);
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid #ffd700;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.sc-roll-box {
  background: #1f0205;
  color: #ffffff;
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  width: 100%;
  text-align: center;
  border: 1px solid var(--hrit-gold-500);
}

.sc-roll-label {
  display: block;
  font-size: 0.62rem;
  color: #fce7b2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.sc-roll-value {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.06em;
}

.sc-academic-badge {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  width: 100%;
}

/* Recruitment Details & Grid */
.sc-details-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sc-info-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.15rem;
  margin-bottom: 0.85rem;
}

.sc-data-field {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sc-data-field.full-width {
  grid-column: 1 / -1;
}

.sc-field-lbl {
  font-size: 0.66rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sc-field-val {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

.sc-field-val.highlight-name {
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--hrit-burgundy-900);
  letter-spacing: 0.01em;
}

.sc-field-val.highlight-company {
  color: #0f172a;
  font-weight: 800;
}

.sc-field-val.highlight-venue {
  color: #065f46;
  font-weight: 800;
  background: #f0fdf4;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  border-left: 3px solid #10b981;
}

/* Verification Strip: Barcode + Scannable QR */
.sc-verification-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.65rem 0.95rem;
  margin-top: 0.4rem;
}

.sc-barcode-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sc-barcode-svg {
  width: 100%;
  height: 32px;
  max-width: 280px;
}

.sc-pass-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--hrit-burgundy-900);
  letter-spacing: 0.08em;
}

.sc-sha-hash {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: #64748b;
  letter-spacing: 0.04em;
}

.sc-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  flex-shrink: 0;
}

.sc-qr-svg {
  width: 68px;
  height: 68px;
  background: #ffffff;
  padding: 3px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

.sc-qr-caption {
  font-size: 0.58rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Card Footer: Protocol + Seal + Signatory */
.smart-card-footer {
  background: #fffcf8;
  border-top: 1.5px solid #fed7aa;
  padding: 0.85rem 1.45rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.sc-footer-left {
  flex: 1;
}

.sc-instruction-note {
  font-size: 0.72rem;
  color: #78350f;
  line-height: 1.45;
  margin: 0;
}

.sc-instruction-note strong {
  color: #9a3412;
  font-weight: 800;
}

.sc-footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Authentic Red University Rubber Seal */
.sc-official-seal {
  flex-shrink: 0;
}

.sc-seal-circle {
  width: 66px;
  height: 66px;
  border: 2px dashed #dc2626;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-10deg);
  color: #dc2626;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.25);
  background: rgba(254, 242, 242, 0.7);
  user-select: none;
}

.sc-seal-circle span {
  font-size: 0.52rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

.sc-seal-circle strong {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 2px 0;
  border-top: 1px solid #dc2626;
  border-bottom: 1px solid #dc2626;
  padding: 1px 0;
  width: 90%;
  text-align: center;
}

/* Authorized Signatory */
.sc-signatory-box {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.sc-sign-line {
  font-family: 'Brush Script MT', 'Dancing Script', cursive, serif;
  font-size: 1.35rem;
  color: #1e3a8a;
  line-height: 1;
  font-weight: 600;
  transform: rotate(-3deg);
  margin-bottom: 3px;
}

.sc-sign-title {
  font-size: 0.62rem;
  color: #475569;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-top: 1px solid #cbd5e1;
  padding-top: 2px;
  display: inline-block;
}

/* ========================================================
   COMPREHENSIVE RESPONSIVE ENGINE (MOBILE & TABLET ADAPTATION)
   Zero overflow, pristine alignment, touch-friendly UI
   ======================================================== */

/* 1. Global Viewport & Resets */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
}

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

/* 2. Global Notification Strip & Topbar */
@media (max-width: 860px) {
  .top-notice-strip {
    padding: 0.35rem 0.75rem;
    font-size: 0.68rem;
  }
  .top-notice-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
  }
  .strip-item:nth-child(2) {
    display: none;
  }
  .topbar-inner {
    padding: 0.65rem 0.85rem;
    gap: 0.5rem;
  }
  .brand-logo {
    height: 38px;
  }
  .brand-divider {
    height: 28px;
  }
  .brand-text h1 {
    font-size: 0.95rem;
  }
  .brand-text h1 span {
    font-size: 0.72rem;
    padding: 0.1rem 0.35rem;
  }
  .brand-text p {
    font-size: 0.65rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 600px) {
  .top-notice-strip {
    display: none; /* Hide top advisory on small mobile to maximize vertical workspace */
  }
  .topbar-inner {
    padding: 0.45rem 0.65rem;
    gap: 0.35rem;
  }
  .brand-wrapper {
    gap: 0.45rem;
    min-width: 0;
  }
  .brand-logo {
    height: 30px;
    flex-shrink: 0;
  }
  .brand-divider {
    display: none;
  }
  .brand-text h1 {
    font-size: 0.8rem;
    gap: 0.3rem;
    white-space: nowrap;
  }
  .brand-text h1 span {
    font-size: 0.62rem;
    padding: 0.08rem 0.28rem;
  }
  .brand-text p {
    display: none;
  }
  .topbar-actions {
    gap: 0.35rem;
    flex-shrink: 0;
  }
  .user-profile-badge {
    padding: 0.2rem 0.35rem;
  }
  .user-avatar {
    width: 30px !important;
    height: 30px !important;
  }
  .user-details {
    display: none;
  }
  .user-profile-badge > div:last-child {
    display: none !important;
  }
  .btn-logout {
    padding: 0.3rem 0.5rem;
    font-size: 0.72rem;
    gap: 0.25rem;
  }
  .btn-logout svg {
    width: 13px;
    height: 13px;
  }
  .main-container {
    padding: 1rem 0.75rem 2.5rem !important;
  }
}

/* 3. Student Dashboard Components */
@media (max-width: 992px) {
  .student-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
}

@media (max-width: 640px) {
  .student-welcome-card {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 1rem;
    gap: 0.75rem;
  }
  .hero-avatar-box {
    margin: 0 auto;
    width: 68px;
    height: 68px;
  }
  .hero-info-wrap {
    text-align: center;
  }
  .hero-greeting {
    font-size: 1.1rem;
  }
  .student-announcement-card {
    padding: 1.15rem 1rem;
  }
  .announcement-slide h3 {
    font-size: 1rem !important;
  }
  
  /* Segmented Nav Tabs */
  .tabs-nav {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-wrap: nowrap;
    padding: 0.3rem;
    border-radius: 12px;
    scrollbar-width: none;
    gap: 0.35rem;
  }
  .tabs-nav::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    flex: 0 0 auto;
    padding: 0.55rem 0.85rem;
    font-size: 0.785rem;
    gap: 0.4rem;
  }
  .tab-btn svg {
    width: 15px;
    height: 15px;
  }
  
  /* Drives Toolbar & Filters */
  .drives-toolbar-card {
    padding: 0.85rem 0.95rem;
  }
  .toolbar-top-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .toolbar-search-wrap {
    width: 100%;
  }
  .toolbar-sort-wrap {
    width: 100%;
    justify-content: space-between;
  }
  .sort-select {
    flex: 1;
    font-size: 0.775rem;
  }
  .toolbar-bottom-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .filter-pills-row {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
    width: 100%;
    gap: 0.35rem;
  }
  .filter-pills-row::-webkit-scrollbar {
    display: none;
  }
  .filter-pill-btn {
    flex: 0 0 auto;
    font-size: 0.725rem;
    padding: 0.35rem 0.65rem;
  }
  .toolbar-result-count {
    text-align: right;
    font-size: 0.75rem;
  }

  /* Drive Cards */
  .drives-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .drive-card {
    padding: 1.1rem;
  }
  .drive-meta-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem;
  }
  .drive-actions-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  .drive-actions-row button,
  .drive-actions-row a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Stepper / Timeline for My Applications */
  .stepper-row {
    padding: 0 0.15rem;
    margin: 0.85rem 0 0.4rem 0;
  }
  .stepper-dot {
    width: 22px;
    height: 22px;
    font-size: 0.65rem;
  }
  .stepper-line {
    top: 11px;
    left: 1rem;
    right: 1rem;
  }
  .stepper-label {
    font-size: 0.58rem;
    max-width: 52px;
    line-height: 1.15;
    word-break: break-word;
  }

  /* Workshops & Circulars */
  .workshops-grid {
    grid-template-columns: 1fr !important;
  }
  .workshop-card-inner {
    padding: 1rem;
    gap: 0.85rem;
  }
  .notice-date-tile {
    width: 52px;
    min-width: 52px;
  }
}

/* 4. Digital Admit Pass Modal (Aadhaar / Smart Card Style) */
@media (max-width: 640px) {
  .pass-modal-wrapper {
    width: 95% !important;
    max-width: 100% !important;
    padding: 0.25rem !important;
    margin: 0 auto !important;
    max-height: 96vh !important;
    overflow-y: auto !important;
  }
  .pass-actions-topbar {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    gap: 0.65rem !important;
    padding: 0.65rem 0.85rem !important;
  }
  .pass-action-title {
    justify-content: space-between !important;
    font-size: 0.825rem !important;
  }
  .pass-action-btns {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    width: 100% !important;
  }
  .pass-action-btns .btn {
    flex: 1 1 auto !important;
    font-size: 0.725rem !important;
    padding: 0.42rem 0.6rem !important;
    justify-content: center !important;
  }
  
  /* Smart Admit Card Header */
  .smart-card-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.75rem !important;
    padding: 0.85rem 1rem !important;
  }
  .sc-header-left {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.5rem !important;
  }
  .sc-header-text {
    align-items: center !important;
    text-align: center !important;
  }
  .sc-uni-name {
    font-size: 1rem !important;
    text-align: center !important;
  }
  .sc-dept-name {
    font-size: 0.62rem !important;
    text-align: center !important;
  }
  .sc-doc-title {
    align-self: center !important;
  }
  .sc-govt-seal {
    width: 100% !important;
    max-width: 240px !important;
    margin: 0 auto !important;
  }
  
  /* Smart Admit Card Body */
  .smart-card-body {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    padding: 1rem !important;
  }
  .sc-student-col {
    width: 100% !important;
  }
  .sc-roll-box {
    max-width: 260px !important;
  }
  .sc-academic-badge {
    max-width: 260px !important;
  }
  .sc-info-row-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }
  
  /* Scannable Strip: Barcode + Genuine QR */
  .sc-verification-strip {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.85rem !important;
    padding: 0.75rem !important;
  }
  .sc-barcode-box {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .sc-barcode-svg {
    max-width: 240px !important;
    margin: 0 auto !important;
  }
  .sc-pass-id,
  .sc-sha-hash {
    text-align: center !important;
    word-break: break-all !important;
  }
  
  /* Smart Admit Card Footer */
  .smart-card-footer {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.85rem !important;
    padding: 0.85rem 1rem !important;
  }
  .sc-footer-left {
    text-align: center !important;
  }
  .sc-footer-right {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.85rem !important;
    width: 100% !important;
  }
  .sc-official-seal {
    margin: 0 auto !important;
  }
  .sc-signatory-box {
    align-items: center !important;
    text-align: center !important;
  }
}

/* 5. Student Profile Page & Form Grids */
@media (max-width: 640px) {
  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .form-section-card {
    padding: 1.15rem 1rem !important;
  }
  .photo-preview-wrap {
    width: 68px;
    height: 68px;
  }
}

/* 6. Admin Console Responsiveness */
@media (max-width: 860px) {
  .admin-sub-header {
    top: 0;
  }
  .admin-nav-bar {
    padding: 0 0.75rem;
    gap: 0.5rem;
  }
  .admin-nav-actions {
    display: none !important;
  }
  .admin-tabs-list {
    gap: 0.15rem;
  }
  .admin-tab-btn {
    padding: 0 0.55rem;
    font-size: 0.775rem;
    gap: 0.35rem;
  }
  
  /* Admin Funnels & Stat Cards */
  .pipeline-funnel-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
  }
  .naukri-funnel-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
  }

  /* Admin Command Toolbars */
  .pipeline-command-toolbar,
  .drives-command-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    padding: 0.85rem !important;
  }
  .toolbar-left,
  .toolbar-right {
    width: 100% !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }
  .toolbar-select {
    flex: 1 1 calc(50% - 0.5rem) !important;
    min-width: 120px !important;
    width: auto !important;
  }
  .toolbar-search-wrapper,
  .toolbar-search-wrap {
    width: 100% !important;
    flex: 1 1 100% !important;
  }
  .toolbar-search-input {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .pipeline-funnel-container,
  .naukri-funnel-container {
    grid-template-columns: 1fr !important;
  }
}

/* Responsive Table Containers for ATS Pipeline & Student Directory */
.table-responsive {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}

.enterprise-pipeline-table,
.enterprise-students-table,
.data-table {
  min-width: 860px !important;
}

/* Lab 121 Scanner Desk Mobile Layout */
@media (max-width: 640px) {
  .scanner-container-card {
    padding: 1.15rem 1rem !important;
  }
  .scanner-input-wrap {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }
  .scanner-input {
    width: 100% !important;
    min-width: 0 !important;
  }
  .scanner-input-wrap .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .camera-scanner-viewport {
    height: 240px !important;
    max-width: 100% !important;
  }
  .scanner-dossier-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .scanner-academic-marks-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.4rem !important;
  }
}

/* Universal Modals Mobile Layout */
@media (max-width: 640px) {
  .modal-overlay {
    padding: 0.5rem !important;
  }
  .modal-box {
    width: 95% !important;
    max-width: 100% !important;
    padding: 1.15rem 1rem !important;
    margin: 0.5rem auto !important;
    max-height: 94vh !important;
    overflow-y: auto !important;
  }
  .modal-box .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .modal-footer {
    flex-direction: column-reverse !important;
    gap: 0.5rem !important;
  }
  .modal-footer .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ========================================================
   HIGH FIDELITY PRINT & PDF RULES (A4 FORMAT)
   ======================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 10mm;
  }

  /* Hide everything outside #passModal so zero extra blank pages exist */
  body > *:not(#passModal) {
    display: none !important;
  }

  html, body {
    background: #ffffff !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    overflow: visible !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Flatten modal container for clean document printing */
  #passModal {
    position: static !important;
    display: block !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
  }

  .pass-modal-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    overflow: visible !important;
    box-shadow: none !important;
  }

  /* Hide action buttons in printed card */
  .pass-actions-topbar {
    display: none !important;
  }

  /* Perfectly Centered Official Smart Card on A4 Sheet */
  #printableSmartCard {
    width: 720px !important;
    max-width: 720px !important;
    margin: 20px auto !important;
    box-shadow: none !important;
    border: 2.5px solid #60060f !important;
    page-break-inside: avoid !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    display: block !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}
