.leaflet-control.filtro-control select {
  padding: 4px 6px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 14px;
  }
  
  .leaflet-control.filtro-control img.filtro-thumb:hover {
  filter: brightness(85%);
  transition: all 0.2s ease-in-out;
  }
  
  .leaflet-control.filtro-control label:hover {
  background-color: #f0f0f0;
  }

/* Estilos para el contenedor principal */
.leaflet-control.filtro-control {
  background: white;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  min-width: 200px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  z-index: 200 !important;
}

/* Contenedor principal con layout horizontal */
.filtro-main-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Contenedor para radio buttons */
.filtro-radio-container {
  margin-bottom: 0;
}

/* Contenedor de cada radio button */
.filtro-radio-div {
  margin-bottom: 4px;
}

/* Radio buttons */
.filtro-radio {
  margin-right: 6px;
}

/* Labels de radio buttons */
.filtro-radio-label {
  cursor: pointer;
  font-size: 12px;
  transition: opacity 0.2s ease, color 0.2s ease;
}

/* Estilos para labels deshabilitados dinámicamente */
.filtro-radio-label.disabled {
  color: #aaa;
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

/* Imagen del filtro */
.filtro-thumb {
  width: 188px;
  height: 90px;
  margin-left: 0;
  vertical-align: middle;
  cursor: pointer;
}

/* Panel de opciones */
.filtro-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #888;
  padding: 8px;
  border-radius: 6px;
  max-height: 400px;
  overflow-y: hidden;
  z-index: 10000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  min-width: 283px;
  margin-top: 5px;
}

/* Contenedor de búsqueda */
.filtro-search-container {
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

/* Campo de búsqueda */
.filtro-search-container .filtro-search-input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 12px;
  box-sizing: border-box;
}

/* Contenedor de opciones */
.filtro-options-container {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Labels de opciones */
.filtro-option-label {
  display: block;
  cursor: pointer;
  padding: 4px 0;
  font-size: 12px;
}

/* Checkboxes de opciones */
.filtro-option-checkbox {
  margin-right: 6px;
}

/* Botón flotante para aplicar filtros */
.filtro-apply-button {
  all: unset;
  position: absolute;
  bottom: 10px;
  right: 25px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #666;
  color: white;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: all 0.2s ease-in-out;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filtro-apply-button i {
  font-size: 16px;
}

.filtro-apply-button:hover {
  background: #333;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.filtro-apply-button:active {
  transform: scale(0.95);
}