/* ==========================================================================
   CSIR - Indian Institute of Chemical Technology (CSIR-IICT), Hyderabad
   Official Guest Houses Portal (Atithi & Abhinandan Wings) - Portal v2
   Design Architecture: National Institutional Standard (Strict Indian Govt Portal Standard)
   - Professional, authoritative, clean geometry (No childish rounded corners)
   - High accessibility for senior officials, pensioners, scientists
   - Sharp, dignified Gov of India color palette & structured typography
   ========================================================================== */

:root {
  /* Typography - Clean, highly legible institutional serif/sans pairing */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  
  /* Government & Institutional Color Hierarchy */
  --gov-navy-dark: #0a2038;     /* Deep National Blue */
  --gov-navy: #103663;          /* Official India Gov Blue */
  --gov-navy-light: #1b4d84;    /* Institutional Steel Blue */
  --gov-navy-tint: #f0f4f9;     /* Soft Gov Blue Slate */
  
  --gov-gold: #c28808;          /* National Emblem / Seal Gold */
  --gov-gold-light: #e6b744;
  --gov-gold-bg: #fffbf0;
  --gov-gold-border: #e8d39e;

  --gov-saffron: #cf5e06;       /* Tricolor Saffron Tone */
  --gov-saffron-light: #ee822f;       /* Tricolor Saffron Tone */
  --gov-green: #116c35;         /* Official Tricolor Forest Green */
  --gov-green-bg: #edf7f0;
  --gov-green-border: #a5d6b4;

  /* Text & Contrast (WCAG AAA Compliance for Senior Readability) */
  --text-dark: #0f172a;         /* Deep Slate Charcoal - 100% Crisp */
  --text-main: #27303f;         /* Crisp reading body text */
  --text-muted: #556274;        /* Legible secondary text */
  --text-light: #768396;
  
  /* Institutional Structure - Formal, Dignified, Zero Childish Rounding */
  --bg-page: #f1f4f8;           /* Formal Government Portal background */
  --bg-card: #ffffff;
  --bg-muted: #e6ebf1;
  --bg-subtle: #f8fafc;
  
  --border-color: #cbd5e1;
  --border-strong: #94a3b8;
  --border-gov: #103663;
  
  /* Strict Institutional Borders (No large radius) */
  --radius-none: 0px;
  --radius-xs: 2px;
  --radius-sm: 3px;
  --radius-md: 4px;             /* Maximum border-radius for form inputs / buttons */
  
  /* Subtle, crisp shadows (No soft, hazy, toy-like floating shadows) */
  --shadow-flat: none;
  --shadow-border: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 1px 3px rgba(10, 32, 56, 0.07);
  --shadow-elevated: 0 4px 12px rgba(10, 32, 56, 0.15);
  
  --top-bar-height: 38px;
}

/* ==========================================================================
   Base Setup & Senior Citizen Font Scaling
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px; /* Generous, clear institutional baseline */
  scroll-behavior: smooth;
}

/* Accessible Font Resizer Modes (Enhanced for Indian Senior Pensioners) */
html.font-size-sm { font-size: 16px; }
html.font-size-md { font-size: 18px; }
html.font-size-lg { font-size: 20px; }
html.font-size-xl { font-size: 22px; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--gov-navy-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

a {
  color: var(--gov-navy-light);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--gov-navy-dark);
  text-decoration: underline;
}

