/* ==========================================================================
   MHADA Pune 4,462 Homes Mega Explorer - Design System & Stylesheet
   ========================================================================== */

:root {
  /* Brand Color Tokens */
  --primary-navy: #081d33;
  --primary-deep: #0e2a4a;
  --primary-blue: #2563eb;
  --primary-hover: #1d4ed8;
  --accent-cyan: #06b6d4;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-rose: #e11d48;
  --accent-purple: #7c3aed;

  /* Neutrals (Light Mode) */
  --bg-app: #f4f7fb;
  --bg-main: #f4f7fb;
  --bg-card: #ffffff;
  --card-bg: #ffffff;
  --bg-card-subtle: #f8fafc;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.88);
  
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --border-line: #e2e8f0;
  --border-focus: #3b82f6;

  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.14);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Tokens */
body.dark-theme, [data-theme="dark"] {
  --bg-app: #090e17;
  --bg-main: #090e17;
  --bg-card: #111a28;
  --card-bg: #111a28;
  --bg-card-subtle: #172336;
  --bg-card-hover: #1c2b42;
  --bg-glass: rgba(17, 26, 40, 0.9);

  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-light: #64748b;

  --border-line: #1e2e46;
  --border-focus: #60a5fa;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 25px 40px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.25);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-app);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font: inherit;
}

/* Container */
.app-wrap {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 16px 20px 16px 20px;
  box-sizing: border-box;
}

main {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Top Navigation Bar */
.top-navbar {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 10px;
  z-index: 300;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-badge {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.nav-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.nav-title span {
  color: var(--primary-blue);
}

/* Hamburger Menu Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px 6px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-line);
  border-radius: var(--radius-md);
  cursor: pointer;
  z-index: 120;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  margin-left: auto;
  flex-shrink: 0;
}

.hamburger-btn:hover {
  background: var(--bg-card-subtle);
  border-color: var(--primary-blue);
}

.ham-line {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast), background-color var(--transition-fast);
}

/* Animated Hamburger to X when open */
.top-navbar.menu-open .hamburger-btn {
  border-color: var(--primary-blue);
  background: rgba(37, 99, 235, 0.12);
}

.top-navbar.menu-open .ham-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background-color: var(--primary-blue);
}

.top-navbar.menu-open .ham-line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.top-navbar.menu-open .ham-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background-color: var(--primary-blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.theme-toggle-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-blue);
  transform: translateY(-1px);
}

.nav-lang-pill {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card-subtle);
  border: 1.5px solid var(--border-line);
  border-radius: var(--radius-full);
  padding: 2px;
  gap: 2px;
  box-shadow: var(--shadow-xs);
}

.nav-lang-btn {
  border: none;
  background: transparent;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 750;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1.2;
}

.nav-lang-btn:hover {
  color: var(--primary-blue);
}

.nav-lang-btn.active {
  background: var(--primary-blue);
  color: #fff !important;
  box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 248, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 248, 0.35);
}

.btn-secondary {
  background: var(--bg-card-subtle);
  color: var(--text-main);
  border-color: var(--border-line);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-line);
}

.btn-outline:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: rgba(37, 99, 235, 0.05);
}

.btn-map {
  background: rgba(249, 115, 22, 0.12);
  color: #c2410c;
  border-color: rgba(249, 115, 22, 0.3);
}

.btn-map:hover {
  background: rgba(249, 115, 22, 0.2);
  color: #9a3412;
}

.btn-share {
  background: rgba(99, 102, 241, 0.10);
  color: #4f46e5;
  border-color: rgba(99, 102, 241, 0.3);
}

.btn-share:hover {
  background: rgba(99, 102, 241, 0.18);
  color: #3730a3;
  border-color: rgba(99, 102, 241, 0.5);
}

.btn-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  color: var(--text-main);
}

.btn-icon:hover {
  background: var(--bg-card-hover);
  color: var(--primary-blue);
}

.btn-link {
  background: transparent;
  border: 0;
  color: var(--primary-blue);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* ==========================================================================
   Hero Banner & Live Timetable HUD (Modern Light/Dark Hybrid Aesthetic)
   ========================================================================== */
.hero-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 55%, #e2eeff 100%);
  color: var(--text-main);
  border: 1.5px solid rgba(37, 99, 235, 0.16);
  border-radius: var(--radius-xl, 20px);
  padding: 32px 36px;
  box-shadow: 0 12px 36px -10px rgba(37, 99, 235, 0.08), 0 2px 8px rgba(0, 0, 0, 0.02);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

body.dark-theme .hero-banner {
  background: linear-gradient(135deg, #0b1528 0%, #0f1f3d 55%, #172d54 100%);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(56, 189, 248, 0.04) 50%, transparent 70%);
  pointer-events: none;
}

body.dark-theme .hero-banner::before {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
}

/* Hero 2-Column Responsive Layout */
.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 32px;
}

.hero-main-col {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-timer-col {
  flex: 0 0 310px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Tags Row */
.hero-tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-blue);
}

body.dark-theme .hero-tag {
  background: rgba(37, 99, 235, 0.25);
  border-color: rgba(147, 197, 253, 0.35);
  color: #93c5fd;
}

.hero-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 8px #2563eb;
  animation: heroPulse 2s infinite ease-in-out;
}

body.dark-theme .hero-tag-dot {
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

@keyframes heroPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.hero-tag-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
}

body.dark-theme .hero-tag-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

/* Title & Headline */
.hero-title {
  display: block;
  width: 100%;
  font-size: clamp(17px, 1.8vw, 26px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
  color: var(--text-main);
}

@media (min-width: 1100px) {
  .hero-title {
    white-space: nowrap;
  }
}

body.dark-theme .hero-title {
  color: #ffffff;
}

.hero-title-highlight {
  background: linear-gradient(90deg, #1d4ed8 0%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 900;
}

body.dark-theme .hero-title-highlight {
  background: linear-gradient(90deg, #60a5fa 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Description */
.hero-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 860px;
}

body.dark-theme .hero-desc {
  color: #cbd5e1;
}

.hero-desc strong {
  color: var(--text-main);
}

body.dark-theme .hero-desc strong {
  color: #ffffff;
}

/* Quick Metrics Chips Row */
.hero-metrics-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--text-body);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

body.dark-theme .hero-chip {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(147, 197, 253, 0.2);
  color: #cbd5e1;
}

.hero-chip i {
  color: var(--primary-blue);
  font-size: 11.5px;
}

.hero-chip strong {
  color: var(--text-main);
  font-weight: 750;
}

body.dark-theme .hero-chip strong {
  color: #ffffff;
}

.hero-chip.highlight-chip {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
  color: #047857;
}

body.dark-theme .hero-chip.highlight-chip {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(52, 211, 153, 0.4);
  color: #a7f3d0;
}

.hero-chip.highlight-chip i {
  color: #059669;
}

body.dark-theme .hero-chip.highlight-chip i {
  color: #34d399;
}

.hero-chip.highlight-chip strong {
  color: #065f46;
}

body.dark-theme .hero-chip.highlight-chip strong {
  color: #6ee7b7;
}

/* Action Buttons */
.hero-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-btn-cta {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #ffffff !important;
  font-weight: 750 !important;
  padding: 9px 18px !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  transition: all var(--transition-fast) !important;
}

.hero-btn-cta:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af) !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45) !important;
}

.hero-btn {
  background: var(--bg-card) !important;
  border: 1.5px solid var(--border-line) !important;
  color: var(--text-main) !important;
  font-size: 13px !important;
  padding: 9px 15px !important;
  font-weight: 650 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  transition: all var(--transition-fast) !important;
}

body.dark-theme .hero-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.hero-btn:hover {
  border-color: var(--primary-blue) !important;
  color: var(--primary-blue) !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12) !important;
}

body.dark-theme .hero-btn:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

/* Quick Navigation Links Wrap */
.hero-quick-nav-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding-top: 4px;
}

.hero-quick-label {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

body.dark-theme .hero-quick-label {
  color: #7dd3fc;
}

.hero-quick-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-anchor-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 650;
  color: var(--text-body) !important;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm, 6px);
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  transition: all var(--transition-fast);
}

body.dark-theme .hero-anchor-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f1f5f9 !important;
}

.hero-anchor-pill:hover {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #ffffff !important;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.hero-anchor-pill i {
  color: var(--primary-blue);
  font-size: 11.5px;
  transition: color var(--transition-fast);
}

body.dark-theme .hero-anchor-pill i {
  color: #38bdf8;
}

.hero-anchor-pill:hover i {
  color: #ffffff;
}

/* Social Share Options */
.hero-social-share {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-social-label {
  font-size: 11.5px;
  font-weight: 750;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 650;
  border-radius: var(--radius-sm, 6px);
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  color: var(--text-body) !important;
  transition: all var(--transition-fast);
}

body.dark-theme .hero-social-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
}

.hero-social-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.hero-social-btn.wa:hover { background: #16a34a; color: #fff !important; border-color: #16a34a; }
.hero-social-btn.tg:hover { background: #0284c7; color: #fff !important; border-color: #0284c7; }
.hero-social-btn.tw:hover { background: #0f172a; color: #fff !important; border-color: #0f172a; }
.hero-social-btn.li:hover { background: #2563eb; color: #fff !important; border-color: #2563eb; }

/* Countdown HUD Card */
.countdown-card {
  background: var(--bg-card);
  border: 1.5px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-lg, 14px);
  padding: 18px 20px;
  box-shadow: 0 10px 28px -5px rgba(37, 99, 235, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.dark-theme .countdown-card {
  background: rgba(11, 21, 40, 0.85);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.countdown-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-blue);
  box-shadow: 0 14px 34px -5px rgba(37, 99, 235, 0.16);
}

.cd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-line);
}

.cd-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--primary-blue);
  text-transform: uppercase;
}

body.dark-theme .cd-badge-live {
  color: #38bdf8;
}

.cd-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: heroPulse 2s infinite ease-in-out;
}

.cd-calendar-icon {
  font-size: 14px;
  color: var(--primary-blue);
}

body.dark-theme .cd-calendar-icon {
  color: #7dd3fc;
}

.countdown-card .cd-title {
  font-size: 11.5px;
  color: var(--text-main);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.dark-theme .countdown-card .cd-title {
  color: #e0f2fe;
}

.countdown-card .cd-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.countdown-card .cd-unit {
  background: linear-gradient(180deg, var(--bg-card-subtle) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-line);
  border-radius: 8px;
  padding: 8px 10px;
  min-width: 52px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

body.dark-theme .countdown-card .cd-unit {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(255, 255, 255, 0.12);
}

.countdown-card .cd-unit span {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-blue);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

body.dark-theme .countdown-card .cd-unit span {
  color: #38bdf8;
}

.countdown-card .cd-unit label {
  display: block;
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 4px;
}

.countdown-card .cd-colon {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

body.dark-theme .countdown-card .cd-colon {
  color: #38bdf8;
}

.cd-meta-info {
  border-top: 1px solid var(--border-line);
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
}

.cd-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
}

.cd-meta-row strong {
  color: var(--text-main);
}

body.dark-theme .cd-meta-row strong {
  color: #ffffff;
}

.cd-view-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  color: var(--primary-blue) !important;
  font-size: 11.5px;
  font-weight: 750;
  padding: 7px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: all var(--transition-fast);
  margin-top: 2px;
}

body.dark-theme .cd-view-all-btn {
  background: rgba(37, 99, 235, 0.25);
  border-color: rgba(147, 197, 253, 0.35);
  color: #bae6fd !important;
}

.cd-view-all-btn:hover {
  background: var(--primary-blue);
  color: #ffffff !important;
  border-color: var(--primary-blue);
  transform: translateY(-1px);
}

/* Disclaimer Banner */
.disclaimer-banner {
  background: rgba(217, 119, 6, 0.09);
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #92400e;
}

body.dark-theme .disclaimer-banner {
  background: rgba(217, 119, 6, 0.12);
  border-color: rgba(217, 119, 6, 0.35);
  color: #fcd34d;
}

.disclaimer-icon {
  font-size: 18px;
  line-height: 1;
}

.disclaimer-text {
  flex: 1;
}

.disclaimer-text a {
  color: var(--primary-blue);
  text-decoration: underline;
}

/* Dashboard Overview Collapsible Box */
.dashboard-collapsible {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.dashboard-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-card-subtle);
  cursor: pointer;
  user-select: none;
  font-size: 13.5px;
  color: var(--text-main);
  list-style: none;
}

.dashboard-summary-bar::-webkit-details-marker {
  display: none;
}

.dashboard-summary-bar .summary-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-summary-bar .summary-icon {
  font-size: 16px;
}

.summary-toggle-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary-blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.dashboard-collapsible[open] .summary-toggle-pill {
  background: rgba(37, 99, 235, 0.15);
}

.dashboard-collapsible-body {
  padding: 16px 18px 4px 18px;
  animation: fadeIn 0.2s ease;
}

/* KPI Dashboard Grid */
.kpis-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.kpi-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.kpi-value {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-main);
  margin-top: 4px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.kpi-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Category Quota Pool Section */
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
  flex-wrap: wrap;
}

.panel-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}

.cat-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.cat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.cat-card.selected {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 1.5px var(--primary-blue);
}

.cat-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.cat-code-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-code-badge {
  font-weight: 850;
  font-size: 12px;
  color: var(--primary-blue);
  background: rgba(37, 99, 235, 0.1);
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
}

.cat-card.selected .cat-code-badge {
  background: var(--primary-blue);
  color: #ffffff;
}

.cat-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.cat-card:hover .cat-name {
  color: var(--text-main);
}

.cat-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
}

.cat-val {
  font-size: 18px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.3px;
}

.cat-unit {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

.cat-active-pill {
  font-size: 9.5px;
  font-weight: 750;
  color: var(--primary-blue);
  background: rgba(37, 99, 235, 0.12);
  padding: 1px 5px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}

/* Lottery Schedule & Active Stage Hero */
.schedule-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.panel-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.btn-view-schedule {
  font-size: 12.5px;
  font-weight: 750;
  padding: 6px 14px;
  white-space: nowrap;
}

.schedule-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--primary-blue);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 650;
}

.live-pulse-dot,
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Active Stage Card (Prominently displayed in Overview) */
.active-stage-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.06));
  border: 1.5px solid rgba(37, 99, 235, 0.35);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.active-stage-info {
  flex: 1;
}

.active-stage-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.stage-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: var(--primary-blue);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
}

.active-stage-countdown {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.active-stage-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--text-main);
  margin: 4px 0 6px 0;
  line-height: 1.3;
}

.active-stage-dates {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-main);
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.active-stage-sep {
  color: var(--text-muted);
  font-weight: 900;
}

.active-stage-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 8px;
}

