/* ===================================================================
   Bareilly-Moradabad Graduate Constituency Portal - Frontend Stylesheet
   Color Palette: Deep Navy (#0b2545), Royal Navy (#134074), Slate (#1d2d44),
   Warm Gold Accent (#c99738), Pure White (#ffffff), Soft Gray (#f8fafc)
   =================================================================== */

:root {
  --primary-navy: #0b2545;
  --secondary-navy: #134074;
  --accent-gold: #c99738;
  --accent-gold-hover: #b3842c;
  --slate-dark: #1d2d44;
  --body-bg: #f8fafc;
  --surface-card: #ffffff;
  --text-primary: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --success-green: #10b981;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--body-bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
}

main {
  flex: 1 0 auto;
  max-width: 100%;
  overflow-x: hidden;
}

/* Top Utility Bar */
.top-notice-bar {
  background-color: #081c33;
  color: #cbd5e1;
  font-size: 0.84rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1060 !important;
  overflow: visible !important;
}

.top-notice-bar .container {
  overflow: visible !important;
}

.top-notice-bar a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.badge-independent {
  background-color: rgba(201, 151, 56, 0.2);
  color: #f6d38e;
  border: 1px solid rgba(201, 151, 56, 0.4);
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Brand Header */
.portal-header {
  background: #ffffff;
  border-bottom: 2px solid var(--border-color);
  padding: 14px 0;
  position: relative;
  z-index: 1040;
}

.brand-emblem {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 10px rgba(11, 37, 69, 0.2);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
  letter-spacing: -0.3px;
}

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

/* Main Navigation Bar */
.main-navbar {
  background-color: var(--primary-navy);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 0;
}

.main-navbar .nav-link {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 14px;
  transition: all 0.25s ease;
  position: relative;
}

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

.main-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--accent-gold);
}

.nav-cta-btn {
  background-color: var(--accent-gold);
  color: #ffffff !important;
  font-weight: 600 !important;
  border-radius: 6px;
  padding: 8px 18px !important;
  margin-left: 10px;
  box-shadow: 0 2px 6px rgba(201, 151, 56, 0.4);
}

.nav-cta-btn:hover {
  background-color: var(--accent-gold-hover) !important;
  transform: translateY(-1px);
}

/* Dynamic Navbar Dropdown Styling */
.main-navbar .dropdown-menu {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(11, 37, 69, 0.15);
  margin-top: 2px;
  min-width: 220px;
}

.main-navbar .dropdown-item {
  color: #1e293b;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item.active {
  background-color: #f1f5f9;
  color: var(--secondary-navy);
  padding-left: 1.25rem;
}

.main-navbar .dropdown-item.active {
  font-weight: 700;
  color: var(--primary-navy);
}

@media (min-width: 992px) {
  .main-navbar .dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeInDown 0.2s ease;
  }
}

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

/* Hero Section */
.hero-slider-wrap {
  position: relative;
  background: linear-gradient(135deg, var(--primary-navy) 0%, #173860 100%);
  color: #ffffff;
  padding: 60px 0;
  overflow: hidden;
}

.hero-slider-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(201, 151, 56, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-carousel-item {
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 50px 0;
  position: relative;
}

.hero-carousel-img-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.4s ease;
  background: #0f172a;
}

.hero-carousel-img-card:hover {
  transform: translateY(-4px);
}

.hero-carousel-img-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
}

.carousel-indicators .active {
  background-color: var(--accent-gold);
  width: 28px;
  border-radius: 6px;
}

/* Gallery Hover Animation */
.gallery-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12) !important;
}

.gallery-card img {
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  color: #f1f5f9;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 30px;
  max-width: 650px;
}

/* ===================================================================
   Hero Actions & Statistics Component Styling
   =================================================================== */
.hero-actions-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.hero-actions-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b2545 !important;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.2px;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(245, 158, 11, 0.6), 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #081c33 !important;
}

.btn-hero-primary i.bi-arrow-right {
  transition: transform 0.2s ease;
}