/* Container */
.container {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Utility Flex / Spacing */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.block { display: block; }
.hidden { display: none !important; }

.m-0 { margin: 0 !important; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }

.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-8 { padding-top: 1.75rem; padding-bottom: 1.75rem; }

.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-xs { font-size: 0.8125rem; }
.text-sm { font-size: 0.9375rem; }
.text-base { font-size: 1.0625rem; }
.text-lg { font-size: 1.25rem; }
.text-xl { font-size: 1.45rem; }
.text-2xl { font-size: 1.75rem; }

.text-dark { color: var(--text-dark); }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--gov-navy); }
.text-success { color: var(--gov-green); }
.text-danger { color: #b91c1c; }
.text-white { color: #ffffff; }

/* Grid helpers */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ==========================================================================
   Government Header & Institutional Banner (National Web Standard)
   ========================================================================== */

/* Top National Identity Bar */
.gov-top-bar {
  background-color: #f8fafc;
  border-bottom: 1px solid #d5dde5;
  color: #1e293b;
  font-size: 0.8125rem;
  line-height: 1.3;
}

.gov-top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gov-identity-strip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.gov-tricolor-flag {
  display: inline-flex;
  flex-direction: column;
  width: 15px;
  height: 11px;
  border: 1px solid rgba(0,0,0,0.2);
  flex-shrink: 0;
}
.gov-tricolor-flag span:nth-child(1) { height: 3.6px; background: #FF9933; }
.gov-tricolor-flag span:nth-child(2) { height: 3.6px; background: #FFFFFF; }
.gov-tricolor-flag span:nth-child(3) { height: 3.6px; background: #138808; }

.gov-lang-title {
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.02em;
}

/* Accessibility Control Panel (Clear, Accessible Buttons for Pensioners) */
.gov-accessibility-panel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gov-panel-label {
  font-weight: 700;
  color: var(--gov-navy-dark);
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.resizer-group {
  display: inline-flex;
  border: 1.5px solid #64748b;
  background-color: #ffffff;
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.resizer-btn {
  background: #ffffff;
  border: none;
  border-right: 1px solid #cbd5e1;
  padding: 0.2rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--gov-navy-dark);
  cursor: pointer;
  min-width: 36px;
  min-height: 30px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.resizer-btn:last-child {
  border-right: none;
}

.resizer-btn:hover {
  background-color: #e2e8f0;
}

.resizer-btn.active {
  background-color: var(--gov-navy);
  color: #ffffff;
}

#btn-font-sm { font-size: 0.75rem; }
#btn-font-md { font-size: 0.875rem; }
#btn-font-lg { font-size: 1rem; }
#btn-font-xl { font-size: 1.125rem; font-weight: 900; }

/* Primary Header */
.site-header {
  background-color: #ffffff;
  border-bottom: 2px solid var(--gov-navy);
  padding: 0.75rem 0;
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.header-branding {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex: 1;
  min-width: 0;
}

.institute-logo-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-right: 1rem;
  border-right: 1.5px solid #cbd5e1;
  flex-shrink: 0;
}

.institute-logo-box img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.institute-logo-divider {
  width: 1px;
  height: 42px;
  background-color: #cbd5e1;
}

.institute-titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ministry-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gov-saffron);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.1rem;
  line-height: 1.2;
}

.ministry-title-hindi {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gov-saffron-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.1rem;
  line-height: 1.2;
}

.institute-name {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gov-navy-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.institute-council {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gov-navy-light);
  margin-top: 0.1rem;
  line-height: 1.2;
}

.institute-address {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.1rem;
  line-height: 1.2;
}

.header-portal-seal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}

.portal-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: var(--gov-navy-tint);
  border: 1px solid #bfdbfe;
  color: var(--gov-navy-dark);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.portal-helpline-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

/* ==========================================================================
   National Institutional Navigation Bar (Strict Horizontal Gov Style)
   ========================================================================== */

.main-nav {
  background-color: var(--gov-navy-dark);
  border-bottom: 3px solid var(--gov-gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex: 1;
  min-width: 0;
  /* flex-wrap: wrap; */
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  color: #f1f5f9;
  font-size: 0.85rem;
  font-weight: 700;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}

.nav-links a:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-links a:hover,
.nav-links a.active {
  background-color: var(--gov-navy);
  color: #ffffff;
  text-decoration: none;
}

.nav-links a.active {
  border-bottom: 3px solid var(--gov-gold);
  margin-bottom: -3px;
  background-color: rgba(255,255,255,0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  flex-shrink: 0;
}

.nav-btn-booking {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #fde047 0%, #fbbf24 100%);
  color: #061527 !important;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.48rem 1.2rem;
  border-radius: var(--radius-xs);
  border: 1.5px solid #fef08a;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.45);
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.nav-btn-booking:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #fbbf24 100%);
  color: #000000 !important;
  border-color: #ffffff;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.75);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
}

/* ==========================================================================
   Notice Marquee / Bulletin Banner (Typical for Official Portals)
   ========================================================================== */

.gov-bulletin-bar {
  background-color: #fff9e6;
  border-bottom: 1px solid #f3d489;
  padding: 0.45rem 0;
  font-size: 0.8125rem;
  color: #78350f;
}

.gov-bulletin-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bulletin-badge {
  background-color: #c2410c;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.6875rem;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.bulletin-content {
  flex: 1;
  color: #78350f;
  font-weight: 600;
  line-height: 1.4;
}

/* ==========================================================================
   Formal Section Cards (Sharp, Structured Government Architecture)
   ========================================================================== */

.gov-section-card {
  background-color: var(--bg-card);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-card);
  margin-bottom: 1.75rem;
  overflow: hidden;
}

.gov-card-header {
  background-color: #f8fafc;
  border-bottom: 2px solid var(--gov-navy);
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gov-card-header-titles {
  display: flex;
  flex-direction: column;
}

.gov-section-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--gov-navy-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.gov-section-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gov-navy-dark);
  margin: 0;
  letter-spacing: -0.01em;
}

.gov-section-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  margin-bottom: 0;
}

.gov-card-body {
  padding: 1.15rem 1.25rem;
}

/* ==========================================================================
   Photo Tour & Official Facilities Carousel (Full-Width Institutional Showcase)
   ========================================================================== */

.hero-fullwidth-section {
  width: 100%;
  background-color: #081320;
  border-bottom: 3px solid var(--gov-gold);
  margin-bottom: 0;
  overflow: hidden;
}

.hero-fullwidth-header-strip {
  background-color: #f8fafc;
  border-bottom: 1px solid #cbd5e1;
  padding: 1rem 0;
}

.hero-fullwidth-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-header-titles {
  flex: 1;
  min-width: 280px;
}

.hero-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gov-navy-dark);
  margin: 0.15rem 0 0.25rem 0;
  letter-spacing: -0.01em;
}

.hero-subtext {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.hero-quick-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.hero-action-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: var(--gov-navy);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.48rem 1rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--gov-navy-dark);
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.15s;
}

