/* ──────────────────────────────────────────────────────────────
   OutageKE Interactive Outage Map Styles — Light Theme
   Clean, modern, high-contrast map interface with OpenStreetMap
   natural light tiles, glowing density heatmap, and interactive
   outage cluster badges.
   ────────────────────────────────────────────────────────────── */

:root {
  --map-bg: #f8fafc;
  --map-surface: rgba(255, 255, 255, 0.94);
  --map-surface-solid: #ffffff;
  --map-surface-subtle: #f1f5f9;
  --map-border: rgba(203, 213, 225, 0.85);
  --map-border-strong: #cbd5e1;
  --map-text: #0f172a;
  --map-text-muted: #334155;
  --map-text-dim: #64748b;
  --color-power: #d97706;
  --color-power-glow: rgba(217, 119, 6, 0.28);
  --color-power-bg: #fef3c7;
  --color-water: #0284c7;
  --color-water-glow: rgba(2, 132, 199, 0.28);
  --color-water-bg: #e0f2fe;
  --color-internet: #16a34a;
  --color-internet-glow: rgba(22, 163, 74, 0.28);
  --color-internet-bg: #dcfce7;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mono: 'DM Mono', monospace;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 14px 38px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
}

body[data-page="map"] {
  margin: 0;
  padding: 0;
  background: var(--map-bg);
  color: var(--map-text);
  font-family: var(--sans);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
}

/* ── Top Floating Navigation & Controls Bar ── */
.map-header {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.map-header > * {
  pointer-events: auto;
}

.map-brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--map-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--map-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--map-text);
  box-shadow: var(--shadow-md);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.map-brand-badge:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.map-brand-badge .brand-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-brand-badge .brand-title {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--map-text);
}

.map-brand-badge .brand-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--color-power-bg);
  color: var(--color-power);
  letter-spacing: 0.05em;
  margin-left: 2px;
}

/* ── Category Filter Pills ── */
.map-filter-group {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--map-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--map-border);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

.map-filter-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--map-text-dim);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.map-filter-btn i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.map-filter-btn.btn-all i { background: #94a3b8; }
.map-filter-btn.btn-power i { background: var(--color-power); }
.map-filter-btn.btn-water i { background: var(--color-water); }
.map-filter-btn.btn-internet i { background: var(--color-internet); }

.map-filter-btn:hover {
  color: var(--map-text);
  background: rgba(241, 245, 249, 0.85);
}

.map-filter-btn.active {
  color: var(--map-text);
}

.map-filter-btn.btn-all.active {
  background: #0f172a;
  color: #ffffff;
}

.map-filter-btn.btn-power.active {
  background: var(--color-power-bg);
  color: var(--color-power);
  box-shadow: inset 0 0 0 1px #fde68a;
}

.map-filter-btn.btn-water.active {
  background: var(--color-water-bg);
  color: var(--color-water);
  box-shadow: inset 0 0 0 1px #bae6fd;
}

.map-filter-btn.btn-internet.active {
  background: var(--color-internet-bg);
  color: var(--color-internet);
  box-shadow: inset 0 0 0 1px #bbf7d0;
}

/* ── Top Right Search & Quick Actions ── */
.map-search-bar {
  display: flex;
  align-items: center;
  position: relative;
}

.map-search-bar input {
  width: 210px;
  height: 38px;
  padding: 0 38px 0 34px;
  border: 1px solid var(--map-border);
  border-radius: 999px;
  background: var(--map-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--map-text);
  font-family: var(--sans);
  font-size: 13px;
  outline: none;
  transition: width 0.25s ease, border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-md);
}

.map-search-bar input::placeholder {
  color: #94a3b8;
}

.map-search-bar input:focus {
  width: 250px;
  border-color: var(--color-power);
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(217, 119, 6, 0.16);
}

.map-search-icon {
  position: absolute;
  left: 12px;
  color: var(--map-text-dim);
  pointer-events: auto;
  cursor: pointer;
}

.map-location-btn {
  position: absolute;
  right: 5px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--map-text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.map-location-btn:hover {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.12);
  transform: scale(1.08);
}

