/* CSS Document */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
#map-container {
  height: 100%;
  width: 100%;
  position: relative;
}
#map {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  background-color: #f0f0f0; /* Color de fondo del mapa */
}
#sidebar {
  width: 400px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  transition: transform 0.3s ease-in-out;
  box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2);
}
.hidden {
  transform: translateX(-100%);
}
#toggleButton {
  position: absolute;
  left: 410px;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px 15px;
  transition: left 0.3s ease-in-out;
  border-radius: 5px;
}
.leyenda {
  margin-top: 10px;
  max-width: 400px;
  background: #f9f9f9;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  padding: 10px 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-family: "Segoe UI", sans-serif;
}
.leyenda table {
  width: 100%;
}
.leyenda th {
  background-color: #e9ecef;
  font-size: 14px;
}
.leyenda td {
  vertical-align: middle;
}
.leyenda img {
  margin-right: 5px;
  vertical-align: middle;
}
.select-sm {
  width: 100%; /* Ajustar el ancho al 100% del contenedor */
  height: 35px; /* Reducir la altura */
  font-size: 14px; /* Ajustar el tamaño de la fuente */
}