.hero-action-pill-btn:hover {
  background-color: var(--gov-navy-dark);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.hero-action-pill-btn.outline {
  background-color: #ffffff;
  color: var(--gov-navy-dark) !important;
  border: 1px solid #94a3b8;
}

.hero-action-pill-btn.outline:hover {
  background-color: #f1f5f9;
  border-color: var(--gov-navy);
}

.hero-carousel-wrapper {
  background-color: #0b1523;
  width: 100%;
}

.hero-carousel-bleed {
  border-top: none;
  border-bottom: 1px solid #1e293b;
}

.carousel-stage {
  position: relative;
  background-color: #060d17;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}

.carousel-stage.fullwidth-stage {
  height: calc(100vh - 150px);
  max-height: 780px;
  min-height: 540px;
}

@media (max-width: 992px) {
  .carousel-stage.fullwidth-stage {
    height: 480px;
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .carousel-stage.fullwidth-stage {
    height: 340px;
    min-height: 280px;
  }
}

.carousel-slides-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Stage Header Bar */
.carousel-top-bar {
  position: absolute;
  top: 16px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  z-index: 20;
  pointer-events: none;
}

@media (min-width: 1200px) {
  .carousel-top-bar {
    max-width: 1140px;
    margin: 0 auto;
    left: 0;
    right: 0;
    padding: 0 1rem;
  }
}

.carousel-top-badge {
  background-color: rgba(10, 32, 56, 0.86);
  backdrop-filter: blur(6px);
  color: #ffffff;
  border-left: 3px solid var(--gov-gold);
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: var(--radius-xs);
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.carousel-top-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  pointer-events: auto;
  flex-wrap: wrap;
}

.gallery-filter-chips {
  display: inline-flex;
  gap: 0.3rem;
}

.filter-chip {
  background-color: rgba(10, 32, 56, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #f1f5f9;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s;
}

.filter-chip:hover {
  background-color: rgba(10, 32, 56, 0.95);
  border-color: var(--gov-gold);
  color: #ffffff;
}

.filter-chip.active {
  background-color: var(--gov-gold);
  color: #0a2038;
  border-color: var(--gov-gold);
  font-weight: 800;
}

.carousel-counter-badge {
  background-color: rgba(10, 32, 56, 0.86);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius-xs);
  letter-spacing: 0.04em;
}

.carousel-action-btn {
  background-color: rgba(10, 32, 56, 0.86);
  backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.28);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.825rem;
  transition: background-color 0.15s;
}

.carousel-action-btn:hover {
  background-color: var(--gov-navy);
  border-color: var(--gov-gold);
}

/* Arrows */
.carousel-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(10, 32, 56, 0.82);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.3);
  width: 44px;
  height: 48px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  z-index: 15;
  transition: all 0.15s;
}

.carousel-arrow-btn:hover {
  background-color: var(--gov-navy);
  border-color: var(--gov-gold);
  color: var(--gov-gold);
}

.carousel-arrow-btn.prev { left: 16px; }
.carousel-arrow-btn.next { right: 16px; }

/* Transparent Floating Bottom Bar */
.carousel-overlay {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
}

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

.carousel-caption-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background-color: rgba(8, 19, 32, 0.86);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 3px solid var(--gov-gold);
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-xs);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}

.carousel-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}

.carousel-caption-sep {
  color: var(--gov-gold);
  font-weight: 800;
  font-size: 0.85rem;
}

.carousel-meta {
  color: #e2e8f0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
}

.carousel-dots-track {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: rgba(8, 19, 32, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-xs);
  pointer-events: auto;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.85);
}

.carousel-dot.active {
  width: 22px;
  border-radius: 4px;
  background-color: var(--gov-gold);
}

@media (max-width: 576px) {
  .carousel-caption-sep,
  .carousel-meta,
  .gallery-filter-chips {
    display: none;
  }
}

/* ==========================================================================
   Hero Metrics & Institutional Highlights Strip (Direct Bridge to Content)
   ========================================================================== */

.hero-metrics-bar {
  background-color: #ffffff;
  border-top: 1px solid #cbd5e1;
  border-bottom: 2px solid #cbd5e1;
  padding: 1.15rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

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

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

.metric-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.75rem;
  border-left: 3px solid var(--gov-navy);
  background-color: #f8fafc;
  border-radius: var(--radius-xs);
}

.metric-icon {
  width: 42px;
  height: 42px;
  background-color: var(--gov-navy);
  color: var(--gov-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.metric-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.metric-title {
  font-size: 0.9125rem;
  font-weight: 800;
  color: var(--gov-navy-dark);
  line-height: 1.25;
}

.metric-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.25;
  margin-top: 0.15rem;
}

/* Prominent Booking CTA Strip Below Hero Showcase */
.hero-booking-cta-wrap {
  padding: 1.5rem 0 0.5rem 0;
}

.hero-booking-cta-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-primary-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #0a2038 0%, #163a5f 100%);
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.85rem 2.25rem;
  border-radius: var(--radius-xs);
  border: 2px solid var(--gov-gold);
  box-shadow: 0 6px 18px rgba(10, 32, 56, 0.22);
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.hero-primary-book-btn i:first-child {
  color: #fbbf24;
  font-size: 1.15rem;
}

.hero-primary-book-btn i:last-child {
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.hero-primary-book-btn:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #061527 !important;
  border-color: #0a2038;
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45);
  transform: translateY(-2px);
}

.hero-primary-book-btn:hover i:first-child {
  color: #061527;
}

.hero-primary-book-btn:hover i:last-child {
  transform: translateX(4px);
}

/* ==========================================================================
   Official Government Tariff Schedule (Standard Gazette / Office Order Table)
   ========================================================================== */

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #94a3b8;
  border-radius: var(--radius-xs);
}

.table-pricing {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
  background-color: #ffffff;
}

.table-pricing thead {
  background-color: var(--gov-navy);
  color: #ffffff;
}

.table-pricing th {
  padding: 0.75rem 0.95rem;
  font-weight: 800;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-right: 1px solid rgba(255,255,255,0.18);
  border-bottom: 2px solid var(--gov-gold);
}

.table-pricing th:last-child {
  border-right: none;
}

.table-pricing tbody tr {
  border-bottom: 1px solid #cbd5e1;
  transition: background-color 0.15s;
}

