/* FEMA-Inspired Hazard Map Styles (Leaflet Edition) */

#fema-map-container {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #343d52;
  min-height: 600px;
  background: #1a1f2e;
}

.leaflet-container {
  background: #1a1f2e !important;
}

/* Professional Zoom Controls (Leaflet & Maplibre) */
.leaflet-bar, .maplibregl-ctrl-group {
  border: 1px solid #343d52 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4) !important;
  background: #242b3d !important;
  border-radius: 6px !important;
}

.leaflet-bar a, .maplibregl-ctrl-group button {
  background-color: #242b3d !important;
  color: #9aa3b8 !important;
  border: none !important;
  border-bottom: 1px solid #343d52 !important;
  width: 32px !important;
  height: 32px !important;
}

.leaflet-bar a:hover, .maplibregl-ctrl-group button:hover {
  background-color: #2a3142 !important;
  color: #f0f2f5 !important;
}

.maplibregl-ctrl-group button span {
  filter: invert(0.8) !important; /* invert standard icons to light gray/white */
}

/* Professional Popups */
.leaflet-popup-content-wrapper {
  background: #242b3d !important;
  color: #f0f2f5 !important;
  border-radius: 8px !important;
  border: 1px solid #343d52 !important;
  font-family: system-ui, sans-serif !important;
}

.leaflet-popup-tip {
  background: #242b3d !important;
}

.leaflet-popup-content {
  margin: 12px 16px !important;
  font-size: 0.9rem !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #fema-map-container {
    height: 450px !important;
  }
}