.active-stage-next-peek {
  font-size: 12px;
  color: var(--text-body);
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.active-stage-ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 210px;
  flex-shrink: 0;
}

.active-stage-ctas .btn {
  height: 40px;
  padding: 0 16px;
  font-size: 12.5px;
  font-weight: 750;
  justify-content: center;
  white-space: nowrap;
}

.schedule-modal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--border-line);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.timeline-step {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.timeline-step:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  transform: translateY(-1px);
}

.timeline-step-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}

.timeline-date-box {
  display: flex;
  flex-direction: column;
}

.timeline-date {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
}

.timeline-time {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 1px;
}

.stage-pill {
  font-size: 10px;
  font-weight: 750;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.stage-pill-active {
  background: rgba(37, 99, 235, 0.15);
  color: var(--primary-blue);
  border: 1px solid rgba(37, 99, 235, 0.35);
}

.stage-pill-done {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.stage-pill-upcoming {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-line);
}

.timeline-event-title {
  font-size: 12.5px;
  font-weight: 750;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 4px;
}

.timeline-event-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Active Stage Dynamic Glowing Highlight */
.timeline-step.active-stage {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.08));
  border: 1.5px solid var(--primary-blue);
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.18);
}

.timeline-step.active-stage .timeline-date {
  color: var(--primary-blue);
}

.timeline-step.active-stage .timeline-event-title {
  color: var(--primary-blue);
}

/* Completed Stage */
.timeline-step.completed {
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.04);
}

.timeline-step.completed .timeline-date {
  color: var(--text-body);
}

/* Filter Bar */
.filter-sticky-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

.filter-top-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.search-glass-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 2;
  user-select: none;
  line-height: 1;
}

.search-primary-input {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 52px !important;
  font-size: 14.5px;
  font-weight: 550;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-line);
  background: var(--bg-card);
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
  box-shadow: var(--shadow-sm);
}

.search-primary-input::placeholder {
  color: var(--text-light);
  font-size: 14px;
}

.search-primary-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18), var(--shadow-sm);
  background: var(--bg-card);
}

.search-clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 2;
}

.search-clear-btn:hover {
  background: var(--bg-card-hover);
  color: var(--accent-rose);
  border-color: var(--accent-rose);
}

.btn-toggle-filter-panel {
  height: 48px;
  padding: 0 20px;
  font-size: 13.5px;
  font-weight: 750;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
}

#toggleFilterText {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-collapsible-panel {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-line);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  align-items: center;
}

.filter-grid .dropdown-container:nth-of-type(1) {
  grid-column: span 2;
}

.filter-grid .dropdown-container:nth-of-type(2) {
  grid-column: span 3;
}

.filter-grid #authorityFilter {
  grid-column: span 2;
}

.filter-grid .dropdown-container:nth-of-type(3) {
  grid-column: span 2;
}

.filter-grid #catMode {
  grid-column: span 3;
}

.filter-grid #minPrice {
  grid-column: span 4;
}

.filter-grid #maxPrice {
  grid-column: span 4;
}

.filter-grid #btnResetFilters {
  grid-column: span 4;
  height: 42px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--bg-card-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-line);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.filter-grid #btnResetFilters:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
  color: var(--primary-blue);
}

.input-field {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-line);
  background: var(--bg-card);
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
}

.select-field {
  width: 100%;
  height: 42px;
  padding: 0 32px 0 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-line);
  background-color: var(--bg-card);
  color: var(--text-main);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
}

.input-field:focus, .select-field:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Custom Dropdown Menus */
.dropdown-container {
  position: relative;
  width: 100%;
}

.dropdown-container .btn,
.btn-dropdown-select {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-line);
  background: var(--bg-card);
  color: var(--text-main);
  box-sizing: border-box;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dropdown-container .btn:hover,
.btn-dropdown-select:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
}

.btn-dropdown-select.has-filter {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  font-weight: 750;
}

body.dark-theme .btn-dropdown-select.has-filter {
  background: rgba(37, 99, 235, 0.22);
  border-color: #60a5fa;
  color: #93c5fd;
}

.btn-toggle-filter-panel.has-active-filters {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff !important;
  border-color: #1d4ed8;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.dropdown-caret {
  color: var(--text-muted);
  font-size: 11px;
  margin-left: 6px;
  line-height: 1;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 300px;
  max-height: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  z-index: 150;
  overflow-y: auto;
}

.dropdown-menu.open {
  display: block;
}

.dropdown-search {
  margin-bottom: 8px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  cursor: pointer;
  color: var(--text-main);
}

.check-label:hover {
  background: var(--bg-card-hover);
}

.check-label input[type="checkbox"] {
  cursor: pointer;
}

/* Budget Quick Presets */
.budget-presets {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.preset-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.preset-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 11px;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preset-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

/* Active Chips & Row Control */
.filter-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-line);
  flex-wrap: wrap;
}

.active-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--primary-blue);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.chip-muted {
  background: var(--bg-card-subtle);
  border-color: var(--border-line);
  color: var(--text-muted);
}

.chip-remove {
  background: none;
  border: none;
  color: inherit;
  font-weight: 900;
  cursor: pointer;
  font-size: 10px;
  line-height: 1;
}

.view-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-left: auto;
}

#resultsCount {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

#resultsCount strong {
  color: var(--text-main);
}

.view-controls-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.select-field.select-sm,
.select-sm,
.page-size-select {
  width: auto !important;
  height: 34px !important;
  padding: 0 28px 0 10px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-radius: var(--radius-sm) !important;
  background-position: right 8px center !important;
  cursor: pointer;
}

.view-controls-actions .btn-outline,
.view-controls-actions [data-export-csv] {
  height: 34px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.toggle-group {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 2px;
  height: 34px;
  box-sizing: border-box;
}

.toggle-btn {
  border: 0;
  background: transparent;
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.toggle-btn.active {
  background: var(--bg-card);
  color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

.page-size-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Results Table */
.table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.4) transparent;
}

.table-container::-webkit-scrollbar {
  height: 7px;
}

.table-container::-webkit-scrollbar-track {
  background: var(--bg-card-subtle);
  border-radius: 9999px;
}

.table-container::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 9999px;
}

.table-container::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

/* Universal Table Responsive Container for all Subpages */
.table-responsive,
.info-table-wrap,
.seo-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg, 12px);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.4) transparent;
}

.table-responsive::-webkit-scrollbar,
.info-table-wrap::-webkit-scrollbar,
.seo-table-wrap::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-thumb,
.info-table-wrap::-webkit-scrollbar-thumb,
.seo-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 9999px;
}

.table-responsive table,
.info-table-wrap table,
.seo-table-wrap table {
  margin: 0 !important;
  width: 100%;
  border-collapse: collapse;
}

@media (max-width: 768px) {
  .table-responsive table,
  .info-table-wrap table,
  .seo-table-wrap table,
  .info-table,
  .timeline-table,
  .cat-table {
    min-width: 520px;
  }
}

/* Pagination Controls */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  margin: 16px 0 28px 0;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 12px;
}

.pagination-info {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--text-body);
}

.pagination-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-btn:hover:not(:disabled) {
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
}

.page-btn.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border-color: var(--primary-blue);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-ellipsis {
  padding: 0 4px;
  color: var(--text-muted);
  font-weight: 700;
}

.page-size-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-body);
}

.page-size-select {
  width: auto !important;
  height: 32px !important;
  padding: 2px 8px !important;
  font-size: 12px !important;
  border-radius: var(--radius-sm) !important;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1320px;
}

table.data-table th, table.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-line);
  text-align: left;
  font-size: 12.5px;
  vertical-align: middle;
}

table.data-table th {
  background: var(--bg-card-subtle);
  color: var(--text-main);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  position: sticky;
  top: 0;
  z-index: 10;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  border-bottom: 2px solid var(--border-line);
}

table.data-table th:hover {
  color: var(--primary-blue);
  background: var(--bg-card-hover);
}

table.data-table th.sort-asc::after {
  content: ' ▲';
  color: var(--primary-blue);
  font-size: 10px;
}

table.data-table th.sort-desc::after {
  content: ' ▼';
  color: var(--primary-blue);
  font-size: 10px;
}

table.data-table tbody tr {
  border-left: 3px solid transparent;
  transition: background-color var(--transition-fast), border-left-color var(--transition-fast);
}

table.data-table tbody tr:nth-child(even) {
  background-color: rgba(241, 245, 249, 0.4);
}

body.dark-theme table.data-table tbody tr:nth-child(even) {
  background-color: rgba(23, 35, 54, 0.4);
}

table.data-table tbody tr:hover {
  background-color: var(--bg-card-hover);
  border-left-color: var(--primary-blue);
}

.num {
  text-align: right !important;
  font-variant-numeric: tabular-nums;
}

.scheme-name-cell {
  max-width: 320px;
}

.scheme-name {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.scheme-name:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.scheme-subtext {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  flex-wrap: wrap;
}

.price-cell {
  font-size: 14px;
  font-weight: 850;
  color: var(--accent-emerald);
}

/* Table Category Quotas Badges */
.table-quotas-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  max-width: 240px;
}

.table-quota-badge {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  font-size: 10.5px;
  color: var(--text-body);
  white-space: nowrap;
}

.table-quota-badge.match {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.4);
  color: var(--primary-blue);
  font-weight: 750;
}

.table-quota-more {
  font-size: 10px;
  font-weight: 750;
  color: var(--text-muted);
  background: var(--bg-card-hover);
  border: 1px solid var(--border-line);
  padding: 2px 5px;
  border-radius: var(--radius-sm);
  cursor: help;
}

/* Pills & Badges - Modern Crisp Rounded Rectangle Style */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.pill.bhk {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-blue);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 6px;
  font-weight: 850;
  font-size: 11.5px;
  padding: 4px 10px;
  min-width: 52px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.08);
}

.pill.auth {
  background: rgba(5, 150, 105, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(5, 150, 105, 0.3);
  border-radius: 6px;
  font-weight: 750;
  padding: 4px 9px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.badge i,
.pill i {
  margin-right: 2px;
  font-size: 11px;
  line-height: 1;
}

.badge.highlight {
  background: var(--bg-card-hover);
  color: var(--text-body);
  border: 1px solid var(--border-line);
}

.badge.count-badge {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-purple);
  font-weight: 750;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
  min-width: 270px;
}

.row-actions .btn {
  padding: 4px 8px;
  font-size: 11.5px;
  height: 30px;
  white-space: nowrap;
}

/* Grid Cards Layout - Responsive Multi-Column */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 16px;
  margin-bottom: 28px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.scheme-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.scheme-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  position: relative;
}

.scheme-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px -8px rgba(37, 99, 235, 0.16), 0 0 0 1px rgba(37, 99, 235, 0.25);
  border-color: rgba(37, 99, 235, 0.5);
}

.dark-theme .scheme-card:hover {
  box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(56, 189, 248, 0.35);
  border-color: rgba(56, 189, 248, 0.5);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* Shortlisting Star Buttons — State-of-the-Art Micro-Interactions */
.bookmark-badge-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-card-subtle);
  border: 1.5px solid var(--border-line);
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
  padding: 0;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.bookmark-badge-btn .bm-icon {
  font-size: 19px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.15s ease;
}

/* Card hover gently highlights the star */
.scheme-card:hover .bookmark-badge-btn:not(.active) {
  border-color: rgba(245, 158, 11, 0.45);
  color: #f59e0b;
}

/* Direct hover on un-shortlisted star - Clean, stable, no rotation/wobble */
.bookmark-badge-btn:hover {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: #f59e0b !important;
  color: #f59e0b !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.25) !important;
  transform: none !important;
}

.dark-theme .bookmark-badge-btn:hover {
  background: rgba(245, 158, 11, 0.2) !important;
  border-color: #fbbf24 !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.35) !important;
  transform: none !important;
}

.bookmark-badge-btn:hover .bm-icon {
  transform: none !important;
}

/* Shortlisted (active) state — Luxury, professional bookmark badge */
.bookmark-badge-btn.active,
.bookmark-badge-btn.active:hover,
.bookmark-badge-btn.active:focus {
  background: rgba(245, 158, 11, 0.14) !important;
  border-color: #f59e0b !important;
  color: #f59e0b !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.35) !important;
  transform: none !important;
  animation: none !important;
}

.bookmark-badge-btn.active .bm-icon {
  color: #f59e0b !important;
  transform: none !important;
}

.dark-theme .bookmark-badge-btn.active,
.dark-theme .bookmark-badge-btn.active:hover,
.dark-theme .bookmark-badge-btn.active:focus {
  background: rgba(245, 158, 11, 0.22) !important;
  border-color: #fbbf24 !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.4) !important;
}

.dark-theme .bookmark-badge-btn.active .bm-icon {
  color: #fbbf24 !important;
}

/* Table bookmark button - Stable, no wobble */
.bookmark-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  padding: 0;
}

.bookmark-btn:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: #f59e0b;
  color: #f59e0b;
  transform: none;
}

.bookmark-btn.active,
.bookmark-btn.active:hover {
  background: #f59e0b;
  border-color: #d97706;
  color: #ffffff;
  transform: none;
}

.card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 12px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.card-title:hover {
  color: var(--primary-blue);
}

.card-price-box {
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-emerald);
  text-transform: uppercase;
}

.price-val {
  font-size: 16px;
  font-weight: 900;
  color: var(--accent-emerald);
  font-variant-numeric: tabular-nums;
}

.card-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin-bottom: 14px;
  font-size: 12px;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.spec-val {
  font-weight: 700;
  color: var(--text-main);
}

/* RERA Verification Link */
.rera-link {
  color: var(--primary-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.rera-link:hover {
  color: var(--primary-hover);
  text-decoration: none;
}

.card-quotas-wrap {
  margin-bottom: 16px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-line);
}

.quota-label-heading {
  font-size: 10.5px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.4px;
}

.card-quotas {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  max-height: 52px;
  overflow: hidden;
  align-items: center;
}

.quota-pill {
  font-size: 10px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  padding: 2.5px 6px;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 1.35;
  white-space: nowrap;
}

.quota-more-pill {
  background: rgba(37, 99, 235, 0.08) !important;
  border: 1px dashed rgba(37, 99, 235, 0.35) !important;
  color: var(--primary-blue) !important;
  font-weight: 750 !important;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quota-more-pill:hover {
  background: var(--primary-blue) !important;
  color: #fff !important;
  border-style: solid !important;
}

.dark-theme .quota-more-pill {
  background: rgba(56, 189, 248, 0.12) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  color: #38bdf8 !important;
}

.dark-theme .quota-more-pill:hover {
  background: #38bdf8 !important;
  color: #0f172a !important;
}

.quota-pill.active-cat {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.25);
  color: var(--primary-blue);
  font-weight: 700;
}

.quota-pill.selected-filter {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  color: #b45309 !important;
  font-weight: 800 !important;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.2);
}