.btn-hero-primary:hover i.bi-arrow-right {
  transform: translateX(4px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  color: #ffffff !important;
}

.hero-actions-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn-hero-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  background: rgba(15, 23, 42, 0.45);
  color: #e2e8f0 !important;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Hero Stats Capsule / Scope Dashboard */
.hero-stats-card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: rgba(11, 37, 69, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 18px;
  margin-top: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  width: fit-content;
  max-width: 100%;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-stat-item i {
  font-size: 1.15rem;
}

.hero-stat-item .stat-count {
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  margin-right: 3px;
}

.hero-stat-item .stat-label {
  font-size: 0.84rem;
  color: #cbd5e1;
  font-weight: 500;
}

.hero-stat-item .stat-highlight {
  font-size: 0.88rem;
  font-weight: 700;
  color: #facc15;
}

.hero-stat-sep {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.16);
}

/* Quick Action Cards */
.quick-action-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.quick-action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.quick-action-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 16px;
}

/* Form 18 Registration Styling */
.form-section-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

/* Card Headers & Gradients */
.bg-gradient-navy,
.card-header.bg-gradient-navy {
  background: linear-gradient(135deg, #0b2545 0%, #134074 100%) !important;
  background-color: #0b2545 !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.bg-gradient-navy h1,
.bg-gradient-navy h2,
.bg-gradient-navy h3,
.bg-gradient-navy h4,
.bg-gradient-navy h5,
.bg-gradient-navy h6,
.bg-gradient-navy p,
.bg-gradient-navy span:not(.badge),
.bg-gradient-navy i:not(.text-warning):not(.text-danger):not(.text-success):not(.text-primary),
.bg-gradient-navy small:not(.badge),
.card-header.bg-gradient-navy h1,
.card-header.bg-gradient-navy h2,
.card-header.bg-gradient-navy h3,
.card-header.bg-gradient-navy h4,
.card-header.bg-gradient-navy h5,
.card-header.bg-gradient-navy h6,
.card-header.bg-gradient-navy p,
.card-header.bg-gradient-navy small:not(.badge) {
  color: #ffffff !important;
}

/* Badges & Icons inside Card Headers must preserve proper contrast */
.card-header .badge.bg-light,
.card-header .badge.text-dark,
.bg-gradient-navy .badge.bg-light,
.bg-gradient-navy .badge.text-dark,
.card-header.bg-gradient-navy .badge.bg-light,
.card-header.bg-gradient-navy .badge.text-dark {
  color: #0b2545 !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  font-weight: 600 !important;
}

.card-header .badge.bg-warning,
.bg-gradient-navy .badge.bg-warning,
.card-header.bg-gradient-navy .badge.bg-warning {
  color: #1e293b !important;
  background-color: #f59e0b !important;
  font-weight: 700 !important;
}

.card-header.bg-gradient-navy i.text-warning,
.bg-gradient-navy i.text-warning {
  color: #ffc107 !important;
}

.card-header:not(.bg-gradient-navy):not(.bg-primary):not(.bg-dark):not(.bg-danger):not(.bg-success) {
  background-color: #f8fafc;
  color: #0f172a;
}

.card-header:not(.bg-gradient-navy):not(.bg-primary):not(.bg-dark):not(.bg-danger):not(.bg-success) h1,
.card-header:not(.bg-gradient-navy):not(.bg-primary):not(.bg-dark):not(.bg-danger):not(.bg-success) h2,
.card-header:not(.bg-gradient-navy):not(.bg-primary):not(.bg-dark):not(.bg-danger):not(.bg-success) h3,
.card-header:not(.bg-gradient-navy):not(.bg-primary):not(.bg-dark):not(.bg-danger):not(.bg-success) h4,
.card-header:not(.bg-gradient-navy):not(.bg-primary):not(.bg-dark):not(.bg-danger):not(.bg-success) h5,
.card-header:not(.bg-gradient-navy):not(.bg-primary):not(.bg-dark):not(.bg-danger):not(.bg-success) h6 {
  color: #0f172a !important;
}

/* Buttons High Contrast Text & Visibility */
.btn-primary {
  background-color: #0b2545 !important;
  border-color: #0b2545 !important;
  color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #134074 !important;
  border-color: #134074 !important;
  color: #ffffff !important;
}

.btn-secondary {
  background-color: #64748b !important;
  border-color: #64748b !important;
  color: #ffffff !important;
}

.btn-outline-primary {
  color: #0b2545 !important;
  border-color: #0b2545 !important;
  background-color: transparent !important;
}

.btn-outline-primary:hover {
  background-color: #0b2545 !important;
  color: #ffffff !important;
}

.btn-outline-secondary {
  color: #475569 !important;
  border-color: #cbd5e1 !important;
  background-color: transparent !important;
}

.btn-outline-secondary:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

.section-icon-bubble {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-control, .form-select {
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  padding: 10px 14px;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus, .form-select:focus {
  border-color: var(--secondary-navy);
  box-shadow: 0 0 0 3px rgba(19, 64, 116, 0.15);
}

/* District Chips / Badges */
.district-pill {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

/* Status Tracker Timeline */
.status-timeline {
  position: relative;
  padding: 20px 0;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-bottom: 24px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 40px;
  bottom: -24px;
  width: 2px;
  background-color: #e2e8f0;
}

.timeline-step:last-child::before {
  display: none;
}

.timeline-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background-color: #e2e8f0;
  color: #64748b;
  margin-right: 18px;
  z-index: 1;
}

.timeline-step.completed .timeline-icon {
  background-color: var(--success-green);
  color: #ffffff;
}

.timeline-step.active .timeline-icon {
  background-color: var(--secondary-navy);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(19, 64, 116, 0.2);
}

/* Footer */
.portal-footer {
  background-color: #07192f;
  color: #94a3b8;
  padding-top: 60px;
  padding-bottom: 25px;
  border-top: 4px solid var(--accent-gold);
}

.footer-heading {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--accent-gold);
}

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

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

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px;
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-top: 30px;
}

/* Footer District Covered Badges */
.footer-district-badge {
  background-color: #ffffff !important;
  color: #0b2545 !important;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
  padding: 6px 11px !important;
  border-radius: 6px !important;
  border: 1px solid #ffffff !important;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

.footer-district-badge:hover {
  background-color: var(--accent-gold) !important;
  border-color: var(--accent-gold) !important;
  color: #0b2545 !important;
  transform: translateY(-1px);
}

/* Select2 Bootstrap 5 Theme Refinements */
.select2-container--bootstrap-5 .select2-selection {
  border-radius: 8px !important;
  border: 1.5px solid #cbd5e1 !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  font-size: 0.95rem !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
  border-color: var(--secondary-navy) !important;
  box-shadow: 0 0 0 0.25rem rgba(19, 64, 116, 0.15) !important;
}

.select2-container--bootstrap-5 .select2-dropdown {
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 10px 25px rgba(11, 37, 69, 0.12) !important;
  overflow: hidden !important;
  z-index: 1060 !important;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted[aria-selected] {
  background-color: #0b2545 !important;
  color: #ffffff !important;
}

.select2-container--bootstrap-5 .select2-results__option--selected {
  background-color: #e2e8f0 !important;
  color: #0b2545 !important;
  font-weight: 600 !important;
}

.select2-container--bootstrap-5 .select2-search__field {
  border-radius: 6px !important;
  border: 1px solid #cbd5e1 !important;
  padding: 6px 10px !important;
}

.select2-container--bootstrap-5 .select2-search__field:focus {
  border-color: var(--secondary-navy) !important;
  box-shadow: 0 0 0 2px rgba(19, 64, 116, 0.15) !important;
  outline: none !important;
}

/* Aadhaar OCR Auto-Fill Box Styling */
.aadhaar-ocr-card {
  border: 2px solid #bfdbfe !important;
  background-color: #ffffff;
  border-radius: 12px;
}

.aadhaar-upload-zone {
  background-color: #f8fafc;
  border: 2px dashed #93c5fd !important;
  transition: all 0.25s ease;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.aadhaar-upload-zone:hover {
  background-color: #f0f7ff;
  border-color: var(--secondary-navy) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(11, 37, 69, 0.08);
}

.aadhaar-upload-zone.is-invalid-zone {
  background-color: #fef2f2 !important;
  border-color: #dc3545 !important;
}

.aadhaar-upload-zone.is-valid-zone {
  background-color: #f0fdf4 !important;
  border-color: #16a34a !important;
}

.sub-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  margin-top: 40px;
  font-size: 0.88rem;
}

/* Loading Spinner Overlay */
.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 37, 69, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #ffffff;
}

.loading-spinner {
  width: 55px;
  height: 55px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ===================================================================
   Production UI Polish: Form Stepper, Upload Dropzones, Badges & Tables
   =================================================================== */

/* Form Stepper */
.registration-stepper {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.04);
}

.stepper-step {
  position: relative;
  padding: 8px 4px;
}

.stepper-bubble {
  width: 40px;
  height: 40px;
  margin: 0 auto 6px auto;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.stepper-step.active .stepper-bubble {
  background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
  color: #ffffff;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.25);
  transform: translateY(-2px);
}

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

.stepper-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}

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

/* Section Header Gradient Bubble */
.bg-gradient-navy {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
}

.section-icon-bubble {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Form Controls & Inputs */
.form-control:focus, .form-select:focus {
  border-color: var(--secondary-navy);
  box-shadow: 0 0 0 0.25rem rgba(19, 64, 116, 0.15);
}

.form-label {
  letter-spacing: -0.1px;
}

/* Card Hover Micro-Interactions */
.card-hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(11, 37, 69, 0.1) !important;
}

/* Premium Buttons */
.btn-cta-gold {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #0b2545;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(201, 151, 56, 0.25);
  transition: all 0.2s ease;
}

.btn-cta-gold:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  color: #0b2545;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201, 151, 56, 0.35);
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 2rem;
  }
  .main-navbar .nav-link {
    padding: 10px 14px;
  }
  .nav-cta-btn {
    margin: 10px 0 0 0;
    display: inline-block;
  }
}

/* High-Contrast Language Switcher & Dropdown */
.lang-switcher-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 1060;
}

