/* ==========================================================================
   Eduhub Learning - Examination & Hall Ticket Portal
   Theme: Delhi University (UoD) / Samarth eGov Academic Interface
   Design System: Refined Institutional Slate & Academic Navy, Zero Emojis
   ========================================================================== */

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

@font-face {
  font-family: 'Blode Starkly';
  src: url('../fonts/BlodeStarkly.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Institutional Academic Color Palette (Delhi University / Samarth Style) */
  --academic-navy-dark: #0b192c;
  --academic-navy: #0f1e36;
  --academic-blue: #1e3a8a;
  --primary-blue: #1d4ed8;
  --accent-blue: #2563eb;
  --light-blue-bg: #eff6ff;
  
  --bg-page: #f8fafc;
  --card-bg: #ffffff;
  --card-header-bg: #f8fafc;
  
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-color: #cbd5e1;
  --border-light: #e2e8f0;
  --border-focus: #1e3a8a;
  
  --success-green: #15803d;
  --success-bg: #f0fdf4;
  --success-border: #86efac;
  
  --danger-red: #b91c1c;
  --danger-bg: #fef2f2;
  --danger-border: #fca5a5;
  
  --warning-amber: #b45309;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;
  
  /* DU Standard Shadows & Radii */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* Accessibility Font Scalability */
html {
  font-size: 14px;
}

html.font-size-sm {
  font-size: 12.5px;
}

html.font-size-lg {
  font-size: 15.5px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   1. Academic Top Info Bar (DU Samarth Accessibility Header)
   ========================================================================== */

.academic-info-bar {
  background-color: var(--academic-navy-dark);
  color: #cbd5e1;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0;
}

.info-bar-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.info-bar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.info-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.info-badge svg {
  color: #60a5fa;
}

.info-notice {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 500;
}

.info-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.accessibility-controls {
  display: flex;
  align-items: center;
  gap: 3px;
}

.ctrl-label {
  font-size: 0.74rem;
  color: #94a3b8;
  margin-right: 4px;
}

.btn-text-size {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  width: 24px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-text-size:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.btn-text-size.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #ffffff;
}

.info-divider {
  color: #475569;
  font-size: 0.75rem;
}

.info-helpline {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
}

.info-helpline:hover {
  color: #60a5fa;
}

/* ==========================================================================
   2. Main Navigation Bar (Clean DU White Institutional Header)
   ========================================================================== */

.top-navbar {
  background: #ffffff;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 0;
}

.brand-header-img {
  height: 38px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
  transition: opacity 0.15s ease;
}

.brand-header-img:hover {
  opacity: 0.92;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@media (max-width: 640px) {
  .brand-header-img {
    height: 30px;
    max-width: 180px;
  }
}

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

.nav-link-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.nav-link-item:hover {
  background: #f1f5f9;
  color: var(--primary-blue);
}

.btn-nav {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  line-height: 1.2;
}

.btn-nav-outline {
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  background: #ffffff;
}

.btn-nav-outline:hover {
  background: #f8fafc;
  border-color: var(--text-muted);
  color: var(--text-main);
}

.btn-nav-primary {
  background: var(--academic-navy);
  color: #ffffff;
  border: 1px solid var(--academic-navy);
}

.btn-nav-primary:hover {
  background: var(--academic-blue);
  border-color: var(--academic-blue);
}

/* ==========================================================================
   3. Dedicated Directory & Breadcrumb Navigation Bar
   ========================================================================== */

.portal-directory-bar {
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-light);
  padding: 0.45rem 0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.dir-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dir-crumbs {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
}

.dir-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 2px 4px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-color);
  margin-right: 2px;
}

.dir-mini-logo {
  height: 20px;
  width: auto;
  object-fit: contain;
  display: block;
}

.dir-crumb-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.dir-crumb-link:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.dir-separator {
  color: var(--text-light);
  font-size: 0.85rem;
}

.dir-crumb-parent {
  color: var(--text-muted);
  font-weight: 500;
}

.dir-crumb-current {
  color: var(--text-main);
  font-weight: 700;
}

.dir-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.dir-quick-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  transition: all 0.15s ease;
}

.dir-quick-link:hover {
  color: var(--primary-blue);
  background: rgba(255, 255, 255, 0.7);
}

.dir-organizer-link {
  color: var(--academic-navy);
  font-weight: 700;
}

/* ==========================================================================
   4. Academic Exam Banner (Fixed Height Responsive Container with tilte_bg.jpg and title_text.png)
   ========================================================================== */

.exam-hero-banner {
  width: 100%;
  background-color: #25100b;
  background-image: url('../images/tilte_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 0;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  /* Laptop / Desktop Default Fixed Height */
  height: 155px;
  padding: 0.65rem 1.5rem;
}

.exam-hero-banner-frame {
  width: 100%;
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-banner-highlight-img {
  max-height: 85%;
  width: auto;
  max-width: 92%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
  transition: transform 0.2s ease, max-height 0.2s ease;
}

/* Tablet Banner Dimensions (641px - 1023px) */
@media (max-width: 1023px) {
  .exam-hero-banner {
    height: 120px;
    padding: 0.5rem 1rem;
  }
  .hero-banner-highlight-img {
    max-height: 82%;
    max-width: 94%;
  }
}

/* Mobile Banner Dimensions (<= 640px) */
@media (max-width: 640px) {
  .exam-hero-banner {
    height: 85px;
    padding: 0.35rem 0.5rem;
  }
  .hero-banner-highlight-img {
    max-height: 82%;
    max-width: 96%;
  }
}

/* ==========================================================================
   5. Main Content Container & Alerts
   ========================================================================== */

.main-container {
  max-width: 1040px;
  width: 100%;
  margin: 2rem auto;
  padding: 0 1.25rem;
  flex: 1;
}

.system-messages-wrapper {
  margin-bottom: 1.5rem;
}

.notice-box {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.84rem;
  line-height: 1.45;
  border: 1px solid transparent;
}

.notice-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.notice-box-info {
  background: var(--light-blue-bg);
  border-color: #bfdbfe;
  color: #1e3a8a;
}

.notice-box-success {
  background: var(--success-bg);
  border-color: var(--success-border);
  color: #166534;
}

.notice-box-error {
  background: var(--danger-bg);
  border-color: var(--danger-border);
  color: #991b1b;
}

/* ==========================================================================
   6. Wizard Card & Stepper (Academic Admission Form Layout)
   ========================================================================== */

.wizard-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.wizard-header {
  background: #f8fafc;
  padding: 1.25rem 1.5rem 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 0.5rem;
}

.stepper::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.stepper-progress-fill {
  position: absolute;
  top: 16px;
  left: 20px;
  height: 2px;
  background: var(--academic-navy);
  z-index: 2;
  transition: width 0.3s ease;
}

.step-item {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20%;
  text-align: center;
  cursor: pointer;
}

.step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
}

.step-item.active .step-badge {
  border-color: var(--academic-navy);
  background: var(--academic-navy);
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 30, 54, 0.15);
}

.step-item.completed .step-badge {
  border-color: var(--success-green);
  background: var(--success-green);
  color: #ffffff;
}

.step-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.step-item.active .step-label {
  color: var(--academic-navy);
  font-weight: 700;
}

.step-item.completed .step-label {
  color: var(--success-green);
}

/* ==========================================================================
   7. Form Steps, Panels & Grid
   ========================================================================== */

.step-panel {
  display: none;
  padding: 1.75rem 2rem;
  animation: fadeIn 0.25s ease-in-out;
}

.step-panel.active {
  display: block;
}

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

.step-title-area {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.step-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--academic-navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-heading-icon {
  width: 26px;
  height: 26px;
  background: #f1f5f9;
  color: var(--academic-navy);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-heading-icon svg {
  width: 14px;
  height: 14px;
}

.step-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

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

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .form-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 1.15rem;
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

/* ==========================================================================
   8. Input Controls & Academic Form Styling
   ========================================================================== */

label.form-label,
label.field-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

label.form-label .required-star,
label.field-label.required::after {
  content: " *";
  color: var(--danger-red);
}

.input-field,
.select-field {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  font-family: inherit;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-main);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}

.input-field:focus,
.select-field:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(15, 30, 54, 0.12);
}

.input-field.font-mono {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.03em;
}

.input-field-disabled {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  background: #f1f5f9;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: not-allowed;
  font-weight: 600;
}

.uppercase-clean {
  text-transform: uppercase;
}

.field-hint,
.field-help {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  display: block;
}

.phone-input-wrapper {
  display: flex;
  align-items: stretch;
}

.phone-prefix-badge {
  background: #f1f5f9;
  color: var(--text-main);
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-right: none;
  border-top-left-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
}

.phone-input-wrapper .input-field {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.radio-group-horizontal {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.35rem;
}

.radio-pill-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.15s ease;
  user-select: none;
}

.radio-pill-label:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.radio-pill-label input[type="radio"]:checked + span,
.radio-pill-label.checked {
  color: var(--academic-navy);
  font-weight: 700;
}

.radio-pill-label input[type="radio"] {
  accent-color: var(--academic-navy);
  width: 16px;
  height: 16px;
}

/* Exam Center Option Cards */
.center-option-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #ffffff;
}

