/* =======================================================
   NEXUS PRO V2
   AUTH.CSS
   Registro - Login - QR
======================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:Segoe UI,Arial,sans-serif;

    background:#0f172a;

    color:#fff;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px;

}

.contenedor{

    width:1100px;

    max-width:100%;

    min-height:650px;

    background:#111827;

    display:flex;

    border-radius:35px;

    overflow:hidden;

    box-shadow:
        0 20px 50px rgba(0,0,0,.45);

}

.lado-izquierdo{

    width:45%;

    background: linear-gradient(
        145deg,
        #4f8cff 0%,
        #2563eb 35%,
        #1d4ed8 65%,
        #1e3a8a 100%
    );

    border-top-left-radius:25px;
    border-bottom-left-radius:25px;

    padding:70px 50px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    position:relative;

    overflow:hidden;

}

.logo{

    width:360px;

    height:auto;

    display:block;

    margin:0 auto 50px auto;

    border-radius:30px;

    overflow:hidden;

    box-shadow:0 12px 35px rgba(0,0,0,.35);

}

.logo-text{

    font-size:40px;

    font-weight:bold;

    margin-bottom:35px;

}

.eslogan{

    font-size:32px;

    line-height:1.3;

    margin-bottom:30px;

}

.texto{

    line-height:1.9;

    opacity:.95;

    font-size:17px;

}

.lado-derecho{

    width:55%;

    padding:70px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}

h2{

    font-size:36px;

    margin-bottom:10px;

}

.subtitulo{

    color:#9ca3af;

    margin-bottom:35px;

}

form{

    display:flex;

    flex-direction:column;

    gap:18px;

}

input{

    height:55px;

    border:none;

    border-radius:10px;

    padding:0 18px;

    background:#1f2937;

    color:white;

    font-size:16px;

    outline:none;

    transition:.25s;

}

input:focus{

    border:2px solid #3b82f6;

}

button{

    height:55px;

    border:none;

    border-radius:10px;

    background:#2563eb;

    color:white;

    font-size:17px;

    font-weight:bold;

    cursor:pointer;

    transition:.25s;

}

button:hover{

    background:#1d4ed8;

    transform:translateY(-2px);

}

button:disabled{

    opacity:.7;

    cursor:not-allowed;

}

.login{

    margin-top:30px;

    text-align:center;

}

.login a{

    color:#60a5fa;

    text-decoration:none;

    font-weight:bold;

}

.login a:hover{

    text-decoration:underline;

}

.mensaje{

    min-height:24px;

    margin-top:18px;

    font-size:15px;

}

.mensaje.error{

    color:#ef4444;

}

.mensaje.exito{

    color:#22c55e;

}

@media(max-width:900px){

    .contenedor{

        flex-direction:column;

    }

    .lado-izquierdo,
    .lado-derecho{

        width:100%;

    }

    
    .lado-derecho{

        padding:40px;

    }

}