/*
 * Hoja de Estilo para el Mapa Interactivo - Tianguistenco
 * Autor: Asistente de IA
 */

html, body, #map {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #333; /* Fondo oscuro para tiempos de carga */
}

/* --- Indicador de Carga --- */
#loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px 30px;
    border-radius: 8px;
    font-size: 1.2em;
    z-index: 1001; /* Encima del mapa */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#loading-indicator.visible {
    opacity: 1;
    visibility: visible;
}

/* --- Estilos del Control de Capas de Leaflet --- */
.leaflet-control-layers {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

.leaflet-control-layers-base label,
.leaflet-control-layers-overlays label {
    font-weight: normal;
    font-size: 14px;
}

.leaflet-control-layers-separator {
    border-top: 1px solid #ddd;
    margin: 5px 0;
}