body.dark-theme .quota-pill.active-cat {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

body.dark-theme .quota-pill.selected-filter {
  background: rgba(251, 191, 36, 0.2) !important;
  border-color: rgba(251, 191, 36, 0.6) !important;
  color: #fde68a !important;
}

/* Card Action Layout — Strictly 2 Rows Total (Row 1: 4 pills, Row 2: View Details) */
.card-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-line);
  width: 100%;
  box-sizing: border-box;
}

.card-action-pills {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.9fr 0.9fr;
  gap: 4px;
  width: 100%;
  box-sizing: border-box;
}

.card-action-pills .btn {
  width: 100%;
  padding: 4px 3px !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  height: 32px !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 3px;
  border-radius: var(--radius-sm);
  box-sizing: border-box;
  min-width: 0;
}

.card-action-pills .btn i.fa-solid,
.card-action-pills .btn i.fa-regular {
  margin-right: 0 !important;
  font-size: 10.5px;
}

.btn-view-details {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 38px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background: var(--primary-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.2px;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
  box-sizing: border-box;
}

.btn-view-details:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-view-details:active {
  transform: translateY(0);
}

/* Modal Header — Share + Close side by side */
.modal-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.modal-share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.08);
  color: #4f46e5;
  font-size: 13px;
  font-weight: 750;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.modal-share-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.modal-share-btn:hover {
  background: rgba(99, 102, 241, 0.16);
  border-color: rgba(99, 102, 241, 0.65);
  transform: translateY(-1px);
}

/* Disclaimer Popup Modal */
.disclaimer-modal-sheet {
  background: var(--bg-card);
  border: 1px solid rgba(217, 119, 6, 0.35);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4), 0 0 35px rgba(217, 119, 6, 0.12);
  width: 100%;
  max-width: 680px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  margin: auto;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.disclaimer-modal-header {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(37, 99, 235, 0.05));
  border-bottom: 1px solid var(--border-line);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

.disclaimer-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.disclaimer-title-wrap > div {
  flex: 1;
  min-width: 0;
}

.disclaimer-big-icon {
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  flex-shrink: 0;
}

.disclaimer-modal-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
  word-break: break-word;
}

.disclaimer-modal-body {
  padding: 14px 20px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-body);
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.4) transparent;
}

.disclaimer-modal-body::-webkit-scrollbar {
  width: 5px;
}

.disclaimer-modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.disclaimer-modal-body::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 9999px;
}

.disclaimer-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.6);
}

.disclaimer-alert-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-main);
  word-break: break-word;
  overflow-wrap: anywhere;
  box-sizing: border-box;
  width: 100%;
}

.disclaimer-alert-box .alert-icon {
  width: 26px;
  height: 26px;
  font-size: 13px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.disclaimer-alert-box .disclaimer-alert-text {
  flex: 1;
  min-width: 0;
}

.disclaimer-points {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  box-sizing: border-box;
}

.point-item {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--text-body);
  word-break: break-word;
  overflow-wrap: anywhere;
  box-sizing: border-box;
  width: 100%;
  transition: all var(--transition-fast);
}

.point-item > div {
  flex: 1;
  min-width: 0;
}

.point-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
}

.point-icon {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.point-item strong {
  color: var(--text-main);
  display: inline;
  margin-bottom: 1px;
}

.disclaimer-modal-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border-line);
  background: var(--bg-card-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 100%;
}

.disclaimer-modal-footer .btn {
  height: 40px;
  font-size: 13px;
  font-weight: 750;
  padding: 0 20px;
}

/* Floating Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--primary-navy);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastSlideIn 0.25s ease, toastFadeOut 0.3s ease 3.7s forwards;
  pointer-events: auto;
  max-width: 380px;
}

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

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

/* Floating Dynamic Scroll-to-Top Button with Circular Progress Ring */
.scroll-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 220;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8) translateY(15px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
  padding: 0;
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.scroll-to-top-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
  border-color: var(--primary-blue);
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
  width: 48px;
  height: 48px;
  pointer-events: none;
}

.progress-ring-bg {
  fill: none;
  stroke: rgba(148, 163, 184, 0.2);
  stroke-width: 3.5;
}

.progress-ring-circle {
  fill: none;
  stroke: var(--primary-blue);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 125.66;
  stroke-dashoffset: 125.66;
  transition: stroke-dashoffset 0.08s linear;
}

.scroll-btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.scroll-arrow-icon {
  font-size: 16px;
  font-weight: 900;
  color: var(--primary-blue);
  transition: transform var(--transition-fast);
}

.scroll-to-top-btn:hover .scroll-arrow-icon {
  transform: translateY(-2px);
}

.scroll-percent-text {
  font-size: 8px;
  font-weight: 800;
  color: var(--text-muted);
  margin-top: 1px;
  letter-spacing: -0.2px;
}

body.dark-theme .scroll-to-top-btn {
  background: var(--primary-navy);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.55);
}

body.dark-theme .progress-ring-circle {
  stroke: #38bdf8;
}

body.dark-theme .scroll-arrow-icon {
  color: #38bdf8;
}

.rera-badge-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.copy-rera-btn {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  color: var(--text-main);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-rera-btn:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.card-actions {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.9fr auto;
  gap: 6px;
  margin-top: auto;
}

/* ==========================================================================
   Multi-Column App Footer & Intellectual Property Protection Suite
   ========================================================================== */
.app-footer {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-xl, 18px);
  padding: 36px 36px 24px 36px;
  margin-top: 48px;
  margin-bottom: 32px;
  color: var(--text-body);
  font-size: 13px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

body.dark-theme .app-footer {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.05fr 1.15fr;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.footer-brand-title strong {
  display: block;
  font-size: 16px;
  font-weight: 850;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.2px;
}

.footer-brand-title span {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-brand-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.footer-ip-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-left: 3.5px solid var(--primary-blue);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 11.5px;
  line-height: 1.5;
}

.footer-ip-title {
  color: var(--primary-blue);
  font-weight: 800;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.footer-ip-text {
  color: var(--text-body);
}

.footer-curator-badge {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.curator-link {
  color: var(--primary-blue);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.curator-link:hover {
  color: var(--primary-hover);
  text-decoration: none;
}

.footer-col-title {
  font-size: 13.5px;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.2px;
}

.footer-col-title i {
  color: var(--primary-blue);
  font-size: 13px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list li a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  padding: 2px 0;
}

.footer-links-list li a i {
  font-size: 11.5px;
  color: var(--text-muted);
  width: 14px;
  text-align: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links-list li a:hover {
  color: var(--primary-blue);
  transform: translateX(3px);
}

.footer-links-list li a:hover i {
  color: var(--primary-blue);
  transform: scale(1.15);
}

.footer-helpline-box {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(6, 182, 212, 0.04));
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 11.5px;
}

body.dark-theme .footer-helpline-box {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.3);
}

.fhl-title {
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.fhl-title i {
  color: var(--primary-blue);
}

.fhl-body {
  color: var(--text-muted);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fhl-body a {
  color: var(--primary-blue);
  font-weight: 750;
}

.fhl-body a:hover {
  text-decoration: underline;
}

.footer-disclaimer-strip {
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #92400e;
  margin-bottom: 20px;
}

body.dark-theme .footer-disclaimer-strip {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fcd34d;
}

.footer-disclaimer-strip .disclaimer-icon {
  font-size: 15px;
  margin-top: 1px;
  flex-shrink: 0;
}

.disclaimer-strip-text a {
  color: inherit;
  text-decoration: underline;
  font-weight: 750;
}

.copyright-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-line);
  padding-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  gap: 16px;
  flex-wrap: wrap;
}

@media (min-width: 901px) {
  .copyright-bar {
    padding-right: 70px; /* prevents floating scroll button overlap on desktop */
  }
}

.copyright-text {
  line-height: 1.5;
  word-break: normal;
  overflow-wrap: break-word;
}

.footer-policy-pills {
  display: flex;
  align-items: center;
  gap: 8px 12px;
  font-size: 12px;
  flex-wrap: wrap;
}

.footer-policy-pills a {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 650;
  white-space: nowrap; /* Prevents word splitting like "Dis-claimer" */
  transition: color var(--transition-fast);
}

.footer-policy-pills a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.footer-policy-pills span {
  color: var(--border-line);
  font-weight: bold;
}

/* Legal Modal Styling */
.legal-modal-sheet {
  max-width: 820px;
  height: 84vh;
  max-height: 84vh;
}

.legal-modal-body {
  padding: 18px 24px;
}

.legal-content-card h4 {
  font-size: 15px;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-content-card p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 14px;
}

.legal-points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.legal-tab-pane {
  display: none;
  animation: modalTabFadeIn 0.2s ease-out;
}

.legal-tab-pane.active {
  display: block;
}

.legal-lang-content {
  display: none;
}

.legal-lang-content.active {
  display: block;
  animation: modalTabFadeIn 0.2s ease-out;
}

@media (max-width: 1024px) {
  .app-footer {
    padding: 28px 24px 20px 24px;
    margin-top: 36px;
    margin-bottom: 24px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .app-footer {
    padding: 22px 18px 18px 18px;
    border-radius: var(--radius-lg, 12px);
    margin-top: 28px;
    margin-bottom: 16px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .copyright-bar {
    padding-right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-policy-pills {
    gap: 8px;
  }
  .legal-points-grid {
    grid-template-columns: 1fr;
  }
}

/* Modals System — Flex-based Robust Scrolling */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  padding: 20px 14px;
  box-sizing: border-box;
  overflow: hidden;
}

#docViewerModal {
  z-index: 2500 !important;
}

#disclaimerModal {
  z-index: 2800 !important;
}

.modal-backdrop.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-sheet {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.45);
  width: 100%;
  max-width: 960px;
  height: 88vh;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  animation: modalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-line);
  background: var(--bg-card-subtle);
  position: relative;
  flex-shrink: 0;
  z-index: 10;
}

.modal-scheme-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
}

.modal-scheme-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.modal-scheme-badges .pill,
.modal-scheme-badges .badge {
  border-radius: 6px;
}

.modal-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.modal-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  color: var(--text-main);
  cursor: pointer;
  height: 36px;
  box-sizing: border-box;
  transition: all var(--transition-fast);
}

.modal-share-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-1px);
}

.modal-body {
  padding: 20px 24px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  box-sizing: border-box;
}

/* Custom Scrollbar System for Modals & Document */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.4) transparent;
}

body.dark-theme * {
  scrollbar-color: rgba(56, 189, 248, 0.4) transparent;
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 9999px;
  border: 1.5px solid transparent;
  background-clip: padding-box;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(37, 99, 235, 0.7);
}

body.dark-theme ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
}

body.dark-theme ::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.65);
}

/* Glowing Scrollbar for Modal Body */
.modal-body::-webkit-scrollbar,
.disclaimer-modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-thumb,
.disclaimer-modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.5), rgba(6, 182, 212, 0.5));
  border-radius: 9999px;
}

.modal-body::-webkit-scrollbar-thumb:hover,
.disclaimer-modal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.9), rgba(6, 182, 212, 0.9));
}

body.dark-theme .modal-body::-webkit-scrollbar-thumb,
body.dark-theme .disclaimer-modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.5), rgba(99, 102, 241, 0.5));
}

body.dark-theme .modal-body::-webkit-scrollbar-thumb:hover,
body.dark-theme .disclaimer-modal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.9), rgba(99, 102, 241, 0.9));
}

.close-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 30;
  pointer-events: auto;
  transition: all var(--transition-fast);
}

.close-btn:hover {
  background: var(--bg-card-hover);
  color: var(--accent-rose);
  border-color: var(--accent-rose);
  transform: scale(1.08);
}

/* Modal Hero Callout Banner (Compact 4-Metric Strip) */
.modal-hero-container {
  margin-bottom: 12px;
}

.modal-hero-banner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.06));
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}

.mhero-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mhero-label {
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.4px;
}

.mhero-val {
  font-size: 17px;
  font-weight: 850;
  color: var(--text-main);
  margin-top: 2px;
  line-height: 1.2;
}

.mhero-price .mhero-val {
  color: var(--primary-blue);
}

.mhero-sub {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Modal Tabs Navigation Bar */
.modal-tabs-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1.5px solid var(--border-line);
  margin-bottom: 14px;
}

.modal-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: all var(--transition-fast);
  margin-bottom: -1.5px;
}

.modal-tab-btn:hover {
  color: var(--primary-blue);
  background: rgba(37, 99, 235, 0.04);
}

.modal-tab-btn.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
  background: rgba(37, 99, 235, 0.08);
}

.modal-tab-badge {
  font-size: 9.5px;
  font-weight: 750;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.15);
  color: var(--primary-blue);
}

.modal-tab-pane {
  display: none;
  animation: modalTabFadeIn 0.2s ease-out;
}

.modal-tab-pane.active {
  display: block;
}

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

/* Tab 1: Structured Property Specifications Sections */
.spec-sections-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-group {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.spec-group:hover {
  border-color: var(--border-focus);
}

.spec-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(37, 99, 235, 0.05);
  border-bottom: 1px solid var(--border-line);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-main);
}

.spec-group-icon {
  font-size: 14px;
}

.spec-table {
  display: flex;
  flex-direction: column;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px dashed var(--border-line);
  font-size: 12.5px;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-k {
  color: var(--text-muted);
  font-weight: 650;
  flex: 0 0 45%;
  max-width: 320px;
}

.spec-v {
  color: var(--text-main);
  text-align: right;
  flex: 1;
}

.spec-row-quotas {
  align-items: flex-start;
}

.spec-row-quotas .spec-v {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Short Quota Strip in Specifications Tab */
.short-quota-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}

.short-quota-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  font-size: 11px;
  color: var(--text-main);
}

.short-quota-pill b {
  color: var(--primary-blue);
  font-weight: 800;
}

.short-quota-pill .units {
  color: var(--text-muted);
  font-size: 10px;
}

/* Tab 2: Financial Dashboard (2-Column Layout) */
.modal-finance-dashboard {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 14px;
}

.finance-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}

.finance-card-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--border-line);
  display: flex;
  align-items: center;
  gap: 6px;
}

.finance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--border-line);
}

.finance-row:last-child {
  border-bottom: none;
}

.finance-row span {
  color: var(--text-muted);
}

.finance-row strong {
  color: var(--text-main);
  font-weight: 750;
}

.finance-row.total-row {
  margin-top: 6px;
  padding: 8px 0;
  border-top: 1.5px solid var(--border-focus);
  border-bottom: 1.5px solid var(--border-focus);
  font-weight: 850;
  font-size: 13px;
}

.finance-row.total-row span {
  color: var(--accent-emerald);
}