.center-option-card:hover {
  border-color: var(--academic-blue);
  background: #f8fafc;
}

.center-option-card.selected {
  border-color: var(--academic-navy);
  background: #f0f7ff;
  box-shadow: 0 0 0 2px rgba(15, 30, 54, 0.12);
}

.center-option-card input[type="radio"] {
  margin-top: 0.25rem;
  accent-color: var(--academic-navy);
  width: 18px;
  height: 18px;
}

.center-card-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--academic-navy);
}

.center-card-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Photo Upload / Camera Widget */
.photo-upload-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #f8fafc;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .photo-upload-container {
    flex-direction: row;
    text-align: left;
    align-items: center;
  }
}

.photo-preview-box {
  width: 130px;
  height: 160px;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.photo-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-light);
  font-size: 0.74rem;
  gap: 0.35rem;
}

.photo-upload-controls {
  flex: 1;
}

.btn-file-upload {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--academic-navy);
  color: #ffffff;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background 0.15s;
  border: none;
}

.btn-file-upload:hover {
  background: var(--academic-blue);
}

#other_school_box {
  display: none;
  margin-top: 0.65rem;
  animation: fadeIn 0.2s ease;
}

.error-text {
  color: var(--danger-red);
  font-size: 0.76rem;
  font-weight: 600;
  margin-top: 0.25rem;
  display: none;
}

