/* ====================================================================
   State-wise E-Lottery & Tender Portal — Master Design System
   Government Institutional Quality Theme: Navy Blue + Indian Saffron
   ==================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Mukta:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1a3a6b;
  --primary-dk: #0f2548;
  --primary-lt: #225195;
  --secondary: #ff6b00;
  --secondary-dk: #cc5500;
  --accent: #f5a623;
  --success: #1a7a4a;
  --danger: #c0392b;
  --warning: #d97706;
  --info: #0284c7;
  --light-bg: #f4f6fb;
  --white: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(15, 37, 72, 0.08);
  --shadow-lg: 0 10px 25px -3px rgba(15, 37, 72, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Mukta', system-ui, -apple-system, sans-serif;
  background-color: var(--light-bg);
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ------------------------------------------------------------------
   1. TOP GOVERNMENT UTILITY BAR
   ------------------------------------------------------------------ */
.top-gov-bar {
  background: var(--primary-dk);
  color: #cbd5e1;
  font-size: 12.5px;
  padding: 6px 0;
  border-bottom: 2.5px solid var(--secondary);
}

.top-gov-bar a {
  color: #cbd5e1;
  text-decoration: none;
  margin-left: 14px;
  transition: color 0.2s ease;
}

.top-gov-bar a:hover {
  color: var(--accent);
}

.gov-badge-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ------------------------------------------------------------------
   2. MAIN HEADER
   ------------------------------------------------------------------ */
