/* ==========================================================================
   BillFinder Pakistan - Premier Utility Billing Portal Design System
   Next-Gen Modern Fintech Aesthetic • Catchy Micro-Interactions • Fluid Motion
   ========================================================================== */

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Surfaces & Backgrounds */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-muted: #e2e8f0;

  /* Deep Brand Tones */
  --navy-950: #060b18;
  --navy-900: #0b152d;
  --navy-800: #122144;
  --navy-700: #1e3366;

  /* Typography Colors */
  --text-main: #0b1329;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Electric Primary: Sapphire & Cobalt */
  --primary-500: #2563eb;
  --primary-600: #1d4ed8;
  --primary-700: #1e40af;
  --primary-400: #3b82f6;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;

  /* Accents */
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --cyan-light: #ecfeff;

  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-light: #ecfdf5;
  --emerald-border: #a7f3d0;

  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-light: #fffbeb;
  --amber-border: #fde68a;

  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --rose-light: #fff1f2;
  --rose-border: #fecdd3;

  /* Borders & Dividers */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus: #3b82f6;

  /* Elevated Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 18px -3px rgba(15, 23, 42, 0.07), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 14px 34px -4px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 50px -10px rgba(15, 23, 42, 0.12), 0 10px 20px -5px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 28px rgba(37, 99, 235, 0.2);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-2xl: 30px;
  --radius-pill: 9999px;

  /* Easing */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s var(--ease-spring);
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select {
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.page-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* ==========================================================================
   Ambient Animated Backdrop Mesh
   ========================================================================== */
.ambient-backdrop-mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 900px;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: floatMesh 16s ease-in-out infinite alternate;
}

.mesh-orb.orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.28) 0%, rgba(37, 99, 235, 0) 70%);
  top: -120px;
  left: 15%;
  animation-duration: 18s;
}

.mesh-orb.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(6, 182, 212, 0) 70%);
  top: 80px;
  right: 10%;
  animation-duration: 22s;
  animation-delay: -5s;
}

.mesh-orb.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0) 70%);
  top: 350px;
  left: 30%;
  animation-duration: 14s;
  animation-delay: -9s;
}

@keyframes floatMesh {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 35px) scale(1.08); }
  100% { transform: translate(-30px, 50px) scale(0.95); }
}

/* ==========================================================================
   Header & Sticky Navbar
   ========================================================================== */
.top-notice-bar {
  background: var(--navy-900);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.top-notice-bar a {
  color: var(--cyan-400);
  font-weight: 700;
  text-decoration: underline;
  margin-left: 4px;
}

.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: var(--transition-normal);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.brand-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
  transition: var(--transition-normal);
}

.brand:hover .brand-icon-wrapper {
  transform: rotate(-8deg) scale(1.05);
}

.brand-dot {
  color: var(--primary-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary-600);
  background: var(--primary-light);
}

.gov-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pulse-dot, .live-pulse-dot, .live-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseBeacon 1.8s infinite;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   Hero Section & Search Hub
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 54px 0 36px;
}

.hero-content-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  font-size: 0.82rem;
  backdrop-filter: blur(10px);
}

.status-title {
  font-weight: 700;
  color: var(--navy-900);
}

.status-separator {
  color: var(--border-medium);
}

.status-desc {
  color: var(--text-muted);
  font-weight: 500;
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--navy-950);
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-600) 0%, #0284c7 60%, var(--cyan-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle-text {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 680px;
  margin-bottom: 34px;
}

.search-hub-mount {
  width: 100%;
  margin-bottom: 28px;
}

/* ==========================================================================
   BillSearchHub Component
   ========================================================================== */
.search-hub-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  padding: 28px;
  text-align: left;
  transition: var(--transition-normal);
}

.search-hub-card:hover {
  box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.15);
}

/* Category Pill Bar */
.category-pill-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: var(--bg-subtle);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-pill-bar::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  transition: var(--transition-normal);
}

.cat-pill:hover {
  color: var(--navy-900);
}