.map-location-btn.locating {
  animation: locationSpin 1s linear infinite;
  color: #0284c7;
}

@keyframes locationSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.map-nav-report-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(220, 38, 38, 0.28);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(245, 158, 11, 0.12));
  color: #b91c1c;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.map-nav-report-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(220, 38, 38, 0.5);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.22), rgba(245, 158, 11, 0.2));
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.2);
}

/* ── Main Map Canvas ── */
.map-wrapper {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
}

#outageMap {
  width: 100%;
  height: 100%;
  background: #e2e8f0;
}

/* Natural Light OpenStreetMap Tiles */
#outageMap .leaflet-tile-pane {
  filter: contrast(103%) brightness(99%);
}

.map-ambient-glow {
  display: none;
}

/* ── Zoomed-Out Cluster Badge Markers ── */
.cluster-div-icon {
  background: transparent !important;
  border: 0 !important;
  overflow: visible !important;
}

.outage-cluster-marker {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.cluster-pill-box {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid var(--color-power);
  border-radius: 999px;
  padding: 5px 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 0 14px var(--color-power-glow);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
  white-space: nowrap;
}

.outage-cluster-marker.cluster-water .cluster-pill-box {
  border-color: var(--color-water);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 0 14px var(--color-water-glow);
}

.outage-cluster-marker.cluster-internet .cluster-pill-box {
  border-color: var(--color-internet);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 0 14px var(--color-internet-glow);
}

.outage-cluster-marker:hover .cluster-pill-box {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18), 0 0 20px var(--color-power-glow);
}

.outage-cluster-marker.cluster-water:hover .cluster-pill-box {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18), 0 0 20px var(--color-water-glow);
}

.outage-cluster-marker.cluster-internet:hover .cluster-pill-box {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18), 0 0 20px var(--color-internet-glow);
}

.cluster-badge-icon {
  font-size: 15px;
  line-height: 1;
}

.cluster-badge-count {
  font-weight: 800;
  font-size: 15px;
  color: var(--map-text);
  font-family: var(--sans);
  letter-spacing: -0.02em;
}

.cluster-badge-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--map-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cluster-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid var(--color-power);
  opacity: 0.45;
  pointer-events: none;
  animation: clusterRing 2.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.outage-cluster-marker.cluster-water .cluster-pulse-ring {
  border-color: var(--color-water);
}

.outage-cluster-marker.cluster-internet .cluster-pulse-ring {
  border-color: var(--color-internet);
}