.finance-row.total-row strong {
  color: var(--accent-emerald);
  font-size: 14px;
}

.affordability-metric-box {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.affordability-metric-box .label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.affordability-metric-box .val {
  font-size: 14px;
  font-weight: 850;
}

/* Possession Cost Financial & Legal Disclaimer */
.possession-cost-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 11px;
  line-height: 1.55;
  color: #92400e;
  margin-top: 12px;
}

body.dark-theme .possession-cost-disclaimer {
  background: rgba(217, 119, 6, 0.12);
  border-color: rgba(217, 119, 6, 0.35);
  color: #fcd34d;
}

.possession-cost-disclaimer strong {
  color: #b45309;
}

body.dark-theme .possession-cost-disclaimer strong {
  color: #fde68a;
}

.possession-cost-disclaimer a {
  color: var(--primary-blue);
  text-decoration: underline;
}

.disclaimer-shield {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.cost-asterisk {
  color: #d97706;
  font-weight: 900;
  font-size: 13px;
  vertical-align: super;
  line-height: 0;
  margin-left: 2px;
}

/* Tab 3: Reservation Quotas Toolbar & Grid */
.modal-quotas-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
}

.modal-quota-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  user-select: none;
  font-size: 11.5px;
  color: var(--text-muted);
}

.modal-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.modal-cat-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.modal-cat-box.active {
  border-color: rgba(37, 99, 235, 0.4);
  background: rgba(37, 99, 235, 0.07);
}

.modal-cat-box.zero {
  opacity: 0.65;
}

.mcat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.mcat-code {
  font-size: 12px;
  font-weight: 850;
  color: var(--primary-blue);
}

.mcat-status-pill {
  font-size: 10px;
  font-weight: 750;
  padding: 2px 6px;
  border-radius: 4px;
}

.mcat-status-pill.status-avail {
  background: var(--primary-blue);
  color: #fff;
}

.mcat-status-pill.status-none {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-line);
}

.mcat-desc {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Docked Bottom Action Footer */
.modal-scheme-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 20px;
  border-top: 1.5px solid var(--border-line);
  background: var(--bg-card-subtle);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.msf-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.msf-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-apply-portal {
  font-weight: 800;
  padding: 8px 16px;
  font-size: 13px;
}

.modal-actions .btn-modal-main {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: #fff;
  font-weight: 750;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

/* Comparison Drawer / Floating Dock */
.compare-dock {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 40px);
  opacity: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  padding: 8px 10px 8px 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  z-index: 280;
  align-items: center;
  gap: 12px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  max-width: 520px;
  width: auto;
  box-sizing: border-box;
}

.compare-dock.visible {
  display: flex;
  transform: translate(-50%, 0);
  opacity: 1;
}

.compare-dock-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.compare-dock-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.compare-dock-icon {
  font-size: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(30, 58, 138, 0.5));
  border: 1px solid rgba(59, 130, 246, 0.4);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.compare-dock-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.compare-dock-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.compare-dock-badge {
  font-size: 11px;
  font-weight: 800;
  background: var(--primary-blue);
  color: #fff;
  padding: 1px 7px;
  border-radius: 9999px;
  letter-spacing: 0.2px;
}

.compare-dock-subtitle {
  font-size: 10.5px;
  color: #94a3b8;
  white-space: nowrap;
}

.compare-dock-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.compare-open-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 7px 14px !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4) !important;
  white-space: nowrap !important;
  transition: all var(--transition-fast) !important;
  cursor: pointer;
}

.compare-open-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.55) !important;
}

.compare-clear-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #cbd5e1 !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  padding: 0 !important;
  cursor: pointer;
  transition: all var(--transition-fast) !important;
}

.compare-clear-btn:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
  color: #fca5a5 !important;
}

/* Elevate scroll-to-top button smoothly when compare dock is visible */
.scroll-to-top-btn.dock-shifted {
  bottom: 84px;
}

/* Compare Modal Ribbon & Controls */
.compare-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.compare-ribbon-title {
  font-size: 13.5px;
  font-weight: 750;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-ribbon-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Compare Mobile Hint */
.compare-mobile-hint {
  display: none;
}

/* Comparison Table */
.compare-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.4) transparent;
  position: relative;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12.5px;
  min-width: 720px;
}

.compare-table th, .compare-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-line);
  border-right: 1px solid var(--border-line);
  text-align: left;
  vertical-align: middle;
  background: var(--bg-card);
}

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

.compare-table td:last-child, .compare-table th:last-child {
  border-right: none;
}

.compare-criteria-col {
  background: var(--bg-card-subtle) !important;
  font-weight: 800;
  color: var(--text-main);
  font-size: 12px;
  width: 180px;
  min-width: 180px;
  position: sticky;
  left: 0;
  z-index: 6;
  border-right: 2px solid var(--border-line) !important;
  box-shadow: 3px 0 8px rgba(0, 0, 0, 0.04);
}

.compare-section-header {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.05)) !important;
  font-weight: 850;
  font-size: 11.5px;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 8px 14px;
  position: sticky;
  left: 0;
  z-index: 4;
}

.compare-col-head {
  background: var(--bg-card-subtle) !important;
  position: relative;
  min-width: 220px;
  padding: 16px 14px 12px 14px !important;
  vertical-align: top !important;
}

.remove-compare-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: 6px;
  width: 24px;
  height: 24px;
  font-size: 11px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.remove-compare-btn:hover {
  background: var(--accent-rose);
  color: #fff;
  border-color: var(--accent-rose);
}

.compare-head-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  padding-right: 28px;
}

.compare-scheme-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.3;
}

.compare-head-price {
  font-size: 15px;
  font-weight: 900;
  color: var(--accent-emerald);
  margin-bottom: 8px;
}

.compare-head-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.compare-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.compare-quota-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* Shortlist Drawer */
.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1100;
}

.drawer-backdrop.open {
  display: block;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 440px;
  max-width: 100%;
  height: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--border-line);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  z-index: 1110;
  animation: slideDrawer 0.25s ease;
}

@keyframes slideDrawer {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-line);
  background: var(--bg-card-subtle);
}

.drawer-body {
  padding: 18px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shortlist-item-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shortlist-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shortlist-card-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
}

.shortlist-meta {
  font-size: 11.5px;
  color: var(--text-muted);
}

.shortlist-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-emerald);
  margin-top: 2px;
}

.shortlist-actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

/* Calculator Styles */
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calc-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.calc-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 5px;
}

.range-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.range-input {
  flex: 1;
  cursor: pointer;
}

.range-val-badge {
  font-size: 12px;
  font-weight: 750;
  color: var(--primary-blue);
  background: rgba(37, 99, 235, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  min-width: 100px;
  text-align: center;
}

.alert-box {
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 14px;
}

.alert-box.success {
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.3);
  color: #065f46;
}

body.dark-theme .alert-box.success {
  color: #34d399;
}

.alert-box.warning {
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: #92400e;
}

body.dark-theme .alert-box.warning {
  color: #fbbf24;
}

.alert-box.danger {
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.3);
  color: #9f1239;
}

body.dark-theme .alert-box.danger {
  color: #f43f5e;
}

.alert-title {
  font-weight: 800;
  font-size: 13.5px;
  margin-bottom: 4px;
}

.fee-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
  background: var(--bg-card);
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-line);
}

.fee-item {
  font-size: 11.5px;
  display: flex;
  flex-direction: column;
}

.fee-item.highlight {
  grid-column: span 2;
  border-top: 1px dashed var(--border-line);
  padding-top: 6px;
  color: var(--primary-blue);
}

/* EMI Display Metric Cards */
.emi-summary-box {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  margin-top: 14px;
}

.emi-main-val {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-emerald);
  margin: 4px 0;
}

.emi-breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
  text-align: left;
}

.emi-stat-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}

.emi-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.emi-stat-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 2px;
}

.progress-split {
  height: 8px;
  background: #cbd5e1;
  border-radius: var(--radius-full);
  display: flex;
  overflow: hidden;
  margin-top: 12px;
}

.progress-bar-fill.principal {
  background: var(--primary-blue);
}

.progress-bar-fill.interest {
  background: var(--accent-amber);
}

/* Timeline & Milestones */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}

.timeline-step {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

.timeline-step .date {
  font-weight: 850;
  color: var(--primary-blue);
  font-size: 12px;
}

.timeline-step .event {
  font-size: 11px;
  color: var(--text-body);
  margin-top: 4px;
  line-height: 1.35;
}

/* Checklist */
.checklist-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 16px;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.checklist-item input[type="checkbox"] {
  margin-top: 4px;
  cursor: pointer;
}

.chk-text strong {
  font-size: 12.5px;
  color: var(--text-main);
}

.chk-text p {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.req {
  font-size: 10px;
  color: var(--accent-rose);
  font-weight: 700;
  margin-left: 4px;
}

/* FAQs Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.accordion-item:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.06);
}

.accordion-header {
  padding: 14px 18px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  background: var(--bg-card-subtle);
  border-left: 3px solid transparent;
  transition: all var(--transition-fast);
  gap: 12px;
}

.accordion-header:hover {
  background: rgba(37, 99, 235, 0.04);
  color: var(--primary-blue);
}

.accordion-item.active .accordion-header {
  background: rgba(37, 99, 235, 0.06);
  color: var(--primary-blue);
  border-left: 3px solid var(--primary-blue);
  border-bottom: 1px solid var(--border-line);
}

.accordion-header::after {
  content: '▾';
  font-size: 16px;
  color: var(--text-muted);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease;
  flex-shrink: 0;
}

.accordion-item.active .accordion-header::after {
  transform: rotate(180deg);
  color: var(--primary-blue);
}

.accordion-body {
  display: none;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--text-body);
  border-top: 1px solid var(--border-line);
  background: var(--bg-card);
  line-height: 1.65;
  animation: fadeInBody 0.2s ease;
}

.accordion-item.active .accordion-body {
  display: block;
}

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

/* Empty State */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 8px;
}

.empty-state h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

/* Developer Profile Card Section */
.developer-profile-section {
  margin-top: 50px;
  margin-bottom: 24px;
}

.developer-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.developer-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent 70%);
  pointer-events: none;
}

.dev-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.dev-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-blue);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
  background: var(--primary-navy);
}

.dev-badge-sih {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 850;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  border: 2px solid #0f172a;
  white-space: nowrap;
}

.dev-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dev-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.dev-name-wrap {
  display: flex;
  flex-direction: column;
}

.dev-name {
  font-size: 19px;
  font-weight: 850;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dev-name:hover {
  color: var(--primary-blue);
}

.dev-role {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-cyan);
}

.dev-bio {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-body);
}

.dev-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.dev-tag {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--text-main);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}

.dev-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.dev-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  color: var(--text-main);
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.dev-social-btn:hover {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .developer-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 20px;
  }
  .dev-header {
    justify-content: center;
  }
  .dev-tags {
    justify-content: center;
  }
  .dev-links {
    justify-content: center;
  }
}

.copyright-bar {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-weight: 600;
  color: var(--text-body);
}

.visitor-badge-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
}

.visitor-pulse {
  width: 7px;
  height: 7px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
  display: inline-block;
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(5, 150, 105, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.visitor-num {
  color: var(--primary-blue);
  font-variant-numeric: tabular-nums;
  font-weight: 850;
}

.copyright-bar a {
  color: var(--primary-blue);
  text-decoration: underline;
}

.helpline-box {
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin: 14px 0;
}

/* Default Print Stylesheet for general table printing */
@media print {
  body:not(.printing-cheat-sheet) {
    background: #ffffff !important;
    color: #000000 !important;
  }
  body:not(.printing-cheat-sheet) .top-navbar,
  body:not(.printing-cheat-sheet) .filter-sticky-bar,
  body:not(.printing-cheat-sheet) .hero-links,
  body:not(.printing-cheat-sheet) .compare-dock,
  body:not(.printing-cheat-sheet) .drawer-backdrop,
  body:not(.printing-cheat-sheet) .modal-backdrop {
    display: none !important;
  }
  body:not(.printing-cheat-sheet) .app-wrap {
    padding: 0;
    max-width: 100%;
  }
  body:not(.printing-cheat-sheet) .table-container {
    box-shadow: none;
    border: none;
  }
  body:not(.printing-cheat-sheet) table.data-table th {
    background: #f1f5f9 !important;
    color: #000 !important;
  }
}

/* Responsive Media Queries */
@media (max-width: 1400px) {
  .kpis-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .filter-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .timeline-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .kpis-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }
  .modal-cats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .filter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 24px;
  }
  .hero-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .hero-timer-col {
    justify-content: flex-start;
    width: 100%;
  }
  .countdown-card {
    width: 100%;
    max-width: 420px;
  }
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }

  .nav-actions {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-line);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    z-index: 200;
  }

  .top-navbar.menu-open .nav-actions {
    display: flex;
    animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 13px;
  }

  .filter-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .btn-toggle-filter-panel {
    width: 100%;
    justify-content: center;
  }

  .filter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .filter-grid .dropdown-container {
    grid-column: span 1 !important;
  }

  .filter-grid #authorityFilter {
    grid-column: span 1 !important;
  }

  .filter-grid #catMode {
    grid-column: span 2 !important;
  }

  .filter-grid #minPrice {
    grid-column: span 1 !important;
  }

  .filter-grid #maxPrice {
    grid-column: span 1 !important;
  }

  .filter-grid #btnResetFilters {
    grid-column: span 2 !important;
  }
}

