/* --- MAPA INTERACTIVO --- */
#map { 
    height: 650px;
    width: 100%;
    cursor: crosshair;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Ajustes para el contenedor del mapa */
.map-container {
    margin-bottom: 20px;
}

/* Estilos para los controles de Leaflet */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}

.leaflet-control-zoom a {
    border-radius: 4px !important;
}

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

.leaflet-popup-tip {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* --- FORMULARIOS DE CONVERSIÓN --- */
.card.border-primary,
.card.border-success {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card.border-primary:hover,
.card.border-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Input styling */
#inputLocator {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Result alerts */
#resultadoLocator .alert,
#resultadoCoordenadas .alert {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