@keyframes clusterRing {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ── Individual Marker Styling (Zoom >= 10) ── */
.outage-div-icon {
  background: transparent !important;
  border: 0 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.outage-marker-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.outage-marker-pin:hover {
  transform: scale(1.16) translateY(-4px);
  z-index: 9999 !important;
}

.marker-badge-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marker-badge-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
  transition: filter 0.3s ease, transform 0.2s ease;
  pointer-events: none;
}

/* Unplanned live beacon pulse wave */
.marker-pulse-ring {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  pointer-events: none;
  animation: markerBeacon 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.marker-power .marker-pulse-ring { border: 2px solid var(--color-power); }
.marker-water .marker-pulse-ring { border: 2px solid var(--color-water); }
.marker-internet .marker-pulse-ring { border: 2px solid var(--color-internet); }

@keyframes markerBeacon {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

/* 3-Step Resolution Gauge under marker */
.marker-restore-gauge {
  display: flex;
  gap: 3px;
  width: 34px;
  height: 5px;
  padding: 1px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--map-border-strong);
  border-radius: 999px;
  margin-top: 1px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.marker-restore-bar {
  flex: 1;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background 0.3s ease;
}

.marker-step-1 .marker-restore-bar:nth-child(1) { background: #38bdf8; }
.marker-step-2 .marker-restore-bar:nth-child(1),
.marker-step-2 .marker-restore-bar:nth-child(2) { background: #38bdf8; }
.marker-step-3 .marker-restore-bar { background: #16a34a; }

/* Restored Luminous Glow State */
.marker-restored-bright .marker-badge-img {
  filter: drop-shadow(0 0 12px rgba(34, 197, 94, 0.85)) drop-shadow(0 4px 8px rgba(0,0,0,0.25));
}

/* ── Searched Alert & Area 1.5-Second Red Highlight ── */
.outage-marker-pin.marker-searched-red {
  z-index: 99999 !important;
  transform: scale(1.35) translateY(-10px) !important;
}

.outage-marker-pin.marker-searched-red .marker-badge-wrap {
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.28) !important;
  box-shadow: 0 0 0 3px #ef4444, 0 0 24px rgba(239, 68, 68, 0.95) !important;
  animation: markerSearchRedBounce 0.7s ease-in-out infinite alternate;
}

.outage-marker-pin.marker-searched-red .marker-badge-img {
  filter: drop-shadow(0 0 16px rgba(239, 68, 68, 1)) drop-shadow(0 0 6px rgba(220, 38, 38, 1)) invert(17%) sepia(93%) saturate(6378%) hue-rotate(354deg) brightness(98%) contrast(116%) !important;
}

.outage-marker-pin.marker-searched-red .marker-pulse-ring,
.outage-marker-pin.marker-searched-red::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  margin-left: -26px;
  border-radius: 50%;
  border: 3px solid #ef4444 !important;
  box-shadow: 0 0 22px rgba(239, 68, 68, 0.95), inset 0 0 12px rgba(239, 68, 68, 0.6) !important;
  animation: searchRadarRed 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite !important;
  pointer-events: none;
}

.outage-marker-pin.marker-searched-red .marker-restore-gauge {
  border-color: #ef4444 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.8) !important;
}

@keyframes markerSearchRedBounce {
  0% { transform: scale(1); }
  100% { transform: scale(1.14); }
}

@keyframes searchRadarRed {
  0% {
    transform: scale(0.65);
    opacity: 1;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Red Area Searched Marker */
.area-searched-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
  pointer-events: none;
  z-index: 99999 !important;
}

.area-red-beacon-wrap {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.area-red-pulse {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid #ef4444;
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.95), inset 0 0 12px rgba(239, 68, 68, 0.6);
  animation: searchRadarRed 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.area-red-pin-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.7);
  animation: markerSearchRedBounce 0.7s ease-in-out infinite alternate;
}

.area-searched-pill {
  margin-top: 5px;
  background: #ef4444;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.5);
  white-space: nowrap;
}

/* ── Floating Alert Details Modal / Bottom Sheet ── */
.map-alert-card {
  position: absolute;
  top: 85px;
  right: 20px;
  left: auto;
  bottom: auto;
  width: 340px;
  max-width: calc(100vw - 40px);
  max-height: calc(100dvh - 110px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  z-index: 1001;
  display: none;
  animation: slideCardIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.map-alert-card.active {
  display: block;
}

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

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

.card-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
}

.badge-power { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.badge-water { background: #e0f2fe; color: #0284c7; border: 1px solid #bae6fd; }
.badge-internet { background: #d1fae5; color: #059669; border: 1px solid #a7f3d0; }

.card-type-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-close-btn {
  background: transparent;
  border: 0;
  color: #64748b;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.card-close-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.card-title {
  margin: 8px 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-desc {
  color: #334155;
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0 0 12px;
  word-break: break-word;
}

/* Streamlined Minimal Restore Box in Card */
.card-restore-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.card-restore-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.card-restore-header span:last-child {
  font-family: var(--mono);
  color: #64748b;
  font-size: 11.5px;
  font-weight: 600;
}

.card-bars-wrapper {
  display: flex;
  gap: 4px;
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.card-bar {
  flex: 1;
  background: transparent;
  border-radius: 999px;
  transition: background 0.25s ease;
}

.card-bar.active {
  background: #0284c7;
}

.card-cat-power .card-bar.active {
  background: #d97706;
}

.card-cat-internet .card-bar.active {
  background: #059669;
}

.card-bar.complete {
  background: #16a34a;
}

/* ── Interactive Multi-Step Flow in Map Card ── */
.map-alert-card .alert-interactive-flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.map-alert-card .flow-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: mapFlowFade 0.2s ease-out;
}

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

.map-alert-card .flow-question {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.map-alert-card .flow-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.map-alert-card .flow-btn-group-main {
  display: flex;
  gap: 8px;
  width: 100%;
}

.map-alert-card .flow-btn-affected {
  flex: 1.3;
  background: #0284c7;
  color: #ffffff;
  border: 0;
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--sans);
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  transition: all 0.18s ease;
}

.card-cat-power .flow-btn-affected {
  background: #d97706;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.card-cat-internet .flow-btn-affected {
  background: #059669;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.map-alert-card .flow-btn-affected:hover:not(:disabled) {
  filter: brightness(0.92);
  transform: translateY(-1px);
}

.map-alert-card .flow-btn-restored-direct {
  flex: 1;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--sans);
  min-height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.map-alert-card .flow-btn-restored-direct:hover:not(:disabled) {
  background: #e2e8f0;
  border-color: #94a3b8;
}

.map-alert-card .btn-count-pill {
  background: rgba(255, 255, 255, 0.28);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.map-alert-card .flow-btn-group-dual {
  display: flex;
  gap: 8px;
  width: 100%;
}

.map-alert-card .flow-btn-group-dual .flow-btn-yes {
  flex: 1;
  background: #16a34a;
  color: #ffffff;
  border: 0;
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--sans);
  min-height: 38px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.25);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.18s ease;
}

.map-alert-card .flow-btn-group-dual .flow-btn-yes:hover {
  background: #15803d;
}

.map-alert-card .flow-btn-group-dual .flow-btn-no {
  flex: 1;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #cbd5e1;
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--sans);
  min-height: 38px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.18s ease;
}

.map-alert-card .flow-btn-group-dual .flow-btn-no:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.map-alert-card .flow-btn-group-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.map-alert-card .flow-btn-time {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 11.5px;
  font-weight: 600;
  font-family: var(--sans);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.map-alert-card .flow-btn-time:hover:not(:disabled) {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

.map-alert-card .flow-notice {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  padding: 9px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.map-alert-card .flow-switch-btn {
  align-self: flex-start;
  margin-top: 4px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #b45309;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.map-alert-card .flow-switch-btn:hover {
  background: #d97706;
  border-color: #d97706;
  color: #ffffff;
}

.map-alert-card .flow-success-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 999px;
  color: #166534;
  font-size: 12px;
  font-weight: 700;
}

/* ── Floating Stats Bar on Bottom Right ── */
.map-stats-pill {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: var(--map-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--map-border);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: 12px;
  color: var(--map-text-dim);
}

.map-stats-pill span {
  font-weight: 600;
}

.map-stats-pill strong {
  color: var(--map-text);
  font-family: var(--mono);
}

/* ── User GPS Location Marker ── */
.user-gps-div-icon {
  background: transparent !important;
  border: none !important;
}

.user-gps-marker {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-gps-dot {
  width: 14px;
  height: 14px;
  background: #0284c7;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.8), 0 2px 6px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;
}

.user-gps-radar {
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.25);
  border: 1.5px solid rgba(2, 132, 199, 0.6);
  animation: gpsRadarPulse 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  z-index: 1;
}

@keyframes gpsRadarPulse {
  0% { transform: scale(0.35); opacity: 0.9; }
  70% { transform: scale(1.6); opacity: 0.15; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ── Vignette Modal (>24h Notification) ── */
.map-vignette-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: vignetteFadeIn 0.2s ease-out;
}

@keyframes vignetteFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.map-vignette-dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 26px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: vignetteSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes vignetteSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.vignette-glow-icon {
  font-size: 38px;
  line-height: 1;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.35));
}

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

.vignette-msg {
  margin: 0 0 20px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #64748b;
  max-width: 360px;
}

.vignette-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.btn-vignette-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 42px;
  background: #0284c7;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--sans);
  border: none;
  border-radius: var(--radius-md, 10px);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-vignette-primary:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

.btn-vignette-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  background: #f8fafc;
  color: #b91c1c;
  font-weight: 700;
  font-size: 13.5px;
  font-family: var(--sans);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md, 10px);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-vignette-secondary:hover {
  background: #fee2e2;
  border-color: #ef4444;
}

.vignette-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.vignette-close-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
}

/* ── Live Map Outage Report Modal ── */
.map-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: vignetteFadeIn 0.2s ease-out;
}

.map-modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.25);
  padding: 22px 24px;
  animation: vignetteSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.map-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-modal-icon {
  font-size: 20px;
}

.map-modal-header h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.map-modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.map-modal-close:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.map-report-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.map-report-utility-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}

.map-utility-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md, 10px);
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.map-utility-card input {
  display: none;
}

.map-utility-card.selected {
  border-color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
}

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

.map-utility-card strong {
  display: block;
  font-size: 12.5px;
  color: #0f172a;
}

.map-utility-card small {
  display: block;
  font-size: 10.5px;
  color: #64748b;
}

.map-form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.map-form-row {
  display: flex;
  gap: 10px;
}

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

.map-form-field input,
.map-form-field select,
.map-form-field textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--sans);
  color: #0f172a;
  background: #ffffff;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

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

.map-form-field select:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

.map-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}