.lang-dropdown {
  position: relative;
  z-index: 1060;
}

.lang-quick-pills {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lang-quick-pills .btn {
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  line-height: 1.3 !important;
  border-width: 1px !important;
}

.lang-quick-pills .btn-outline-light {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

.lang-quick-pills .btn-outline-light:hover,
.lang-quick-pills .btn-outline-light.active {
  background-color: #ffffff !important;
  color: #0b2545 !important;
  border-color: #ffffff !important;
}

.lang-quick-pills .btn-warning {
  background-color: #ffc107 !important;
  border-color: #ffc107 !important;
  color: #0b2545 !important;
}

.lang-quick-pills .btn-outline-warning {
  color: #ffc107 !important;
  border-color: #ffc107 !important;
  background: transparent !important;
}

.lang-quick-pills .btn-outline-warning:hover,
.lang-quick-pills .btn-warning.active {
  background-color: #ffc107 !important;
  color: #0b2545 !important;
}

.lang-dropdown .dropdown-toggle {
  background-color: #ffffff !important;
  color: #0b2545 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
}

.lang-dropdown .dropdown-menu {
  border-radius: 8px !important;
  box-shadow: 0 12px 30px rgba(11, 37, 69, 0.25) !important;
  border: 1px solid #cbd5e1 !important;
  max-height: 320px;
  overflow-y: auto;
  z-index: 1099 !important;
  background-color: #ffffff !important;
}

.lang-dropdown .dropdown-item {
  font-size: 13px !important;
  padding: 6px 14px !important;
  color: #1e293b;
  transition: background 0.15s ease;
}

.lang-dropdown .dropdown-item:hover,
.lang-dropdown .dropdown-item:focus {
  background-color: #f1f5f9 !important;
  color: var(--primary-navy) !important;
}

/* Official Google Translate Header Box Styling */
.google-translate-header-box {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

#google_translate_element {
  display: inline-block !important;
  vertical-align: middle;
}

#google_translate_element .goog-te-gadget {
  font-family: inherit !important;
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  line-height: normal !important;
}

#google_translate_element .goog-te-gadget .goog-te-combo {
  background-color: #ffffff !important;
  color: #0b2545 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  padding: 3px 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  outline: none !important;
  cursor: pointer !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  height: 27px !important;
  line-height: 1.2 !important;
}