.site-header {
  background: linear-gradient(135deg, var(--primary) 0%, #1e4d8c 100%);
  padding: 10px 0;
  border-bottom: 3px solid var(--secondary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.logo-emblem {
  width: 54px;
  height: 54px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(255, 107, 0, 0.4);
  flex-shrink: 0;
}

.site-title {
  color: #ffffff;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.site-subtitle {
  color: #bfdbfe;
  font-size: 12.5px;
  font-weight: 500;
}

/* Indian National Tricolor Ribbon */
.flag-strip {
  display: inline-flex;
  height: 22px;
  width: 90px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.flag-saffron { background: #FF9933; flex: 1; }
.flag-white { background: #ffffff; flex: 1; }
.flag-green { background: #138808; flex: 1; }

/* ------------------------------------------------------------------
   3. NAVIGATION BAR
   ------------------------------------------------------------------ */
.main-nav {
  background: linear-gradient(90deg, #0b192c 0%, #0f2548 50%, #0b192c 100%);
  padding: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  border-bottom: 2px solid rgba(255, 107, 0, 0.4);
  position: relative;
  z-index: 1020;
}

.main-nav .container-fluid {
  padding-top: 2px;
  padding-bottom: 2px;
}

.main-nav .nav-link {
  color: #cbd5e1 !important;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 13px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-radius: 6px;
  white-space: nowrap;
}

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

.main-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: var(--secondary);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 8px rgba(255, 107, 0, 0.8);
}

/* Premium Login Button */
.btn-nav-login {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 25px !important;
  padding: 7px 18px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: all 0.25s ease !important;
  backdrop-filter: blur(4px);
  text-decoration: none !important;
}

.btn-nav-login:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Premium Register / Apply Button */
.btn-nav-apply,
.btn-nav-primary {
  background: linear-gradient(135deg, #ff7b00 0%, #ff5500 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 25px !important;
  padding: 7px 22px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-shadow: 0 3px 12px rgba(255, 85, 0, 0.45);
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  letter-spacing: 0.3px;
}

.btn-nav-apply:hover,
.btn-nav-primary:hover {
  background: linear-gradient(135deg, #ff8c1a 0%, #e64500 100%) !important;
  border-color: #ffffff !important;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(255, 85, 0, 0.6);
  color: #ffffff !important;
}

/* Intermediate desktop scaling to prevent overflow between 992px and 1280px */
@media (min-width: 992px) and (max-width: 1280px) {
  .main-nav .nav-link {
    font-size: 12.5px !important;
    padding: 10px 6px !important;
    white-space: nowrap;
  }
  .btn-nav-login {
    padding: 5px 10px !important;
    font-size: 12px !important;
    white-space: nowrap;
  }
  .btn-nav-apply,
  .btn-nav-primary {
    padding: 5px 10px !important;
    font-size: 12px !important;
    white-space: nowrap;
  }
  .nav-auth-group {
    gap: 6px !important;
    flex-shrink: 0;
  }
}

/* Extra tight scaling 992-1100px (most overflow-prone) */
@media (min-width: 992px) and (max-width: 1100px) {
  .main-nav .nav-link {
    font-size: 11.5px !important;
    padding: 10px 4px !important;
  }
  .main-nav .nav-link i {
    display: none !important;
  }
  .btn-nav-login,
  .btn-nav-apply {
    font-size: 11px !important;
    padding: 4px 8px !important;
  }
  .btn-nav-login i,
  .btn-nav-apply i {
    display: inline !important;
  }
}

/* Responsive Navigation Bar Polish */
@media (max-width: 991.98px) {
  .main-nav .navbar-collapse {
    background: #081424;
    border-radius: 12px;
    padding: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }

  .main-nav .navbar-nav.me-auto .nav-link {
    padding: 10px 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-auth-group {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-auth-group .nav-item {
    flex: 1;
  }

  .nav-auth-group .btn-nav-login,
  .nav-auth-group .btn-nav-apply {
    width: 100%;
    text-align: center;
  }
}

/* Overflow protection across all viewports */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ------------------------------------------------------------------
   4. URGENT NOTICE TICKER
   ------------------------------------------------------------------ */
.notice-ticker {
  background: #fef3c7;
  border-bottom: 1px solid #fde68a;
  padding: 8px 0;
  font-size: 13.5px;
  color: #78350f;
  font-weight: 500;
}

.ticker-label {
  background: var(--secondary);
  color: #ffffff;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-right: 12px;
  flex-shrink: 0;
}

.ticker-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

/* ------------------------------------------------------------------
   5. STATE SELECTOR BAR (HERO & STICKY)
   ------------------------------------------------------------------ */
.state-selector-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.state-selector-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.state-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.state-pill:hover,
.state-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(26, 58, 107, 0.25);
}

.state-pill.active .badge-status {
  background: var(--secondary);
  color: #ffffff;
}

/* ------------------------------------------------------------------
   6. HERO SECTION
   ------------------------------------------------------------------ */
.hero-section {
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 50%, #1e4d8c 100%);
  color: #ffffff;
  padding: 55px 0 50px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
}

.hero-badge {
  background: var(--secondary);
  color: #ffffff;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.35);
}

.hero-section h1 {
  font-size: clamp(26px, 4.2vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.hero-section p.hero-subtitle {
  font-size: 16.5px;
  color: #bfdbfe;
  margin-top: 14px;
  max-width: 650px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-stat .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}

.hero-stat .lbl {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--secondary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.4);
  border: none;
}

.btn-hero-primary:hover {
  background: var(--secondary-dk);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: #ffffff;
}

.hero-card-visual {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-card-visual .icon-box {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 16px;
}

/* ------------------------------------------------------------------
   7. SERVICES SECTION (4 FEATURE CARDS)
   ------------------------------------------------------------------ */
.section-title-wrap {
  position: relative;
  margin-bottom: 30px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dk);
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 44px;
  height: 3.5px;
  background: var(--secondary);
  border-radius: 2px;
}

.info-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  height: 100%;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--primary);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.icon-blue   { background: #e0f2fe; color: #0284c7; }
.icon-orange { background: #ffedd5; color: #ea580c; }
.icon-green  { background: #dcfce7; color: #16a34a; }
.icon-purple { background: #f3e8ff; color: #9333ea; }

.info-card h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dk);
  margin-bottom: 8px;
}

.info-card p {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-bottom: 0;
}

/* ------------------------------------------------------------------
   8. HOW IT WORKS (4 NUMBERED STEP CARDS)
   ------------------------------------------------------------------ */
.step-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.25s ease;
  height: 100%;
}

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

.step-num {
  width: 44px;
  height: 44px;
  background: var(--secondary);
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 3px 10px rgba(255, 107, 0, 0.3);
}

.step-card h6 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dk);
  margin-bottom: 8px;
}

/* ------------------------------------------------------------------
   9. COLOR-CODED IMPORTANT NOTICES
   ------------------------------------------------------------------ */
.notice-strip {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  margin-bottom: 12px;
  border-left: 4.5px solid transparent;
}

.notice-strip-warning { background: #fef9c3; border-color: #ca8a04; color: #854d0e; }
.notice-strip-info    { background: #e0f2fe; border-color: #0284c7; color: #075985; }
.notice-strip-primary { background: #dbeafe; border-color: #2563eb; color: #1e40af; }
.notice-strip-danger  { background: #fee2e2; border-color: #dc2626; color: #991b1b; }

/* ------------------------------------------------------------------
   10. MULTI-STEP APPLICATION FORM
   ------------------------------------------------------------------ */
.form-wrapper {
  max-width: 820px;
  margin: 35px auto 50px;
  padding: 0 15px;
}

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

.form-header {
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 100%);
  color: #ffffff;
  padding: 30px 24px 25px;
  text-align: center;
}

.form-header .form-icon {
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 10px;
}

.form-header h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.form-header p {
  color: #bfdbfe;
  font-size: 13.5px;
  margin-bottom: 0;
}

/* Stepper Bar */
.steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 20px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13.5px;
}

.step-item.active {
  color: var(--secondary);
}

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

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #cbd5e1;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.step-item.active .step-circle {
  background: var(--secondary);
}

.step-item.completed .step-circle {
  background: var(--success);
}

.step-divider {
  width: 40px;
  height: 2px;
  background: #cbd5e1;
}

.form-body {
  padding: 32px 30px;
}

/* Input Fields & Groups */
.input-group-custom {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
}

.input-icon-left {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-right: none;
  color: #64748b;
  padding: 10px 14px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  display: flex;
  align-items: center;
}

.form-control-custom,
.form-select-custom {
  border: 1px solid #cbd5e1;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 14px;
  font-size: 14.5px;
  width: 100%;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.form-control-custom:focus,
.form-select-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.12);
}

/* Document Upload Dropzone */
.doc-upload-box {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.2s ease;
}

.doc-upload-box:hover {
  border-color: var(--primary);
  background: #f1f5f9;
}

/* Plan Selection Cards */
.plan-option-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.plan-option-card:hover {
  border-color: #94a3b8;
}

.plan-option-card.selected {
  border-color: var(--secondary);
  background: #fffaf5;
}

.plan-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-dk);
}

/* ------------------------------------------------------------------
   11. PRINTABLE ACKNOWLEDGEMENT SLIP
   ------------------------------------------------------------------ */
.receipt-card {
  background: #ffffff;
  border: 2px solid var(--primary-dk);
  border-radius: var(--radius-md);
  padding: 30px;
  max-width: 760px;
  margin: 30px auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.receipt-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 64px;
  font-weight: 900;
  color: rgba(26, 58, 107, 0.05);
  pointer-events: none;
  white-space: nowrap;
}

/* ------------------------------------------------------------------
   12. INSTITUTIONAL FOOTER
   ------------------------------------------------------------------ */
.site-footer {
  background: var(--primary-dk);
  color: #cbd5e1;
  margin-top: auto;
}

.footer-top {
  padding: 50px 0 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-heading {
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 6px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2.5px;
  background: var(--secondary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  font-size: 13.5px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-list i {
  color: var(--secondary);
  font-size: 16px;
  margin-top: 2px;
}

.footer-bottom {
  padding: 16px 0;
  font-size: 12.5px;
  color: #94a3b8;
  background: #091a33;
}

.footer-bottom a {
  color: #cbd5e1;
  text-decoration: none;
  margin-left: 14px;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ------------------------------------------------------------------
   13. STEP PANELS & LOCATION ERGONOMICS
   ------------------------------------------------------------------ */
.step-panel {
  display: none;
}

.step-panel.active {
  display: block !important;
  animation: stepFadeIn 0.25s ease-in-out;
}

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

.location-subheading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--primary);
  border-bottom: 1.5px solid #e2e8f0;
  padding-bottom: 6px;
  margin-top: 10px;
  margin-bottom: 14px;
}

/* ------------------------------------------------------------------
   14. OUR SERVICES PHOTO SLIDER & YOUTUBE VIDEO SHOWCASE
   ------------------------------------------------------------------ */
.service-slider-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
}

.service-slide-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  filter: brightness(0.88);
}

.service-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(9, 26, 51, 0.95) 0%, rgba(9, 26, 51, 0.6) 60%, transparent 100%);
  padding: 30px 25px 20px;
  color: #ffffff;
}

.service-slide-caption h5 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 6px;
  color: #ffffff;
}

.service-slide-caption p {
  font-size: 13.5px;
  color: #cbd5e1;
  margin-bottom: 0;
}

/* YouTube Video Showcase Grid & Slider */
.video-showcase-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.video-card-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.video-card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.video-thumb-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #0f172a;
  overflow: hidden;
}

.video-thumb-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-body {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.video-card-body h6 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dk);
  margin-bottom: 6px;
  line-height: 1.35;
}

.video-card-body p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-grow: 1;
}

.video-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}

