:root {
  --z-layer-base: 1;
  --z-layer-modal: 500;
  --z-layer-overlay: 700;
  --z-layer-toast: 900;
}

#toasts {
  z-index: var(--z-layer-toast);
}

[data-modal] {
  z-index: var(--z-layer-modal);
}

[data-modal] .modal-backdrop {
  z-index: 0;
}

[data-modal-panel] {
  position: relative;
  z-index: 1;
}

[data-ui-layer="overlay"] {
  z-index: var(--z-layer-overlay);
}

.app-map-frame,
.leaflet-container {
  position: relative;
  z-index: var(--z-layer-base);
  isolation: isolate;
}

.leaflet-container .leaflet-control-attribution {
  background: rgba(255, 253, 248, 0.88);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin: 0.5rem;
  color: #5b6770;
  font-size: 10px;
  line-height: 1.1;
}

.leaflet-container .leaflet-control-attribution a {
  color: #1e5c49;
  text-decoration: none;
}

.leaflet-container .leaflet-control-attribution a:hover {
  text-decoration: underline;
}

.map-attrib-google-logo {
  display: block;
  height: 13px;
  width: auto;
}

.map-attrib-copy {
  vertical-align: middle;
}

.app-map-frame--google .leaflet-bottom.leaflet-right .leaflet-control-attribution {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0.5rem 0.65rem;
  color: rgba(71, 71, 71, 0.9);
  font-size: 10px;
  line-height: 1;
  box-shadow: none;
}

.map-google-logo-control {
  margin: 0 0 0.5rem 0.65rem;
}

.map-google-logo-link {
  display: block;
}

.map-marker-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #2f7b67;
  border: 2px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(30, 92, 73, 0.2);
}
