/* ============================================================
   SULTHAN BATHERY MUNICIPALITY — PREMIUM PWA HOME DESIGN
   Integrated Full-Bleed Scenic Hero + Quick Actions Redesign
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Sky Blue Core Primary Color System */
  --primary-accent:     #38bdf8; /* Bright Sky Blue */
  --primary-brand:      #0284c7; /* Sky Blue Primary */
  --primary-dark:       #0369a1; /* Deep Sky Blue */
  --primary-darker:     #0c4a6e; /* Sky Midnight Dark */
  --primary-light:      #e0f2fe; /* Light Sky Tint */

  /* Mapped Brand Tokens for Full Component Compatibility */
  --forest-dark:        #0c4a6e;
  --forest-medium:      #0369a1;
  --forest-brand:       #0284c7;
  --forest-light:       #e0f2fe;

  /* Text Colors */
  --text-primary:       #0f172a;
  --text-secondary:     #475569;
  --text-muted:         #64748b;
  --text-inverse:       #ffffff;

  /* Surface & Backgrounds */
  --bg-app:             #f8fafc;
  --bg-header:          #ffffff;
  --bg-card:            #ffffff;

  /* Layout */
  --max-width:          100%;
  --font-family:        'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-handwriting:   'Caveat', cursive;

  /* Shadows */
  --shadow-sm:          0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md:          0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg:          0 8px 24px rgba(0, 0, 0, 0.1);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-color: var(--bg-app);
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-app);
  color: var(--text-primary);
  min-height: 100dvh;
  display: flex;
  justify-content: stretch;
  overflow-x: hidden;
  width: 100%;
}

img {
  display: block;
  max-width: 100%;
}

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

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

/* ── App Shell ────────────────────────────────────────────── */
.app-shell {
  width: 100%;
  max-width: 100%;
  min-height: 100dvh;
  background-color: var(--bg-app);
  position: relative;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }

/* ── HERO BANNER (Full Bleed to Top) ─────────────────────── */
.hero-card-container {
  padding: 0;
  position: relative;
  z-index: 1;
}

.hero-card {
  position: relative;
  height: calc(195px + env(safe-area-inset-top, 0px));
  min-height: 195px;
  overflow: hidden;
  background-color: #080a0f;
}

.hero-bg-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.95);
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  pointer-events: none;
}

.hero-bg-img.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(15, 23, 42, 0.3) 45%,
    rgba(0, 0, 0, 0.88) 100%
  );
  pointer-events: none;
}

/* ── SLIVER APP BAR (Sticky Collapsing Header) ─────────────── */
.app-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: calc(64px + env(safe-area-inset-top, 0px));
  height: auto;
  margin-bottom: calc(-64px - env(safe-area-inset-top, 0px));
  padding: calc(10px + env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) 10px max(18px, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-bottom: none;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.3s ease,
              -webkit-backdrop-filter 0.3s ease,
              box-shadow 0.3s ease;
  will-change: background, backdrop-filter, box-shadow;
}