@media (max-width: 600px) {
  html, body {
    width: 100%;
  }

  .app-wrap {
    padding: 6px 8px 50px 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .top-navbar {
    padding: 8px 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 6px;
    z-index: 300;
  }

  .nav-title {
    font-size: 13px;
  }

  .hamburger-btn {
    display: flex !important;
    width: 38px;
    height: 38px;
  }

  /* Compact & Highly Polished Mobile Hero Banner */
  .hero-banner {
    padding: 18px 16px;
    margin-bottom: 14px;
    border-radius: var(--radius-lg, 14px);
  }

  .hero-tag-row {
    gap: 6px;
    margin-bottom: 8px;
  }

  .hero-tag {
    font-size: 10px;
    padding: 3px 9px;
  }

  .hero-tag-secondary {
    font-size: 10px;
    padding: 3px 8px;
  }

  .hero-title {
    font-size: 18.5px;
    line-height: 1.25;
    margin-bottom: 8px;
  }

  .hero-desc {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .hero-metrics-chips {
    gap: 6px;
    margin-bottom: 12px;
  }

  .hero-chip {
    font-size: 11px;
    padding: 4px 9px;
  }

  .hero-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-bottom: 12px;
  }

  .hero-links .btn {
    width: 100%;
    padding: 9px 12px;
    font-size: 12.5px;
    justify-content: center;
  }

  .hero-quick-nav-wrap {
    margin-bottom: 10px;
  }

  .hero-quick-anchors {
    gap: 6px;
  }

  .hero-anchor-pill {
    padding: 5px 9px;
    font-size: 11px;
  }

  .hero-social-share {
    gap: 6px;
  }

  .hero-social-btn {
    padding: 4px 8px;
    font-size: 10.5px;
  }

  .countdown-card {
    padding: 12px 14px;
    margin-top: 10px;
    width: 100%;
    min-width: unset;
  }

  .countdown-card .cd-unit {
    padding: 6px 8px;
    min-width: 44px;
  }

  .countdown-card .cd-unit span {
    font-size: 18px;
  }

  .countdown-card .cd-unit label {
    font-size: 8px;
  }

  .countdown-card .cd-colon {
    font-size: 16px;
    margin-bottom: 8px;
  }

  /* Disclaimer Banner */
  .disclaimer-banner {
    padding: 8px 10px;
    font-size: 11px;
    margin-bottom: 10px;
    border-radius: var(--radius-md);
  }

  /* Dashboard Overview Collapsible */
  .dashboard-collapsible {
    margin-bottom: 10px;
    border-radius: var(--radius-md);
  }

  .dashboard-summary-bar {
    padding: 10px 12px;
    font-size: 12px;
  }

  .summary-toggle-pill {
    font-size: 10.5px;
    padding: 3px 8px;
  }

  .dashboard-collapsible-body {
    padding: 10px 8px 2px 8px;
  }

  /* Compact 3-Column Mobile KPI Dashboard */
  .kpis-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-bottom: 10px;
  }

  .kpi-card {
    padding: 6px 8px;
  }

  .kpi-label {
    font-size: 9px;
  }

  .kpi-value {
    font-size: 15px;
  }

  .kpi-desc {
    font-size: 8.5px;
  }

  /* Compact Category Quotas on Mobile */
  .panel {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: var(--radius-md);
  }

  .panel-title {
    font-size: 13px;
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .cat-card {
    padding: 6px 10px;
    gap: 8px;
  }

  .cat-code-badge {
    font-size: 10.5px;
    padding: 1.5px 5px;
  }

  .cat-val {
    font-size: 14px;
  }

  .cat-name {
    font-size: 10px;
  }

  .cat-unit, .cat-active-pill {
    font-size: 8.5px;
  }

  .schedule-panel-head {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .btn-view-schedule {
    width: 100%;
    justify-content: center;
    height: 36px;
    font-size: 11.5px;
  }

  .active-stage-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 14px;
  }

  .active-stage-title {
    font-size: 15px;
  }

  .active-stage-dates {
    font-size: 11.5px;
  }

  .active-stage-desc {
    font-size: 11.5px;
  }

  .active-stage-ctas {
    width: 100%;
    min-width: unset;
  }

  .active-stage-ctas .btn {
    width: 100%;
  }

  .schedule-modal-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .schedule-modal-top-bar .btn {
    width: 100%;
    justify-content: center;
  }

  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .timeline-step {
    padding: 10px 12px;
  }

  .timeline-date {
    font-size: 12px;
  }

  .timeline-event-title {
    font-size: 12px;
  }

  .timeline-event-desc {
    font-size: 10.5px;
  }

  /* Filter Bar & Search Input on Mobile */
  .filter-sticky-bar {
    padding: 10px 10px;
    margin-bottom: 12px;
    border-radius: var(--radius-md);
    position: relative;
    top: auto;
  }

  .filter-top-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .search-glass-icon {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
  }

  .search-primary-input {
    height: 44px;
    font-size: 13px;
    padding: 0 38px 0 42px !important;
    border-radius: var(--radius-md);
  }

  .search-clear-btn {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }

  .btn-toggle-filter-panel {
    height: 42px;
    font-size: 12.5px;
    font-weight: 750;
    width: 100%;
    justify-content: center;
    border-radius: var(--radius-md);
  }

  .filter-collapsible-panel {
    margin-top: 8px;
  }

  .filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    position: relative;
  }

  .filter-grid .dropdown-container {
    grid-column: span 1 !important;
    position: relative !important;
  }

  /* Dropdown Menus on Mobile positioned directly underneath the clicked button */
  .dropdown-menu {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    min-width: 260px !important;
    max-width: calc(100vw - 24px) !important;
    width: max-content !important;
    max-height: 290px !important;
    z-index: 1500 !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
    border: 1.5px solid var(--primary-blue);
    border-radius: var(--radius-md);
    padding: 10px;
  }

  /* 1st column dropdowns (BHK) anchor to left */
  .filter-grid .dropdown-container:nth-of-type(1) .dropdown-menu {
    left: 0 !important;
    right: auto !important;
  }

  /* 2nd column dropdowns (Localities & Categories) anchor to right */
  .filter-grid .dropdown-container:nth-of-type(2) .dropdown-menu,
  .filter-grid .dropdown-container:nth-of-type(3) .dropdown-menu {
    right: 0 !important;
    left: auto !important;
  }

  .dropdown-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-line);
  }

  .dropdown-actions .btn-link {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--primary-blue);
  }

  /* Wrap-around Budget Chips on Mobile (2 rows, clean fit) */
  .budget-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--border-line);
  }

  .preset-label {
    width: 100%;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
  }

  .preset-btn {
    flex: 1 1 calc(33.333% - 6px);
    min-width: 70px;
    padding: 6px 4px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-sm);
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-line);
    color: var(--text-main);
  }

  .preset-btn.active {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
  }

  /* Filter Meta Bar & Results Action Controls */
  .filter-meta-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--border-line);
  }

  .active-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .chip {
    font-size: 10px;
    padding: 3px 8px;
  }

  .view-controls {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }

  .view-controls #resultsCount {
    font-size: 12px;
    font-weight: 750;
    color: var(--text-main);
    text-align: center;
    padding: 4px 8px;
    background: var(--bg-card-subtle);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-line);
    line-height: 1.3;
  }

  .view-controls-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
  }

  .view-controls-actions .page-size-select {
    flex: 1;
    height: 36px !important;
    font-size: 11.5px !important;
    padding: 4px 6px;
  }

  .view-controls-actions [data-export-csv] {
    flex: 1;
    height: 36px;
    font-size: 11.5px;
    padding: 4px 8px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .view-controls-actions .toggle-group {
    flex: 1.2;
    height: 36px;
    display: flex;
  }

  .view-controls-actions .toggle-btn {
    flex: 1;
    height: 100%;
    padding: 4px 6px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  /* Scheme Cards on Mobile */
  .grid-container {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .scheme-card {
    padding: 10px 12px;
    border-radius: var(--radius-md);
  }

  .card-top {
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
  }

  .card-title {
    font-size: 13.5px;
    margin: 4px 0 6px 0;
  }

  .card-price-box {
    padding: 5px 8px;
    margin-bottom: 6px;
  }

  .price-val {
    font-size: 14px;
  }

  .card-specs {
    grid-template-columns: 1fr 1fr;
    gap: 3px 6px;
    padding: 4px 0;
  }

  .spec-label {
    font-size: 9.5px;
  }

  .spec-val {
    font-size: 11px;
  }

  .card-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-line);
    width: 100%;
    box-sizing: border-box;
  }

  .card-action-pills {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    width: 100%;
    box-sizing: border-box;
  }

  .card-action-pills .btn {
    width: 100%;
    padding: 6px 8px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    box-sizing: border-box;
  }

  .btn-view-details {
    width: 100%;
    height: 40px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    padding: 8px 12px !important;
    border-radius: var(--radius-md) !important;
  }

  /* Mobile Modals */
  .modal-backdrop {
    padding: 12px 8px;
  }

  .modal-sheet {
    max-width: 100%;
    max-height: 94vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .modal-header {
    padding: 10px 14px;
    gap: 8px;
  }

  .modal-title-area {
    min-width: 0;
    flex: 1;
  }

  .modal-scheme-title {
    font-size: 14.5px;
    line-height: 1.25;
    font-weight: 850;
    word-break: break-word;
  }

  .modal-scheme-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px;
    margin-top: 4px;
  }

  .modal-scheme-badges .pill,
  .modal-scheme-badges .badge {
    font-size: 9.5px;
    padding: 1.5px 6px;
    line-height: 1.2;
    border-radius: 4px;
  }

  .modal-header-actions {
    gap: 4px;
  }

  #btnModalPrintCheatSheet {
    display: none !important;
  }

  .modal-share-btn {
    padding: 4px 8px;
    font-size: 11px;
    height: 30px;
  }

  .modal-body {
    padding: 10px 12px 22px 12px !important;
  }

  .modal-hero-banner {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 8px 10px;
    margin-bottom: 10px;
  }

  .mhero-item {
    padding: 3px 4px;
  }

  .mhero-label {
    font-size: 8.5px;
    margin-bottom: 2px;
  }

  .mhero-val {
    font-size: 14.5px;
    line-height: 1.2;
  }

  .mhero-sub {
    font-size: 9.5px;
    margin-top: 2px;
  }

  .modal-tabs-nav {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    gap: 4px !important;
    margin-bottom: 12px !important;
    padding: 2px 2px 6px 2px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .modal-tabs-nav::-webkit-scrollbar {
    display: none !important;
  }

  .modal-tab-btn {
    flex-shrink: 0 !important;
    padding: 7px 12px !important;
    font-size: 11.5px !important;
    font-weight: 750 !important;
    border-radius: var(--radius-md) !important;
  }

  .spec-sections-container {
    gap: 8px;
  }

  .spec-group-header {
    padding: 6px 10px;
    font-size: 11.5px;
  }

  .spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 6px 10px;
  }

  .spec-k {
    max-width: 100%;
    flex: none;
    font-size: 10.5px;
  }

  .spec-v {
    text-align: left;
    width: 100%;
    font-size: 12px;
  }

  .spec-row-quotas .spec-v {
    align-items: flex-start;
  }

  .short-quota-strip {
    justify-content: flex-start;
    gap: 4px;
  }

  .short-quota-pill {
    font-size: 10px;
    padding: 1.5px 5px;
  }

  .modal-finance-dashboard {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .finance-card {
    padding: 10px 12px;
  }

  .finance-card-title {
    font-size: 12px;
    margin-bottom: 8px;
    padding-bottom: 4px;
  }

  .finance-row {
    font-size: 11.5px;
    padding: 4px 0;
  }

  .affordability-metric-box {
    padding: 8px 10px;
    margin-bottom: 6px;
  }

  .affordability-metric-box .label {
    font-size: 10px;
  }

  .affordability-metric-box .val {
    font-size: 13px;
  }

  .modal-cats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .modal-cat-box {
    padding: 6px 8px;
  }

  /* Enhanced Mobile RERA Overview Callout */
  .rera-overview-callout {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 14px !important;
    border-radius: var(--radius-lg) !important;
    margin-top: 12px !important;
  }

  .roc-left {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .roc-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }

  .roc-title {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
  }

  .roc-sub {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    margin-top: 4px !important;
  }

  .roc-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 14px !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    border-radius: var(--radius-md) !important;
  }

  /* Enhanced Mobile MahaRERA Dossier Hero & Galleries */
  .rera-dossier-hero {
    padding: 14px 14px !important;
    border-radius: var(--radius-lg) !important;
  }

  .rera-hero-top {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
  }

  .rera-hero-title {
    font-size: 15px !important;
    line-height: 1.3 !important;
  }

  .rera-hero-promoter {
    font-size: 12px !important;
  }

  .rera-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .rera-plan-card {
    padding: 10px 12px !important;
  }

  /* Compact 2-Row Docked Bottom Action Footer for Mobile */
  .modal-scheme-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px)) 10px;
    background: var(--bg-card);
    border-top: 1.5px solid var(--border-line);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
    z-index: 30;
    flex-shrink: 0;
  }

  .msf-right {
    width: 100%;
    order: 1;
    margin: 0;
  }

  .btn-apply-portal {
    width: 100%;
    height: 36px;
    padding: 0 10px;
    font-size: 12.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
  }

  .msf-left {
    width: 100%;
    order: 2;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 4px !important;
    margin: 0;
  }

  .msf-left .btn,
  .msf-left a.btn {
    width: 100% !important;
    height: 30px !important;
    padding: 0 2px !important;
    font-size: 10px !important;
    font-weight: 750 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  .disclaimer-modal-sheet {
    max-width: 100%;
    width: 100%;
    max-height: 94vh;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
  }

  .disclaimer-modal-header {
    padding: 10px 14px;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    flex-shrink: 0;
  }

  .disclaimer-title-wrap {
    flex: 1;
    min-width: 0;
    gap: 8px;
  }

  .disclaimer-big-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
    flex-shrink: 0;
  }

  .disclaimer-modal-title {
    font-size: 13.5px;
    line-height: 1.2;
    word-break: break-word;
  }

  .disclaimer-modal-body {
    padding: 10px 12px;
    gap: 8px;
    font-size: 11.5px;
    line-height: 1.45;
    box-sizing: border-box;
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .disclaimer-intro-p {
    font-size: 11.5px;
    line-height: 1.4;
    margin-bottom: 2px;
  }

  .disclaimer-alert-box {
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.4;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
  }

  .disclaimer-alert-box .alert-icon {
    width: 22px;
    height: 22px;
    font-size: 11px;
    flex-shrink: 0;
  }

  .point-item {
    padding: 7px 10px;
    font-size: 11px;
    line-height: 1.35;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
  }

  .point-icon {
    width: 22px;
    height: 22px;
    font-size: 11px;
    flex-shrink: 0;
  }

  .disclaimer-modal-footer {
    padding: 10px 12px;
    box-sizing: border-box;
    width: 100%;
    flex-shrink: 0;
  }

  .disclaimer-modal-footer .btn {
    width: 100%;
    height: 38px;
    font-size: 12px;
    font-weight: 800;
    justify-content: center;
  }

  .scroll-to-top-btn {
    bottom: 18px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  .progress-ring {
    width: 44px;
    height: 44px;
  }

  .progress-ring-bg,
  .progress-ring-circle {
    cx: 22;
    cy: 22;
    r: 18;
    stroke-dasharray: 113.1;
    stroke-dashoffset: 113.1;
  }

  .scroll-arrow-icon {
    font-size: 14px;
  }

  .scroll-percent-text {
    font-size: 7px;
  }

  /* Mobile Compare Floating Dock */
  .compare-dock {
    bottom: 12px;
    left: 12px;
    right: 12px;
    transform: translateY(100px);
    width: auto;
    max-width: calc(100vw - 24px);
    padding: 7px 8px 7px 12px;
    border-radius: 16px;
    gap: 8px;
  }

  .compare-dock.visible {
    transform: translateY(0);
  }

  .compare-dock-content {
    gap: 8px;
  }

  .compare-dock-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .compare-dock-title {
    font-size: 12px;
  }

  .compare-dock-subtitle {
    display: none;
  }

  .compare-open-btn {
    padding: 6px 12px !important;
    font-size: 11.5px !important;
  }

  .compare-clear-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 11px !important;
  }

  .scroll-to-top-btn.dock-shifted {
    bottom: 68px;
  }

  /* Mobile Compare Modal & Side-by-Side Table */
  #compareModal .modal-sheet {
    max-height: 94vh;
    border-radius: 18px;
    margin: 8px;
    width: calc(100% - 16px);
  }

  #compareModal .modal-header {
    padding: 14px 16px;
  }

  #compareModal .modal-body {
    padding: 12px 10px 18px 10px;
  }

  .compare-ribbon {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px;
    margin-bottom: 10px;
  }

  .compare-ribbon-title {
    font-size: 12.5px;
    justify-content: space-between;
  }

  .compare-ribbon-actions {
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.8fr;
    gap: 6px;
    width: 100%;
  }

  .compare-ribbon-actions .btn {
    font-size: 11.5px;
    padding: 6px 8px;
    height: 32px;
    justify-content: center;
  }

  .compare-mobile-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.08);
    border: 1px dashed rgba(37, 99, 235, 0.35);
    border-radius: 8px;
    padding: 6px 10px;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
  }

  .compare-table-wrapper {
    border-radius: 12px;
    margin: 0;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  }

  .compare-table {
    min-width: 480px;
    font-size: 11.5px;
  }

  .compare-criteria-col {
    width: 105px;
    min-width: 105px;
    max-width: 105px;
    font-size: 10.5px;
    padding: 8px 6px !important;
    line-height: 1.25;
    word-break: break-word;
    border-right: 2px solid var(--border-line) !important;
    box-shadow: 3px 0 8px rgba(0, 0, 0, 0.08);
  }

  .compare-col-head {
    min-width: 165px;
    width: 165px;
    max-width: 180px;
    padding: 10px 8px 8px 8px !important;
  }

  .remove-compare-btn {
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    font-size: 10px;
  }

  .compare-head-badges {
    gap: 3px;
    padding-right: 22px;
    margin-bottom: 4px;
  }

  .compare-head-badges .badge,
  .compare-head-badges .pill {
    font-size: 9.5px;
    padding: 1px 5px;
  }

  .compare-scheme-title {
    font-size: 11.5px;
    line-height: 1.25;
    margin-bottom: 4px;
  }

  .compare-head-price {
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 4px;
  }

  .compare-head-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    margin-top: 6px;
  }

  .compare-head-actions .btn {
    font-size: 10.5px !important;
    padding: 3px 4px !important;
    height: 26px !important;
    justify-content: center !important;
  }

  .compare-table th, 
  .compare-table td {
    padding: 7px 8px;
    font-size: 11px;
    line-height: 1.35;
  }

  .compare-section-header {
    font-size: 10px;
    padding: 6px 8px;
    letter-spacing: 0.2px;
  }
}