/* ------------------------------------------------------------------
   15. PRINT STYLES FOR APPLICATION SLIP
   ------------------------------------------------------------------ */
@media print {
  .top-gov-bar,
  .site-header,
  .main-nav,
  .notice-ticker,
  .site-footer,
  .btn,
  .no-print {
    display: none !important;
  }
  
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  
  .receipt-card {
    border: 1px solid #000000 !important;
    box-shadow: none !important;
    max-width: 100% !important;
    padding: 15px !important;
  }
}

/* ------------------------------------------------------------------
   16. STATE SELECTOR BAR (HIGH CONTRAST & UNIQUE GOVERNMENT STYLING)
   ------------------------------------------------------------------ */
.state-selector-card {
  background: linear-gradient(135deg, #08162b 0%, #0f2c59 50%, #0a1f3d 100%);
  border: 2px solid #eab308;
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: 0 8px 30px rgba(10, 31, 61, 0.25), 0 0 15px rgba(234, 179, 8, 0.2);
  margin-bottom: 24px;
}

.state-selector-card .state-badge-icon {
  width: 48px;
  height: 48px;
  background: rgba(234, 179, 8, 0.15);
  border: 1.5px solid #eab308;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fde047;
  font-size: 24px;
}

.state-selector-title {
  color: #ffffff !important;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.8px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.state-selector-subtitle {
  color: #fde047 !important;
  font-size: 12.5px;
  font-weight: 500;
}

.state-dropdown-custom {
  background-color: #ffffff !important;
  color: #0f2548 !important;
  border: 2px solid #eab308 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
}

.state-dropdown-custom:focus {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 0.25rem rgba(245, 158, 11, 0.35) !important;
}

/* ------------------------------------------------------------------
   17. DYNAMIC UPI PAYMENT & E-CHALLAN MODAL STYLES
   ------------------------------------------------------------------ */
.echallan-summary-box {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 16px;
}

.qr-scan-card {
  background: #ffffff;
  border: 2px solid #0284c7;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.1);
  display: inline-block;
}

.qr-scan-card img {
  width: 190px;
  height: 190px;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  border: 1px solid #e2e8f0;
}

.upi-id-pill {
  background: #f0f9ff;
  border: 1.5px solid #bae6fd;
  color: #0369a1;
  font-family: monospace;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.upi-app-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
  background: #fff;
  color: #1e293b;
}

.upi-app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.upi-app-gpay { border-color: #4285F4; color: #1a73e8; }
.upi-app-phonepe { border-color: #5f259f; color: #5f259f; }
.upi-app-paytm { border-color: #00b9f1; color: #002e6e; }
.upi-app-bhim { border-color: #00796b; color: #00796b; }

/* ------------------------------------------------------------------
   18. COMPACT SINGLE-ROW DOCUMENT UPLOAD ARCHITECTURE
   ------------------------------------------------------------------ */
.doc-row-compact {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

@media (min-width: 768px) {
  .doc-row-compact {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
}

.doc-row-compact:hover {
  border-color: #94a3b8;
  box-shadow: 0 4px 12px rgba(15, 37, 72, 0.06);
}

.doc-row-compact.has-file {
  border-color: #10b981;
  background: #f0fdf4;
}

.doc-row-compact.is-optional {
  background: #fafbfc;
}

.doc-row-compact .doc-meta-col {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.doc-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.doc-icon-wrap.optional-icon {
  background: #f1f5f9;
  color: #64748b;
}

.doc-row-compact.has-file .doc-icon-wrap {
  background: #dcfce7;
  color: #15803d;
}

.doc-title-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.doc-title-main {
  font-weight: 700;
  color: var(--text-main);
  font-size: 13.5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.doc-title-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Circular Interactive ⓘ Info Button */
.doc-info-btn {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
  border: 1.5px solid #bae6fd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  line-height: 1;
}

.doc-info-btn:hover, .doc-info-btn:focus {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: scale(1.1);
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.4);
}

/* Right-Side Single-Row Action Controls */
.doc-action-col {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  justify-content: flex-end;
}

.doc-choice-toggle {
  display: inline-flex;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.doc-choice-toggle input[type="radio"] {
  display: none;
}

.doc-choice-toggle label {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  background: #f8fafc;
  color: #64748b;
  margin-bottom: 0;
  transition: all 0.2s;
  user-select: none;
}

.doc-choice-toggle input[type="radio"]:checked + label {
  background: var(--primary);
  color: #ffffff;
}

.doc-file-inline-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.doc-file-input-compact {
  font-size: 12px;
  max-width: 210px;
  padding: 4px 8px;
}

.doc-file-status-tag {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

/* Tooltip / Popover custom appearance */
.popover-header {
  background: var(--primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
}

.popover-body {
  font-size: 12.5px;
  line-height: 1.5;
  color: #334155;
  padding: 10px 14px;
}

/* ------------------------------------------------------------------
   19. STATE DIGNITARIES & LEADERSHIP STRIP (OFFICIAL GOVERNMENT LOOK)
   ------------------------------------------------------------------ */
.gov-leadership-strip {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e2e8f0;
  border-top: 4px solid var(--secondary);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(15, 37, 72, 0.08);
  padding: 20px 24px;
  margin-bottom: 28px;
}

.leadership-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.leadership-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

.dignitary-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.dignitary-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.dignitary-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #eab308;
  padding: 2px;
  background: #fff;
  flex-shrink: 0;
}

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

.dignitary-name {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.3;
}

.dignitary-role {
  font-size: 12px;
  color: #b45309;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.dignitary-dept {
  font-size: 11px;
  color: var(--text-muted);
}

/* ------------------------------------------------------------------
   20. APPLICATION TRACKING CORRECTION & NOTIFICATION BELL
   ------------------------------------------------------------------ */
.correction-alert-box {
  background: #fffbeb;
  border: 2px solid #f59e0b;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
}

.correction-alert-title {
  font-size: 15px;
  font-weight: 800;
  color: #b45309;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notification-bell-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid #cbd5e1;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notification-bell-btn:hover {
  background: #f1f5f9;
  color: var(--secondary);
  border-color: var(--secondary);
}

.badge-pulse {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ef4444;
  border: 2px solid #ffffff;
  animation: pulse-ring 1.8s infinite;
}

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

/* Lottery Draw Qualified Pass Modal / Card */
.draw-pass-card {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  color: #ffffff;
  border-radius: 12px;
  border: 2px solid #34d399;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(6, 78, 59, 0.3);
  position: relative;
  overflow: hidden;
}

.draw-pass-card::after {
  content: 'QUALIFIED';
  position: absolute;
  right: -20px;
  bottom: -15px;
  font-size: 64px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  transform: rotate(-10deg);
  pointer-events: none;
}
/* ------------------------------------------------------------------
   21. HEADER NODAL CONTACT & DRY STATE TICKER STYLING
   ------------------------------------------------------------------ */
.header-contact-meta {
  font-size: 12.5px;
}

.header-address-line {
  color: #334155;
  line-height: 1.35;
  background: #f8fafc;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  display: inline-block;
  max-width: 100%;
}

.toll-free-badge {
  background: #1e3a8a;
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
}

.email-badge {
  font-size: 11.5px;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

/* Dry State Animated Ticker Bar */
.dry-state-ticker-wrap {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.18);
  margin-top: 10px;
}

@media (max-width: 768px) {
  .site-header .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }
  .header-contact-meta {
    align-items: flex-start !important;
    text-align: left;
    margin-top: 8px;
  }
  .header-hotline-strip {
    justify-content: flex-start !important;
    gap: 8px !important;
  }
  .gov-leadership-strip {
    padding: 14px 16px;
  }
  .dignitary-card {
    padding: 10px 12px;
  }
  .dignitary-avatar {
    width: 52px;
    height: 52px;
  }
  .dignitary-name {
    font-size: 13.5px;
  }
}

@media (max-width: 576px) {
  .header-address-line {
    font-size: 11px;
    padding: 3px 6px;
  }
  .toll-free-badge, .email-badge {
    font-size: 10.5px;
  }
  .leadership-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ====================================================================
   ENLARGED STATE EXCISE HEADQUARTERS ADDRESS BADGE
   ==================================================================== */
#headerNodalAddress {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  padding: 7px 16px !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #f8fafc !important;
  margin-top: 6px !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  line-height: 1.35;
}

#headerNodalAddress:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 193, 7, 0.6) !important;
  transform: translateY(-1px);
}

#headerNodalAddress i {
  font-size: 16px;
  color: #fbbf24 !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

#headerNodalAddress span#headerAddressText {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* ====================================================================
   APPLICATION TRACKING PAGE & LIFECYCLE PIPELINE
   ==================================================================== */
.tracking-pipeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 25px 0 35px;
}
.tracking-pipeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 4px;
  background: #e2e8f0;
  z-index: 1;
}
.tracking-step-node {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}
.tracking-step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.tracking-step-node.completed .tracking-step-circle {
  background: #10b981;
  border-color: #059669;
  color: #ffffff;
}
.tracking-step-node.active .tracking-step-circle {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.2);
}
.tracking-step-label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  display: block;
}
.sample-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.sample-chip:hover {
  background: #dbeafe;
  border-color: #3b82f6;
  transform: translateY(-1px);
}

/* ====================================================================
   LICENSED VEND LOCATOR (shops.html)
   ==================================================================== */
.vend-card {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 37, 72, 0.06);
  transition: all 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.vend-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 37, 72, 0.12);
  border-color: #cbd5e1;
}
.vend-card-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f1f5f9;
}
.vend-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.vend-card:hover .vend-card-img-wrap img {
  transform: scale(1.04);
}
.vend-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.vend-status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.vend-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.vend-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f2548;
  margin-bottom: 6px;
}
.vend-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 6px;
}
.vend-meta-row i {
  color: #2563eb;
  font-size: 14px;
}
.vend-timing-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