.form-group.has-error .error-text {
  display: block;
}

.form-group.has-error .input-field,
.form-group.has-error .select-field {
  border-color: var(--danger-red);
  background-color: #fffbfa;
}

/* ==========================================================================
   9. Wizard Footer & Action Buttons
   ========================================================================== */

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

.btn-wizard {
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: none;
  letter-spacing: 0.02em;
}

.btn-prev {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.btn-prev:hover {
  background: #f1f5f9;
  color: var(--text-main);
  border-color: var(--text-muted);
}

.btn-next {
  background: var(--academic-navy);
  color: #ffffff;
}

.btn-next:hover {
  background: var(--academic-blue);
}

.btn-submit {
  background: var(--success-green);
  color: #ffffff;
}

.btn-submit:hover {
  background: #166534;
}

/* ==========================================================================
   10. Step 5: Verification Ledger
   ========================================================================== */

.verification-notice-banner {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--academic-navy);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-xs);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.verification-notice-banner svg {
  color: var(--academic-navy);
  flex-shrink: 0;
  margin-top: 2px;
}

.verification-notice-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--academic-navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.verification-notice-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.review-card-section {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.review-card-header {
  background: #f8fafc;
  padding: 0.65rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.review-card-header h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--academic-navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-edit-step {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--academic-navy);
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.btn-edit-step:hover {
  background: var(--academic-navy);
  color: #ffffff;
  border-color: var(--academic-navy);
}

.verification-table {
  width: 100%;
  border-collapse: collapse;
}

.verification-table tr {
  border-bottom: 1px solid #f1f5f9;
}

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

.verification-table td {
  padding: 0.65rem 1rem;
  vertical-align: middle;
  font-size: 0.85rem;
}

.v-label {
  width: 32%;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #fafafa;
  border-right: 1px solid #f1f5f9;
}

.v-val {
  color: var(--text-main);
  font-weight: 500;
}

.v-val-highlight {
  color: var(--academic-navy);
  font-weight: 700;
}

.v-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.v-badge-blue {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.v-badge-green {
  background: var(--success-bg);
  color: var(--success-green);
  border: 1px solid var(--success-border);
}

.photo-summary-container {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem;
}

.photo-summary-frame {
  width: 100px;
  height: 125px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

.photo-summary-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   11. Submission Loading Overlay
   ========================================================================== */

.submission-loading-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(2px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.2s ease-out;
}

.loading-modal-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.loading-spinner-rings {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 4px solid #e2e8f0;
  border-top-color: var(--academic-navy);
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1.25rem auto;
}

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

.loading-modal-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--academic-navy);
  margin-bottom: 0.35rem;
}

.loading-modal-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   12. Academic Login & Admission Portal Two-Column Layout (DU Style)
   ========================================================================== */

.du-portal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 860px) {
  .du-portal-grid {
    grid-template-columns: 1.15fr 1fr;
  }
}

.du-bulletin-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.du-bulletin-header {
  background: var(--academic-navy);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.du-bulletin-body {
  padding: 1.25rem;
}

.bulletin-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bulletin-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-secondary);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.bulletin-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bulletin-item svg {
  color: var(--academic-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   13. Site Footer
   ========================================================================== */

.site-footer {
  background: var(--academic-navy-dark);
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
  font-size: 0.82rem;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem 1.25rem 1.25rem;
}

.footer-top-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.5rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .footer-top-row {
    grid-template-columns: 1.8fr 1fr 1.2fr;
  }
}

.footer-logo-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.85rem;
}

.footer-brand-header-img {
  height: 38px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
}

.footer-desc {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #94a3b8;
}

.footer-links-col h4 {
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links-col a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.15s;
}

.footer-links-col a:hover {
  color: #60a5fa;
}

.footer-links-col li {
  font-size: 0.8rem;
  color: #cbd5e1;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #64748b;
}

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

/* ==========================================================================
   HOME PAGE STYLING: 2 Primary Navigations & Academic Hub
   ========================================================================== */

.home-portal-wrapper {
  margin-top: 1rem;
  margin-bottom: 3rem;
}

/* Announcement Ticker */
.portal-alert-ticker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 4px solid var(--primary-blue);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-xs);
  font-size: 0.88rem;
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #eff6ff;
  color: #1e40af;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  white-space: nowrap;
}

.ticker-content {
  flex: 1;
  color: var(--text-secondary);
}

.ticker-content strong {
  color: var(--text-main);
}

.ticker-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.82rem;
}

.ticker-phone-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   2 Primary Navigation Cards (Directly Under Title Banner)
   ========================================================================== */