.table-pricing tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.table-pricing tbody tr:hover {
  background-color: #f1f5f9;
}

.table-pricing td {
  padding: 0.75rem 0.95rem;
  color: var(--text-dark);
  vertical-align: middle;
  border-right: 1px solid #e2e8f0;
}

.table-pricing td:last-child {
  border-right: none;
}

.table-pricing .col-single,
.table-pricing .col-double {
  text-align: right;
  font-weight: 800;
  font-size: 0.95rem;
  /* color: var(--gov-navy-dark); */
  font-variant-numeric: tabular-nums;
}

.table-pricing thead .col-single,
.table-pricing thead .col-double {
  text-align: right;
}

.tariff-note-box {
  background-color: #eff6ff;
  border-left: 4px solid var(--gov-navy);
  padding: 0.7rem 0.95rem;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: #1e3a8a;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   Key Amenities Grid (Formal Government Institutional Checklist)
   ========================================================================== */

.amenities-gov-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.85rem;
}

.amenity-gov-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.95rem;
  background-color: #f8fafc;
  border: 1px solid #d5dde5;
  border-left: 3px solid var(--gov-navy);
  border-radius: var(--radius-xs);
}

.amenity-gov-icon {
  width: 36px;
  height: 36px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--gov-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border-radius: var(--radius-xs);
}

.amenity-gov-details {
  display: flex;
  flex-direction: column;
}

.amenity-gov-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--gov-navy-dark);
}

.amenity-gov-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* ==========================================================================
   Booking Status Tracker (Official Government Reference Search)
   ========================================================================== */

.status-tracker-card {
  border-top: 3px solid var(--gov-gold);
}

.status-search-form {
  margin-top: 0.75rem;
}

.status-search-box {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--gov-navy);
  border-radius: var(--radius-xs);
  overflow: hidden;
  background-color: #ffffff;
  max-width: 640px;
}

.status-box-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  background-color: #f1f5f9;
  color: var(--gov-navy);
  font-size: 1.1rem;
  border-right: 1px solid #cbd5e1;
}

.status-search-box input {
  flex: 1;
  border: none;
  padding: 0.65rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  outline: none;
}

.status-search-box button {
  background-color: var(--gov-navy);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.15s;
}

.status-search-box button:hover {
  background-color: var(--gov-navy-dark);
}