/* ========================================================
   DRY STATE BLINKING RED DOT INDICATOR & REVENUE TREASURY
   ======================================================== */
.blinking-red-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 10px #dc2626;
  animation: pulse-red-dot 1.2s infinite ease-in-out;
  flex-shrink: 0;
  vertical-align: middle;
}

@keyframes pulse-red-dot {
  0% {
    transform: scale(0.85);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  50% {
    transform: scale(1.3);
    opacity: 0.4;
    box-shadow: 0 0 0 7px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.85);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
}

.dry-blinking-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(220, 38, 38, 0.18);
  border: 1.5px solid #ef4444;
  border-radius: 30px;
  padding: 5px 12px;
  color: #fee2e2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

/* State Liquor Excise Revenue & Tax Budget Treasury Card (Compact & Responsive) */
.state-revenue-card {
  background: linear-gradient(135deg, #0b1528 0%, #112240 60%, #0d2c4e 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
  padding: 14px 18px !important;
}

.state-revenue-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.12) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.revenue-metric-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 14px;
  transition: transform 0.2s, background 0.2s;
}

.revenue-metric-box:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.revenue-val-primary {
  font-size: 19px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: -0.3px;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.2;
}

.revenue-val-secondary {
  font-size: 18px;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.revenue-history-bar {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  margin-top: 4px;
}

.revenue-history-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #fbbf24);
  border-radius: 3px;
}

