/* Contenedor del mapa */
.mapbox-container {
    width: 100%;
    height: 600px;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Mapa en popup */
.map-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.map-popup-content {
    width: 90%;
    max-width: 800px;
    height: 80%;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.map-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.popup-map {
    width: 100%;
    height: 100%;
}

/* Marcador para selección de ubicación */
.location-marker {
    width: 30px;
    height: 30px;
    background-color: #ff4136; /* Rojo */
    border: 3px solid white;
    border-radius: 50%;
    cursor: move;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Popup de marcador */
.mapboxgl-popup {
    max-width: 250px;
}

.mapboxgl-popup-content {
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Resaltado de módulos */
#highlighted-area {
    stroke: #ff0000; /* Rojo */
    stroke-width: 3;
    stroke-dasharray: 4 2;
}

#highlighted-area-fill {
    fill: #ff0000; /* Rojo */
    fill-opacity: 0.2;
}

/* Botones y controles */
.mapboxgl-ctrl {
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mapboxgl-ctrl-group > button {
    background-color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mapboxgl-ctrl-group > button:hover {
    background-color: #f0f0f0;
}



/* Estilos específicos para el mapa general */
#mapa-general {
    height: 600px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}