.status-hint {
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.status-sample-chip {
  background-color: #e2e8f0;
  border: 1px solid #94a3b8;
  color: var(--gov-navy-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
}

.status-sample-chip:hover {
  background-color: #cbd5e1;
}

.status-result-card {
  margin-top: 1rem;
  background-color: #ffffff;
  border: 2px solid var(--gov-navy);
  border-radius: var(--radius-xs);
  padding: 1rem;
}

.status-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
}

.status-badge-pending {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
}

/* ==========================================================================
   Guidelines & Rules (Structured Official Gazette / Notification Style)
   ========================================================================== */

.guidelines-list {
  padding-left: 0;
  list-style: none;
  counter-reset: gov-counter;
}

.guidelines-list li {
  counter-increment: gov-counter;
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px dashed #cbd5e1;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-dark);
}

.guidelines-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.guidelines-list li::before {
  content: counter(gov-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  background-color: var(--gov-navy);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   Transit & Connectivity Grid (Formal Information Blocks)
   ========================================================================== */

.transit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.transit-card {
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-top: 3px solid var(--gov-navy);
  padding: 1rem;
  border-radius: var(--radius-xs);
}

.transit-card.air { border-top-color: #0284c7; }
.transit-card.rail { border-top-color: #b45309; }
.transit-card.road { border-top-color: #15803d; }

.transit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #e2e8f0;
}

.transit-icon-badge {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  border-radius: var(--radius-xs);
}

.transit-icon-badge.air { background-color: #e0f2fe; color: #0369a1; }
.transit-icon-badge.rail { background-color: #fef3c7; color: #b45309; }
.transit-icon-badge.road { background-color: #dcfce7; color: #15803d; }

.transit-title {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0;
}

.transit-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.transit-dist-pill {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
}

.transit-dist-pill.air { background: #e0f2fe; color: #0369a1; }
.transit-dist-pill.rail { background: #fef3c7; color: #b45309; }
.transit-dist-pill.road { background: #dcfce7; color: #15803d; }

.transit-text {
  font-size: 0.8125rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Contact Directory Grid
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1rem;
}

.contact-box {
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-top: 3px solid var(--gov-navy);
  padding: 1rem;
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

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

.contact-box-icon {
  width: 36px;
  height: 36px;
  background-color: var(--gov-navy-tint);
  border: 1px solid #bfdbfe;
  color: var(--gov-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border-radius: var(--radius-xs);
}

.contact-box-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--gov-navy-dark);
}

.contact-box-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.contact-phone-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-phone-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0.65rem;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xs);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gov-navy-dark);
  text-decoration: none;
}

.contact-phone-link:hover {
  background-color: #e2e8f0;
  text-decoration: none;
}

.contact-phone-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   National Government Official Footer
   ========================================================================== */

.site-footer {
  background-color: var(--gov-navy-dark);
  border-top: 4px solid var(--gov-gold);
  color: #cbd5e1;
  padding: 1.5rem 0;
  margin-top: auto;
  font-size: 0.8125rem;
  line-height: 1.55;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 1rem;
}

.footer-links-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links-row a {
  color: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 600;
}

.footer-links-row a:hover {
  color: #ffffff;
}

.footer-disclaimer {
  color: #94a3b8;
  font-size: 0.75rem;
}

/* ==========================================================================
   Booking Requisition Form (Professional Government Official Form Layout)
   ========================================================================== */

.gov-form-container {
  max-width: 1180px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-card);
}

.gov-form-header-banner {
  background-color: var(--gov-navy);
  color: #ffffff;
  padding: 1.15rem 1.35rem;
  border-bottom: 3px solid var(--gov-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.gov-form-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.01em;
}

.gov-form-subtitle {
  color: #cbd5e1;
  font-size: 0.8125rem;
  margin-top: 0.2rem;
}

.gov-form-body {
  padding: 1.35rem;
}

/* Alert Notification Block */
.gov-alert-banner {
  background-color: #fffbeb;
  border: 1px solid #f59e0b;
  border-left: 4px solid #b45309;
  color: #78350f;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.gov-alert-banner i {
  font-size: 1.15rem;
  color: #b45309;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* Form Section Legend */
.gov-form-section {
  margin-bottom: 1.5rem;
  background-color: #ffffff;
  border: 1px solid #d5dde5;
  border-radius: var(--radius-xs);
}

.gov-form-section-header {
  background-color: #f1f5f9;
  border-bottom: 1.5px solid #cbd5e1;
  padding: 0.65rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gov-form-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gov-navy-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gov-form-section-body {
  padding: 1rem;
}

/* Form Controls - Crisp, Square, Senior Friendly */
.form-group-block {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gov-navy-dark);
  margin-bottom: 0.25rem;
}

.form-control,
.form-select {
  width: 100%;
  min-height: 42px;
  height: 42px;
  padding: 0.5rem 0.85rem;
  font-size: 0.925rem;
  line-height: 1.4;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: #ffffff;
  border: 1.5px solid #94a3b8;
  border-radius: var(--radius-xs);
  outline: none;
  box-sizing: border-box;
  display: block;
  transition: border-color 0.15s, box-shadow 0.15s;
}

/* Ensure native calendar & time picker icons anchor to the far right */
input[type="date"].form-control,
input[type="time"].form-control {
  position: relative;
  display: block;
  width: 100%;
  padding-right: 0.85rem;
}

input[type="date"].form-control::-webkit-calendar-picker-indicator,
input[type="time"].form-control::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  padding: 4px;
  margin: 0;
  opacity: 0.75;
  transition: opacity 0.15s;
}

input[type="date"].form-control::-webkit-calendar-picker-indicator:hover,
input[type="time"].form-control::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.form-select {
  display: block;
  cursor: pointer;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 14px 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gov-navy);
  box-shadow: 0 0 0 2px rgba(16, 54, 99, 0.2);
}

.form-control::placeholder {
  color: #64748b;
  font-size: 0.875rem;
}

/* File input normalization */
input[type="file"].form-control {
  padding: 0.35rem 0.65rem;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
}

input[type="file"].form-control::file-selector-button {
  background-color: #f1f5f9;
  border: 1px solid #94a3b8;
  color: var(--gov-navy-dark);
  padding: 0.25rem 0.75rem;
  margin-right: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: background-color 0.15s;
}

input[type="file"].form-control::file-selector-button:hover {
  background-color: #e2e8f0;
}

.input-addon-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.input-addon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #f1f5f9;
  border: 1.5px solid #94a3b8;
  border-right: none;
  padding: 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gov-navy-dark);
  white-space: nowrap;
  border-radius: var(--radius-xs) 0 0 var(--radius-xs);
}

.input-addon-group .form-control {
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  flex: 1;
}

/* Applicant as Guest Checkbox Badge */
.applicant-guest-toggle-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background-color: #ffffff;
  border: 1.5px solid #64748b;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gov-navy-dark);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  user-select: none;
  transition: all 0.15s;
}

.applicant-guest-toggle-badge:hover {
  background-color: #f8fafc;
  border-color: var(--gov-navy);
}

.applicant-guest-toggle-badge input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gov-navy);
  margin: 0;
  cursor: pointer;
}

.col-span-2 {
  grid-column: span 2 / span 2;
}

.guest-header-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
}

/* 4-Column Structured Form Grid */
.applicant-grid-compact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

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

@media (max-width: 768px) {
  .gov-form-section-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.65rem !important;
  }

  .guest-header-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin-top: 0.15rem;
  }

  .applicant-guest-toggle-badge {
    font-size: 0.775rem;
    padding: 0.3rem 0.6rem;
  }

  #btnAddGuestTop {
    font-size: 0.775rem;
    padding: 0.3rem 0.65rem;
  }

  .applicant-grid-compact {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    width: 100% !important;
  }

  .applicant-grid-compact > .form-group-block,
  .applicant-grid-compact > div,
  .applicant-grid-compact .col-span-2,
  .form-group-block.col-span-2 {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .applicant-grid-compact .form-control,
  .applicant-grid-compact .form-select {
    width: 100% !important;
  }
}

/* Guest Cards - Clean Structured Ledger Box */
.guest-card {
  background-color: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-left: 4px solid var(--gov-navy);
  border-radius: var(--radius-xs);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.guest-card-header {
  background-color: #edf2f7;
  padding: 0.45rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #cbd5e1;
}

.guest-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--gov-navy-dark);
}

.guest-badge {
  background-color: var(--gov-navy);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}

.btn-remove-card {
  background: none;
  border: 1px solid #ef4444;
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
}

.btn-remove-card:hover {
  background-color: #fee2e2;
}