.btn-see-more-rev {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-see-more-rev:hover {
  background: #fbbf24;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.35);
}

/* Vibrant High-Contrast Headlines for 3 Revenue Cards */
.revenue-card-headline {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
}

.revenue-card-headline.state-headline {
  color: #fef08a !important; /* Vibrant golden-yellow */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.revenue-card-headline.central-headline {
  color: #7dd3fc !important; /* Vibrant crisp sky-blue */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.revenue-card-headline.snapshot-headline {
  color: #fed7aa !important; /* Vibrant warm amber */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* Dignitary Round Avatar & Modern Styling */
.dignitary-avatar-round {
  width: 76px;
  height: 76px;
  min-width: 76px;
  border-radius: 50% !important;
  object-fit: cover;
  border: 3px solid #f59e0b;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  background: #f8fafc;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dignitary-card:hover .dignitary-avatar-round {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

@media (max-width: 767px) {
  .state-revenue-card {
    padding: 10px 12px !important;
  }
  .revenue-metric-box {
    padding: 8px 10px;
  }
  .revenue-val-primary {
    font-size: 17px;
  }
  .revenue-val-secondary {
    font-size: 16px;
  }
  .dignitary-avatar-round {
    width: 64px;
    height: 64px;
    min-width: 64px;
  }
}


