.login-page{
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    background:
        radial-gradient(circle at top right, rgba(147,51,234,.35), transparent 35%),
        radial-gradient(circle at bottom left, rgba(34,255,105,.20), transparent 35%),
        linear-gradient(120deg, #050914, #07111f);
}

.login-info{
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-marca{
    color: #22ff69;
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 35px;
}

.login-marca span{
    color: white;
}

.login-marca small{
    display: block;
    font-size: 18px;
    margin-left: 40px;
}

.login-info h1{
    font-size: 55px;
    line-height: 1.05;
    margin-bottom: 20px;
}

.login-info p{
    color: #d1d5db;
    font-size: 18px;
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 30px;
}

.login-beneficios{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-beneficios div{
    width: fit-content;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(17,24,39,.85);
    border: 1px solid rgba(34,255,105,.25);
    color: #e5e7eb;
    font-weight: bold;
}

.login-card{
    width: 100%;
    max-width: 520px;
    margin: auto;
    background: linear-gradient(145deg, #111827, #0f172a);
    border: 1px solid rgba(34,255,105,.22);
    border-radius: 26px;
    padding: 42px;
    box-shadow:
        0 0 40px rgba(0,0,0,.55),
        0 0 90px rgba(34,255,105,.08);
}

.login-card h2{
    text-align: center;
    font-size: 38px;
    margin-bottom: 10px;
}

.login-subtitulo{
    text-align: center;
    color: #d1d5db;
    margin-bottom: 28px;
}

.login-card form{
    width: 100%;
    margin: 0;
}

.login-card label{
    display: block;
    margin-top: 14px;
    margin-bottom: 8px;
    font-weight: bold;
    color: #f3f4f6;
}

.login-card input{
    margin: 0 0 8px 0;
    background: rgba(31,41,55,.85);
    border: 1px solid #374151;
}

.login-card input:focus{
    border-color: #22ff69;
    box-shadow: 0 0 18px rgba(34,255,105,.18);
}

.login-card button{
    margin-top: 24px;
    height: 55px;
    font-size: 16px;
    border-radius: 14px;
    background: linear-gradient(90deg, #22ff69, #16a34a);
    box-shadow: 0 0 25px rgba(34,255,105,.35);
}

/* =========================
   ALERTA LOGIN
========================= */

.alerta-login{
    background: rgba(239,68,68,.15);
    border: 1px solid rgba(239,68,68,.45);
    color: #ef4444;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 18px;
    transition: .4s ease;
}

/* =========================
   ACTIVACIÓN DE CUENTA
========================= */

.activar-login{
    margin: 18px 0 22px;
    padding: 16px;
    border-radius: 16px;
    text-align: center;
    background: linear-gradient(145deg, rgba(34,255,105,.10), rgba(17,24,39,.95));
    border: 1px solid rgba(34,255,105,.28);
    box-shadow: 0 0 22px rgba(34,255,105,.08);
}

.activar-login p{
    color: #d1d5db;
    font-size: 15px;
    margin-bottom: 10px;
}

.activar-login a{
    display: inline-block;
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(34,255,105,.14);
    border: 1px solid rgba(34,255,105,.45);
    color: #22ff69;
    text-decoration: none;
    font-weight: bold;
    transition: .3s;
}

.activar-login a:hover{
    background: #22ff69;
    color: #04130a;
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(34,255,105,.35);
}

/* =========================
   REGISTRO / VOLVER
========================= */

.opcion-registro{
    text-align: center;
    margin-top: 26px;
}

.opcion-registro p{
    color: #d1d5db;
    margin-bottom: 8px;
}

.opcion-registro a{
    color: #22ff69;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
}

.opcion-registro a:hover{
    text-shadow: 0 0 15px rgba(34,255,105,.5);
}

/* =========================
   OLVIDAR CONTRASEÑA
========================= */

.opciones-password-login{
    text-align: left;
    margin-top: 6px;
    margin-bottom: 10px;
}

.opciones-password-login a{
    color: #22ff69;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: .3s;
}

.opciones-password-login a:hover{
    text-shadow: 0 0 14px rgba(34,255,105,.5);
}

/* =========================
   MODAL GLOBAL
========================= */

.modal-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeModal .3s ease;
}

.modal-recuperacion{
    width: 100%;
    max-width: 520px;
    padding: 38px;
    border-radius: 28px;
    text-align: center;
    background: linear-gradient(145deg, #111827, #0f172a);
    border: 1px solid rgba(34,255,105,.25);
    box-shadow:
        0 0 40px rgba(0,0,0,.55),
        0 0 80px rgba(34,255,105,.10);
}

.modal-icono{
    font-size: 70px;
    margin-bottom: 15px;
}

.modal-recuperacion h3{
    font-size: 34px;
    margin-bottom: 12px;
}

.modal-recuperacion p{
    color: #d1d5db;
    margin-bottom: 14px;
}

.btn-modal-ir{
    display: inline-block;
    margin-top: 18px;
    padding: 14px 26px;
    border-radius: 14px;
    background: linear-gradient(90deg, #22ff69, #16a34a);
    color: #04130a;
    font-weight: bold;
    text-decoration: none;
    transition: .3s ease;
    box-shadow: 0 0 25px rgba(34,255,105,.25);
}

.btn-modal-ir:hover{
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(34,255,105,.45);
}

.texto-redireccion{
    margin-top: 14px;
    color: #9ca3af;
    font-size: 14px;
}

/* =========================
   VALIDACIONES
========================= */

.mensaje-validacion{
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
}

.mensaje-error{
    color: #ef4444;
}

.mensaje-correcto{
    color: #22ff69;
}

.input-error{
    border-color: #ef4444 !important;
    box-shadow: 0 0 15px rgba(239,68,68,.15);
}

.input-correcto{
    border-color: #22ff69 !important;
    box-shadow: 0 0 15px rgba(34,255,105,.15);
}

@keyframes fadeModal{
    from{
        opacity: 0;
        transform: scale(.95);
    }

    to{
        opacity: 1;
        transform: scale(1);
    }
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width: 900px){
    .login-page{
        grid-template-columns: 1fr;
        padding: 40px 6%;
    }

    .login-info{
        padding: 20px 0 40px;
        text-align: center;
        align-items: center;
    }

    .login-info h1{
        font-size: 40px;
    }

    .login-card{
        margin: 0 auto;
    }
}

@media(max-width: 600px){
    .login-card{
        padding: 30px 24px;
    }

    .login-info h1{
        font-size: 34px;
    }

    .login-card h2{
        font-size: 30px;
    }

    .modal-recuperacion{
        width: calc(100% - 32px);
        padding: 30px 22px;
    }

    .modal-recuperacion h3{
        font-size: 28px;
    }
}