.cat-pill.active {
  background: #ffffff;
  color: var(--primary-600);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.cat-badge {
  font-size: 0.72rem;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  background: rgba(148, 163, 184, 0.18);
  color: inherit;
}

.cat-pill.active .cat-badge {
  background: var(--primary-light);
  color: var(--primary-600);
}

/* Provider Horizontal Scroll Chips */
.provider-scroll-wrapper {
  margin-bottom: 20px;
  position: relative;
}

.provider-scroll-list {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-medium) transparent;
}

.provider-scroll-list::-webkit-scrollbar {
  height: 4px;
}
.provider-scroll-list::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 4px;
}

.provider-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-body);
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.provider-chip:hover {
  transform: translateY(-2px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
  color: var(--primary-600);
}

.provider-chip.selected {
  background: var(--primary-light);
  border-color: var(--primary-500);
  color: var(--primary-700);
  box-shadow: 0 0 0 1px var(--primary-500), 0 4px 12px rgba(37, 99, 235, 0.14);
}

.provider-mono {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-subtle);
  color: var(--navy-900);
}

.provider-chip.selected .provider-mono {
  background: #ffffff;
  color: var(--primary-600);
}

.provider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-500);
}

/* Active Company Banner */
.active-company-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.7) 0%, rgba(240, 249, 255, 0.7) 100%);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  margin-bottom: 20px;
}

.banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-badge {
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--primary-600);
  color: #ffffff;
  letter-spacing: 0.02em;
}

.banner-info h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 1px;
}

.banner-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.portal-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-600);
  white-space: nowrap;
}

.portal-link:hover {
  text-decoration: underline;
}

/* Mode Toggle Group (Ref vs Customer ID) */
.mode-toggle-group {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.mode-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.mode-btn:hover {
  color: var(--navy-900);
}

.mode-btn.active {
  background: #ffffff;
  border-color: var(--primary-500);
  color: var(--primary-600);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}

/* Main Input Field */
.input-field-container {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.input-field-container:focus-within {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15), var(--shadow-md);
}

.input-prefix-icon {
  padding-left: 18px;
  font-size: 1.3rem;
  opacity: 0.6;
}

.main-bill-input {
  width: 100%;
  height: 60px;
  padding: 0 16px;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.15rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--navy-950);
  letter-spacing: 0.03em;
}

.main-bill-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: normal;
  font-family: var(--font-sans);
}

.input-actions-dock {
  padding-right: 12px;
}

.input-paste-btn {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-body);
  transition: var(--transition-fast);
}

.input-paste-btn:hover {
  background: #ffffff;
  border-color: var(--border-medium);
  color: var(--navy-900);
}

.input-paste-btn.success {
  background: var(--emerald-light);
  color: var(--emerald-600);
  border-color: var(--emerald-border);
}

/* Input Helper Row */
.input-helper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-link-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-600);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.guide-link-btn:hover {
  text-decoration: underline;
}

.demo-trigger-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid var(--amber-border);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber-600);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(217, 119, 6, 0.1);
  transition: var(--transition-fast);
}

.demo-trigger-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(217, 119, 6, 0.15);
}

/* Big Action Button with Shimmer */
.cta-check-bill-btn {
  width: 100%;
  height: 60px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.4), 0 2px 4px rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.cta-check-bill-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  animation: shimmerSlide 3.5s infinite;
}

@keyframes shimmerSlide {
  0% { left: -100%; }
  35% { left: 160%; }
  100% { left: 160%; }
}

.cta-check-bill-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
}

.cta-check-bill-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.cta-check-bill-btn:disabled {
  opacity: 0.85;
  cursor: wait;
}

.btn-content-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-bolt {
  font-size: 1.25rem;
}

.btn-arrow {
  font-size: 1.3rem;
  transition: var(--transition-fast);
}

.cta-check-bill-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.loading-state-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
}

.spinner-orbit {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spinOrbit 0.8s linear infinite;
}

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

/* Recent Lookups Dock */
.recent-lookups-dock {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-light);
}

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