.guest-card-grid {
  padding: 0.75rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

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

@media (max-width: 768px) {
  .guest-card-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    width: 100% !important;
  }

  .guest-card-grid > .form-group-block,
  .guest-card-grid > div,
  .guest-card-grid .col-span-2 {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .guest-card-grid .form-control,
  .guest-card-grid .form-select {
    width: 100% !important;
  }
}

/* Standard Buttons - Crisp & Dignified */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: all 0.15s;
  text-decoration: none !important;
}

.btn-primary {
  background-color: var(--gov-navy);
  color: #ffffff;
  border-color: var(--gov-navy-dark);
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--gov-navy-dark);
  color: #ffffff;
}

.btn-primary:disabled {
  background-color: #94a3b8;
  border-color: #94a3b8;
  color: #ffffff;
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-outline {
  background-color: #ffffff;
  color: var(--gov-navy);
  border-color: #94a3b8;
}

.btn-outline:hover {
  background-color: #f1f5f9;
  border-color: var(--gov-navy);
  color: var(--gov-navy-dark);
}

.btn-block {
  width: 100%;
}

/* Terms checkbox */
.terms-card-block {
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xs);
}

.terms-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}

.terms-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--gov-navy);
  cursor: pointer;
}

.terms-link {
  color: var(--gov-navy-light);
  font-weight: 700;
  text-decoration: underline;
}

.field-error-text {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #b91c1c;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 0.3rem;
  line-height: 1.3;
}

.gov-form-error-banner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #fef2f2;
  border: 1.5px solid #ef4444;
  border-left: 4px solid #dc2626;
  color: #991b1b;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xs);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.gov-form-error-banner i {
  font-size: 1.1rem;
  color: #dc2626;
  flex-shrink: 0;
}

