/* --- Estilos para el Modal Futurista de Autenticación --- */

#auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 20, 40, 0.85);
    backdrop-filter: blur(8px);
    display: none; /* Oculto por defecto */
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#auth-modal-overlay.visible {
    opacity: 1;
}

.auth-modal-box {
    background: linear-gradient(145deg, #1d2b4e, #11182c);
    color: #e0e0e0;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(100, 120, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

#auth-modal-overlay.visible .auth-modal-box {
    transform: scale(1);
    opacity: 1;
}

#auth-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: #8892b0;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

#auth-modal-close:hover {
    color: #64ffda;
    transform: rotate(90deg);
}

.auth-modal-icon {
    margin-bottom: 1rem;
    color: #64ffda; /* Un color menta-turquesa muy 'tech' */
}

.auth-modal-box h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.auth-modal-box p {
    color: #a8b2d1; /* Un gris azulado claro */
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.auth-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-modal-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.auth-modal-btn.btn-login {
    background-color: #64ffda;
    color: #0a192f; /* Color de fondo oscuro */
    border-color: #64ffda;
}

.auth-modal-btn.btn-login:hover {
    background-color: transparent;
    color: #64ffda;
}

.auth-modal-btn.btn-register {
    background-color: transparent;
    color: #a8b2d1;
    border-color: #8892b0;
}

.auth-modal-btn.btn-register:hover {
    background-color: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    border-color: #64ffda;
}