#google_translate_element .goog-te-gadget .goog-te-combo:hover,
#google_translate_element .goog-te-gadget .goog-te-combo:focus {
  border-color: #fbbf24 !important;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.3) !important;
}

#google_translate_element .goog-te-gadget > span {
  display: none !important;
}

/* Suppress Google top banner push while keeping translator fully functional */
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
}

body {
  top: 0px !important;
  position: static !important;
}

body > .skiptranslate:first-child {
  display: none !important;
}

/* ========================================================
   Mobile Responsiveness Enhancements (< 768px and < 576px)
   Strict zero-horizontal-overflow rules across the entire site
   ======================================================== */
@media (max-width: 767.98px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .container, .container-fluid {
    padding-left: 14px !important;
    padding-right: 14px !important;
    max-width: 100% !important;
  }

  .row {
    margin-left: -6px !important;
    margin-right: -6px !important;
  }

  .row > [class*="col-"] {
    padding-left: 6px !important;
    padding-right: 6px !important;
    max-width: 100% !important;
  }

  /* Top Utility Notice Bar */
  .top-notice-bar {
    padding: 6px 0;
    font-size: 0.8rem;
    overflow: visible !important;
    position: relative;
    z-index: 1060 !important;
  }
  
  .top-notice-bar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 4px 8px !important;
    text-align: center;
    overflow: visible !important;
    position: relative;
    z-index: 1060 !important;
  }

  .lang-switcher-container,
  .lang-dropdown {
    position: relative;
    z-index: 1070 !important;
    overflow: visible !important;
  }

  .lang-dropdown .dropdown-menu {
    position: absolute !important;
    z-index: 1099 !important;
    right: 0 !important;
    left: auto !important;
    top: 100% !important;
    margin-top: 4px !important;
  }

  .badge-independent {
    font-size: 0.72rem;
    padding: 3px 8px;
    white-space: normal;
    text-align: center;
  }

  /* Portal Header */
  .portal-header {
    padding: 10px 0;
    position: relative;
    z-index: 1040;
  }

  .portal-header a.text-decoration-none {
    gap: 10px !important;
  }

  .brand-title {
    font-size: 1.1rem !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .brand-sub {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .brand-emblem {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    font-size: 1.25rem !important;
  }

  /* Hero Section & Action Buttons */
  .hero-slider-wrap {
    padding: 20px 0 30px 0;
    overflow-x: hidden;
  }

  .hero-carousel-item {
    min-height: auto;
    padding: 10px 0;
    overflow-x: hidden;
  }

  .hero-tag {
    font-size: 0.72rem;
    padding: 3px 8px;
    margin-bottom: 8px;
    white-space: normal;
    word-break: break-word;
  }

  .hero-title {
    font-size: 1.4rem !important;
    line-height: 1.25 !important;
    margin-bottom: 12px;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .hero-lead {
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
    margin-bottom: 16px;
    word-break: break-word !important;
  }

  /* Hero Actions Responsive */
  .hero-actions-container {
    gap: 10px;
    margin-top: 14px;
    width: 100%;
  }

  .hero-actions-primary {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100% !important;
    font-size: 0.96rem !important;
    padding: 11px 14px !important;
    text-align: center;
    justify-content: center;
  }

  .hero-actions-secondary {
    display: flex;
    width: 100%;
    gap: 8px;
  }

  .btn-hero-glass {
    flex: 1 1 calc(50% - 4px);
    font-size: 0.82rem !important;
    padding: 8px 10px !important;
    text-align: center;
    justify-content: center;
  }

  .hero-stats-card {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    padding: 12px 14px !important;
    margin-top: 16px !important;
    width: 100% !important;
    border-radius: 10px !important;
  }

  .hero-stat-sep {
    display: none !important;
  }

  .hero-stat-item {
    gap: 6px;
  }

  .hero-stat-item i {
    font-size: 1rem;
  }

  .hero-stat-item .stat-count {
    font-size: 1rem;
  }

  .hero-stat-item .stat-label {
    font-size: 0.78rem;
  }

  .hero-stat-item .stat-highlight {
    font-size: 0.82rem;
  }

  .hero-carousel-img-card {
    margin-top: 15px;
    max-width: 100%;
  }

  .hero-carousel-img-card img {
    height: 190px;
    object-fit: cover;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none !important;
  }

  /* Form 18 Registration Page on Mobile */
  .registration-stepper {
    overflow: hidden !important;
    padding: 8px 4px !important;
    margin-bottom: 16px !important;
  }

  .registration-stepper .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 !important;
  }

  .stepper-step {
    /* flex: 0 0 50% !important; */
    max-width: 50% !important;
    padding: 6px 2px !important;
  }

  .stepper-bubble {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.9rem !important;
    margin-bottom: 4px !important;
  }

  .stepper-label {
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
  }

  .form-section-card {
    margin-bottom: 16px;
    overflow: hidden;
  }

  .form-section-card .card-header {
    padding: 12px 14px;
  }

  .form-section-card .card-body {
    padding: 14px 12px;
  }

  .section-icon-bubble {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1.05rem;
    margin-right: 8px !important;
  }

  .aadhaar-ocr-card {
    overflow: hidden;
  }

  .aadhaar-ocr-card .card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 12px 14px !important;
    gap: 8px;
  }

  .aadhaar-ocr-card .card-body {
    padding: 14px 12px !important;
  }

  .aadhaar-upload-zone {
    padding: 12px !important;
    min-height: 140px !important;
  }

  #startOcrBtn {
    width: 100%;
    margin-bottom: 8px;
    font-size: 0.95rem;
    white-space: normal;
  }

  /* Form Action Buttons on Mobile */
  .alert.alert-info .d-flex.flex-wrap.gap-2 {
    width: 100% !important;
  }

  .alert.alert-info .d-flex.flex-wrap.gap-2 .btn {
    width: 100% !important;
    margin-bottom: 4px !important;
  }

  form#form18RegistrationForm button[type="submit"],
  form#form18RegistrationForm button[type="reset"] {
    width: 100% !important;
    margin-bottom: 8px !important;
  }

  /* Modal Dialog */
  .modal-dialog {
    margin: 8px !important;
    max-width: calc(100% - 16px) !important;
  }

  .modal-header {
    padding: 12px 14px;
  }

  .modal-title {
    font-size: 0.95rem;
    word-break: break-word;
  }

  /* Tables & Responsive Elements */
  .table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Footer on Mobile */
  .portal-footer {
    padding-top: 35px;
    padding-bottom: 20px;
    overflow-x: hidden;
  }

  .sub-footer {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .footer-district-badge {
    margin-bottom: 4px;
    font-size: 0.72rem !important;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.3rem !important;
  }

  .btn-group.lang-quick-pills {
    margin-bottom: 2px;
  }

  .portal-footer {
    padding-top: 30px;
    padding-bottom: 20px;
  }
}