.btn-map-cancel {
  height: 38px;
  padding: 0 16px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-map-cancel:hover {
  background: #f1f5f9;
}

.btn-map-submit {
  height: 38px;
  padding: 0 18px;
  border: none;
  background: #b91c1c;
  color: #ffffff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.3);
  transition: background 0.15s, transform 0.15s;
}

.btn-map-submit:hover:not(:disabled) {
  background: #991b1b;
  transform: translateY(-1px);
}

.btn-map-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.map-report-status {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  min-height: 18px;
}

.map-report-status.success {
  color: #16a34a;
}

.map-report-status.error {
  color: #dc2626;
}

/* ── Leaflet Zoom Controls Override ── */
.leaflet-top.leaflet-left {
  top: 80px;
  left: 14px;
}

.leaflet-control-zoom {
  border: 1px solid var(--map-border) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  box-shadow: var(--shadow-md) !important;
}

.leaflet-control-zoom a {
  background-color: #ffffff !important;
  color: #334155 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  transition: background 0.15s, color 0.15s;
}

.leaflet-control-zoom a:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

/* ── Responsive Rules for Mobile ── */
@media (max-width: 768px) {
  .map-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .map-filter-group {
    order: 3;
    width: 100%;
    justify-content: space-around;
  }

  .map-filter-btn {
    padding: 6px 10px;
    font-size: 11.5px;
  }

  .map-search-bar {
    order: 2;
    flex: 1;
  }

  .map-search-bar input {
    width: 100%;
  }

  .map-search-bar input:focus {
    width: 100%;
  }

  .map-nav-report-btn {
    height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .leaflet-top.leaflet-left {
    top: 130px;
  }

  /* Floating card placed in top-right below filters matching mockup with full button visibility */
  .map-alert-card {
    top: 136px;
    right: 12px;
    left: auto;
    bottom: auto;
    width: 324px;
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 150px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 16px;
    border-radius: 18px;
    box-shadow: 0 14px 34px -4px rgba(15, 23, 42, 0.2), 0 4px 12px -2px rgba(15, 23, 42, 0.1);
  }

  .card-header-row {
    margin-bottom: 8px;
  }

  .card-title {
    font-size: 15px;
    margin-bottom: 4px;
    line-height: 1.25;
  }

  .card-location {
    font-size: 12px;
    margin-bottom: 8px;
  }

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

  .card-restore-box {
    padding: 6px 10px;
    margin-bottom: 10px;
  }

  .map-alert-card .alert-interactive-flow {
    gap: 8px;
    margin-top: 6px;
  }

  .map-alert-card .flow-btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12.5px;
  }

  .map-stats-pill {
    display: none;
  }

  .map-modal-card {
    padding: 16px;
    max-height: 85vh;
  }

  .map-form-row {
    flex-direction: column;
    gap: 8px;
  }
}

/* ── Contextual App Install & Notification Vignette Modal ───────── */
.pwa-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pwa-modal {
  background: #ffffff;
  border: 1px solid var(--map-border-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 460px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: popIn 0.2s ease-out;
  color: var(--map-text);
}

@keyframes popIn {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.pwa-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--map-border);
}

.pwa-modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--map-text);
  margin: 0;
}