.recent-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.clear-recent-btn {
  font-size: 0.74rem;
  color: var(--rose-500);
  font-weight: 700;
  cursor: pointer;
}

.clear-recent-btn:hover {
  text-decoration: underline;
}

.recent-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.recent-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: var(--navy-900);
  transition: var(--transition-fast);
}

.recent-chip:hover {
  background: #ffffff;
  border-color: var(--primary-border);
  box-shadow: var(--shadow-xs);
  transform: translateY(-1px);
}

.recent-chip-comp {
  color: var(--primary-600);
  font-weight: 800;
}

.recent-chip-num {
  font-family: var(--font-mono);
  font-weight: 600;
}

.recent-chip-amount {
  color: var(--emerald-600);
  font-weight: 800;
}

/* Error Toast */
.search-error-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--rose-light);
  border: 1px solid var(--rose-border);
  border-radius: var(--radius-md);
  color: var(--rose-600);
  text-align: left;
}

.toast-body strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.toast-body p {
  font-size: 0.85rem;
  color: #9f1239;
}

.toast-close-btn {
  margin-left: auto;
  font-size: 1rem;
  color: var(--rose-500);
  cursor: pointer;
}

/* Features Bar */
.quick-features-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.feature-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-body);
}

.chip-icon {
  font-size: 1.1rem;
}

/* ==========================================================================
   BillResultView Component
   ========================================================================== */
.bill-dashboard-section {
  padding: 24px 0 60px;
  animation: slideUpCard 0.4s var(--ease-spring);
}

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

.bill-summary-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  margin-bottom: 28px;
}

.summary-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

.verified-status-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--emerald-600);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.disco-tag-pill {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--navy-900);
  font-size: 0.76rem;
  text-transform: none;
}

.top-action-pills {
  display: flex;
  gap: 8px;
}

.action-pill-btn {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-body);
  transition: var(--transition-fast);
}

.action-pill-btn:hover {
  background: #ffffff;
  border-color: var(--border-medium);
  color: var(--navy-900);
}

.action-pill-btn.highlight {
  background: var(--primary-light);
  border-color: var(--primary-border);
  color: var(--primary-600);
}

.summary-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 28px;
  margin-bottom: 24px;
}

.amount-highlight-box {
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.6) 0%, rgba(240, 249, 255, 0.6) 100%);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.amount-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--emerald-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.amount-display-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.currency-symbol {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy-900);
}

.amount-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy-950);
  letter-spacing: -0.02em;
}

.amount-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pill.paid {
  background: #d1fae5;
  color: #065f46;
}

.status-pill.unpaid {
  background: #fef3c7;
  color: #92400e;
}

.status-pill .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.due-date-pill {
  font-size: 0.85rem;
  color: var(--text-body);
}

.consumer-specs-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.consumer-name-row {
  margin-bottom: 16px;
}

.consumer-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-950);
}

.specs-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.spec-cell {
  background: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.spec-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.spec-val-mono {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
}

.spec-val-bold {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-900);
}

.unit-kwh {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Dashboard Control Bar */
.dashboard-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  flex-wrap: wrap;
  gap: 14px;
}

.view-mode-tabs {
  display: flex;
  gap: 8px;
}

.tab-btn {
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--navy-900);
}

.tab-btn.active {
  background: var(--primary-light);
  border-color: var(--primary-500);
  color: var(--primary-600);
}

.primary-print-actions {
  display: flex;
  gap: 10px;
}

.print-btn-prominent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: var(--transition-normal);
}

.print-btn-prominent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45);
}

.alert-btn-prominent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--navy-900);
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.alert-btn-prominent:hover {
  background: #ffffff;
  border-color: var(--border-medium);
}

/* Viewport for Official A4 Duplicate */
.official-bill-viewport-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.viewport-header-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--navy-900);
  color: #ffffff;
}

.strip-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.viewport-title {
  font-size: 0.88rem;
  font-weight: 700;
}

.legal-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.strip-right {
  display: flex;
  gap: 8px;
}

