/* Estilos para el mapa mundial de MOSAICO */
.about-map-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.map-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0B67B2;
    margin-bottom: 0.5rem;
}

.map-subtitle {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0;
}

.mosaico-world-map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #16BFB2;
    z-index: 1;
}

.map-legend {
    margin-top: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.legend-content {
    text-align: center;
}

.legend-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0B67B2;
}

.legend-title i {
    font-size: 1.3rem;
    color: #16BFB2;
}

.legend-description {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
}

/* Estilos para los marcadores del mapa */
.custom-marker {
    background: transparent !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
}

.custom-marker > div {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Popup del mapa */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-content {
    margin: 12px;
    font-family: inherit;
}

.map-popup-content {
    text-align: center;
    min-width: 150px;
}

.map-popup-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0B67B2;
    margin-bottom: 0.5rem;
}

.map-popup-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.map-popup-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    border-bottom: 1px solid #e9ecef;
}

.map-popup-stat:last-child {
    border-bottom: none;
}

.map-popup-stat-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.map-popup-stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: #16BFB2;
}

/* Responsive */
@media (max-width: 992px) {
    .mosaico-world-map {
        height: 350px;
    }
    
    .map-title {
        font-size: 1.25rem;
    }
    
    .map-legend {
        padding: 1rem 1.25rem;
    }
    
    .legend-title {
        font-size: 1rem;
    }
    
    .legend-title i {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .mosaico-world-map {
        height: 300px;
    }
    
    .map-title {
        font-size: 1.1rem;
    }
    
    .map-subtitle {
        font-size: 0.85rem;
    }
    
    .map-legend {
        padding: 1rem;
        margin-top: 0.75rem;
    }
    
    .legend-title {
        font-size: 0.95rem;
        gap: 0.5rem;
    }
    
    .legend-title i {
        font-size: 1.1rem;
    }
    
    .legend-description {
        font-size: 0.85rem;
    }
}

