
.registro-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);
}

.registro-info{
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.registro-marca{
    color: #22ff69;
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 35px;
}

.registro-marca span{
    color: white;
}

.registro-marca small{
    display: block;
    font-size: 18px;
    margin-left: 40px;
}

.registro-info h1{
    font-size: 55px;
    line-height: 1.05;
    margin-bottom: 20px;
}

.registro-info p{
    color: #d1d5db;
    font-size: 18px;
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 30px;
}

.registro-beneficios{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.registro-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;
}

.registro-card{
    width: 100%;
    max-width: 650px;
    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);
}

.registro-card h2{
    text-align: center;
    font-size: 38px;
    margin-bottom: 10px;
}

.registro-subtitulo{
    text-align: center;
    color: #d1d5db;
    margin-bottom: 28px;
}

.registro-card form{
    width: 100%;
    margin: 0;
}

.form-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.registro-card label{
    display: block;
    margin-top: 14px;
    margin-bottom: 8px;
    font-weight: bold;
    color: #f3f4f6;
}

.registro-card input{
    margin: 0 0 8px 0;
    background: rgba(31,41,55,.85);
    border: 1px solid #374151;
}

.registro-card input:focus{
    border-color: #22ff69;
    box-shadow: 0 0 18px rgba(34,255,105,.18);
}

.registro-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);
}

.registro-card button:hover{
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(34,255,105,.45);
}

/* =========================
   SEGURIDAD CONTRASEÑA
========================= */

.password-strength{
    margin-top: 16px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(17,24,39,.60);
    border: 1px solid rgba(255,255,255,.06);
    opacity: 1;
    transform: translateY(0);
    transition: .35s ease;
}

.password-strength.oculto{
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: none;
}

.strength-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.strength-header span{
    color: #9ca3af;
    font-size: 14px;
}

.strength-header strong{
    font-size: 14px;
    color: #f3f4f6;
}

.barra-password{
    width: 100%;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,.08);
    margin-bottom: 10px;
}

.nivel-password{
    height: 100%;
    width: 0%;
    border-radius: 999px;
    transition: .4s;
}

.nivel-password.debil{
    background: #ef4444;
}

.nivel-password.media{
    background: #f59e0b;
}

.nivel-password.fuerte{
    background: #22ff69;
}

.texto-password{
    color: #9ca3af;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* =========================
   MENSAJES VALIDACIÓN
========================= */

.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);
}

/* =========================
   LOGIN
========================= */

.opcion-login{
    text-align: center;
    margin-top: 26px;
}

.opcion-login p{
    color: #d1d5db;
    margin-bottom: 8px;
}

.opcion-login a{
    color: #22ff69;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
}

.opcion-login a:hover{
    text-shadow: 0 0 15px rgba(34,255,105,.5);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width: 900px){

    .registro-page{
        grid-template-columns: 1fr;
        padding: 40px 6%;
    }

    .registro-info{
        padding: 20px 0 40px;
        text-align: center;
        align-items: center;
    }

    .registro-info h1{
        font-size: 40px;
    }

    .registro-card{
        margin: 0 auto;
    }
}

@media(max-width: 600px){

    .registro-card{
        padding: 30px 24px;
    }

    .form-grid{
        grid-template-columns: 1fr;
        gap: 0;
    }

    .registro-info h1{
        font-size: 34px;
    }

    .registro-card h2{
        font-size: 30px;
    }
}