.quick-icon-btn {
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.quick-icon-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.iframe-scroll-wrapper {
  background: #525659;
  padding: 20px 0;
  display: flex;
  justify-content: center;
}

.official-bill-iframe {
  width: 100%;
  max-width: 900px;
  height: 1250px;
  border: none;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  border-radius: 4px;
}

/* Smart Breakdown View */
.smart-breakdown-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.breakdown-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 24px;
}

.breakdown-tables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.breakdown-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.box-subtitle {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 12px;
}

.info-kv-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-kv-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding: 4px 0;
}

.info-kv-row.total-highlight {
  border-top: 2px solid var(--border-medium);
  padding-top: 10px;
  margin-top: 6px;
  font-size: 1.05rem;
}

.info-k {
  color: var(--text-muted);
}

.info-v {
  font-weight: 700;
  color: var(--navy-900);
}

.info-v.font-mono {
  font-family: var(--font-mono);
}

.info-v.address {
  max-width: 220px;
  text-align: right;
  font-size: 0.82rem;
  line-height: 1.4;
}

.text-rose { color: var(--rose-600); }
.text-emerald { color: var(--emerald-600); }
.text-amber { color: var(--amber-600); }
.font-extrabold { font-weight: 800; }
.font-bold { font-weight: 700; }

/* ==========================================================================
   InteractiveBillGuide Component (Visual Anatomy Decoder)
   ========================================================================== */
.interactive-guide-section {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--bg-page) 0%, #f1f5f9 100%);
  position: relative;
}

.guide-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.guide-badge-pill {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary-600);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.guide-headline {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--navy-950);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.guide-subtext {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.6;
}

.guide-interactive-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: start;
}

/* Bill Replica Mockup */
.bill-replica-container {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.bill-mockup-sheet {
  background: #ffffff;
  border: 2px solid #334155;
  border-radius: var(--radius-md);
  padding: 20px;
  font-family: var(--font-mono);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.mockup-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #334155;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.mockup-logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-logo-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.mockup-disco-title {
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--navy-950);
}

.mockup-disco-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.mockup-month-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 4px;
}

/* Hotspot Field Boxes */
.mockup-field-box {
  position: relative;
  border: 2px dashed #94a3b8;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
  cursor: pointer;
  background: #fafafa;
  transition: var(--transition-normal);
}

.mockup-field-box:hover {
  background: #f0fdf4;
  border-color: var(--emerald-500);
}

.mockup-field-box.focused {
  background: #eff6ff;
  border-color: var(--primary-500);
  border-style: solid;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25), 0 4px 14px rgba(37, 99, 235, 0.15);
}

.pin-indicator {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-500);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
}

.mockup-field-box.focused .pin-indicator {
  background: var(--primary-600);
  transform: scale(1.15);
}

.mockup-field-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.mockup-field-value {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--navy-950);
}

.mockup-mid-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.mockup-consumer-cell {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fafafa;
}

.units-row-split, .amount-row-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.units-highlight-cell .mockup-field-value {
  color: var(--primary-600);
}

.amount-highlight-cell .mockup-amount-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--emerald-600);
}

/* Right Explainer Column */
.guide-explainer-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pin-selector-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.pin-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.pin-tab-btn:hover {
  color: var(--navy-900);
}

.pin-tab-btn.active {
  background: var(--primary-light);
  border-color: var(--primary-500);
  color: var(--primary-600);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
}

.pin-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.15);
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-tab-btn.active .pin-num {
  background: var(--primary-500);
  color: #ffffff;
}

.pin-detail-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

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

.pin-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  color: var(--primary-600);
}

.pin-id-circle {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.pin-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 6px;
}

.pin-summary {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--primary-700);
  margin-bottom: 12px;
}

.pin-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 18px;
}

.pin-example-box {
  background: var(--bg-subtle);
  border-left: 3px solid var(--primary-500);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 14px;
}

.example-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.example-text {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-900);
}

.pin-tip-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fffbeb;
  border: 1px solid var(--amber-border);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #92400e;
  margin-bottom: 20px;
}