.home-nav-section {
  margin-bottom: 2.25rem;
}

.home-nav-hub {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .home-nav-hub {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

.home-nav-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-nav-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  border-color: #94a3b8;
}

.card-accent-strip {
  height: 5px;
  width: 100%;
}

.reg-strip {
  background: linear-gradient(90deg, #15803d 0%, #16a34a 50%, #22c55e 100%);
}

.login-strip {
  background: linear-gradient(90deg, #0f1e36 0%, #1e3a8a 50%, #2563eb 100%);
}

.home-nav-card-inner {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.home-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.home-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}

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

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

.home-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reg-icon-bg {
  background-color: #f0fdf4;
  color: #15803d;
  border: 1px solid #dcfce7;
}

.login-icon-bg {
  background-color: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
}

.home-card-title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--academic-navy-dark);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.home-card-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.home-card-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.home-card-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.home-card-checklist li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.home-card-checklist li strong {
  color: var(--text-main);
}

.home-card-action {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.btn-home-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-home-register {
  background: linear-gradient(135deg, #166534 0%, #15803d 100%);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(21, 128, 61, 0.2);
}

.btn-home-register:hover {
  background: linear-gradient(135deg, #14532d 0%, #166534 100%);
  box-shadow: 0 4px 8px rgba(21, 128, 61, 0.3);
  transform: translateY(-1px);
}

.btn-home-login {
  background: linear-gradient(135deg, #0f1e36 0%, #1e3a8a 100%);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(15, 30, 54, 0.25);
}

.btn-home-login:hover {
  background: linear-gradient(135deg, #0b172a 0%, #172554 100%);
  box-shadow: 0 4px 8px rgba(15, 30, 54, 0.35);
  transform: translateY(-1px);
}

.home-action-hint {
  font-size: 0.74rem;
  color: var(--text-light);
  text-align: center;
}

/* ==========================================================================
   Examination Details & Info Grid
   ========================================================================== */

.home-details-section {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
}

.home-section-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.home-section-title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--academic-navy-dark);
  margin-bottom: 0.25rem;
}

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

.home-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .home-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .home-info-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.home-info-box {
  background-color: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
}

.info-box-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e2e8f0;
}

.info-box-icon {
  width: 32px;
  height: 32px;
  background-color: #eff6ff;
  color: #1d4ed8;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-box-header h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--academic-navy);
}

.info-box-body {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.pattern-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pattern-item strong {
  color: var(--text-main);
  font-size: 0.84rem;
}

.pattern-item span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.pattern-note {
  margin-top: auto;
  font-size: 0.75rem;
  color: #64748b;
  background-color: #ffffff;
  padding: 0.45rem 0.65rem;
  border-radius: 4px;
  border: 1px dashed #cbd5e1;
}

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

.center-tag {
  background-color: #0f1e36;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  white-space: nowrap;
  margin-top: 1px;
}

.center-item strong {
  color: var(--text-main);
  display: block;
}

.center-item p {
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 0.35rem;
}

.sched-label {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.sched-val {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.8rem;
}

.support-intro {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.support-contact-block {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.support-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.support-phone:hover {
  text-decoration: underline;
}

.support-timings {
  font-size: 0.72rem;
  color: #64748b;
}

.support-quick-links {
  margin-top: auto;
}

.quick-link-item {
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

.quick-link-item:hover {
  text-decoration: underline;
}

/* ==========================================================================
   CANDIDATE INSTRUCTION POPUP MODAL (Dark Blue Box with White Text)
   ========================================================================== */

/* Fullscreen Backdrop */
.instruction-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(11, 25, 44, 0.82);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.instruction-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

body.modal-scroll-lock {
  overflow: hidden !important;
}

.instruction-modal-dialog {
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

/* The Dark Blue Box with White Text */
.instruction-modal-box {
  background-color: #0f1e36; /* Deep Dark Blue Box */
  color: #ffffff;             /* Crisp White Text */
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
  animation: modalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalPopIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Modal Header: Dark Blue with White Text */
.modal-box-header {
  background-color: #0b172a;
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.modal-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  border: 1px solid rgba(147, 197, 253, 0.3);
  margin-bottom: 0.4rem;
}

.modal-title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.modal-subtitle {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.btn-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

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

/* Modal Scrollable Body: Pure White Text on Dark Blue */
.modal-box-body {
  padding: 1.5rem;
  overflow-y: auto;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  line-height: 1.55;
  font-size: 0.88rem;
}

/* Custom Scrollbar for Modal Body */
.modal-box-body::-webkit-scrollbar {
  width: 7px;
}

.modal-box-body::-webkit-scrollbar-track {
  background: rgba(11, 23, 42, 0.6);
}

.modal-box-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.modal-box-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

.instruction-block {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.15rem;
}

.block-title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.block-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.block-title-row h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.block-list {
  padding-left: 1.25rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: #e2e8f0;
}

.block-list li {
  line-height: 1.5;
}

.block-list strong {
  color: #ffffff;
  font-weight: 600;
}

.highlight-inline {
  color: #fde047;
  font-style: normal;
  font-weight: 500;
  background: rgba(253, 224, 71, 0.12);
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  display: inline-block;
  margin-top: 0.25rem;
}

.center-choice-callout {
  margin-top: 0.5rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0.75rem;
  font-size: 0.84rem;
  color: #cbd5e1;
}

.steps-flow-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.step-pill {
  background-color: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(147, 197, 253, 0.3);
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  font-size: 0.76rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.step-pill strong {
  color: #93c5fd;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.step-pill span {
  color: #ffffff;
  font-weight: 500;
}

.step-arrow {
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Modal Footer: Agreement Checkbox & Proceed Action */
.modal-box-footer {
  background-color: #0b172a;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-agreement-row {
  background-color: rgba(30, 58, 138, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 6px;
  padding: 0.75rem 1rem;
}

.modal-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.custom-modal-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-box-visual {
  width: 20px;
  height: 20px;
  border: 2px solid #93c5fd;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.15s ease;
}

.checkbox-box-visual svg {
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.15s ease;
  color: #ffffff;
}

.custom-modal-checkbox:checked + .checkbox-box-visual {
  background-color: #2563eb;
  border-color: #60a5fa;
}

.custom-modal-checkbox:checked + .checkbox-box-visual svg {
  opacity: 1;
  transform: scale(1);
}

.agreement-text {
  font-size: 0.84rem;
  color: #f1f5f9;
  line-height: 1.45;
  font-weight: 500;
}

.modal-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-modal-cancel {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-modal-cancel:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.btn-modal-proceed {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-modal-proceed:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5);
  transform: translateY(-1px);
}

.btn-modal-proceed.is-highlighted {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

.btn-modal-proceed[disabled],
.btn-modal-proceed.is-disabled {
  opacity: 0.45;
  cursor: not-allowed !important;
  pointer-events: none !important;
  filter: grayscale(0.6);
  box-shadow: none !important;
  transform: none !important;
}

/* ==========================================================================
   Base Responsive Helper Classes
.nav-text-full {
  display: inline;
}
.nav-text-mob {
  display: none;
}
.step-label-full {
  display: inline;
}
.step-label-mob {
  display: none;
}
.mobile-step-pill-banner {
  display: none;
}
.dob-select-group {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}
.select-dob-day {
  flex: 1;
}
.select-dob-month {
  flex: 1.2;
}
.select-dob-year {
  flex: 1.2;
}
.gender-category-row {
  display: flex;
  gap: 1rem;
}
.form-group-gender {
  flex: 1;
}
.form-group-category {
  flex: 1.2;
}

/* ==========================================================================
   MULTI-DEVICE RESPONSIVE PADDING & SPACING ARCHITECTURE
   Tailored separately for:
   1. Laptop & Desktop (min-width: 1024px)
   2. Tablet Devices (min-width: 641px and max-width: 1023px)
   3. Mobile Phones (max-width: 640px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. LAPTOP & DESKTOP (min-width: 1024px)
   Spacious, breathable academic padding with multi-column alignment
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .academic-info-bar {
    padding: 0.35rem 0;
  }
  .info-bar-container {
    padding: 0 1.5rem;
  }
  .top-navbar {
    padding: 0;
  }
  .nav-container {
    padding: 0.75rem 1.5rem;
  }
  .portal-directory-bar {
    padding: 0.45rem 0;
  }
  .dir-container {
    padding: 0 1.5rem;
  }
  .main-container {
    max-width: 1140px;
    padding: 0 1.5rem;
    margin: 1.75rem auto 3rem;
  }
  .home-portal-wrapper {
    margin-top: 1rem;
    margin-bottom: 3.5rem;
  }
  .home-nav-hub {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
  .home-nav-card-inner {
    padding: 1.85rem;
  }
  .home-details-section {
    padding: 1.85rem;
  }
  .home-info-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
  .wizard-card {
    border-radius: 10px;
  }
  .wizard-header {
    padding: 1.35rem 2rem 1rem;
  }
  .step-panel {
    padding: 2rem 2.25rem;
  }
  .wizard-footer {
    padding: 1.25rem 2.25rem;
  }
  .du-portal-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 1.75rem;
  }
  .du-bulletin-header,
  .du-login-card-header {
    padding: 0.85rem 1.5rem;
  }
  .du-bulletin-body,
  .du-login-card-inner {
    padding: 1.5rem;
  }
  .instruction-modal-dialog {
    max-width: 820px;
    max-height: 85vh;
  }
  .modal-box-header {
    padding: 1.35rem 1.75rem;
  }
  .modal-box-body {
    padding: 1.75rem;
    gap: 1.25rem;
  }
  .modal-box-footer {
    padding: 1.25rem 1.75rem;
  }
  .site-footer {
    padding: 2.5rem 1.5rem 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   2. TABLET DEVICES (min-width: 641px and max-width: 1023px)
   Balanced touch-ergonomic padding, fluid 2-column grids
   -------------------------------------------------------------------------- */
@media (min-width: 641px) and (max-width: 1023px) {
  .academic-info-bar {
    padding: 0.35rem 0;
  }
  .info-bar-container {
    padding: 0 1.25rem;
  }
  .info-notice {
    font-size: 0.78rem;
  }
  .nav-container {
    padding: 0.65rem 1.25rem;
  }
  .brand-header-img {
    height: 34px;
    max-width: 210px;
  }
  .dir-container {
    padding: 0 1.25rem;
  }
  .main-container {
    max-width: 100%;
    padding: 0 1.25rem;
    margin: 1.25rem auto 2.5rem;
  }
  .home-portal-wrapper {
    margin-top: 0.75rem;
    margin-bottom: 2.5rem;
  }
  .portal-alert-ticker {
    padding: 0.65rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.84rem;
  }
  .home-nav-hub {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  .home-nav-card-inner {
    padding: 1.35rem 1.2rem;
  }
  .home-card-title {
    font-size: 1.3rem;
  }
  .home-card-subtitle {
    font-size: 0.84rem;
    margin-bottom: 1rem;
  }
  .home-card-checklist {
    gap: 0.55rem;
    margin-bottom: 1.25rem;
  }
  .home-details-section {
    padding: 1.35rem;
  }
  .home-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .home-info-box {
    padding: 1rem;
  }
  .wizard-header {
    padding: 1rem 1.25rem 0.75rem;
  }
  .step-panel {
    padding: 1.5rem 1.5rem;
  }
  .wizard-footer {
    padding: 1rem 1.5rem;
  }
  .du-portal-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .instruction-modal-dialog {
    max-width: 740px;
    max-height: 88vh;
  }
  .modal-box-header {
    padding: 1.15rem 1.35rem;
  }
  .modal-box-body {
    padding: 1.35rem;
    gap: 1rem;
  }
  .modal-box-footer {
    padding: 1.15rem 1.35rem;
  }
  .site-footer {
    padding: 2rem 1.25rem 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   3. MOBILE PHONES (max-width: 640px)
   Full-width touch optimization, compact headers, edge-to-edge comfort, zero overflow
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .academic-info-bar {
    padding: 0.35rem 0.5rem;
  }
  .info-bar-container {
    padding: 0 0.5rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
  }
  .info-bar-left {
    justify-content: center;
    font-size: 0.72rem;
  }
  .info-bar-right {
    justify-content: center;
    font-size: 0.72rem;
    gap: 0.5rem;
  }
  .accessibility-controls {
    display: none; /* Hide font resize buttons on mobile to save precious vertical space */
  }
  .info-divider {
    display: none;
  }
  .top-navbar {
    padding: 0;
  }
  .nav-container {
    padding: 0.5rem 0.75rem;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: space-between;
  }
  .brand-header-img {
    height: 28px;
    max-width: 160px;
  }
  .nav-actions {
    gap: 0.3rem;
  }
  .nav-link-item {
    padding: 0.35rem 0.5rem;
    font-size: 0.78rem;
  }
  .nav-link-item span {
    display: none; /* Icon-only on mobile */
  }
  .nav-text-full {
    display: none;
  }
  .nav-text-mob {
    display: inline;
  }
  .btn-nav {
    padding: 0.35rem 0.65rem;
    font-size: 0.76rem;
    gap: 4px;
    border-radius: var(--radius-xs);
  }
  .btn-nav svg {
    width: 13px;
    height: 13px;
  }
  .portal-directory-bar {
    padding: 0.35rem 0;
  }
  .dir-container {
    padding: 0 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
  .dir-crumbs {
    font-size: 0.72rem;
    flex-wrap: wrap;
    gap: 0.2rem;
  }
  .dir-links {
    display: none; /* Secondary links hidden on mobile to avoid clutter */
  }
  .main-container {
    max-width: 100%;
    padding: 0 0.75rem;
    margin: 0.85rem auto 2rem;
  }
  .portal-alert-ticker {
    padding: 0.65rem 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .ticker-badge {
    padding: 0.15rem 0.45rem;
    font-size: 0.68rem;
  }
  .ticker-phone-link {
    font-size: 0.78rem;
  }
  .home-portal-wrapper {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
  }
  .home-nav-section {
    margin-bottom: 1.5rem;
  }
  .home-nav-hub {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .home-nav-card-inner {
    padding: 1.15rem 0.95rem;
  }
  .home-card-header {
    margin-bottom: 0.75rem;
  }
  .home-badge {
    font-size: 0.66rem;
    padding: 0.2rem 0.45rem;
  }
  .home-card-icon {
    width: 36px;
    height: 36px;
  }
  .home-card-icon svg {
    width: 20px;
    height: 20px;
  }
  .home-card-title {
    font-size: 1.22rem;
    margin-bottom: 0.25rem;
  }
  .home-card-subtitle {
    font-size: 0.8rem;
    margin-bottom: 0.85rem;
  }
  .home-card-checklist {
    gap: 0.5rem;
    margin-bottom: 1.15rem;
  }
  .home-card-checklist li {
    font-size: 0.8rem;
    line-height: 1.35;
  }
  .btn-home-action {
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    width: 100%;
    justify-content: center;
  }
  .home-details-section {
    padding: 1.15rem 0.85rem;
    margin-bottom: 1.5rem;
  }
  .home-section-header {
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
  }
  .home-section-title {
    font-size: 1.1rem;
  }
  .home-section-desc {
    font-size: 0.78rem;
  }
  .home-info-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .home-info-box {
    padding: 0.85rem;
  }
  .info-box-header {
    margin-bottom: 0.65rem;
    padding-bottom: 0.5rem;
  }
  .info-box-header h4 {
    font-size: 0.86rem;
  }
  .info-box-body {
    font-size: 0.78rem;
  }
  
  /* Wizard Form Mobile Optimizations */
  .wizard-card {
    border-radius: 8px;
    margin: 0;
  }
  .wizard-header {
    padding: 0.85rem 0.75rem 0.65rem;
  }
  .stepper {
    margin-bottom: 0.25rem;
  }
  .stepper::before,
  .stepper-progress-fill {
    top: 14px;
    left: 14px;
    right: 14px;
  }
  .step-badge {
    width: 26px;
    height: 26px;
    font-size: 0.72rem;
  }
  .step-label {
    font-size: 0.62rem;
    letter-spacing: 0;
    line-height: 1.15;
    margin-top: 0.25rem;
    max-width: 58px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .step-label-full {
    display: none;
  }
  .step-label-mob {
    display: inline;
  }
  .mobile-step-pill-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 4px 12px;
    margin: 8px auto 0;
    width: fit-content;
    box-shadow: var(--shadow-xs);
  }
  .mobile-step-num-badge {
    background: var(--academic-navy);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .mobile-step-name-text {
    color: var(--academic-navy-dark);
    font-size: 0.78rem;
    font-weight: 700;
  }
  .step-panel {
    padding: 1.15rem 0.85rem;
  }
  .step-title-area {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
  }
  .step-heading {
    font-size: 1rem;
    line-height: 1.25;
  }
  .step-subtext {
    font-size: 0.74rem;
  }
  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .form-group {
    margin-bottom: 0.85rem;
  }
  .dob-select-group {
    gap: 0.35rem;
  }
  .gender-category-row {
    flex-direction: column;
    gap: 0.85rem;
  }
  .form-group-gender,
  .form-group-category {
    flex: none;
    width: 100%;
  }
  label.form-label,
  label.field-label {
    font-size: 0.72rem;
    margin-bottom: 0.25rem;
  }
  .input-field,
  .select-field,
  select,
  input[type="text"],
  input[type="tel"],
  input[type="email"] {
    padding: 0.55rem 0.65rem;
    font-size: 16px !important;
  }
  .radio-group-horizontal {
    gap: 0.65rem;
    flex-wrap: wrap;
  }
  .radio-pill-label {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
  }
  .center-option-card {
    padding: 0.75rem 0.85rem;
    gap: 0.65rem;
  }
  .photo-upload-container {
    padding: 0.85rem;
    gap: 0.85rem;
    flex-direction: column;
  }
  .photo-preview-box {
    width: 110px;
    height: 135px;
  }
  .wizard-footer {
    padding: 0.75rem 0.85rem;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .btn-wizard {
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
  }

  /* Candidate Login Mobile Optimizations */
  .du-portal-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .du-bulletin-header,
  .du-login-card-header {
    padding: 0.65rem 0.85rem;
    font-size: 0.8rem;
  }
  .du-bulletin-body {
    padding: 0.85rem 0.75rem;
  }
  .bulletin-item {
    padding-bottom: 0.6rem;
    font-size: 0.78rem;
    gap: 0.5rem;
  }
  .du-login-card-inner {
    padding: 1.15rem 0.85rem;
  }

  /* Dark Blue Instruction Modal Mobile Optimizations */
  .instruction-modal-backdrop {
    padding: 0.5rem;
  }
  .instruction-modal-dialog {
    max-width: 98vw;
    max-height: 94vh;
    margin: 0;
  }
  .instruction-modal-box {
    border-radius: 8px;
    max-height: 94vh;
  }
  .modal-box-header {
    padding: 0.85rem 0.85rem;
    gap: 0.5rem;
  }
  .modal-header-badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
  }
  .modal-title {
    font-size: 1.05rem;
  }
  .modal-subtitle {
    font-size: 0.76rem;
  }
  .btn-modal-close {
    width: 32px;
    height: 32px;
  }
  .modal-box-body {
    padding: 0.85rem 0.75rem;
    gap: 0.85rem;
    font-size: 0.8rem;
  }
  .instruction-block {
    padding: 0.85rem 0.65rem;
  }
  .block-title-row h3 {
    font-size: 0.88rem;
  }
  .block-list {
    padding-left: 1rem;
    gap: 0.45rem;
    font-size: 0.78rem;
  }
  .steps-flow-row {
    gap: 0.35rem;
  }
  .step-pill {
    padding: 0.3rem 0.45rem;
    font-size: 0.7rem;
  }
  .modal-box-footer {
    padding: 0.85rem 0.75rem;
    gap: 0.75rem;
  }
  .agreement-text {
    font-size: 0.76rem;
  }
  .modal-footer-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  .btn-modal-proceed {
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
  }
  .btn-modal-cancel {
    width: 100%;
    justify-content: center;
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 1.5rem 0.75rem 1rem;
  }
  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .footer-brand-header-img {
    height: 30px;
    max-width: 200px;
  }
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   Discrete Staff Authentication Modal & Footer Trigger
   ========================================================================== */
.footer-staff-toggle {
  margin-left: auto;
}

.btn-staff-prompt-trigger {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.6;
}

.btn-staff-prompt-trigger:hover {
  opacity: 1;
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.staff-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.staff-modal-backdrop.is-open {
  display: flex;
}

.staff-modal-box {
  background: #ffffff;
  border-radius: 12px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
  border: 1px solid #cbd5e1;
  overflow: hidden;
  animation: staffModalPop 0.2s ease-out;
}

@keyframes staffModalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.staff-modal-header {
  background: linear-gradient(135deg, #0b192c 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.staff-modal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.staff-modal-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.15s;
}

.staff-modal-close:hover {
  color: #ffffff;
}

.staff-modal-body {
  padding: 1.25rem;
  color: #334155;
}

.staff-modal-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #64748b;
  margin: 0;
}

.staff-modal-footer {
  padding: 0.85rem 1.25rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.btn-staff-submit {
  background: #1e3a8a;
  color: #ffffff;
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-staff-submit:hover {
  background: #1d4ed8;
}

/* ==========================================================================
   Homepage Dynamic Ticker / Marquee Banner (Slim Sleek Bar Beneath Title Banner)
   ========================================================================== */
.homepage-ticker-bar {
  background: linear-gradient(90deg, #071224 0%, #0b1a38 45%, #1e3a8a 100%);
  border-top: 1px solid rgba(245, 158, 11, 0.35);
  border-bottom: 2px solid #f59e0b;
  box-shadow: 0 3px 10px rgba(7, 18, 36, 0.2);
  position: relative;
  z-index: 15;
  overflow: hidden;
  height: 30px;
  display: flex;
  align-items: center;
}

.ticker-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 0.75rem;
}

.ticker-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 1.5%, black 98.5%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 1.5%, black 98.5%, transparent 100%);
}

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

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding-right: 4rem;
}

.ticker-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.025em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

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

@media (max-width: 640px) {
  .homepage-ticker-bar {
    height: 26px;
  }
  .ticker-inner {
    padding: 0 0.5rem;
  }
  .ticker-text {
    font-size: 0.72rem;
  }
  .ticker-item {
    padding-right: 2.5rem;
  }
}

/* ==========================================================================
   Accidental Exit & Reset Confirmation Modal (Requirement 2)
   ========================================================================== */
.exit-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 25, 44, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: exitFadeIn 0.2s ease-out;
}

@keyframes exitFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.exit-modal-box {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.3), 0 10px 15px -5px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 490px;
  overflow: hidden;
  border: 1.5px solid #cbd5e1;
  animation: exitSlideUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes exitSlideUp {
  from {
    transform: translateY(18px) scale(0.97);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.exit-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1.15rem 1.4rem;
  background: #fffbeb;
  border-bottom: 1.5px solid #fde68a;
}

.exit-modal-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fef3c7;
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #fde68a;
}

.exit-modal-header h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #92400e;
  margin: 0;
}

.exit-modal-body {
  padding: 1.35rem 1.4rem;
  color: #1e293b;
}

.exit-modal-main-msg {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  margin-bottom: 0.6rem;
}

.exit-modal-sub-msg {
  font-size: 0.83rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

.exit-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 1rem 1.4rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.btn-exit-stay {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f1e36 100%);
  color: #ffffff;
  border: 1px solid #0f1e36;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 2px 4px rgba(15, 30, 54, 0.2);
  transition: all 0.2s;
}

.btn-exit-stay:hover {
  background: #0f1e36;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(15, 30, 54, 0.3);
}

.btn-exit-discard {
  background: #ffffff;
  color: #dc2626;
  border: 1px solid #fca5a5;
  padding: 0.65rem 1.1rem;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-exit-discard:hover {
  background: #fef2f2;
  border-color: #ef4444;
  color: #b91c1c;
}

@media (max-width: 480px) {
  .exit-modal-footer {
    flex-direction: column-reverse;
  }
  .btn-exit-stay, .btn-exit-discard {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Registration Closed Status Banner & Single Card Hub Layout
   ========================================================================== */
.home-nav-hub.single-card {
  max-width: 680px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

.registration-closed-hero-banner {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-left: 5px solid #b45309;
  border-radius: 8px;
  padding: 1.1rem 1.35rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.08);
}

.closed-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fef3c7;
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #fde68a;
}

.registration-closed-hero-banner h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  color: #92400e;
  margin: 0 0 0.3rem 0;
}

.registration-closed-hero-banner p {
  font-size: 0.88rem;
  color: #78350f;
  margin: 0;
  line-height: 1.5;
}




