html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  /* overflow: hidden; */
}

#mapContainer {
  display: none;
  height: calc(100vh - 56px);
  width: 100%;
  z-index: 0;
}

#centerMap {
  display: none;
  z-index: 1002;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

#zoomButtons,
#zoomIn,
#zoomOut,
#searchLocation {
  display: none;
  z-index: 1002;
}

#zoomIn,
#zoomOut,
#centerMap,
#searchLocation {
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

#map {
  height: 100%;
  width: 100%;
}

#mapContainer button svg {
  fill: white;
}

.leaflet-control-zoom {
  position: absolute !important;
  bottom: 10px;
  right: 10px;
  top: auto;
  left: auto;
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.5rem;
  }

  .btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .custom-theme-select {
    margin-bottom: 5px;
  }
}

header {
  position: relative;
  z-index: 1000;
}

.slide-panel {
  position: absolute;
  top: 56px;
  /* height of the navbar */
  right: 0;
  width: 300px;
  max-width: 100%;
  height: calc(100% - 56px);
  background-color: white;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
  padding: 1rem;
  overflow-y: auto;
  z-index: 1001;
  display: none;
}

.search-container {
  position: relative;
  z-index: 1004;
}

.search-input {
  z-index: 1005;
  height: 50px;
  border-radius: 30px;
  padding-left: 35px;
  border: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.search-icon {
  z-index: 1004;
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #888;
}

#search .modal-content {
  background: none;
  border: none;
  box-shadow: none;
}

#coords-display {
  display: none;
  z-index: 1003;
}

#theme {
  display: none;
}

.custom-theme-select {
  background-color: #212529; /* Bootstrap dark background */
  color: #f8f9fa; /* Light text */
  border: 1px solid #6c757d; /* Bootstrap secondary border */
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
}

.custom-theme-select:focus {
  border-color: #0d6efd; /* Bootstrap primary color on focus */
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25); /* Bootstrap-style focus ring */
  outline: none;
}

.custom-theme-select option {
  background-color: #212529;
  color: #f8f9fa;
}

.leaflet-control-container a {
  display: none;
}

.leaflet-control-container span {
  display: none;
}