.pin-action-row {
  margin-top: 10px;
}

.test-this-ref-btn {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-normal);
}

.test-this-ref-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-500);
  transform: translateY(-2px);
}

/* ==========================================================================
   BillCalculator Component (Dynamic 2026 Estimator)
   ========================================================================== */
.calculator-section {
  padding: 60px 0;
}

.calculator-container-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 34px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
}

.calc-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.calc-pill-tag {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary-600);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.calc-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 6px;
}

.calc-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  max-width: 580px;
}

.quick-presets-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

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

.preset-btn {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-body);
  transition: var(--transition-fast);
}

.preset-btn:hover {
  background: #ffffff;
  border-color: var(--border-medium);
}

.preset-btn.active {
  background: var(--primary-light);
  border-color: var(--primary-500);
  color: var(--primary-600);
}

.calc-body-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
}

.slider-control-block {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 20px;
}

.slider-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.control-label {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy-900);
}

.units-display-pill {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 6px 16px;
  background: var(--primary-600);
  color: #ffffff;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.units-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.units-unit {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
}

.dynamic-range-slider {
  width: 100%;
  height: 10px;
  border-radius: var(--radius-pill);
  outline: none;
  background: #cbd5e1;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin-bottom: 12px;
}

.dynamic-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-600);
  border: 4px solid #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  cursor: grab;
  transition: transform 0.1s ease;
}

.dynamic-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-ticks-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.tick-marker.green { color: var(--emerald-600); font-weight: 700; }
.tick-marker.blue { color: var(--primary-600); font-weight: 700; }

.protected-switch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 18px;
}

.switch-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy-900);
  margin-bottom: 2px;
}

.switch-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.sleek-toggle-label {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  cursor: pointer;
}

.sleek-toggle-label input {
  opacity: 0;
  width: 0;
  height: 0;
}

.sleek-toggle-track {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #cbd5e1;
  border-radius: 28px;
  transition: var(--transition-fast);
}

.sleek-toggle-track::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: var(--transition-fast);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sleek-toggle-label input:checked + .sleek-toggle-track {
  background: var(--emerald-500);
}

.sleek-toggle-label input:checked + .sleek-toggle-track::before {
  transform: translateX(22px);
}

.advisory-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
}

.advisory-card.success {
  background: var(--emerald-light);
  border: 1px solid var(--emerald-border);
  color: #065f46;
}

.advisory-card.warning {
  background: var(--amber-light);
  border: 1px solid var(--amber-border);
  color: #92400e;
}

.advisory-icon {
  font-size: 1.3rem;
}

.advisory-card strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.advisory-card p {
  font-size: 0.8rem;
  line-height: 1.45;
}

/* Calc Results Right Column */
.total-estimate-card {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

.estimate-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  display: block;
  margin-bottom: 6px;
}

.estimate-amount-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.estimate-amount-row .curr {
  font-size: 1.8rem;
  font-weight: 700;
  color: #60a5fa;
}

.estimate-amount-row .val {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.tier-badge-row {
  margin-bottom: 24px;
}

.tier-badge-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 800;
}

.charges-mini-breakdown {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
}

.breakdown-bar-item .bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-bottom: 5px;
}

.bar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width 0.3s ease;
}

.bar-fill.blue { background: #3b82f6; }
.bar-fill.amber { background: #f59e0b; }
.bar-fill.emerald { background: #10b981; }

/* ==========================================================================
   4 Ways to Pay Section
   ========================================================================== */
.payment-ways-section {
  padding: 60px 0;
  background: #ffffff;
}

.section-title-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-tag-pill {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-950);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-subtext {
  font-size: 1.05rem;
  color: var(--text-body);
}

.payment-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.payment-channel-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  transition: var(--transition-normal);
  position: relative;
}

.payment-channel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
  background: #ffffff;
}

.channel-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.channel-icon-wrap.jazzcash { background: #fee2e2; }
.channel-icon-wrap.easypaisa { background: #dcfce7; }
.channel-icon-wrap.banking { background: #e0e7ff; }
.channel-icon-wrap.cash { background: #fef3c7; }

.channel-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
}

.payment-channel-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 8px;
}

.payment-channel-card p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ==========================================================================
   CompanyDirectory Component
   ========================================================================== */
.directory-section {
  padding: 60px 0;
  background: var(--bg-page);
}

.directory-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.directory-badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary-600);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.directory-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-950);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.directory-lead {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 24px;
}

.region-filter-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.region-tab-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast);
}