/* ==========================================================================
   Official Allotment Slip / Receipt Modal (Dignified Government Docket)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 32, 56, 0.75);
  backdrop-filter: blur(2px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-box {
  background-color: #ffffff;
  width: 100%;
  max-width: 740px;
  border: 2px solid var(--gov-navy);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
}

.modal-header {
  background-color: var(--gov-navy);
  color: #ffffff;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid var(--gov-gold);
}

.modal-header-icon {
  font-size: 1.35rem;
  color: var(--gov-gold-light);
}

.modal-body {
  padding: 1.15rem;
}

.receipt-ref-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.75rem;
  background-color: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-xs);
  margin-bottom: 0.85rem;
}

.receipt-label {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.confirmation-modal-wide {
  max-width: 1240px;
  width: 96%;
}

.confirmation-modal-wide .modal-header {
  padding: 0.85rem 1.25rem;
}

.confirmation-modal-wide .modal-body {
  padding: 1rem 1.25rem;
}

.receipt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.receipt-item-purpose {
  grid-column: span 3 / span 3;
}

@media (max-width: 1024px) {
  .receipt-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .receipt-item-purpose {
    grid-column: span 3 / span 3;
  }
}

@media (max-width: 768px) {
  .receipt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .receipt-item-purpose {
    grid-column: span 2 / span 2;
  }
}

@media (max-width: 500px) {
  .receipt-grid {
    grid-template-columns: 1fr;
  }
  .receipt-item-purpose {
    grid-column: span 1 / span 1;
  }
}

.receipt-item {
  background-color: #ffffff;
  border: 1.5px solid #d5dde5;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-xs);
}

.receipt-val {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 0.15rem;
  display: block;
  word-break: break-word;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(8, 20, 36, 0.94);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.lightbox-content {
  background-color: #0a2038;
  border: 2px solid var(--gov-gold);
  border-radius: var(--radius-xs);
  max-width: 880px;
  width: 100%;
  overflow: hidden;
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 70vh;
  background-color: #000000;
}

.lightbox-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.lightbox-footer {
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0a2038;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.lightbox-close-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  cursor: pointer;
}

/* Media Queries for Responsive Nav, Header, Carousel & Mobile Layout */
@media (max-width: 992px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .main-nav .container {
    padding: 0;
  }

  .nav-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0 0.5rem;
  }

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

  .nav-links a {
    flex-shrink: 0;
    padding: 0.6rem 0.75rem;
    font-size: 0.8125rem;
  }

  .nav-actions {
    width: 100%;
    padding: 0.45rem 0.75rem;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.16);
  }

  .nav-btn-booking {
    width: 100%;
    justify-content: center;
    padding: 0.52rem 1rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 768px) {
  .gov-top-bar {
    font-size: 0.72rem;
  }

  .gov-top-bar-inner {
    flex-wrap: nowrap;
    gap: 0.35rem;
    padding: 0.3rem 0;
  }

  .gov-identity-strip {
    gap: 0.35rem;
    min-width: 0;
  }

  .resizer-btn {
    min-width: 28px;
    min-height: 25px;
    padding: 0.15rem 0.4rem;
    font-size: 0.75rem;
  }

  .site-header {
    padding: 0.6rem 0;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .header-branding {
    gap: 0.65rem;
    align-items: center;
  }

  .institute-logo-box {
    gap: 0.45rem;
    padding-right: 0.6rem;
  }

  .institute-logo-box img {
    height: 42px;
  }

  .institute-logo-divider {
    height: 32px;
  }

  .ministry-title,
  .ministry-title-hindi {
    font-size: 0.65rem;
    line-height: 1.15;
  }

  .institute-council {
    font-size: 0.7rem;
  }

  .institute-name {
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .header-portal-seal {
    width: 100%;
    align-items: stretch;
  }

  .header-portal-seal > div,
  .header-portal-seal .btn {
    width: 100%;
    justify-content: center;
  }

  /* Carousel Mobile Adjustments */
  .carousel-top-bar {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .carousel-top-badge {
    padding: 0.25rem 0.6rem;
    font-size: 0.72rem;
  }

  .carousel-counter-badge {
    padding: 0.22rem 0.55rem;
    font-size: 0.68rem;
  }

  .carousel-action-btn {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .carousel-arrow-btn {
    width: 36px;
    height: 40px;
    font-size: 0.95rem;
  }

  .carousel-arrow-btn.prev { left: 8px; }
  .carousel-arrow-btn.next { right: 8px; }

  .carousel-overlay {
    bottom: 10px;
  }

  .carousel-overlay-container {
    gap: 0.5rem;
  }

  .carousel-caption-pill {
    padding: 0.3rem 0.7rem;
    gap: 0.4rem;
  }

  .carousel-title {
    font-size: 0.82rem;
  }

  .carousel-dots-track {
    padding: 0.3rem 0.5rem;
    gap: 0.28rem;
  }

  .carousel-dot {
    width: 7px;
    height: 7px;
  }

  .carousel-dot.active {
    width: 16px;
  }

  .hero-booking-cta-wrap {
    padding: 1.15rem 0 0.25rem 0;
  }

  .gov-card-header,
  .gov-card-body {
    padding: 0.85rem 0.95rem;
  }

  .gov-section-heading {
    font-size: 1.02rem;
  }
}

@media (max-width: 576px) {
  .gov-identity-strip .font-bold.text-dark {
    font-size: 0.68rem;
  }

  .institute-logo-box img {
    height: 36px;
  }

  .institute-logo-box {
    gap: 0.35rem;
    padding-right: 0.5rem;
  }

  .institute-name {
    font-size: 0.82rem;
  }

  .carousel-stage.fullwidth-stage {
    height: 260px;
    min-height: 220px;
  }

  .hero-primary-book-btn {
    width: 100%;
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
  }

  .status-search-box {
    flex-direction: column;
  }

  .status-box-icon {
    display: none;
  }

  .status-search-box button {
    width: 100%;
    justify-content: center;
    padding: 0.6rem 1rem;
  }

  .status-counters-group {
    width: 100%;
  }

  .status-counter-item {
    flex: 1;
    min-width: 0;
    padding: 0.4rem 0.5rem;
  }

  .category-stat-item {
    padding: 0.55rem 0.5rem;
    text-align: center;
    align-items: center;
  }

  .category-stat-item.avail .stat-big-val,
  .category-stat-item.booked .stat-big-val,
  .category-stat-item.total .stat-big-val {
    font-size: 1.25rem;
  }

  #btn-font-sm { font-size: 0.68rem; }
  #btn-font-md { font-size: 0.75rem; }
  #btn-font-lg { font-size: 0.82rem; }
  #btn-font-xl { font-size: 0.88rem; }

  .amenities-gov-grid,
  .transit-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gov-form-header-banner,
  .gov-form-body,
  .gov-form-section-body {
    padding: 0.85rem;
  }
}

/* ==========================================================================
   Print Stylesheet - Optimized 1-Page Official Confirmation Slip & Documents
   ========================================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 8mm 10mm;
  }

  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* 1. Global Print Resets */
  body, html {
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 10pt !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* 2. Hide Non-Printable Elements */
  .no-print,
  .gov-top-bar,
  .main-nav,
  .site-footer,
  .lightbox-modal,
  #statusModal,
  #termsModal {
    display: none !important;
  }

  /* 3. When Confirmation Slip Modal is Open:
        Completely HIDE background site header, navigation, and entire booking form!
        This eliminates all redundant pages and restricts output to exactly 1 single page! */
  body.has-confirmation-modal .site-header,
  body.has-confirmation-modal main,
  body.has-confirmation-modal .site-footer,
  body:has(#confirmationModal:not(.hidden)) .site-header,
  body:has(#confirmationModal:not(.hidden)) main,
  body:has(#confirmationModal:not(.hidden)) .site-footer {
    display: none !important;
  }

  /* 4. Convert Fixed Modal Overlay into Clean In-Flow Document */
  body.has-confirmation-modal #confirmationModal,
  body:has(#confirmationModal:not(.hidden)) #confirmationModal {
    position: static !important;
    display: block !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* 5. Clean Single-Page Printable Receipt Card */
  body.has-confirmation-modal #printableReceipt,
  body:has(#confirmationModal:not(.hidden)) #printableReceipt {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1.5px solid #103663 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    overflow: visible !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    page-break-after: avoid !important;
    break-after: avoid !important;
  }

  #printableReceipt .modal-header {
    background-color: #103663 !important;
    color: #ffffff !important;
    padding: 8px 14px !important;
    border-bottom: 2px solid #c49a45 !important;
  }

  #printableReceipt .modal-header h3 {
    color: #ffffff !important;
    font-size: 13pt !important;
  }

  #printableReceipt .modal-header p {
    color: #cbd5e1 !important;
    font-size: 8.5pt !important;
  }

  #printableReceipt .modal-header-icon {
    display: none !important;
  }

  #printableReceipt .modal-body {
    max-height: none !important;
    overflow: visible !important;
    padding: 10px 14px !important;
  }

  /* Reference Strip */
  .receipt-ref-box {
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 6px 10px !important;
    margin-bottom: 8px !important;
  }

  #modalBookingId {
    font-size: 14pt !important;
    color: #103663 !important;
  }

  .status-badge-pending {
    background-color: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #f59e0b !important;
  }

  /* Compact 2-column Grid for Perfect 1-Page Fit */
  .receipt-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    margin-bottom: 8px !important;
  }

  .receipt-item-purpose {
    grid-column: span 2 / span 2 !important;
  }

  .receipt-item {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    padding: 5px 8px !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .receipt-label {
    font-size: 7pt !important;
    color: #64748b !important;
  }

  .receipt-val {
    font-size: 8.5pt !important;
    color: #0f172a !important;
  }

  .print-only-footer {
    display: block !important;
  }
}