.pwa-modal-close {
  background: none;
  border: none;
  color: var(--map-text-dim);
  font-size: 1.5rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.pwa-modal-close:hover {
  color: var(--map-text);
  background: var(--map-surface-subtle);
}

.pwa-modal-body {
  padding: 20px;
  overflow-y: auto;
}

.pwa-modal-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--map-text-muted);
  margin: 0 0 14px 0;
}

.vignette-features {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vignette-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--map-text);
  line-height: 1.4;
}

.vignette-features li svg {
  color: #f59e0b;
  margin-top: 2px;
  flex-shrink: 0;
}

.vignette-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.btn-primary {
  background: linear-gradient(90deg, #f4b13d, #f7d47d);
  color: #111318;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: filter 0.18s;
  min-height: 42px;
  padding: 8px 18px;
  box-sizing: border-box;
  text-decoration: none;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-block {
  width: 100%;
}

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--map-text-dim);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
}

.btn-sm {
  min-height: 32px;
  padding: 5px 12px;
  font-size: 12px;
}

/* ── Floating Subscription Chip (Draggable & Minimizable) ────── */
#subCountyFloatingChip {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 9000;
  display: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

#subCountyFloatingChip.is-dragging {
  cursor: grabbing !important;
}

#subCountyFloatingChip.is-dragging * {
  pointer-events: none !important;
}