.region-tab-btn:hover {
  color: var(--navy-900);
}

.region-tab-btn.active {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.company-tile-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

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

.tile-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tile-monogram-badge {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--navy-900);
  letter-spacing: 0.05em;
}

.tile-type-tag {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.tile-type-tag.pitc {
  background: #ecfdf5;
  color: #059669;
}

.tile-type-tag.external {
  background: #eff6ff;
  color: #2563eb;
}

.tile-company-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 2px;
}

.tile-company-full {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-600);
  margin-bottom: 8px;
}

.tile-region-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 18px;
}

.tile-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.tile-helpline {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tile-helpline a:hover {
  color: var(--primary-600);
  text-decoration: underline;
}

.tile-buttons-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tile-check-btn {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary-600);
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.tile-check-btn:hover {
  background: var(--primary-600);
  color: #ffffff;
}

.tile-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.tile-link:hover {
  color: var(--primary-600);
}

/* ==========================================================================
   InteractiveFaq Component
   ========================================================================== */
.faq-section {
  padding: 60px 0 80px;
  background: #ffffff;
}

.faq-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.faq-badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-950);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.faq-lead {
  font-size: 1.05rem;
  color: var(--text-body);
}

.faq-accordion-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item-accordion {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--bg-page);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item-accordion.open {
  background: #ffffff;
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  text-align: left;
  gap: 16px;
}

.question-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-950);
}

.chevron-icon {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-600);
  line-height: 1;
}

.faq-answer-panel {
  padding: 0 22px 20px;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   Modals & Alerts
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-dialog-box {
  background: #ffffff;
  border-radius: var(--radius-2xl);
  max-width: 500px;
  width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-xl);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-icon-badge {
  font-size: 2rem;
  margin-bottom: 10px;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.input-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.custom-input, .custom-select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  font-size: 0.95rem;
  color: var(--navy-900);
  outline: none;
  background: #ffffff;
  transition: var(--transition-fast);
}

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

.submit-btn {
  width: 100%;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--primary-600);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transition: var(--transition-fast);
}

.submit-btn:hover {
  background: var(--primary-700);
}

.modal-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--navy-950);
  color: #e2e8f0;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: #94a3b8;
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Responsive Breakpoints & Print
   ========================================================================== */
@media (max-width: 992px) {
  .hero-main-title { font-size: 2.5rem; }
  .summary-main-grid { grid-template-columns: 1fr; }
  .guide-interactive-layout { grid-template-columns: 1fr; }
  .calc-body-grid { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero-main-title { font-size: 2rem; }
  .nav-links a:not(:first-child) { display: none; }
  .search-hub-card { padding: 18px; }
  .main-bill-input { font-size: 1rem; }
  .amount-number { font-size: 2.4rem; }
  .dashboard-control-bar { flex-direction: column; align-items: stretch; }
  .view-mode-tabs { width: 100%; }
  .tab-btn { flex: 1; text-align: center; }
  .primary-print-actions { flex-direction: column; }
  .pin-selector-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-top-grid { grid-template-columns: 1fr; }
}

@media print {
  .no-print, .navbar, .top-notice-bar, .hero-section, .interactive-guide-section,
  .calculator-section, .payment-ways-section, .directory-section, .faq-section,
  .footer, .dashboard-control-bar, .summary-top-bar {
    display: none !important;
  }
  body, html {
    background: #ffffff !important;
  }
  .official-bill-viewport-card {
    border: none !important;
    box-shadow: none !important;
  }
}