/* ==========================================================================
   Guide Modal & How to Apply Master UI System (Mobile-First)
   ========================================================================== */
.guide-modal-sheet {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.4);
  max-width: 1080px;
  height: 88vh;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

/* Premium Modal Header */
.modal-header-premium {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-line);
  position: relative;
  box-sizing: border-box;
}

.modal-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.modal-header-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.04));
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-header-titles {
  min-width: 0;
  flex: 1;
}

.modal-pill-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 750;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.modal-title-main {
  font-size: 17px;
  font-weight: 850;
  color: var(--text-main);
  line-height: 1.25;
  margin: 0 0 2px 0;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-subtitle-marathi {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-round-close-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-line);
  background: var(--bg-card-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.modal-round-close-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
  transform: rotate(90deg);
}

/* Modal Sub-Strip / Actions Ribbon */
.modal-sub-ribbon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--bg-card-subtle);
  border-bottom: 1px solid var(--border-line);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-sizing: border-box;
}

.modal-sub-ribbon::-webkit-scrollbar {
  display: none;
}

.sub-ribbon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  line-height: 1;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  color: var(--text-main);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  outline: none;
  box-sizing: border-box;
}

.sub-ribbon-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

/* Individual Tinted Badges */
.sub-ribbon-btn.ribbon-portal {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.28);
  color: #1d4ed8;
}
.sub-ribbon-btn.ribbon-portal:hover {
  background: rgba(37, 99, 235, 0.16);
  border-color: var(--primary-blue);
  color: #1e40af;
}

.sub-ribbon-btn.ribbon-digilocker {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.28);
  color: #0e7490;
}
.sub-ribbon-btn.ribbon-digilocker:hover {
  background: rgba(6, 182, 212, 0.16);
  border-color: #06b6d4;
  color: #0891b2;
}

.sub-ribbon-btn.ribbon-booklet {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.28);
  color: #6d28d9;
}
.sub-ribbon-btn.ribbon-booklet:hover {
  background: rgba(139, 92, 246, 0.16);
  border-color: #8b5cf6;
  color: #5b21b6;
}

.sub-ribbon-btn.ribbon-checklist {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.28);
  color: #b45309;
}
.sub-ribbon-btn.ribbon-checklist:hover {
  background: rgba(245, 158, 11, 0.16);
  border-color: #f59e0b;
  color: #92400e;
}

/* Dark Mode Tint Adjustments */
body.dark-theme .sub-ribbon-btn.ribbon-portal {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}
body.dark-theme .sub-ribbon-btn.ribbon-digilocker {
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.35);
  color: #2dd4bf;
}
body.dark-theme .sub-ribbon-btn.ribbon-booklet {
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.35);
  color: #c4b5fd;
}
body.dark-theme .sub-ribbon-btn.ribbon-checklist {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.35);
  color: #fde047;
}

/* Guide Tabs Navigation */
.guide-tab-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--bg-card-subtle);
  border-bottom: 1px solid var(--border-line);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-sizing: border-box;
}

.guide-tab-nav::-webkit-scrollbar {
  display: none;
}

.guide-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  box-sizing: border-box;
}

.guide-tab-btn:hover {
  color: var(--text-main);
  border-color: var(--primary-blue);
  background: var(--bg-card-subtle);
}

.guide-tab-btn.active {
  background: linear-gradient(135deg, var(--primary-blue), #1d4ed8);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
}

.guide-tab-pane {
  display: none;
  animation: fadeInPane 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.guide-tab-pane.active {
  display: block;
}

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

.guide-pane-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

@media (max-width: 860px) {
  .guide-pane-grid {
    grid-template-columns: 1fr;
  }
}

/* Category Checklist Items */
.checklist-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.checklist-item {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  align-items: flex-start;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.checklist-item:hover {
  background: var(--bg-card-subtle);
  border-color: var(--primary-blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.checklist-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-blue);
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.checklist-item .chk-text {
  flex: 1;
}

.checklist-item .chk-text strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 2px;
  gap: 8px;
}

.checklist-item .chk-text p {
  font-size: 11.5px;
  color: var(--text-body);
  line-height: 1.45;
  margin: 0;
}

.checklist-item .req {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 10.5px;
  font-weight: 850;
  white-space: nowrap;
}

/* How to Apply Stepper & Process Flow */
.apply-flow-stepper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.apply-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  gap: 16px;
  position: relative;
}

.apply-step-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.apply-step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-blue), #1d4ed8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.apply-step-content {
  flex: 1;
  min-width: 0;
}

.apply-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.apply-step-title {
  font-size: 15px;
  font-weight: 850;
  color: var(--text-main);
  line-height: 1.3;
}

.apply-step-marathi {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-top: 2px;
}

.apply-step-desc {
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 10px;
}

.apply-step-points {
  margin: 0 0 12px 0;
  padding-left: 18px;
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.6;
}

.apply-step-points li {
  margin-bottom: 4px;
}

.apply-step-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.apply-step-actions .btn {
  padding: 8px 16px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  border-radius: var(--radius-md) !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

.apply-step-tip {
  background: rgba(37, 99, 235, 0.06);
  border-left: 3px solid var(--primary-blue);
  border-radius: 0 8px 8px 0;
  padding: 8px 12px;
  font-size: 11.5px;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.5;
}

.apply-prereq-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.05));
  border: 1.5px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.prereq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.prereq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.45;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.prereq-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Payment Stepper */
.guide-payment-stepper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.stepper-item {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-main);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  position: relative;
  transition: all var(--transition-fast);
}

.stepper-item:hover {
  border-color: var(--primary-blue);
  background: var(--bg-card-subtle);
}

.stepper-num {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-blue), #1d4ed8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.stepper-info strong {
  display: block;
  font-size: 13px;
  color: var(--text-main);
  margin-bottom: 2px;
}

.stepper-info p {
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.45;
  margin: 0;
}

/* Helpline Contact Cards */
.guide-contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.guide-contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.contact-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-card-body {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-body);
}

.contact-link {
  color: var(--primary-blue);
  font-weight: 750;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .guide-quick-links-ribbon {
    padding: 10px 14px;
    gap: 6px;
  }
  .guide-quick-links-ribbon .btn {
    font-size: 11px;
    padding: 6px 10px;
    white-space: nowrap;
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
  }
  .guide-tab-nav {
    padding: 10px 14px;
    gap: 6px;
  }
  .guide-tab-btn {
    font-size: 11.5px;
    padding: 6px 12px;
    flex: 1 1 auto;
    justify-content: center;
  }
  .guide-payment-stepper {
    gap: 8px;
  }
  .stepper-item {
    padding: 10px 12px;
    gap: 10px;
  }
  .stepper-num {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
}

/* ==========================================================================
   Share Sheet & Social Share System
   ========================================================================== */

/* Share Sheet Overlay */
.share-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: background 0.3s ease;
  padding: 0 0 env(safe-area-inset-bottom, 0);
}

.share-sheet-overlay.open {
  background: rgba(0, 0, 0, 0.5);
}

.share-sheet {
  background: var(--bg-card);
  border-radius: 24px 24px 0 0;
  padding: 20px 20px 32px 20px;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-line);
  border-bottom: none;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.share-sheet-overlay.open .share-sheet {
  transform: translateY(0);
}

/* Sheet Drag Handle */
.share-sheet::before {
  content: '';
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: var(--border-line);
  margin: 0 auto 18px auto;
}

/* Sheet Header */
.share-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.share-sheet-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-sheet-icon {
  font-size: 18px;
}

.share-sheet-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-line);
  background: var(--bg-card-subtle);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.share-sheet-close:hover {
  background: var(--accent-rose);
  color: #fff;
  border-color: var(--accent-rose);
}

/* Scheme Preview Card inside sheet */
.share-scheme-preview {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(6, 182, 212, 0.04));
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.share-preview-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.3;
}

.share-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

/* Copy Link Row */
.share-copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  border: 1px solid var(--border-line);
  border-radius: 10px;
  background: var(--bg-card-subtle);
  overflow: hidden;
  padding: 0 0 0 12px;
}

.share-url-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 12.5px;
  color: var(--text-muted);
  outline: none;
  cursor: text;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px 0;
  min-width: 0;
}

.share-copy-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: var(--primary-blue);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  transition: background 0.15s ease;
  flex-shrink: 0;
}

.share-copy-btn:hover {
  background: #1d4ed8;
}

/* Social Grid */
.share-social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.share-social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 12px;
  border: 1px solid var(--border-line);
  background: var(--bg-card-subtle);
  color: var(--text-main);
  font-size: 11.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
}

.share-social-btn svg {
  width: 22px;
  height: 22px;
}

