.cursor-coords-control {
  background: rgba(255, 255, 255, 0.8);
  font-family: monospace;
  text-align: center;
  border-radius: 5px;
}

#map-cursor-coords:empty,
.cursor-coords-control:empty {
  display: none;
}

.maplibregl-ctrl-top-left .mapboxgl-ctrl,
.maplibregl-ctrl-top-left .maplibregl-ctrl {
  float: left;
  margin: 10px 0 0 10px;
}
.maplibregl-ctrl-top-right .mapboxgl-ctrl,
.maplibregl-ctrl-top-right .maplibregl-ctrl {
  float: right;
  margin: 10px 10px 0 0;
}
.maplibregl-ctrl-bottom-left .mapboxgl-ctrl,
.maplibregl-ctrl-bottom-left .maplibregl-ctrl {
  float: left;
  margin: 0 0 10px 10px;
}
.maplibregl-ctrl-bottom-right .mapboxgl-ctrl,
.maplibregl-ctrl-bottom-right .maplibregl-ctrl {
  float: right;
  margin: 0 10px 10px 0;
}

.mapboxgl-ctrl-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cursor-coords-control #map-cursor-coords {
  margin: 0;
  padding: 3px 10px;
  min-width: 200px;
}

.mapboxgl-ctrl .mapbox-gl-draw_ctrl-draw-btn {
  background-color: #fff;
  border-radius: 5px;
  border: none;
  color: black;
  min-width: fit-content;
}

.maplibre-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
}

.maplibre-loading-overlay .loader {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0001 33%, #0005 50%, #0001 66%) #f2f2f2;
  background-size: 300% 100%;
  animation: l1 4s infinite linear;
  opacity: 0.7;
}

@keyframes l1 {
  0% {
    background-position: right;
  }
}