/* ===================================================================
   Aadhaar Card Camera Live Capture & Viewport Styling
   =================================================================== */
.camera-viewport-wrap {
  position: relative;
  width: 100%;
  max-width: 600px;
  background-color: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
}

.camera-viewport-wrap video,
.camera-viewport-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  background-color: #000;
}

.camera-card-guide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
  aspect-ratio: 1.58 / 1;
  max-height: 82%;
  pointer-events: none;
  box-sizing: border-box;
}

.camera-card-guide .guide-border {
  position: relative;
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.42);
}

.guide-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: #f59e0b;
  border-style: solid;
}
.guide-corner.top-left {
  top: -2px;
  left: -2px;
  border-width: 4px 0 0 4px;
  border-top-left-radius: 12px;
}
.guide-corner.top-right {
  top: -2px;
  right: -2px;
  border-width: 4px 4px 0 0;
  border-top-right-radius: 12px;
}
.guide-corner.bottom-left {
  bottom: -2px;
  left: -2px;
  border-width: 0 0 4px 4px;
  border-bottom-left-radius: 12px;
}
.guide-corner.bottom-right {
  bottom: -2px;
  right: -2px;
  border-width: 0 4px 4px 0;
  border-bottom-right-radius: 12px;
}

.guide-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ===================================================================
   Floating WhatsApp Widget
   =================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 1050;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: whatsappPulse 2.5s infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6), 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff !important;
}

