/* Leaflet Map Custom Styles */
.mapa-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.custom-marker {
    background: transparent !important;
    border: none !important;
}

.leaflet-popup-content {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.leaflet-popup-content strong {
    display: block;
    margin-bottom: 4px;
    color: #333;
}

.leaflet-popup-content .badge {
    font-size: 10px;
    padding: 2px 6px;
}

.leaflet-popup-content .popup-info {
    margin: 4px 0;
}

.leaflet-popup-content .popup-info i {
    width: 16px;
    text-align: center;
    margin-right: 4px;
    color: #6c757d;
}

.leaflet-legend {
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    font-size: 12px;
}

.leaflet-legend strong {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
}

/* Map stats sidebar */
.mapa-stats-card {
    border-left: 3px solid;
    transition: transform 0.2s;
}

.mapa-stats-card:hover {
    transform: translateY(-2px);
}

.mapa-filtros-card .form-label {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mapa-container > div {
        min-height: 300px !important;
    }
}

@media print {
    .mapa-container .btn-group {
        display: none !important;
    }

    .mapa-filtros-card {
        display: none !important;
    }
}