/* ==========================================================================
   Room Availability & Booking Schedule Styles
   ========================================================================== */

.availability-control-panel {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.5rem;
  padding: 1.25rem;
  background-color: #f8fafc;
  border-bottom: 2px solid #cbd5e1;
}

@media (max-width: 860px) {
  .availability-control-panel {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.date-selection-box {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  padding: 1rem 1.15rem;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-xs);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.date-input-group {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
}

.date-picker-input {
  flex: 1;
  max-width: 100%;
  min-height: 42px;
  height: 42px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--gov-navy-dark);
  background-color: #f8fafc;
  border: 1.5px solid #94a3b8;
  border-radius: var(--radius-xs);
  padding: 0.4rem 0.75rem;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.date-picker-input:focus {
  background-color: #ffffff;
  border-color: var(--gov-navy);
  box-shadow: 0 0 0 3px rgba(11, 44, 91, 0.15);
  outline: none;
}

.btn-date-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-height: 42px;
  height: 42px;
  padding: 0;
  font-size: 0.95rem;
  color: var(--gov-navy-dark);
  background-color: #f1f5f9;
  border: 1.5px solid #94a3b8;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-date-nav:hover {
  background-color: var(--gov-navy);
  color: #ffffff;
  border-color: var(--gov-navy);
}

.quick-date-pills {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.quick-pill {
  flex: 1;
  min-width: 68px;
  text-align: center;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.quick-pill:hover {
  background-color: #e2e8f0;
  border-color: #94a3b8;
  color: var(--gov-navy-dark);
}

.quick-pill.active {
  background-color: var(--gov-navy);
  color: #ffffff;
  border-color: var(--gov-navy);
  box-shadow: 0 1px 2px rgba(11, 44, 91, 0.2);
}

.date-status-summary-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-left: 4px solid var(--gov-navy);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-xs);
  flex-wrap: wrap;
  gap: 1rem;
}

.active-date-heading {
  display: flex;
  flex-direction: column;
}

.active-date-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gov-navy-dark);
}

.status-counters-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-xs);
  border: 1px solid #cbd5e1;
  min-width: 85px;
}

.status-counter-item.available {
  background-color: #f0fdf4;
  border-color: #86efac;
}

.status-counter-item.available .counter-number {
  color: #15803d;
  font-weight: 900;
  font-size: 1.25rem;
}

.status-counter-item.available .counter-label {
  color: #166534;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-counter-item.booked {
  background-color: #fef2f2;
  border-color: #fca5a5;
}

.status-counter-item.booked .counter-number {
  color: #b91c1c;
  font-weight: 900;
  font-size: 1.25rem;
}

.status-counter-item.booked .counter-label {
  color: #991b1b;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-counter-item.total {
  background-color: #f8fafc;
}

.status-counter-item.total .counter-number {
  color: var(--gov-navy-dark);
  font-weight: 900;
  font-size: 1.25rem;
}

.status-counter-item.total .counter-label {
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* Category Availability Grid (Single Bed Room & Double Bed Room Side-by-Side) */
.category-availability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .category-availability-grid {
    grid-template-columns: 1fr;
  }
}

.category-avail-card {
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.category-card-header {
  padding: 1.15rem 1.25rem;
  background-color: #f8fafc;
  border-bottom: 2px solid var(--gov-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.category-card-header.single {
  border-bottom-color: var(--gov-navy);
}

.category-card-header.double {
  border-bottom-color: #0284c7;
}

.category-icon-box {
  width: 44px;
  height: 44px;
  background-color: var(--gov-navy);
  color: var(--gov-gold);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.category-icon-box.double {
  background-color: #0369a1;
  color: #ffffff;
}

.category-card-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gov-navy-dark);
  margin: 0.1rem 0;
}

.category-card-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0;
}

.category-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.category-stat-item {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-xs);
  border: 1.5px solid #cbd5e1;
}

.category-stat-item.avail {
  background-color: #f0fdf4;
  border-color: #86efac;
}

.category-stat-item.avail .stat-big-val {
  color: #15803d;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.1;
}

.category-stat-item.avail .stat-tag-text {
  color: #166534;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.category-stat-item.booked {
  background-color: #fef2f2;
  border-color: #fca5a5;
}

.category-stat-item.booked .stat-big-val {
  color: #b91c1c;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.1;
}

.category-stat-item.booked .stat-tag-text {
  color: #991b1b;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.category-stat-item.total {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

.category-stat-item.total .stat-big-val {
  color: var(--gov-navy-dark);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.1;
}

.category-stat-item.total .stat-tag-text {
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.category-amenity-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-xs);
  margin-bottom: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.category-amenity-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
}

.email-otp-btn {
  position: absolute;
  top: 3px;
  right: 3px;
  bottom: 3px;
  background: #113663;
  cursor: pointer;
  color: white;
  min-width: 105px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: var(--radius-xs, 3px);
  user-select: none;
  transition: all 0.15s ease;
}

.email-otp-btn:hover:not(.disabled) {
  background-color: #0c2747;
}

.email-otp-btn.disabled,
.disabled {
  cursor: not-allowed;
  background-color: #94a3b8 !important;
  color: #f8fafc !important;
  opacity: 0.85;
}