
/* ESTILOS PARA LOS MINIMAPAS DE PERSISTENCIA */

.legend {

    padding: 6px 8px;
    font: 12px Arial, Helvetica, sans-serif;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    line-height: 18px;
    color: #555;
}

.small-leaflet-map {
    width: 100%;
    height: 200px;
    min-height: 200px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    background: #f8f9fa;
    overflow: hidden;
}

.small-leaflet-map .leaflet-container {
    width: 100% !important;
    height: 100% !important;
}

.small-leaflet-map .leaflet-container ~ .d-flex {
    display: none !important;
}

@media (max-width: 768px) {
    .small-leaflet-map {
        height: 150px;
        min-height: 150px;
    }
}

@media (max-width: 576px) {
    .small-leaflet-map {
        height: 120px;
        min-height: 120px;
    }
}

.small-leaflet-map .leaflet-control-container {
    display: none;
}

.small-leaflet-map:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

.map-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.map-modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.map-modal-close-button {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #666;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100000;
    background: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.map-modal-close-button:hover,
.map-modal-close-button:focus {
    color: #000;
    background-color: #f0f0f0;
}

#modalMapTitle {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.5rem;
    text-align: center;
    padding-right: 50px;
}

#modalMapContainer {
    flex: 1;
    min-height: 500px;
    border-radius: 6px;
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .map-modal-content {
        width: 95%;
        margin: 5% auto;
        height: 90vh;
        padding: 15px;
    }

    #modalMapTitle {
        font-size: 1.2rem;
    }
}

.table-legend .color-box {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    border: 1px solid #ccc;
    vertical-align: middle;
}

.logo-with-border {
    width: 6.5rem;
    height: 3.80rem;
    background-color: rgba(160, 160, 189, 0.355);
    filter: drop-shadow(0 2px 7px rgba(176, 177, 223, 0.548));
    padding: 0.4rem
}