.share-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.share-social-btn.whatsapp { color: #25d366; border-color: rgba(37, 211, 102, 0.35); background: rgba(37, 211, 102, 0.07); }
.share-social-btn.whatsapp:hover { background: rgba(37, 211, 102, 0.15); border-color: rgba(37, 211, 102, 0.6); }

.share-social-btn.twitter { color: #000; border-color: rgba(0,0,0,0.2); background: rgba(0,0,0,0.04); }
.share-social-btn.twitter:hover { background: rgba(0,0,0,0.08); }

[data-theme="dark"] .share-social-btn.twitter { color: #e1e8ed; border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); }

.share-social-btn.telegram { color: #2aabee; border-color: rgba(42,171,238,0.35); background: rgba(42,171,238,0.07); }
.share-social-btn.telegram:hover { background: rgba(42,171,238,0.15); border-color: rgba(42,171,238,0.6); }

.share-social-btn.facebook { color: #1877f2; border-color: rgba(24,119,242,0.35); background: rgba(24,119,242,0.07); }
.share-social-btn.facebook:hover { background: rgba(24,119,242,0.15); border-color: rgba(24,119,242,0.6); }

.share-social-btn.linkedin { color: #0a66c2; border-color: rgba(10,102,194,0.35); background: rgba(10,102,194,0.07); }
.share-social-btn.linkedin:hover { background: rgba(10,102,194,0.15); border-color: rgba(10,102,194,0.6); }

.share-social-btn.mail { color: var(--text-main); }

/* Native Share Row */
.share-native-row {
  display: flex;
}

.share-native-btn {
  flex: 1;
  padding: 11px;
  border-radius: 10px;
  border: 1.5px dashed var(--border-line);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.share-native-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: rgba(37, 99, 235, 0.04);
}

/* Mobile tweaks for share sheet */
@media (max-width: 640px) {
  .share-sheet {
    max-width: 100%;
    padding: 16px 14px 28px 14px;
    border-radius: 20px 20px 0 0;
  }

  .share-social-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .share-social-btn {
    padding: 10px 6px;
    font-size: 10.5px;
    gap: 4px;
    border-radius: 10px;
  }

  .share-social-btn svg {
    width: 20px;
    height: 20px;
  }

  /* Modal header share button mobile */
  .modal-share-btn {
    padding: 6px 10px;
    font-size: 12px;
  }

  .modal-share-btn svg {
    width: 14px;
    height: 14px;
  }

  /* Mobile Premium Modal Headers & Ribbon */
  .modal-header-premium {
    padding: 12px 14px;
    gap: 8px;
  }

  .modal-header-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .modal-header-icon-box svg {
    width: 18px;
    height: 18px;
  }

  .modal-title-main {
    font-size: 14.5px;
  }

  .modal-subtitle-marathi {
    font-size: 10.5px;
  }

  .modal-pill-tag {
    font-size: 9.5px;
  }

  .modal-round-close-btn {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .modal-sub-ribbon {
    padding: 6px 12px;
    gap: 6px;
  }

  .sub-ribbon-btn {
    font-size: 11px;
    padding: 4px 10px;
  }

  .guide-tab-nav {
    padding: 6px 12px;
    gap: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .guide-tab-nav::-webkit-scrollbar {
    display: none;
  }

  .guide-tab-btn {
    padding: 6px 12px;
    font-size: 11.5px;
    flex-shrink: 0;
  }
}

/* Schemes Loading Card & Spinner */
.schemes-loading-card {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 64px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.schemes-loading-spinner {
  width: 42px;
  height: 42px;
  border: 3.5px solid rgba(37, 99, 235, 0.15);
  border-top-color: var(--primary-blue);
  border-radius: 50%;
  animation: schemesSpin 0.8s linear infinite;
}

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

.schemes-loading-text strong {
  display: block;
  font-size: 16px;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 4px;
}

.schemes-loading-text span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Feature 2: On-Road Cost & Salary Affordability Styles
   ========================================================================== */
.onroad-breakdown-list {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.onroad-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-main);
}

.onroad-row span {
  color: var(--text-muted);
}

.onroad-row.highlight-total {
  border-top: 1px dashed var(--border-line);
  padding-top: 10px;
  margin-top: 4px;
}

.onroad-row.highlight-total span {
  color: var(--text-main);
  font-weight: 800;
  font-size: 13px;
}

.onroad-row.highlight-total strong {
  font-size: 16px;
  color: var(--accent-emerald);
  font-weight: 900;
}

.upfront-cash-box,
.salary-check-box {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.upfront-title,
.salary-title {
  font-size: 11.5px;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 4px;
}

.upfront-amount {
  font-size: 19px;
  font-weight: 900;
  color: var(--primary-blue);
  margin-bottom: 4px;
}

.salary-amount {
  font-size: 19px;
  font-weight: 900;
  color: #d97706;
  margin-bottom: 4px;
}

.salary-badge-status {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  line-height: 1.45;
}

.salary-badge-status.approved {
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.3);
  color: #065f46;
}

body.dark-theme .salary-badge-status.approved {
  color: #34d399;
}

.salary-badge-status.warning {
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: #92400e;
}

body.dark-theme .salary-badge-status.warning {
  color: #fbbf24;
}

/* Modal On-Road Cost Grid */
.modal-onroad-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(5, 150, 105, 0.04));
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 20px;
}

.modal-onroad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.modal-onroad-item {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}

.modal-onroad-label {
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 750;
  margin-bottom: 3px;
}

.modal-onroad-val {
  font-size: 15px;
  font-weight: 850;
  color: var(--text-main);
}

.btn-lang-toggle {
  font-weight: 750;
  border-color: rgba(37, 99, 235, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   Feature 5: 1-Page Printable Cheat Sheet Styles
   ========================================================================== */
.cheat-sheet-paper {
  background: #ffffff;
  color: #0f172a;
  padding: 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.45;
}

.cs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 12px;
  margin-bottom: 14px;
  gap: 16px;
}

.cs-title-wrap h2 {
  font-size: 17px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 3px 0;
}

.cs-title-wrap p {
  font-size: 11px;
  color: #475569;
  margin: 0;
}

.cs-badge-code {
  background: #1e3a8a;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 6px;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.cs-badge-code small {
  display: block;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cs-badge-code strong {
  font-size: 19px;
  font-weight: 900;
}

.cs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.cs-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 12px;
}

.cs-box-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #1e293b;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 4px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.cs-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  margin-bottom: 4px;
}

.cs-row span {
  color: #475569;
}

.cs-row strong {
  color: #0f172a;
}

.cs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px;
  margin-top: 6px;
}

.cs-table th, .cs-table td {
  border: 1px solid #cbd5e1;
  padding: 4px 6px;
  text-align: left;
}

.cs-table th {
  background: #f1f5f9;
  font-weight: 750;
  color: #1e293b;
}

.cs-checklist-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  margin-bottom: 5px;
  color: #1e293b;
}

.cs-box-warning {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 11px;
  color: #92400e;
  margin-top: 10px;
}

/* ==========================================================================
   Feature 5: Single-Page A4 Printable Cheat Sheet System (Full Page Utilization)
   ========================================================================== */
@page {
  size: A4 portrait;
  margin: 8mm 12mm 8mm 12mm;
}

@media print {
  /* 1. Global Print Reset: Ensure body and app-wrap stay visible in print flow */
  body.printing-cheat-sheet,
  body:has(#cheatSheetModal.open) {
    background: #ffffff !important;
    color: #000000 !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    font-size: 10.5px !important;
  }

  body.printing-cheat-sheet .app-wrap,
  body:has(#cheatSheetModal.open) .app-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  /* Hide all non-cheatsheet UI elements */
  body.printing-cheat-sheet .top-navbar,
  body:has(#cheatSheetModal.open) .top-navbar,
  body.printing-cheat-sheet .hero-banner,
  body:has(#cheatSheetModal.open) .hero-banner,
  body.printing-cheat-sheet .dashboard-summary-panel,
  body:has(#cheatSheetModal.open) .dashboard-summary-panel,
  body.printing-cheat-sheet .panel,
  body:has(#cheatSheetModal.open) .panel,
  body.printing-cheat-sheet .filter-sticky-bar,
  body:has(#cheatSheetModal.open) .filter-sticky-bar,
  body.printing-cheat-sheet .table-container,
  body:has(#cheatSheetModal.open) .table-container,
  body.printing-cheat-sheet .schemes-grid,
  body:has(#cheatSheetModal.open) .schemes-grid,
  body.printing-cheat-sheet .pagination-container,
  body:has(#cheatSheetModal.open) .pagination-container,
  body.printing-cheat-sheet footer,
  body:has(#cheatSheetModal.open) footer,
  body.printing-cheat-sheet .site-footer,
  body:has(#cheatSheetModal.open) .site-footer,
  body.printing-cheat-sheet .compare-dock,
  body:has(#cheatSheetModal.open) .compare-dock,
  body.printing-cheat-sheet .drawer-backdrop,
  body:has(#cheatSheetModal.open) .drawer-backdrop,
  body.printing-cheat-sheet .scroll-to-top-btn,
  body:has(#cheatSheetModal.open) .scroll-to-top-btn,
  body.printing-cheat-sheet #btnScrollToTop,
  body:has(#cheatSheetModal.open) #btnScrollToTop,
  body.printing-cheat-sheet .toast-container,
  body:has(#cheatSheetModal.open) .toast-container,
  body.printing-cheat-sheet .modal-backdrop:not(#cheatSheetModal),
  body:has(#cheatSheetModal.open) .modal-backdrop:not(#cheatSheetModal) {
    display: none !important;
  }

  /* 2. Display ONLY #cheatSheetModal on the printed page */
  body.printing-cheat-sheet #cheatSheetModal,
  #cheatSheetModal.open {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    page-break-before: avoid !important;
    page-break-after: avoid !important;
    page-break-inside: avoid !important;
  }

  body.printing-cheat-sheet #cheatSheetModal *,
  #cheatSheetModal.open * {
    visibility: visible !important;
  }

  #cheatSheetModal .modal-sheet {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: #ffffff !important;
    position: static !important;
    page-break-before: avoid !important;
    page-break-after: avoid !important;
    page-break-inside: avoid !important;
  }

  #cheatSheetModal .modal-header,
  #cheatSheetModal .close-btn,
  #btnPrintCheatSheet {
    display: none !important;
  }

  #cheatSheetContent {
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    display: block !important;
    page-break-before: avoid !important;
    page-break-after: avoid !important;
    page-break-inside: avoid !important;
  }

  .cheat-sheet-paper {
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
    display: block !important;
    font-size: 10.5px !important;
    line-height: 1.3 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    page-break-before: avoid !important;
    page-break-after: avoid !important;
    page-break-inside: avoid !important;
  }

  .cs-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    padding-bottom: 6px !important;
    margin-bottom: 8px !important;
    border-bottom: 2px solid #0f172a !important;
  }

  .cs-title-wrap h2 {
    font-size: 15px !important;
    font-weight: 900 !important;
    margin: 0 0 2px 0 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
  }

  .cs-title-wrap p {
    font-size: 10px !important;
    color: #334155 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
  }

  .cs-badge-code {
    padding: 5px 12px !important;
    background: #1e3a8a !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    border-radius: 6px !important;
    text-align: center !important;
    min-width: 90px !important;
  }

  .cs-badge-code small {
    font-size: 8px !important;
    display: block !important;
    color: #cbd5e1 !important;
    letter-spacing: 0.5px !important;
    font-weight: 700 !important;
  }

  .cs-badge-code strong {
    font-size: 18px !important;
    color: #ffffff !important;
    line-height: 1.1 !important;
  }

  .cs-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
  }

  .cs-box {
    padding: 8px 12px !important;
    background: #ffffff !important;
    border: 1px solid #94a3b8 !important;
    border-radius: 6px !important;
    page-break-inside: avoid !important;
  }

  .cs-box-title {
    font-size: 11.5px !important;
    font-weight: 800 !important;
    padding-bottom: 4px !important;
    margin-bottom: 6px !important;
    border-bottom: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
  }

  .cs-row {
    font-size: 10.5px !important;
    margin-bottom: 3px !important;
    line-height: 1.3 !important;
    display: flex !important;
    justify-content: space-between !important;
  }

  .cs-row span {
    color: #334155 !important;
  }

  .cs-row strong {
    color: #0f172a !important;
  }

  .cs-checklist-item {
    font-size: 10px !important;
    margin-bottom: 3.5px !important;
    gap: 5px !important;
    line-height: 1.3 !important;
    color: #0f172a !important;
  }

  .cs-box-warning {
    padding: 8px 12px !important;
    font-size: 10px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    border: 1.5px solid #d97706 !important;
    background: #fffbeb !important;
    color: #92400e !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    line-height: 1.3 !important;
    page-break-inside: avoid !important;
    border-radius: 5px !important;
  }

  .cs-footer {
    margin-top: 8px !important;
    padding-top: 5px !important;
    border-top: 1px solid #94a3b8 !important;
    font-size: 9px !important;
    color: #475569 !important;
    display: flex !important;
    justify-content: space-between !important;
  }
}

/* ==========================================================================
   SVG Icon System & Feature Enhancements (Notice, Quota Notes, Disclaimer)
   ========================================================================== */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -0.15em;
  flex-shrink: 0;
  line-height: 1;
}

.icon svg {
  display: block;
  width: 1em;
  height: 1em;
}

.icon-xs svg { width: 12px; height: 12px; }
.icon-sm svg { width: 14px; height: 14px; }
.icon-md svg { width: 16px; height: 16px; }
.icon-lg svg { width: 20px; height: 20px; }
.icon-xl svg { width: 26px; height: 26px; }
.icon-2xl svg { width: 38px; height: 38px; }

/* Disclaimer Snooze Checkbox */
.disclaimer-snooze-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 0;
  user-select: none;
}

.disclaimer-snooze-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-blue);
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 4px;
}

/* Navbar Notice Trigger Button */
.btn-notice-trigger {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #b45309;
  background: rgba(245, 158, 11, 0.08);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dark-theme .btn-notice-trigger {
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.12);
}

.btn-notice-trigger:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: #f59e0b;
}

/* Quota Data Transparency Callout */
.quota-note-bar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin: 12px 0 16px 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-body);
}

.dark-theme .quota-note-bar {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.25);
  color: #cbd5e1;
}

.quota-note-bar .icon {
  color: var(--primary-blue);
  margin-top: 2px;
}

.dark-theme .quota-note-bar .icon {
  color: var(--accent-cyan);
}

.quota-note-bar a {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dark-theme .quota-note-bar a {
  color: var(--accent-cyan);
}

/* Quota per-scheme transparency note in Scheme Modal */
.quota-transparency-note {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-top: 12px;
  font-size: 12px;
  color: #92400e;
}

.dark-theme .quota-transparency-note {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fde68a;
}

.quota-transparency-note .icon,
.quota-transparency-note i {
  color: #d97706;
}

.dark-theme .quota-transparency-note .icon,
.dark-theme .quota-transparency-note i {
  color: #fbbf24;
}

/* Font Awesome UI Integrations */
.btn i.fa-solid, .btn i.fa-regular {
  margin-right: 6px;
  display: inline-block;
  vertical-align: -0.05em;
}

.btn-icon i.fa-solid, .btn-icon i.fa-regular,
.close-btn i.fa-solid, .search-clear-btn i.fa-solid,
.remove-compare-btn i.fa-solid, .remove-shortlist-btn i.fa-solid {
  margin-right: 0 !important;
}

.panel-title i.fa-solid {
  margin-right: 8px;
  color: var(--primary-blue);
}

.dark-theme .panel-title i.fa-solid {
  color: var(--accent-cyan);
}

/* ==========================================================================
   Shortlist Drawer — Premium Slide-Out Panel & Analytics Bar
   ========================================================================== */
.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 600;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.drawer-backdrop.open {
  display: flex;
  justify-content: flex-end;
  opacity: 1;
}

.drawer-panel {
  width: 480px;
  max-width: 95vw;
  height: 100vh;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 45px rgba(0, 0, 0, 0.35);
  border-left: 1px solid var(--border-line);
  position: relative;
  z-index: 10;
  transform: translateX(100%);
  animation: drawerSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes drawerSlideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.drawer-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-line);
  background: var(--bg-card-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.drawer-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-title-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.dark-theme .drawer-title-icon {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fbbf24;
}

.drawer-head h3 {
  font-size: 16px;
  font-weight: 850;
  color: var(--text-main);
  line-height: 1.2;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-head .drawer-count-pill {
  font-size: 11.5px;
  font-weight: 750;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--primary-blue);
}

.dark-theme .drawer-head .drawer-count-pill {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

.drawer-head .drawer-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Shortlist Analytics Ribbon at top of drawer */
.shortlist-analytics-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-card-subtle);
  border-bottom: 1px solid var(--border-line);
  flex-shrink: 0;
}

.sl-stat-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sl-stat-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.sl-stat-val {
  font-size: 13.5px;
  font-weight: 850;
  color: var(--text-main);
  margin-top: 2px;
  line-height: 1.2;
}

.sl-stat-val.highlight {
  color: var(--accent-emerald);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}

/* Beautiful Empty State */
.shortlist-empty-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 16px;
  margin: auto 0;
}

.sl-empty-star-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(37, 99, 235, 0.1));
  border: 2px dashed rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #f59e0b;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
}

.shortlist-empty-box h3 {
  font-size: 17px;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 8px;
}

.shortlist-empty-box p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 320px;
  margin-bottom: 20px;
}

.sl-quick-starters {
  width: 100%;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  text-align: left;
}

.sl-quick-starters-title {
  font-size: 11.5px;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sl-starter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sl-starter-chip {
  padding: 5px 11px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-line);
  background: var(--bg-card);
  color: var(--text-body);
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.sl-starter-chip:hover {
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
  transform: translateY(-1px);
}

/* Populated Shortlist Card */
.shortlist-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 14px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.shortlist-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.sl-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sl-card-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.remove-shortlist-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-line);
  background: var(--bg-card-subtle);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.remove-shortlist-btn:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: #ef4444;
  color: #ef4444;
  transform: scale(1.1);
}

.sl-card-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  cursor: pointer;
  transition: color 0.15s ease;
}

.sl-card-title:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.sl-card-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  font-size: 11.5px;
}