.whatsapp-float-btn:active {
  transform: scale(0.95);
}

.whatsapp-float-tooltip {
  position: absolute;
  right: 70px;
  background-color: #0b2545;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #0b2545;
}

.whatsapp-float-btn:hover .whatsapp-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 767.98px) {
  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 28px;
  }
  .whatsapp-float-tooltip {
    display: none;
  }
}

/* ===================================================
   Homepage Voter Appeal Popup - Independent High-Priority Overlay
   =================================================== */

.bmg-appeal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(0, 0, 0, 0.78) !important;
  z-index: 2147483647 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
}

.bmg-appeal-dialog {
  position: relative !important;
  max-width: 580px;
  width: 100%;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.3);
  overflow: visible !important;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  max-height: 90dvh;
  z-index: 2147483647 !important;
  animation: bmgPopupIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bmgPopupIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.bmg-appeal-close-btn {
  position: absolute !important;
  top: -16px !important;
  right: -16px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #dc2626 !important;
  color: #ffffff !important;
  border: 3px solid #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  z-index: 2147483647 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
  -webkit-appearance: none;
  padding: 0 0 2px 0;
  text-decoration: none;
}

.bmg-appeal-close-btn:active {
  transform: scale(0.92);
  background: #991b1b !important;
}

.bmg-appeal-header {
  background: linear-gradient(135deg, #b91c1c 0%, #15803d 100%);
  color: #ffffff;
  padding: 8px 16px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.bmg-appeal-body {
  padding: 10px;
  text-align: center;
  background: #f8fafc;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.bmg-appeal-img {
  max-height: min(46vh, 400px);
  max-height: min(46dvh, 400px);
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.bmg-appeal-footer {
  padding: 10px 14px;
  background: #ffffff;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.bmg-btn-row {
  display: flex;
  gap: 8px;
  width: 100%;
}

.bmg-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  touch-action: manipulation;
  -webkit-appearance: none;
  transition: all 0.15s ease;
}

.bmg-btn-close {
  background: #fee2e2;
  color: #dc2626;
  border: 1.5px solid #fca5a5;
}
.bmg-btn-close:active {
  background: #fecaca;
}

.bmg-btn-primary {
  background: #ffc107;
  color: #0b2545;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.bmg-btn-outline {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  font-size: 0.78rem;
  padding: 6px 10px;
}

.bmg-btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  font-size: 0.78rem;
  padding: 6px 10px;
}

@media (max-width: 575.98px) {
  .bmg-appeal-close-btn {
    top: -12px !important;
    right: -10px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 24px !important;
  }
  .bmg-appeal-img {
    max-height: 42vh;
    max-height: 42dvh;
  }
}


