/* Estilos adicionales no cubiertos por Tailwind */

/* Mapa a pantalla completa */
.leaflet-container {
    background: #f3f4f6;
    font-family: 'Inter', sans-serif;
}

/* Animación Radar para marcador actual */
@keyframes radar-pulse {
    0% {
        width: 0px;
        height: 0px;
        opacity: 0.8;
    }
    100% {
        width: 150px;
        height: 150px;
        opacity: 0;
    }
}

@keyframes radar-pulse-2 {
    0% {
        width: 0px;
        height: 0px;
        opacity: 0.6;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.radar-marker {
    display: flex;
    justify-content: center;
    align-items: center;
}

.radar-ring {
    position: absolute;
    border: 3px solid #ef4444; /* red-500 */
    border-radius: 50%;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radar-ring-1 {
    animation: radar-pulse 2s ease-out infinite;
}

.radar-ring-2 {
    animation: radar-pulse-2 2s ease-out 0.3s infinite;
    border-width: 2px;
}

/* Scrollbar personalizado para Sidebar */
#sidebar nav::-webkit-scrollbar {
    width: 6px;
}

#sidebar nav::-webkit-scrollbar-track {
    background: transparent;
}

#sidebar nav::-webkit-scrollbar-thumb {
    background-color: #e5e7eb;
    border-radius: 20px;
}

/* Estilos de Popup Leaflet */
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 0;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 0;
    width: 280px !important;
}

.leaflet-popup-tip {
    background: white;
}

/* Botones de control personalizados */
.custom-control-btn {
    background: white;
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.custom-control-btn:hover {
    background: #f4f4f4;
}

/* Efecto Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
