/* 1. EL FONDO (MODAL OVERLAY) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* Blanco translúcido tipo vidrio */
    backdrop-filter: blur(10px); 
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
* {
    font-family: 'Lora', serif !important;
}
/* 2. EL CONTENIDO (EFECTO MÁRMOL/LUJO) */
.modal-content {
    background: #ffffff; /* Fondo blanco puro */
    padding: 40px;
    width: 100%;
    max-width: 380px; /* Un poquito más ancho para que respire */
    border: 1px solid #d4af37; /* Borde fino color Oro (Metálico) */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); /* Sombra suave, NADA de neón */
    position: relative;
    border-radius: 4px; /* Bordes más rectos = más elegante */
    text-align: center;
    color: #333; /* Texto oscuro para que se lea bien */
}

/* 3. TÍTULOS Y TEXTO */
.modal-content h2 {
    font-family: 'Playfair Display', serif; /* Si podés cargar esta fuente queda de 10 */
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

/* 4. INPUTS (ESTILO MINIMALISTA) */
.form-group label {
    color: #d4af37; /* Labels en dorado */
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.form-group input {
    width: 100%;
    padding: 12px 0; /* Solo padding arriba/abajo */
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc; /* Línea fina abajo tipo formulario de lujo */
    color: #000;
    margin-top: 5px;
    border-radius: 0;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-bottom: 1px solid #ff00ff; /* El detalle fucsia que pediste */
}

/* 5. BOTÓN ENTRAR (ORO Y FUCSIA) */
.btn-neon-submit {
    width: 100%;
    padding: 15px;
    background: #1a1a1a; /* Negro sólido */
    border: 1px solid #d4af37; /* Borde dorado */
    color: #fff;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: none; /* Chau neón */
    transition: 0.4s;
    margin-top: 20px;
}

.btn-neon-submit:hover {
    background: #ff00ff; /* El toque fucsia al pasar el mouse */
    color: #fff;
    border-color: #ff00ff;
}

/* 6. LINKS INFERIORES */
.modal-footer-links a {
    color: #d4af37; /* Dorado */
    text-decoration: none;
    transition: 0.3s;
}

.modal-footer-links a:hover {
    color: #ff00ff; /* Detalle fucsia */
}


@media (max-width: 768px) {
    .modal-content {
        width: 85%;
        padding: 30px;
        background: #ffffff !important; /* Mármol */
        border: 1px solid #d4af37 !important; /* Oro */
    }
}
@media (max-width: 600px) {
    .modal-overlay {
        background: #ffffff !important; /* Fondo blanco sólido */
        padding: 0 !important;
    }

    .modal-content {
        width: 100% !important;   /* Pantalla completa */
        height: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 60px 25px 30px 25px !important; 
        border-radius: 0 !important;
        border: none !important; /* Sacamos bordes para que sea full screen pura */
        
        /* Centrado total */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .modal-content h2 {
        font-size: 1.8rem; /* Un poco más grande para que luzca */
        margin-bottom: 30px;
    }

    .close-btn {
        top: 20px !important;
        right: 25px !important;
        font-size: 40px !important; /* X bien visible */
    }

    .btn-neon-submit {
        padding: 15px;
        font-size: 1rem;
    }
}

/* Para celulares chicos (400px) - Ajustes finales de texto */
@media (max-width: 400px) {
    .modal-content {
        padding: 60px 20px 20px 20px !important;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }

    .form-group input {
        padding: 10px 0; /* Un toque más compacto */
    }
}