.dive-map-section { margin-bottom: 2rem; }

#dive-map {
  height: 420px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #121212;
  isolation: isolate;
}

#dive-map .leaflet-tile-pane {
  filter: grayscale(1) invert(1) contrast(0.85) brightness(1.5);
}

.dive-map-status {
  margin-top: 0.75rem;
  color: #aaa;
  font-size: 0.85rem;
}

.dive-site-marker {
  display: grid;
  place-items: center;
  background: none;
  border: 0;
}

.dive-site-marker span {
  display: block;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 2px solid #0a0a0a;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #fff;
}

.dive-site-marker:focus-visible {
  outline: 3px solid #fff;
  border-radius: 50%;
}

#dive-map .leaflet-popup-content-wrapper,
#dive-map .leaflet-popup-tip { background: #0a0a0a; color: #eee; }
#dive-map .leaflet-popup-content-wrapper { border: 1px solid #555; border-radius: 4px; }
#dive-map .leaflet-popup-content { font-family: var(--font); font-size: 13px; line-height: 1.6; }
.dive-map-popup h2 { color: #fff; font-size: 1rem; margin-bottom: 0.25rem; }
#dive-map .dive-map-popup p { margin: 0 0 0.75rem; }
.dive-map-popup ul { padding-left: 1.25rem; max-height: 180px; overflow-y: auto; }
#dive-map .leaflet-popup-close-button { color: #ccc; }
#dive-map .leaflet-bar { border: 1px solid #555; box-shadow: none; }
#dive-map .leaflet-bar a { background: #0a0a0a; color: #fff; border-color: #555; }
#dive-map .leaflet-bar a:hover { background: #333; }
#dive-map .leaflet-bar a.leaflet-disabled { color: #777; }
#dive-map .leaflet-control-attribution { background: #0a0a0a; color: #aaa; filter: grayscale(1); }
#dive-map .leaflet-control-attribution a { color: #eee; }
#dive-map .leaflet-control-attribution svg { display: none; }

@media (max-width: 767px) {
  #dive-map { height: 340px; }
}