.app-header.scrolled {
  background: rgba(12, 74, 110, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.app-header.app-header--explore,
.app-header.app-header--report {
  position: relative;
  margin-bottom: 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.app-header.app-header--explore .header-title,
.app-header.app-header--report .header-title {
  color: #0f172a;
  text-shadow: none;
}

.app-header.app-header--explore .header-subtitle,
.app-header.app-header--report .header-subtitle {
  color: #0284c7;
  text-shadow: none;
}

.app-header.app-header--explore .header-logo-badge,
.app-header.app-header--report .header-logo-badge {
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

@media (max-width: 767px) {
  .app-header.app-header--report {
    display: none !important;
  }
}

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

.header-logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  will-change: transform;
}

.header-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-text {
  display: flex;
  flex-direction: column;
}

.header-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.header-subtitle {
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.24em;
  line-height: 1.2;
  margin-top: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.header-tagline {
  font-size: 9px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.2;
  margin-top: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

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

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-icon:active {
  background-color: rgba(255, 255, 255, 0.35);
  transform: scale(0.95);
}

.btn-icon svg {
  width: 20px;
  height: 20px;
}

.notification-badge {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 7px;
  height: 7px;
  background-color: #ef4444;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
}

/* ── HERO CONTENT ─────────────────────────────────────────── */
.hero-content {
  position: absolute;
  inset: 0;
  padding: calc(72px + env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) 18px max(18px, env(safe-area-inset-left, 0px));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 2;
  will-change: transform, opacity;
  transform-origin: center top;
}

.hero-heading {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  margin-top: 0;
}

.hero-heading span {
  display: block;
}

.hero-subheading {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 5px;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-script-tag {
  position: absolute;
  bottom: 34px;
  right: 20px;
  font-family: var(--font-handwriting);
  font-size: 18.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.1;
  text-align: right;
  transform: rotate(-3deg);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ── CONTENT SHEET (Straight Partition Below Hero) ── */
.content-sheet {
  position: relative;
  z-index: 10;
  background-color: var(--bg-app);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: 0;
  padding-top: 8px;
  box-shadow: none;
}


/* ── BANNER CAROUSEL SLIDER ──────────────────────────────── */
.banner-carousel-section {
  padding: 8px 14px 0;
  margin-bottom: 14px;
}

.banner-carousel-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.05);
}

.banner-carousel {
  display: flex;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
}

.banner-carousel::-webkit-scrollbar {
  display: none;
}

.banner-slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
}

.banner-slide-card {
  display: block;
  width: 100%;
  aspect-ratio: 2.1 / 1;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.banner-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-slide-card:hover .banner-slide-img {
  transform: scale(1.02);
}

/* Glassmorphism Dots Indicator Bar */
.banner-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.banner-dot.active {
  width: 16px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

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

.phone-illustration {
  width: 46px;
  height: 46px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-illustration svg {
  width: 44px;
  height: 44px;
}

.report-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--forest-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.report-arrow-btn svg {
  width: 18px;
  height: 18px;
}

/* ── SECTION COMMONS ──────────────────────────────────────── */
.section-container {
  margin-top: 22px;
  margin-bottom: 22px;
}

.content-sheet > .section-container:first-child {
  margin-top: 4px;
}

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

.section-heading {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.view-all-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--forest-brand);
}

/* ── UPCOMING EVENTS CAROUSEL — APPLE-STYLE DESIGN ──────────── */

.section-header-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.section-subheading {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.events-carousel-container {
  position: relative;
  width: 100%;
}

.events-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 16px 14px 16px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.events-carousel::-webkit-scrollbar {
  display: none;
}

/* Apple-style Curved Event Card */
.event-card {
  flex: 0 0 215px;
  width: 215px;
  scroll-snap-align: center;
  border-radius: 18px;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 
    0 8px 20px -4px rgba(0, 0, 0, 0.06),
    0 3px 8px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  position: relative;
  cursor: pointer;
}

.event-card:active {
  transform: scale(0.975);
}

@media (hover: hover) {
  .event-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 
      0 14px 28px -5px rgba(0, 0, 0, 0.1),
      0 4px 12px rgba(0, 0, 0, 0.04);
  }
}

/* Image Container with Curved Apple Corner Aesthetics */
.event-image-wrapper {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  background-color: var(--forest-dark);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

/* Category Issue Cover Art */
.category-cover-art {
  position: relative;
  width: 100%;
  height: 145px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 -12px 24px rgba(0, 0, 0, 0.15);
}

.cat-cover--waste {
  background: linear-gradient(135deg, #065f46 0%, #047857 50%, #10b981 100%);
}

.cat-cover--traffic {
  background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 50%, #ef4444 100%);
}

.cat-cover--streetlight {
  background: linear-gradient(135deg, #1e1b4b 0%, #3730a3 50%, #6366f1 100%);
}

.cat-cover--water {
  background: linear-gradient(135deg, #075985 0%, #0284c7 50%, #38bdf8 100%);
}

.cat-cover--roads {
  background: linear-gradient(135deg, #334155 0%, #475569 50%, #64748b 100%);
}

.cat-cover--environment {
  background: linear-gradient(135deg, #14532d 0%, #15803d 50%, #22c55e 100%);
}

.cat-art-icon {
  font-size: 52px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
  transform: translateY(-2px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card:hover .cat-art-icon {
  transform: scale(1.15) translateY(-4px);
}

.cat-art-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cat-art-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card:hover .event-image {
  transform: scale(1.06);
}

/* Scrim Gradient for Legibility */
.event-image-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.65) 100%
  );
  pointer-events: none;
}

/* Glassmorphism Floating Badges */
.event-badge-row {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 2;
}

.event-category-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.badge--expo { background: rgba(16, 185, 129, 0.82); }
.badge--cultural { background: rgba(217, 119, 6, 0.85); }
.badge--carnival { background: rgba(147, 51, 234, 0.8); }
.badge--festival { background: rgba(236, 72, 153, 0.8); }
.badge--sports { background: rgba(14, 165, 233, 0.8); }

.badge--waste { background: rgba(220, 38, 38, 0.9); }
.badge--traffic { background: rgba(234, 88, 12, 0.9); }
.badge--antidrugs { background: linear-gradient(135deg, #dc2626 0%, #7f1d1d 100%); }
.badge--streetlight { background: rgba(2, 132, 199, 0.9); }
.badge--water { background: rgba(14, 165, 233, 0.9); }
.badge--roads { background: rgba(217, 119, 6, 0.9); }

.event-date-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
  background: rgba(13, 60, 46, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Card Body */
.event-card-body {
  padding: 10px 12px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.event-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-desc-sub {
  font-size: 10.5px;
  color: #64748b;
  line-height: 1.3;
  margin-top: 1px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-report-action-btn {
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary-brand);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.15s ease;
}

.home-report-cat-card:active .card-report-action-btn {
  background: var(--primary-brand);
  color: #ffffff;
}

.card-report-action-btn svg {
  width: 14px;
  height: 14px;
}

/* ── HOSPITAL CARDS & SECTION STYLES ────────────────────────── */
.hospital-card {
  flex: 0 0 220px;
  width: 220px;
}

.hospital-image-wrapper {
  height: 130px;
}

.hospital-card-body {
  padding: 12px 12px 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hospital-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 3px;
}

.hospital-phone-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

a.hospital-phone-row:hover {
  color: #0284c7;
}

.hospital-phone-row svg {
  width: 12px;
  height: 12px;
  color: #0284c7;
  flex-shrink: 0;
}

.hospital-location-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 8px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  transition: color 0.15s ease;
}

a.hospital-location-row:hover {
  color: #0284c7;
}

.hospital-location-row svg {
  width: 12px;
  height: 12px;
  color: #0284c7;
  flex-shrink: 0;
}

.hospital-actions-row {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-hospital-call-btn {
  flex: 1;
  min-width: 0;
  padding: 7.5px 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.22);
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
}

.card-hospital-call-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

.card-hospital-call-btn:active {
  transform: scale(0.96);
}

.card-hospital-call-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.card-hospital-map-btn {
  padding: 7.5px 10px;
  border-radius: 10px;
  background: #ffffff;
  color: #0284c7;
  border: 1.5px solid rgba(2, 132, 199, 0.35);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.card-hospital-map-btn:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.3);
  transform: translateY(-1px);
}

.card-hospital-map-btn:active {
  transform: scale(0.96);
}

.card-hospital-map-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ── DYNAMIC DYNAMIC AMBIENT CARD GRADIENT BASE ── */
.home-report-cat-card,
.hospital-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.3s ease;
}

/* ── SOFT VISIBLE PALETTE GRADIENT SHADES FOR CARDS ── */
/* Report an Issue Category Cards */
.home-report-cat-card[data-cat-id="waste"] {
  background: linear-gradient(175deg, #ecfdf5 0%, #f4fbf7 60%, #ffffff 100%);
  border-color: rgba(16, 185, 129, 0.28);
  box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.14), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.home-report-cat-card[data-cat-id="traffic"] {
  background: linear-gradient(175deg, #fff7ed 0%, #fff3e0 60%, #ffffff 100%);
  border-color: rgba(249, 115, 22, 0.28);
  box-shadow: 0 8px 20px -4px rgba(249, 115, 22, 0.14), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.home-report-cat-card[data-cat-id="antidrugs"] {
  background: linear-gradient(175deg, #eef2ff 0%, #e0e7ff 60%, #ffffff 100%);
  border-color: rgba(99, 102, 241, 0.28);
  box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.14), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.home-report-cat-card[data-cat-id="hotel"] {
  background: linear-gradient(175deg, #fef2f2 0%, #fee2e2 60%, #ffffff 100%);
  border-color: rgba(239, 68, 68, 0.28);
  box-shadow: 0 8px 20px -4px rgba(239, 68, 68, 0.14), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.home-report-cat-card[data-cat-id="roads"] {
  background: linear-gradient(175deg, #f0f9ff 0%, #e0f2fe 60%, #ffffff 100%);
  border-color: rgba(2, 132, 199, 0.28);
  box-shadow: 0 8px 20px -4px rgba(2, 132, 199, 0.14), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.home-report-cat-card[data-cat-id="forest"] {
  background: linear-gradient(175deg, #f0fdf4 0%, #dcfce7 60%, #ffffff 100%);
  border-color: rgba(34, 197, 94, 0.28);
  box-shadow: 0 8px 20px -4px rgba(34, 197, 94, 0.14), 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* Hospital Cards */
.hospital-card[data-hospital="anupama"] {
  background: linear-gradient(175deg, #e0f2fe 0%, #f0f9ff 60%, #ffffff 100%);
  border-color: rgba(2, 132, 199, 0.28);
  box-shadow: 0 8px 20px -4px rgba(2, 132, 199, 0.14), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.hospital-card[data-hospital="assumption"] {
  background: linear-gradient(175deg, #ffe4e6 0%, #fff1f2 60%, #ffffff 100%);
  border-color: rgba(225, 29, 72, 0.28);
  box-shadow: 0 8px 20px -4px rgba(225, 29, 72, 0.14), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.hospital-card[data-hospital="iqraa"] {
  background: linear-gradient(175deg, #ccfbf1 0%, #f0fdfa 60%, #ffffff 100%);
  border-color: rgba(13, 148, 136, 0.28);
  box-shadow: 0 8px 20px -4px rgba(13, 148, 136, 0.14), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.hospital-card[data-hospital="karuna"] {
  background: linear-gradient(175deg, #dbeafe 0%, #eff6ff 60%, #ffffff 100%);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.14), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.hospital-card[data-hospital="meera"] {
  background: linear-gradient(175deg, #fef3c7 0%, #fffbeb 60%, #ffffff 100%);
  border-color: rgba(217, 119, 6, 0.28);
  box-shadow: 0 8px 20px -4px rgba(217, 119, 6, 0.14), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.hospital-card[data-hospital="mes"] {
  background: linear-gradient(175deg, #d1fae5 0%, #ecfdf5 60%, #ffffff 100%);
  border-color: rgba(16, 185, 129, 0.28);
  box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.14), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.hospital-card[data-hospital="victory"] {
  background: linear-gradient(175deg, #ede9fe 0%, #f5f3ff 60%, #ffffff 100%);
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: 0 8px 20px -4px rgba(124, 58, 237, 0.14), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.hospital-card[data-hospital="vinayaka"] {
  background: linear-gradient(175deg, #ffedd5 0%, #fff7ed 60%, #ffffff 100%);
  border-color: rgba(234, 88, 12, 0.28);
  box-shadow: 0 8px 20px -4px rgba(234, 88, 12, 0.14), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.2;
}

.event-meta-item svg {
  width: 13px;
  height: 13px;
  color: var(--forest-brand);
  flex-shrink: 0;
}

/* Carousel Control Bar (Dots + Arrows) */
.carousel-indicators-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  margin-top: 2px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-dot.active {
  width: 22px;
  border-radius: 10px;
  background-color: var(--forest-brand);
}

.carousel-arrows {
  display: flex;
  align-items: center;
  gap: 6px;
}

.carousel-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.15s ease;
  cursor: pointer;
}

.carousel-arrow:active {
  transform: scale(0.92);
  background-color: #f1f5f9;
}

.carousel-arrow svg {
  width: 15px;
  height: 15px;
}


/* ── EMERGENCY HELPLINES — PREMIUM DARK SECTION ──────────── */

/* Section Wrapper — Full-bleed dark container */
.helpline-section {
  margin-bottom: 22px;
  padding: 0 14px;
}

.helpline-section-inner {
  background: linear-gradient(145deg, #075985 0%, #0369a1 40%, #0284c7 100%);
  border-radius: 22px;
  padding: 22px 16px 20px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 32px -4px rgba(2, 132, 199, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Subtle decorative shimmer */
.helpline-section-inner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(34, 194, 252, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.helpline-section-inner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Section Header */
.helpline-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.helpline-header-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.helpline-section-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.helpline-section-sub {
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.01em;
}

/* Pulsing 24/7 Live Badge */
.helpline-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 4px 8px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  color: #fca5a5;
  letter-spacing: 0.05em;
}

.helpline-live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
  animation: hlPulse 2s ease-in-out infinite;
}

@keyframes hlPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px rgba(239, 68, 68, 0.5); }
  50% { opacity: 0.5; box-shadow: 0 0 10px rgba(239, 68, 68, 0.8); }
}

/* Cards Grid */
.helpline-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
  z-index: 1;
}

/* Individual Card */
.hl-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition:
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.hl-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.3);
}

.hl-card:active {
  transform: scale(0.97);
}

/* Card Icon */
.hl-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hl-card-icon svg {
  width: 17px;
  height: 17px;
}

/* Category Colors — Vibrant icon backgrounds */
.hl-card--women .hl-card-icon {
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(236, 72, 153, 0.35);
}

.hl-card--child .hl-card-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.35);
}

.hl-card--police .hl-card-icon {
  background: linear-gradient(135deg, #6366f1, #4338ca);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(99, 102, 241, 0.35);
}

.hl-card--fire .hl-card-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(239, 68, 68, 0.35);
}

.hl-card--ambulance .hl-card-icon {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(34, 197, 94, 0.35);
}

.hl-card--disaster .hl-card-icon {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(249, 115, 22, 0.35);
}

/* Card Text */
.hl-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.hl-card-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.hl-card-number {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Call Button */
.hl-card-call {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.hl-card-call svg {
  width: 13px;
  height: 13px;
}

.hl-card:hover .hl-card-call {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: scale(1.08);
}

/* ── EXPLORE CAROUSEL ─────────────────────────────────────── */
.explore-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 16px 12px 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.explore-carousel::-webkit-scrollbar {
  display: none;
}

.explore-card {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.explore-card:active {
  transform: scale(0.96);
}

@media (hover: hover) {
  .explore-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.18);
  }
  
  .explore-card:hover .explore-img {
    transform: scale(1.08);
  }

  .explore-card:hover .explore-chevron {
    transform: translateX(3px);
  }
}

.explore-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.explore-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.05) 80%,
    transparent 100%
  );
  transition: opacity 0.25s ease;
}

.explore-footer {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.explore-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.explore-chevron {
  width: 15px;
  height: 15px;
  color: #ffffff;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* ── FLOATING BOTTOM NAVIGATION (CAPSULE PILL MATCHING TOP NAV) ── */
.bottom-nav {
  position: fixed;
  bottom: max(16px, calc(12px + env(safe-area-inset-bottom, 0px)));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  max-width: 440px;
  height: auto;
  background: rgba(15, 23, 42, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  z-index: 1000;
  box-shadow:
    0 18px 40px -6px rgba(0, 0, 0, 0.35),
    0 4px 20px rgba(0, 0, 0, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  padding: 7px 8px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
}

.nav-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  flex: 1;
  padding: 13px 14px;
  min-height: 48px;
  border-radius: 28px;
  position: relative;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
}

.nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-item-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.nav-item:active {
  transform: scale(0.95);
}

.nav-item--active,
.nav-item.active {
  background: #ffffff !important;
  color: var(--forest-dark) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.nav-item--active svg,
.nav-item.active svg {
  color: var(--forest-dark);
}

.nav-active-bar {
  display: none !important;
}

/* ============================================================
   APPLE-GRADE EXPLORE MODULE DESIGN SYSTEM
   View Switching · Glassmorphic Headers · Segmented Controls · 
   Rich Cards Grid · Map View Pins · Apple Bottom Sheet Modal
   ============================================================ */

/* ── VIEW SWITCHING CONTAINER & UTILITIES ──────────────────── */
.view-container {
  width: 100%;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.view-container.hidden {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

.view-container.view-active {
  display: block;
  opacity: 1;
  animation: appleViewFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

/* ── APPLE EXPLORE STICKY BLUR HEADER ──────────────────────── */
.apple-explore-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: calc(14px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px));
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

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

.apple-large-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.apple-title-sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-brand);
  letter-spacing: 0.01em;
  margin-top: 2px;
}

/* Apple Segmented View Toggle Button */
.apple-view-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 20px;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-view-toggle-btn:active {
  transform: scale(0.95);
  background-color: #f1f5f9;
}

.apple-view-toggle-btn svg {
  width: 15px;
  height: 15px;
  color: var(--primary-brand);
}

/* ── APPLE SEARCH INPUT ────────────────────────────────────── */
.apple-search-box {
  position: relative;
  width: 100%;
  margin-bottom: 12px;
}

.apple-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: #94a3b8;
  pointer-events: none;
  transition: color 0.2s ease;
}

.apple-search-input {
  width: 100%;
  height: 40px;
  padding: 0 36px 0 38px;
  border-radius: 12px;
  background-color: rgba(15, 23, 42, 0.05);
  border: 1px solid transparent;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.apple-search-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.apple-search-input:focus {
  background-color: #ffffff;
  border-color: var(--primary-brand);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.apple-search-input:focus + .apple-search-icon {
  color: var(--primary-brand);
}

.apple-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.15s ease;
}

.apple-search-clear svg {
  width: 16px;
  height: 16px;
}

.apple-search-clear:active {
  color: #0f172a;
}

/* ── APPLE CATEGORY FILTER PILLS ──────────────────────────── */
.apple-filter-pills-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 6px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.apple-filter-pills-bar::-webkit-scrollbar {
  display: none;
}

.apple-pill {
  flex-shrink: 0;
  padding: 7.5px 16px;
  border-radius: 22px;
  background-color: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-family: var(--font-family);
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-pill:hover {
  background-color: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.apple-pill:active {
  transform: scale(0.95);
}

.apple-pill.active {
  background-color: var(--primary-brand);
  color: #ffffff;
  border-color: var(--primary-brand);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}

/* ── EXPLORE CONTENT BODY ──────────────────────────────────── */
.explore-content-body {
  padding: 16px;
}

/* ── APPLE SPOTLIGHT HERO CARD ────────────────────────────── */
.apple-spotlight-section {
  margin-bottom: 22px;
}

.apple-spotlight-card {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.apple-spotlight-card:active {
  transform: scale(0.98);
}

.apple-spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.apple-spotlight-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(15, 23, 42, 0.88) 100%
  );
}

.apple-spotlight-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.apple-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.badge-featured {
  background: rgba(2, 132, 199, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-rating {
  background: rgba(15, 23, 42, 0.65);
  color: #fbbf24;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.apple-spotlight-footer {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  color: #ffffff;
}

.apple-spotlight-distance {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  display: block;
}

.apple-spotlight-title {
  font-size: 20px;
  font-weight: 800;
  margin-top: 2px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.apple-spotlight-desc {
  font-size: 11.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 3px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.apple-spotlight-actions {
  margin-top: 10px;
}

.apple-spotlight-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 18px;
  background-color: #ffffff;
  color: var(--primary-darker);
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.apple-spotlight-btn svg {
  width: 14px;
  height: 14px;
}

/* ── SECTION HEADER & COUNTER ──────────────────────────────── */
.explore-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.explore-results-heading {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.explore-results-count {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
}

/* ── PLACES GRID & CARDS ───────────────────────────────────── */
.apple-places-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.apple-place-card {
  background-color: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 
    0 6px 18px -4px rgba(0, 0, 0, 0.05),
    0 2px 6px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
  position: relative;
}

.apple-place-card:active {
  transform: scale(0.975);
}

.place-card-image-wrap {
  position: relative;
  width: 100%;
  height: 155px;
  overflow: hidden;
  background-color: #0369a1;
}

.place-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.place-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0) 45%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.place-card-badge-row {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.place-card-category {
  padding: 4px 9px;
  border-radius: 14px;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.place-card-bookmark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.15s ease;
}

.place-card-bookmark.saved {
  background-color: var(--primary-brand);
  color: #ffffff;
}

.place-card-bookmark svg {
  width: 15px;
  height: 15px;
}

.place-card-body {
  padding: 12px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.place-card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.place-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.place-card-rating {
  font-size: 11px;
  font-weight: 800;
  color: #d97706;
  background-color: #fef3c7;
  padding: 2px 7px;
  border-radius: 10px;
  white-space: nowrap;
}

.place-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
}

.place-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.place-meta-item svg {
  width: 12px;
  height: 12px;
  color: var(--primary-brand);
}

.place-card-address {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  line-height: 1.45;
  margin-top: 4px;
}

.place-card-address svg {
  width: 14px;
  height: 14px;
  color: var(--primary-brand);
  flex-shrink: 0;
  margin-top: 2px;
}

.apple-place-card--simple,
.apple-place-card--club {
  cursor: default;
}

.place-status-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}

.place-status-tag.open {
  background-color: #dcfce7;
  color: #15803d;
}

.place-status-tag.closed {
  background-color: #fee2e2;
  color: #b91c1c;
}

.place-card-desc {
  font-size: 11.5px;
  color: #475569;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.place-card-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.place-expand-hint {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-brand);
  display: flex;
  align-items: center;
  gap: 3px;
}

.place-card-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 10px;
  background-color: #f1f5f9;
  color: #0f172a;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: all 0.15s ease;
}

.place-card-map-btn:hover {
  background-color: var(--primary-brand);
  color: #ffffff;
  border-color: var(--primary-brand);
}

.place-card-map-btn svg {
  width: 12px;
  height: 12px;
}

/* ── VECTOR APPLE MAP VIEW ─────────────────────────────────── */
.apple-map-container {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background-color: #0f172a;
}

.apple-map-mock-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, #0369a1 0%, #0c4a6e 60%, #0f172a 100%);
  overflow: hidden;
}

.map-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.map-river-path {
  position: absolute;
  top: -20px;
  left: 20%;
  width: 250px;
  height: 420px;
  border-right: 18px solid rgba(56, 189, 248, 0.25);
  border-radius: 40%;
  filter: blur(2px);
  pointer-events: none;
}

.map-road-network {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.12) 50%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.08) 50%, transparent 52%);
  pointer-events: none;
}

.map-center-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.map-center-pulse {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #38bdf8;
  border: 2px solid #ffffff;
  box-shadow: 0 0 12px #38bdf8;
  animation: mapPulse 2s infinite ease-in-out;
}

@keyframes mapPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 8px #38bdf8; }
  50% { transform: scale(1.4); box-shadow: 0 0 20px #38bdf8; }
}

.map-center-title {
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.85);
  padding: 2px 7px;
  border-radius: 10px;
  margin-top: 4px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Interactive Map Pin Marker */
.map-pins-layer {
  position: absolute;
  inset: 0;
}

.map-pin-marker {
  position: absolute;
  transform: translate(-50%, -100%);
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-pin-marker:hover, .map-pin-marker.active {
  transform: translate(-50%, -110%) scale(1.15);
  z-index: 20;
}

.map-pin-bubble {
  padding: 5px 9px;
  border-radius: 14px;
  background-color: #ffffff;
  color: #0f172a;
  font-size: 10.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(2, 132, 199, 0.3);
  white-space: nowrap;
}

.map-pin-bubble svg {
  width: 12px;
  height: 12px;
  color: var(--primary-brand);
}

.map-pin-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #ffffff;
  margin: 0 auto;
}

.map-floating-tip {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  z-index: 30;
}

/* ── APPLE DETAIL BOTTOM SHEET MODAL ──────────────────────── */
.apple-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.apple-sheet-backdrop.hidden {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

.apple-sheet-drawer {
  width: 100%;
  max-width: var(--max-width);
  max-height: 85dvh;
  background-color: #ffffff;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  animation: appleSheetSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes appleSheetSlideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.apple-sheet-handle-bar {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 15;
  pointer-events: none;
}

.apple-sheet-handle {
  width: 38px;
  height: 4.5px;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.apple-sheet-controls {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
}

.apple-sheet-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.15s ease;
}

.apple-sheet-close-btn:active {
  transform: scale(0.9);
}

.apple-sheet-close-btn svg {
  width: 16px;
  height: 16px;
}

.apple-sheet-scroll-body {
  overflow-y: auto;
  flex: 1;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  -webkit-overflow-scrolling: touch;
}

.apple-sheet-media {
  position: relative;
  width: 100%;
  height: 350px;
  max-height: 45vh;
  overflow: hidden;
  background-color: #0f172a;
}

.sheet-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sheet-media-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.sheet-category-badge {
  position: absolute;
  bottom: 12px;
  left: 16px;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  background: rgba(2, 132, 199, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.apple-sheet-header-info {
  padding: 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.sheet-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sheet-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.sheet-bookmark-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
  transition: all 0.15s ease;
}

.sheet-bookmark-btn.saved {
  background-color: var(--primary-brand);
  color: #ffffff;
}

.sheet-bookmark-btn svg {
  width: 18px;
  height: 18px;
}

.sheet-metrics-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  flex-wrap: wrap;
}

.sheet-rating-chip {
  color: #d97706;
  font-weight: 700;
}

.sheet-dot {
  color: #cbd5e1;
}

.sheet-status-chip {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}

.sheet-status-chip.open {
  background-color: #dcfce7;
  color: #15803d;
}

.sheet-action-row {
  display: flex;
  align-items: center;
  margin-top: 16px;
  width: 100%;
}

.apple-cta-btn {
  width: 100%;
  height: 48px;
  padding: 0 20px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
}

.cta-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px -4px rgba(2, 132, 199, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.6);
  transform: translateY(-1px);
}

.cta-primary:active {
  transform: scale(0.97);
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.3);
}

.apple-cta-btn svg {
  width: 18px;
  height: 18px;
}

.cta-arrow-icon {
  width: 14px !important;
  height: 14px !important;
  margin-left: auto;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.apple-cta-btn:hover .cta-arrow-icon {
  transform: translateX(3px);
  opacity: 1;
}

.sheet-section {
  padding: 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.sheet-section-heading {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.sheet-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: #334155;
  font-weight: 400;
}

.sheet-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sheet-tag-pill {
  padding: 5px 10px;
  border-radius: 12px;
  background-color: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.sheet-info-card {
  background-color: #f8fafc;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sheet-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
}

.info-label {
  color: #64748b;
  font-weight: 500;
}

.info-value {
  color: #0f172a;
  font-weight: 700;
  text-align: right;
}

/* ============================================================
   CITIZEN REPORT A PROBLEM MODULE — MOBILE-FIRST PWA STYLES
   ============================================================ */

/* ── Hidden state utility ── */
.hidden {
  display: none !important;
}

.hidden-file-input {
  display: none !important;
}

/* ── Report App Header (Clean Mobile Bar) ── */
@media (min-width: 768px) {
  .report-app-header {
    display: none !important;
  }
}

.report-app-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: calc(56px + env(safe-area-inset-top, 0px));
  height: auto;
  padding: env(safe-area-inset-top, 0px) max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.report-back-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f172a;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.1s ease;
}

.report-back-btn:hover {
  background: #e2e8f0;
}

.report-back-btn:active {
  background: #cbd5e1;
  transform: scale(0.92);
}

.report-back-btn svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.report-header-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.report-header-spacer {
  width: 38px;
}

.main-content.main-content--no-nav {
  padding-bottom: 0 !important;
}

/* ── Report Container & Form Body ── */
.report-view-container {
  background-color: var(--bg-app);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.report-content-body {
  padding: 16px max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px));
  flex: 1;
}

.report-intro-section {
  margin-bottom: 20px;
}

.report-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.report-subtitle {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 4px;
  line-height: 1.4;
}

/* ── Section Cards Layout ── */
.report-section {
  background: #ffffff;
  border-radius: 20px;
  padding: 18px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.report-section-header {
  margin-bottom: 14px;
}

.report-section-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 4px;
}

.required-asterisk {
  color: #ef4444;
}

.optional-tag {
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  margin-left: 4px;
}

.report-section-sub {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

/* ── Inline Error Message ── */
.form-error-msg {
  font-size: 11.5px;
  font-weight: 600;
  color: #ef4444;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── 1. PHOTO SECTION ── */
.photo-capture-box {
  border: 2px dashed #cbd5e1;
  background: #f8fafc;
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.photo-capture-box:hover {
  border-color: #0284c7;
  background: #f0f9ff;
}

.photo-capture-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.photo-capture-icon svg {
  width: 26px;
  height: 26px;
}

.photo-capture-heading {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.photo-capture-text {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

.photo-actions-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
}

.btn-photo-action {
  width: 100%;
  height: 42px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.btn-photo-action.primary {
  background: var(--primary-brand);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-photo-action.primary:active {
  background: var(--primary-dark);
  transform: scale(0.98);
}

.btn-photo-action.secondary {
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.btn-photo-action.secondary:active {
  background: #f1f5f9;
  transform: scale(0.98);
}

.btn-photo-action svg {
  width: 17px;
  height: 17px;
}

/* Photo Gallery Preview Wrapper */
.photo-preview-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.photo-count-badge {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 20px;
}

.photo-helper-text {
  font-size: 11px;
  color: #64748b;
}

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.photo-thumb-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.photo-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-thumb-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: transform 0.15s ease, background 0.15s ease;
}

.photo-thumb-remove:active {
  background: #ef4444;
  transform: scale(0.9);
}

.photo-thumb-remove svg {
  width: 14px;
  height: 14px;
}

.btn-add-more-photo {
  width: 100%;
  height: 40px;
  border-radius: 12px;
  border: 1.5px dashed #cbd5e1;
  background: #f8fafc;
  color: #475569;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-add-more-photo:active {
  background: #f1f5f9;
  border-color: #0284c7;
  color: #0284c7;
}

.btn-add-more-photo svg {
  width: 16px;
  height: 16px;
}

/* ── 2. LOCATION SECTION ── */
.location-detect-card {
  border-radius: 14px;
  overflow: hidden;
}

.btn-detect-location {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1.5px solid #bae6fd;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: all 0.15s ease;
}

.btn-detect-location:active {
  background: #bae6fd;
  transform: scale(0.985);
}

.detect-icon-pin {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.detect-icon-pin svg {
  width: 20px;
  height: 20px;
}

.detect-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.detect-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0369a1;
}

.detect-sub {
  font-size: 11px;
  color: #0284c7;
  margin-top: 1px;
}

.detect-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(2, 132, 199, 0.2);
  border-top-color: #0284c7;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Location Result Card */
.location-result-card {
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.location-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  padding: 4px 10px;
  border-radius: 20px;
}

.location-success-badge svg {
  width: 12px;
  height: 12px;
}

.location-result-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.location-area-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.location-ward-info {
  font-size: 12px;
  font-weight: 600;
  color: #0369a1;
}

.location-coords {
  font-size: 10.5px;
  color: #94a3b8;
  margin-top: 2px;
}

.location-result-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.btn-location-action {
  flex: 1;
  height: 36px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #0284c7;
  color: #ffffff;
  transition: all 0.15s ease;
}

.btn-location-action.outline {
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.btn-location-action:active {
  transform: scale(0.97);
}

.btn-location-action svg {
  width: 14px;
  height: 14px;
}

/* ── 3. PROBLEM TYPE CATEGORIES GRID ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.category-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
}

.category-card:active {
  transform: scale(0.95);
}

.category-card.active {
  border-color: #0284c7;
  background: #f0f9ff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.category-icon {
  font-size: 24px;
  line-height: 1;
}

.category-label {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  line-height: 1.25;
}

.category-card.active .category-label {
  color: #0369a1;
}

.category-check-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-check-badge svg {
  width: 10px;
  height: 10px;
}

/* ── 4. WASTE SUBCATEGORY ── */
.subcategory-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.subcategory-radio-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
}

.subcategory-radio-pill.active {
  border-color: #0284c7;
  background: #f0f9ff;
  color: #0369a1;
  font-weight: 700;
}

.radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.15s ease;
}

.subcategory-radio-pill.active .radio-circle {
  border-color: #0284c7;
}

.radio-circle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0284c7;
}

/* ── 5. DESCRIPTION ── */
.textarea-wrapper {
  position: relative;
}

.report-textarea {
  width: 100%;
  border-radius: 14px;
  border: 1.5px solid #cbd5e1;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 13px;
  color: #0f172a;
  background: #ffffff;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.report-textarea:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.char-counter {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 10.5px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 6px;
  border-radius: 6px;
}

/* ── 6. CONTACT DETAILS ── */
.contact-form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.form-input {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  padding: 0 14px;
  font-family: inherit;
  font-size: 13.5px;
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.input-with-prefix {
  display: flex;
  align-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input-with-prefix:focus-within {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.input-prefix {
  padding: 0 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  height: 44px;
  display: flex;
  align-items: center;
  border-right: 1px solid #e2e8f0;
}

.input-with-prefix .form-input {
  border: none;
  border-radius: 0;
}

.input-with-prefix .form-input:focus {
  box-shadow: none;
}

/* Custom Checkbox */
.checkbox-group {
  margin-top: 4px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input {
  display: none;
}

.checkbox-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.custom-checkbox input:checked + .checkbox-box {
  background: #0284c7;
  border-color: #0284c7;
}

.checkbox-box svg {
  width: 12px;
  height: 12px;
}

.checkbox-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
}

.checkbox-subtext {
  font-size: 11px;
  color: #64748b;
  margin-top: 3px;
  margin-left: 30px;
}

/* Privacy Note */
.privacy-note-card {
  margin-top: 14px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
}

.privacy-note-card svg {
  width: 16px;
  height: 16px;
  color: #0284c7;
  flex-shrink: 0;
}

.privacy-link {
  color: #0284c7;
  font-weight: 700;
  text-decoration: underline;
}

.report-bottom-spacer {
  height: 8px;
}

/* ── STICKY SUBMIT ACTION BAR ── */
.report-sticky-submit-bar {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px max(16px, env(safe-area-inset-right, 0px));
  padding-bottom: max(16px, calc(12px + env(safe-area-inset-bottom, 0px)));
  background: #ffffff;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  margin-top: auto;
}

.btn-submit-report {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-submit-report:disabled {
  background: #cbd5e1;
  color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
  transform: none !important;
}

.btn-submit-report:not(:disabled):active {
  transform: scale(0.98);
}

.btn-submit-report svg {
  width: 18px;
  height: 18px;
}

/* ── MAP LOCATION PICKER MODAL ── */
.map-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.map-modal-sheet {
  width: 100%;
  max-width: var(--max-width);
  height: 90dvh;
  background: #ffffff;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.map-modal-header {
  height: auto;
  min-height: calc(54px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
}

.map-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-modal-close svg {
  width: 18px;
  height: 18px;
}

.map-modal-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.map-modal-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.map-canvas-container {
  position: relative;
  flex: 1;
  min-height: 260px;
  background: #e0f2fe;
  overflow: hidden;
}

.map-canvas-bg {
  position: absolute;
  inset: 0;
  background-color: #e2e8f0;
  background-image: 
    radial-gradient(#94a3b8 1px, transparent 1px),
    radial-gradient(#94a3b8 1px, #e2e8f0 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}

.map-highway-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 8px;
  background: #fde047;
  transform: rotate(-10deg);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.map-landmark-pin {
  position: absolute;
  font-size: 22px;
  cursor: pointer;
  transform: translate(-50%, -100%);
  transition: transform 0.15s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.map-landmark-pin:active {
  transform: translate(-50%, -100%) scale(1.3);
}

.map-target-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
  z-index: 10;
}

.target-pin-icon {
  font-size: 34px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
  animation: bouncePin 1s ease infinite alternate;
}

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

.target-pin-pulse {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 8px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.4);
  animation: pulseShadow 1s ease infinite alternate;
}

@keyframes pulseShadow {
  from { width: 20px; opacity: 0.8; }
  to { width: 10px; opacity: 0.3; }
}

.map-hint-overlay {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  pointer-events: none;
  white-space: nowrap;
}

.map-modal-info {
  padding: 16px max(16px, env(safe-area-inset-right, 0px)) max(16px, calc(16px + env(safe-area-inset-bottom, 0px))) max(16px, env(safe-area-inset-left, 0px));
  background: #ffffff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.map-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 0 12px;
  height: 40px;
}

.map-search-input-wrap svg {
  width: 16px;
  height: 16px;
  color: #64748b;
}

.map-search-input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 12.5px;
  color: #0f172a;
}

.map-search-input-wrap input:focus {
  outline: none;
}

.map-selected-address-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #e2e8f0;
}

.selected-address-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0284c7;
}

.selected-address-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2px;
}

.selected-address-ward {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 1px;
}

.btn-confirm-location {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  background: #0284c7;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.15s ease;
}

.btn-confirm-location:active {
  transform: scale(0.98);
}

/* ── REPORT REVIEW MODAL ── */
.review-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.review-modal-drawer {
  width: 100%;
  max-width: var(--max-width);
  max-height: 85dvh;
  background: #ffffff;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-modal-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #cbd5e1;
  margin: 10px auto 4px;
}

.review-modal-header {
  padding: 10px 20px 14px;
  border-bottom: 1px solid #f1f5f9;
}

.review-modal-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

.review-modal-sub {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

.review-modal-scroll-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0284c7;
}

.review-photos-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.review-photo-img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
}

.review-val-highlight {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.review-sub-val {
  font-size: 12.5px;
  font-weight: 600;
  color: #0369a1;
}

.review-val-text {
  font-size: 13px;
  color: #334155;
  line-height: 1.4;
}

.review-val-text.italic {
  font-style: italic;
  color: #94a3b8;
}

.review-modal-footer {
  padding: 16px max(20px, env(safe-area-inset-right, 0px)) max(16px, calc(16px + env(safe-area-inset-bottom, 0px))) max(20px, env(safe-area-inset-left, 0px));
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-review-submit {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-brand);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  transition: transform 0.15s ease;
}

.btn-review-submit:active {
  transform: scale(0.98);
}

.btn-review-edit {
  width: 100%;
  height: 38px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12.5px;
  font-weight: 700;
}

.submit-spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ── REPORT SUCCESS VIEW ── */
.report-success-container {
  min-height: 100dvh;
  background: #f8fafc;
  padding: calc(40px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) calc(40px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-card-content {
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 20px;
  text-align: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-icon-badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.2);
  animation: popIcon 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIcon {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-icon-badge svg {
  width: 34px;
  height: 34px;
}

.success-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.success-sub {
  font-size: 13px;
  color: #64748b;
  margin-top: 6px;
  line-height: 1.4;
  max-width: 280px;
}

.success-id-box {
  margin-top: 20px;
  background: #f0f9ff;
  border: 1.5px dashed #bae6fd;
  border-radius: 14px;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.success-id-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #0284c7;
}

.success-id-value {
  font-size: 20px;
  font-weight: 800;
  color: #0369a1;
  letter-spacing: 0.05em;
}

.success-notice {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 10px;
}

.success-summary-box {
  width: 100%;
  margin-top: 20px;
  background: #f8fafc;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.summary-label {
  color: #64748b;
  font-weight: 500;
}

.summary-val {
  font-weight: 700;
  color: #0f172a;
}

.summary-badge {
  font-size: 10px;
  font-weight: 800;
  color: #0369a1;
  background: #e0f2fe;
  padding: 2px 8px;
  border-radius: 10px;
}

.success-actions {
  width: 100%;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-success-action {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.btn-success-action.primary {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-success-action.secondary {
  background: #ffffff;
  color: #334155;
  border: 1.5px solid #cbd5e1;
}

.btn-success-action.text-link {
  background: transparent;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 700;
}

.btn-success-action:active {
  transform: scale(0.98);
}

.btn-success-action svg {
  width: 16px;
  height: 16px;
}

/* ── BASE DESKTOP NAV LINK HIDDEN BY DEFAULT (MOBILE) ──────── */
.header-desktop-nav {
  display: none;
}

/* ============================================================
   RESPONSIVE DESIGN BREAKPOINTS (UNIFIED PADDING & FULL-WIDTH)
   ============================================================ */

/* ── TABLET PORTRAIT & LANDSCAPE (≥ 768px) ─────────────────── */
@media (min-width: 768px) {
  :root {
    --max-width: 100%;
    --page-padding: 24px;
  }

  html {
    background-color: var(--bg-app);
  }

  body {
    background-color: var(--bg-app);
    padding: 0;
    justify-content: stretch;
  }

  /* Full Bleed App Shell Canvas */
  .app-shell {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-shadow: none;
    border-left: none;
    border-right: none;
  }

  /* Navigation Bar Adjustments */
  .bottom-nav {
    display: none !important;
  }

  .main-content {
    padding-bottom: 48px;
  }

  /* Full Width Header */
  .app-header {
    min-height: calc(76px + env(safe-area-inset-top, 0px));
    height: auto;
    margin-bottom: calc(-76px - env(safe-area-inset-top, 0px));
    padding: calc(16px + env(safe-area-inset-top, 0px)) max(var(--page-padding), env(safe-area-inset-right, 0px)) 16px max(var(--page-padding), env(safe-area-inset-left, 0px));
    max-width: 100%;
  }

  .header-desktop-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 6px 10px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  }

  .header-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
  }

  .header-nav-link svg {
    width: 18px;
    height: 18px;
  }

  .header-nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
  }

  .header-nav-link.active {
    background: #ffffff;
    color: var(--forest-dark);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  }

  .app-header.app-header--explore .header-desktop-nav,
  .app-header.app-header--report .header-desktop-nav {
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  }

  .app-header.app-header--explore .header-nav-link,
  .app-header.app-header--report .header-nav-link {
    color: var(--text-secondary);
  }

  .app-header.app-header--explore .header-nav-link:hover,
  .app-header.app-header--report .header-nav-link:hover {
    color: var(--text-primary);
    background: rgba(15, 23, 42, 0.06);
  }

  .app-header.app-header--explore .header-nav-link.active,
  .app-header.app-header--report .header-nav-link.active {
    background: var(--primary-brand);
    color: #ffffff;
  }

  /* Full Width Hero Banner */
  .hero-card {
    height: 300px;
  }

  .hero-content {
    padding: 92px var(--page-padding) 28px var(--page-padding);
  }

  .hero-heading {
    font-size: 34px;
    line-height: 1.15;
  }

  .hero-subheading {
    font-size: 15px;
  }

  /* UNIFIED SECTION PADDING — ALL WIDGETS SHARE EXACT SAME PADDING */
  .section-container,
  .banner-carousel-section,
  .helpline-section,
  .apple-explore-header,
  .explore-content-body,
  .report-content-body {
    padding-left: var(--page-padding) !important;
    padding-right: var(--page-padding) !important;
    margin-top: 32px;
    margin-bottom: 32px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .section-header-flex {
    padding: 0;
  }

  .section-heading {
    font-size: 22px;
  }

  .events-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    overflow-x: visible;
    padding: 10px 0 16px 0;
  }

  .event-card {
    width: 100%;
    flex: unset;
  }

  .carousel-indicators-bar {
    display: none !important;
  }

  .banner-carousel-section {
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .banner-slide-card {
    aspect-ratio: 3.5 / 1;
    max-height: 380px;
  }

  .helpline-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .explore-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    overflow-x: visible;
    padding: 10px 0 16px 0;
  }

  .explore-card {
    width: 100%;
    flex: unset;
    height: 180px;
  }

  /* Explore View Tablet */
  .apple-large-title {
    font-size: 34px;
  }

  .apple-search-box {
    max-width: 720px;
  }

  .apple-places-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .apple-spotlight-card {
    display: flex;
    flex-direction: row;
    height: 280px;
  }

  .apple-spotlight-img {
    width: 45%;
    height: 100%;
    object-fit: cover;
  }

  .apple-spotlight-scrim {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
  }

  .apple-spotlight-footer {
    width: 55%;
    padding: 28px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Report Form Layout */
  .report-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
  }

  .report-sticky-submit-bar {
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
    grid-column: 1 / -1;
    margin-top: 20px;
  }

  .btn-submit-report {
    max-width: 520px;
    margin: 0 auto;
  }

  /* Centered Sheet Dialog Modals on Tablet/Desktop */
  .apple-sheet-backdrop,
  .review-modal-backdrop,
  .map-modal-backdrop {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }

  .apple-sheet-drawer {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    border-radius: 28px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
    animation: zoomInModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .review-modal-drawer,
  .map-modal-sheet {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    border-radius: 28px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
    animation: zoomInModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes zoomInModal {
    from {
      opacity: 0;
      transform: scale(0.94);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
}

/* ── LAPTOP & DESKTOP (≥ 1024px) ────────────────────────────── */
@media (min-width: 1024px) {
  :root {
    --page-padding: 32px;
  }

  .hero-card {
    height: 340px;
  }

  .hero-heading {
    font-size: 40px;
  }

  .hero-subheading {
    font-size: 16px;
  }

  .events-carousel#home-category-carousel {
    grid-template-columns: repeat(5, 1fr);
  }

  .events-carousel#home-hospitals-carousel {
    grid-template-columns: repeat(4, 1fr);
  }

  .helpline-cards {
    grid-template-columns: repeat(6, 1fr);
  }

  .apple-places-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── LARGE DESKTOP & ULTRA-WIDE (≥ 1280px) ──────────────────── */
@media (min-width: 1280px) {
  :root {
    --page-padding: 40px;
  }

  .hero-card {
    height: 360px;
  }

  .hero-heading {
    font-size: 44px;
  }

  .apple-places-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


}

/* ============================================================
   TAXIS & AUTO SERVICES MODULE STYLES
   ============================================================ */

/* Mobile Bottom Navigation Pill Adjustments for 4 Items */
.bottom-nav {
  max-width: 460px;
  padding: 6px 6px;
}

.bottom-nav-inner {
  gap: 4px;
}

.nav-item {
  gap: 6px;
  padding: 10px 8px;
  min-height: 44px;
  border-radius: 22px;
}

.nav-item svg {
  width: 18px;
  height: 18px;
}

.nav-item-label {
  font-size: 12px;
}

/* Header Verified Badge */
.taxi-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  white-space: nowrap;
}

.taxi-verified-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: taxiPulse 2s ease-in-out infinite;
}

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

/* ── FARE ESTIMATOR CARD ────────────────────────────────────── */
.fare-calc-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 24px;
  padding: 22px 20px;
  color: #ffffff;
  box-shadow: 0 14px 32px -4px rgba(15, 23, 42, 0.35);
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fare-calc-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.fare-calc-header {
  margin-bottom: 18px;
}

.fare-calc-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 6px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.fare-calc-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.fare-calc-sub {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 3px;
}

.fare-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .fare-calc-grid {
    grid-template-columns: 1fr;
  }
}

.fare-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fare-label {
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 0.02em;
}

.fare-select,
.fare-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
}

.fare-select option {
  background-color: #1e293b;
  color: #ffffff;
}

.fare-select:focus,
.fare-input:focus {
  border-color: var(--primary-brand);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
}

/* Vehicle Selector Pills */
.fare-vehicle-selector {
  margin-bottom: 16px;
}

.fare-vehicle-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 6px;
}

@media (max-width: 520px) {
  .fare-vehicle-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

.vehicle-option-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.vehicle-option-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.vehicle-option-btn:active {
  transform: scale(0.96);
}

.vehicle-option-btn.active {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.vehicle-icon {
  font-size: 20px;
  line-height: 1;
}

.vehicle-name {
  font-size: 11.5px;
  font-weight: 700;
  margin-top: 4px;
}

.vehicle-capacity {
  font-size: 9.5px;
  opacity: 0.75;
  margin-top: 1px;
}

/* Options & Checkbox Row */
.fare-calc-options-row {
  margin-bottom: 18px;
}

.fare-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.fare-checkbox {
  display: none;
}

.fare-checkbox-custom {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
  transition: all 0.2s ease;
}

.fare-checkbox:checked + .fare-checkbox-custom {
  background: var(--primary-brand);
  border-color: var(--primary-brand);
}

.fare-checkbox:checked + .fare-checkbox-custom::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.fare-checkbox-text {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-night {
  font-size: 10px;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

/* Fare Result Display Container */
.fare-result-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

@media (max-width: 520px) {
  .fare-result-display {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

.fare-result-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fare-dist-pill {
  font-size: 11px;
  font-weight: 600;
  color: #38bdf8;
}

.fare-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.fare-currency {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.fare-amount {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.fare-approx-tag {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

.fare-rate-note {
  font-size: 10.5px;
  color: #94a3b8;
}

.btn-fare-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 13.5px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-fare-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
}

.btn-fare-book:active {
  transform: scale(0.96);
}

.btn-fare-book svg {
  width: 16px;
  height: 16px;
}

/* ── TARIFF TABLE ACCORDION ────────────────────────────────── */
.tariff-chart-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
  overflow: hidden;
}

.tariff-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  cursor: pointer;
  user-select: none;
  background: #f8fafc;
  transition: background-color 0.2s ease;
}

.tariff-chart-header:hover {
  background: #f1f5f9;
}

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

.tariff-icon {
  font-size: 22px;
}

.tariff-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.tariff-sub {
  font-size: 11px;
  color: #64748b;
}

.tariff-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-brand);
}

.tariff-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.tariff-toggle-btn.expanded .tariff-chevron {
  transform: rotate(180deg);
}

.tariff-table-wrapper {
  padding: 0 16px 16px;
  overflow-x: auto;
}

.tariff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}

.tariff-table th,
.tariff-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
}

.tariff-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #475569;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tariff-table td {
  color: #334155;
}

/* ── TAXI STAND CARDS GRID ────────────────────────────────── */
.taxi-stands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.taxi-stand-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.taxi-stand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.1);
  border-color: rgba(2, 132, 199, 0.2);
}

.stand-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.stand-badge-247 {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  font-size: 10px;
  font-weight: 800;
}

.stand-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stand-name {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
}

.stand-location-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #64748b;
}

.stand-location-row svg {
  width: 14px;
  height: 14px;
  color: var(--primary-brand);
  flex-shrink: 0;
}

.stand-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stand-tag-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #475569;
}

.stand-tag-pill.tag-auto {
  background: #fef3c7;
  color: #b45309;
}

.stand-tag-pill.tag-sedan {
  background: #e0f2fe;
  color: #0369a1;
}

.stand-tag-pill.tag-suv {
  background: #dcfce7;
  color: #15803d;
}

.stand-tag-pill.tag-tourist {
  background: #f3e8ff;
  color: #7e22ce;
}

.stand-meta-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 12px;
  font-size: 11.5px;
  color: #475569;
  font-weight: 600;
}

.stand-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-stand-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #22c55e;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
  transition: all 0.2s ease;
}

.btn-stand-call:hover {
  background: #16a34a;
  transform: translateY(-1px);
}

.btn-stand-call svg {
  width: 15px;
  height: 15px;
}

.btn-stand-book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--primary-brand);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  transition: all 0.2s ease;
}

.btn-stand-book:hover {
  background: var(--primary-darker);
  transform: translateY(-1px);
}

/* ── SIGHTSEEING & TOUR PACKAGES CAROUSEL ──────────────────── */
.tour-packages-section {
  margin-bottom: 28px;
}

.tour-packages-header {
  margin-bottom: 14px;
}

.tour-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--primary-brand);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tour-section-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.tour-section-sub {
  font-size: 11.5px;
  color: #64748b;
}

.tour-packages-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.tour-package-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tour-package-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.tour-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tour-card-badge {
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 800;
  color: #0284c7;
  background: #e0f2fe;
  padding: 3px 8px;
  border-radius: 10px;
}

.tour-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.tour-card-highlights {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.35;
}

.tour-card-footer {
  padding: 12px 16px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tour-card-price {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.btn-tour-book {
  padding: 7px 14px;
  border-radius: 12px;
  background: var(--primary-brand);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-tour-book:hover {
  background: var(--primary-darker);
}

/* ── SAFETY CARD ───────────────────────────────────────────── */
.taxi-safety-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 24px;
}

@media (max-width: 520px) {
  .taxi-safety-card {
    flex-direction: column;
  }
}

.safety-card-icon {
  font-size: 32px;
  line-height: 1;
}

.safety-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.safety-text {
  font-size: 12px;
  color: #475569;
  margin-top: 4px;
  line-height: 1.4;
}

.safety-actions {
  margin-top: 12px;
}

.safety-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 14px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.safety-call-btn:hover {
  background: #1e293b;
}

.safety-call-btn svg {
  width: 14px;
  height: 14px;
}

/* ── CAB BOOKING MODAL DRAWER ──────────────────────────────── */
.taxi-booking-drawer {
  max-width: 520px;
}

.booking-form-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.booking-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .booking-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ════════════════ COMPACT SPACE-EFFICIENT TAXI CARDS ════════════════ */

.taxi-compact-body {
  padding: 16px 16px 120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compact-taxi-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compact-taxi-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.compact-taxi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
}

.compact-taxi-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.compact-taxi-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.compact-taxi-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 7px;
  border-radius: 8px;
  align-self: flex-start;
}

.compact-taxi-name {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.25;
}

.vehicle-no-badge {
  font-size: 11px;
  font-weight: 800;
  color: #854d0e;
  background: #fef9c3;
  border: 1px solid #fef08a;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.compact-taxi-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compact-phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-brand);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.compact-phone-link:hover {
  opacity: 0.85;
}

.compact-phone-link svg {
  width: 16px;
  height: 16px;
  color: var(--primary-brand);
}

.compact-address-link,
.compact-address-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.compact-address-link:hover {
  color: #0284c7;
}

.compact-address-link svg,
.compact-address-info svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  color: #0284c7;
  margin-top: 1px;
}

.compact-taxi-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}

.compact-taxi-footer.single-btn,
.compact-taxi-footer:has(> .compact-btn:only-child) {
  grid-template-columns: 1fr;
}

.compact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.compact-btn svg {
  width: 15px;
  height: 15px;
}

.inline-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.inline-call-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0c4a6e 100%);
  transform: translateY(-1px);
}

.inline-call-btn svg {
  width: 13px;
  height: 13px;
}

.compact-btn.btn-call {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.compact-btn.btn-call:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0c4a6e 100%);
  transform: translateY(-1px);
}

.compact-btn.btn-map {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
}

.compact-btn.btn-map:hover {
  background: #e0f2fe;
  transform: translateY(-1px);
}
