

/* Aplicar blur al contenedor del background y deshabilitar la interacción */
#backgroundWrapper {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

/* Login overlay: contenedor fijo que cubre toda la pantalla */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100; /* Por encima del background */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modal de login/registro */
.login-modal {
    background-color: rgba(255, 255, 255, 0.97);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 500px;
    text-align: center;
}

/* Estilos del formulario */
.login-modal .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.login-modal .form-group label {
    display: block;
    margin-bottom: 5px;
    color: #002028;
}

.login-modal .form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* Botones del modal */
.btn {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.primary-btn {
    background-color: #002028;
    color: #fff;
}


.secondary-btn {
    background-color: transparent;
    color: #002028;
    border: 2px solid #002028;
}

.secondary-btn:hover {
    background-color: #002028;
    color: #fff;
}

/* Mensajes de error o confirmación */
#loginMessage {
    margin-top: 10px;
    font-size: 0.9em;
}

/* login.css */

/* Para pantallas pequeñas */
@media (max-width: 768px) {

    /* El modal de login ocupa casi todo el ancho en mobile */
    .login-modal {
        width: 90%;
        max-width: 400px;
        margin: 0 10px; /* algo de margen lateral */
    }

    .login-modal h2 {
        font-size: 1.4em;
    }

    /* Botones un poco más pequeños */
    .btn {
        font-size: 0.95em;
        padding: 8px;
    }
}