.sl-metric-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sl-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-top: 1px dashed var(--border-line);
}

.sl-card-price {
  font-size: 15px;
  font-weight: 900;
  color: var(--text-main);
}

.sl-card-emd {
  font-size: 11.5px;
  font-weight: 750;
  color: var(--accent-emerald);
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.sl-card-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 5px;
}

.sl-card-actions .btn {
  padding: 5px 6px;
  font-size: 11px;
  font-weight: 750;
  justify-content: center;
}

/* Drawer Footer */
.drawer-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-line);
  background: var(--bg-card-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.drawer-footer-primary {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8px;
}

.drawer-footer-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Share Shortlist Modal */
.share-shortlist-sheet {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.45);
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  animation: modalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
}

.share-shortlist-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-line);
  background: var(--bg-card-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.share-shortlist-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.share-preview-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.share-preview-head {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.share-preview-items {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

.share-link-input-group {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-line);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.15s;
}

.share-link-input-group:focus-within {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.share-link-input {
  flex: 1;
  padding: 9px 12px;
  font-size: 12px;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-family: inherit;
  outline: none;
}

.share-copy-action-btn {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 750;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.share-copy-action-btn:hover {
  background: #1d4ed8;
}

/* Ensure Share Shortlist Modal appears on top of the shortlist drawer (z-index 600) */
#shareShortlistModal {
  z-index: 99999 !important;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

#shareShortlistModal.open {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 99999 !important;
}

#shareModal, .share-sheet-overlay {
  z-index: 99999 !important;
}

/* ==========================================================================
   MahaRERA In-Page Document & Floor Plan Viewer Modal
   ========================================================================== */
#docViewerModal {
  z-index: 100000 !important;
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

#docViewerModal.open {
  display: flex !important;
  animation: fadeIn 0.2s ease-out;
}

.doc-viewer-sheet {
  max-width: 1080px;
  width: 95vw;
  height: 90vh;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--bg-card) !important;
  border: 1px solid var(--border-line);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
  animation: modalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-viewer-header {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-line);
  background: var(--bg-card-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.doc-viewer-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.doc-viewer-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.doc-viewer-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 480px;
}

.doc-viewer-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 1px;
}

.doc-viewer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.doc-viewer-body {
  flex: 1;
  background: #1e293b;
  position: relative;
  overflow: hidden;
  height: calc(100% - 64px);
}

.doc-viewer-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.doc-viewer-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e293b;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 650;
  gap: 10px;
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   MahaRERA Verified Section Card in Scheme Details Modal
   ========================================================================== */
.rera-verified-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-top: 14px;
}

.rera-verified-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.rera-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-bottom: 4px;
}

body.dark-theme .rera-verified-badge {
  color: #34d399;
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(52, 211, 153, 0.35);
}

.rera-verified-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.rera-project-title {
  font-size: 15px;
  font-weight: 850;
  color: var(--text-main);
  margin: 2px 0 0 0;
}

.rera-promoter-name {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}
/* ==========================================================================
   MahaRERA Project Dossier, Floor Plans Gallery & Document Viewer Styles
   ========================================================================== */

.rera-overview-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(30, 58, 138, 0.08));
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  margin-top: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.rera-overview-callout:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(30, 58, 138, 0.15));
  border-color: var(--primary-blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.roc-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.roc-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.15);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.roc-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
}

.roc-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.roc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

/* Dedicated MahaRERA Tab Layout */
.rera-dossier-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 4px 0;
}

.rera-dossier-hero {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.rera-dossier-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #10b981, #2563eb);
}

.rera-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.rera-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-bottom: 6px;
}

.rera-hero-title {
  font-size: 17px;
  font-weight: 850;
  color: var(--text-main);
  line-height: 1.3;
}

.rera-hero-promoter {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
}

.rera-hero-promoter strong {
  color: var(--text-main);
}

/* Alert Banners in MahaRERA Tab */
.rera-alert-banner {
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12.5px;
  line-height: 1.5;
}

.rera-alert-banner.alert-oc {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #065f46;
}

.rera-alert-banner.alert-ext {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #92400e;
}

.rera-alert-banner.alert-legal {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #5b21b6;
}

.rab-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.rab-content {
  flex: 1;
}

.rab-title {
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 3px;
}

.rab-action {
  margin-top: 8px;
}

/* Section Title & Document Galleries */
.rera-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rera-section-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.rera-count-tag {
  font-size: 11px;
  font-weight: 750;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-blue);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.rera-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.rera-plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.rera-plan-card:hover {
  border-color: var(--primary-blue);
  background: rgba(37, 99, 235, 0.03);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.rpc-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.rpc-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.rpc-icon.icon-layout {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.rpc-icon.icon-cert {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.rpc-icon.icon-excel {
  background: rgba(14, 165, 233, 0.1);
  color: #0284c7;
}

.rpc-icon.icon-legal {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
}

.rpc-info {
  min-width: 0;
  flex: 1;
}

.rpc-name {
  font-size: 12.5px;
  font-weight: 750;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rpc-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

.rpc-action-icon {
  color: var(--text-muted);
  font-size: 12px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.rera-plan-card:hover .rpc-action-icon {
  color: var(--primary-blue);
  transform: translateX(2px);
}

/* In-Page Document Viewer Multi-Nav Toolbar */
.doc-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-line);
  background: var(--bg-card);
  flex-wrap: wrap;
}

.doc-viewer-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.doc-viewer-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.doc-viewer-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.doc-viewer-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.doc-viewer-nav-group {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-page);
  padding: 4px 8px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-line);
}

.doc-nav-btn {
  padding: 4px 8px !important;
  font-size: 11.5px !important;
  height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.doc-viewer-select-wrap {
  position: relative;
}

.doc-viewer-select {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  max-width: 220px;
  outline: none;
  cursor: pointer;
  height: 28px;
}

.doc-index-badge {
  font-size: 11px;
  font-weight: 750;
  color: var(--text-muted);
  padding: 0 4px;
  white-space: nowrap;
}

.doc-viewer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.doc-viewer-body {
  flex: 1;
  position: relative;
  background: #525659;
  height: calc(88vh - 65px);
  min-height: 480px;
}

.doc-viewer-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #1e293b;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  z-index: 2;
}

.doc-viewer-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Mobile Responsiveness for Document Viewer & Tabs */
@media (max-width: 768px) {
  .doc-viewer-sheet {
    width: 100vw !important;
    height: 98vh !important;
    max-height: 98vh !important;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
  }

  .doc-viewer-header {
    padding: 8px 12px;
    gap: 8px;
  }

  .doc-viewer-title {
    max-width: 160px;
    font-size: 12.5px;
  }

  .doc-viewer-subtitle {
    max-width: 160px;
    font-size: 10.5px;
  }

  .doc-viewer-nav-group {
    order: 3;
    width: 100%;
    justify-content: space-between;
    margin-top: 4px;
    padding: 3px 6px;
  }

  .doc-viewer-select {
    max-width: 140px;
    font-size: 11px;
  }

  .action-btn-text {
    display: none;
  }

  .doc-viewer-actions .btn {
    padding: 5px 8px !important;
    font-size: 12px !important;
  }

  .doc-viewer-body {
    height: calc(98vh - 105px);
    min-height: 360px;
  }

  .rera-gallery-grid {
    grid-template-columns: 1fr;
  }

  .modal-tabs-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .modal-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   Mandatory Disclaimer / Public Notice Modal (High-End Rounded & Desktop Optimized)
   ========================================================================== */

#disclaimerModal {
  z-index: 2800 !important;
}

.disclaimer-modal-sheet {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 22px;
  max-width: 680px;
  width: 95vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--border-line);
  border: 1px solid var(--border-line);
  overflow: hidden;
  position: relative;
  margin: auto;
  animation: modalScaleUp 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.disclaimer-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--bg-card-subtle);
  border-bottom: 1px solid var(--border-line);
  flex-shrink: 0;
  border-radius: 22px 22px 0 0;
}

.disclaimer-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.disclaimer-big-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.disclaimer-modal-title {
  font-size: 16px;
  font-weight: 850;
  color: var(--text-main);
  margin: 0;
  line-height: 1.3;
}

.disclaimer-modal-header .close-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--border-line);
  background: var(--bg-card);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.disclaimer-modal-header .close-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border-color: var(--primary-blue);
  transform: scale(1.05);
}

.disclaimer-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.3) transparent;
}

.disclaimer-modal-body::-webkit-scrollbar {
  width: 6px;
}

.disclaimer-modal-body::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.35);
  border-radius: 9999px;
}

.disclaimer-intro-p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 2px;
}

.disclaimer-alert-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.disclaimer-alert-box:hover {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.12);
}

.disclaimer-alert-box .alert-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.dark-theme .disclaimer-alert-box .alert-icon {
  color: #fbbf24;
}

.disclaimer-alert-text {
  flex: 1;
}

.disclaimer-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.point-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-line);
  border-radius: 16px;
  padding: 13px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-body);
  transition: all var(--transition-fast);
}

.point-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.point-item:nth-child(1) .point-icon {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--primary-blue);
}

.point-item:nth-child(2) .point-icon {
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.25);
  color: #0284c7;
}

.point-item:nth-child(3) .point-icon {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
}

.point-item:nth-child(4) .point-icon {
  background: rgba(147, 51, 234, 0.12);
  border: 1px solid rgba(147, 51, 234, 0.25);
  color: #9333ea;
}

.point-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.point-item strong {
  color: var(--text-main);
  font-weight: 750;
}

.disclaimer-modal-footer {
  padding: 14px 22px 18px 22px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-line);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 0 0 22px 22px;
}

.disclaimer-snooze-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.disclaimer-snooze-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-blue);
  cursor: pointer;
  border-radius: 4px;
}

#btnAcceptDisclaimer {
  width: 100%;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  cursor: pointer;
  transition: all var(--transition-fast);
}

#btnAcceptDisclaimer:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .disclaimer-modal-sheet {
    width: 94vw !important;
    max-height: 90vh !important;
    border-radius: 18px !important;
    margin: auto !important;
  }

  .disclaimer-modal-header {
    padding: 12px 16px;
    border-radius: 18px 18px 0 0;
  }

  .disclaimer-big-icon {
    width: 34px;
    height: 34px;
    font-size: 16px;
    border-radius: 10px;
  }

  .disclaimer-modal-title {
    font-size: 13px;
    line-height: 1.25;
  }

  .disclaimer-modal-body {
    padding: 12px 14px;
    gap: 8px;
  }

  .disclaimer-intro-p {
    font-size: 11.5px;
    line-height: 1.4;
    margin-bottom: 0;
  }

  .disclaimer-alert-box {
    padding: 10px 12px;
    font-size: 11px;
    line-height: 1.4;
    border-radius: 12px;
    gap: 8px;
  }

  .disclaimer-alert-box .alert-icon {
    width: 26px;
    height: 26px;
    font-size: 12px;
    border-radius: 8px;
  }

  .point-item {
    padding: 9px 11px;
    font-size: 11px;
    line-height: 1.4;
    border-radius: 12px;
    gap: 8px;
  }

  .point-icon {
    width: 26px;
    height: 26px;
    font-size: 11px;
    border-radius: 8px;
  }

  .disclaimer-modal-footer {
    padding: 10px 14px 14px 14px;
    border-radius: 0 0 18px 18px;
    gap: 8px;
  }

  .disclaimer-snooze-label {
    font-size: 10.5px;
    line-height: 1.25;
  }

  #btnAcceptDisclaimer {
    padding: 10px 14px;
    font-size: 12.5px;
    border-radius: 10px;
  }
}

/* ==========================================================================
   Comprehensive SEO Cluster Pages & Site Footer Styles
   ========================================================================== */

/* ── Global Site Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-line);
  margin-top: 60px;
  padding: 48px 0 24px;
  color: var(--text-body);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer-col-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col-title i {
  color: var(--primary-blue);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links li a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a:hover,
.footer-links li a.active {
  color: var(--primary-blue);
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 20px 20px 0;
  border-top: 1px solid var(--border-line);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-bottom-inner a {
  color: var(--primary-blue);
  text-decoration: none;
}

.footer-bottom-inner a:hover {
  text-decoration: underline;
}

.footer-legal-links {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

/* ── SEO Page Wrap & Layout ────────────────────────────────────────────── */
.seo-page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.seo-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
  padding: 16px 0 0;
  flex-wrap: wrap;
}

.seo-breadcrumb a {
  color: var(--primary-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.seo-breadcrumb a:hover {
  text-decoration: underline;
}

.seo-breadcrumb .sep {
  opacity: 0.4;
}

.seo-hero {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--border-line);
  margin-bottom: 32px;
}

.seo-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.09);
  color: var(--primary-blue);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}

.seo-h1 {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
  margin: 0 0 12px;
}

.seo-hero-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 780px;
  margin: 0 0 20px;
}

.seo-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-section {
  margin-bottom: 40px;
}

.seo-section-title {
  font-size: 18px;
  font-weight: 850;
  color: var(--text-main);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.seo-section-title i {
  color: var(--primary-blue);
}

/* ── Standard Info Tables ──────────────────────────────────────────────── */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-line);
}

.info-table th,
.info-table td {
  padding: 11px 15px;
  border: 1px solid var(--border-line);
  text-align: left;
}

.info-table th {
  background: rgba(37, 99, 235, 0.06);
  font-weight: 750;
  color: var(--text-main);
}

.info-table tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.015);
}

body.dark-theme .info-table tr:nth-child(even) td,
[data-theme="dark"] .info-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.025);
}

.info-table td strong {
  color: var(--text-main);
}

/* ── FAQ Accordion ─────────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.3);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 750;
  font-size: 14.5px;
  color: var(--text-main);
  user-select: none;
  gap: 12px;
  background: var(--bg-card);
}

.faq-question:hover {
  background: rgba(37, 99, 235, 0.03);
}

.faq-chevron {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.68;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── Call To Action Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(16, 185, 129, 0.06));
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 36px 0;
}

.cta-banner h2, .cta-banner-text h2 {
  font-size: 18px;
  font-weight: 850;
  color: var(--text-main);
  margin: 0 0 6px;
}

.cta-banner p, .cta-banner-text p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

@media (max-width: 640px) {
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-banner-actions {
    margin-left: 0;
    width: 100%;
  }
}