.sc-chip-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
}

/* Expanded Full Chip */
.sc-chip-expanded {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--map-surface-solid);
  border: 1px solid var(--map-border-strong);
  border-radius: 999px;
  padding: 6px 10px 6px 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18), 0 1px 4px rgba(0, 0, 0, 0.1);
  cursor: grab;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  max-width: 250px;
}

.sc-chip-wrapper.is-minimized .sc-chip-expanded {
  display: none !important;
}

.sc-chip-expanded:hover {
  background: var(--map-surface-subtle);
  border-color: #d97706;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22), 0 0 0 2px rgba(217, 119, 6, 0.15);
}

.sc-chip-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  min-width: 0;
  cursor: pointer;
}

.sc-chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.22);
  animation: scChipPulse 2.6s ease-in-out infinite;
}

@keyframes scChipPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.22); }
  50% { box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.0); }
}

.sc-chip-label {
  display: flex;
  flex-direction: column;
  gap: 0px;
  min-width: 0;
  overflow: hidden;
}

.sc-chip-eyebrow {
  font-size: 0.60rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--map-text-dim);
  line-height: 1;
}

.sc-chip-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--map-text);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 135px;
}

.sc-chip-arrow {
  color: var(--map-text-dim);
  flex-shrink: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.sc-chip-main:hover .sc-chip-arrow {
  color: #d97706;
  transform: translateX(1px);
}

.sc-chip-min-btn {
  background: transparent;
  border: none;
  color: var(--map-text-dim);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  transition: background 0.15s ease, color 0.15s ease;
}

.sc-chip-min-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--map-text);
}

/* Minimized Small Ball */
.sc-chip-ball {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--map-surface-solid);
  border: 1.5px solid var(--map-border-strong);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  cursor: grab;
  position: relative;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.sc-chip-wrapper.is-minimized .sc-chip-ball {
  display: flex !important;
}

.sc-chip-ball:hover {
  border-color: #d97706;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  transform: scale(1.05);
}

.sc-chip-ball:active {
  transform: scale(0.96);
}

.sc-chip-ball .sc-chip-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
}

.sc-chip-ball-initials {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #d97706;
  text-transform: uppercase;
}

.sc-chip-expand-btn {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--map-surface-subtle);
  border: 1px solid var(--map-border-strong);
  color: var(--map-text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.sc-chip-expand-btn:hover {
  background: #d97706;
  color: #fff;
  border-color: #d97706;
  transform: scale(1.15);
}

@media (max-width: 480px) {
  #subCountyFloatingChip {
    bottom: 18px;
    right: 14px;
  }
  .sc-chip-name {
    max-width: 120px;
  }
}


