:root{
    --primary:#1e1b4b;
    --primary2:#312e81;
    --white:#ffffff;
    --bg:#eef2ff;
    --text:#1f2937;
    --muted:#94a3b8;
    --border:#e5e7eb;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Segoe UI',sans-serif;
    background:linear-gradient(135deg,#eef2ff,#f8fafc);
    min-height:100vh;

}

/*==============================
LOGIN
==============================*/
.login-page{

    width:100vw;
    height:100vh;

    display:grid;
    grid-template-columns:50% 50%;

    overflow:hidden;

}

/*==============================
LADO IZQUIERDO
==============================*/
.login-left{

    position:relative;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:70px;

    color:#fff;

    min-height:100vh;

    background:
    linear-gradient(rgba(30,27,75,.88),rgba(49,46,129,.92)),
    url("../img/login-bg.jpg");

    background-size:cover;
    background-position:center;

    border-top-right-radius:40px;
    border-bottom-right-radius:40px;

    border-right:8px solid rgba(255,255,255,.9);

    box-shadow:12px 0 40px rgba(15,23,42,.18);

    z-index:2;

}

.overlay{

    position:absolute;
    inset:0;

    background:rgba(0,0,0,.15);

}

.left-content{

    position:relative;
    z-index:2;

    max-width:520px;

}

.left-content h1{

    font-size:48px;
    font-weight:700;
    margin-bottom:15px;

}

.left-content p{

    font-size:20px;
    opacity:.9;
    margin-bottom:50px;

}

.features{

    display:flex;
    flex-direction:column;
    gap:22px;

}

.features div{

    display:flex;
    align-items:center;
    gap:15px;

    font-size:20px;

}

.features i{

    width:55px;
    height:55px;

    border-radius:50%;

    background:rgba(255,255,255,.18);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;

}

/*==============================
LADO DERECHO
==============================*/
.login-right{

    background:#fff;

    display:flex;
    justify-content:center;
    align-items:center;

    min-height:100vh;

    padding:50px 70px;

    position:relative;
    z-index:1;

}

.login-card{

    width:100%;
    max-width:520px;

    animation:fade .6s;

}
.logo{

    text-align:center;
    margin-bottom:20px;

}

.logo img{

    width:240px;
    max-width:100%;

    height:auto;

    object-fit:contain;

    border:none;

    border-radius:0;

    box-shadow:none;

}

.login-card h2{

    font-size:34px;
    margin-top:15px;
    margin-bottom:8px;

}

.subtitulo{

    font-size:17px;

    margin-bottom:40px;

}

label{

    display:block;

    font-weight:600;

    color:#374151;

    margin-bottom:8px;

}

.input-icon{

    position:relative;

    margin-bottom:22px;

}

.input-icon input{

    width:100%;
       height:58px;

    border:1px solid #dbe3ef;

    border-radius:14px;

    padding-left:48px;

    font-size:15px;

    transition:.25s;

    outline:none;

}

.input-icon input:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(30,27,75,.10);

}

.input-icon i{

    position:absolute;

    left:18px;
    top:19px;

    color:var(--primary);

}

button{

    width:100%;
    height:55px;

    border:none;

    border-radius:14px;

    background:var(--primary);

    color:#fff;

    font-size:16px;
    font-weight:600;

    cursor:pointer;

    transition:.25s;

}

button:hover{

    background:var(--primary2);

}

.footer-login{

    margin-top:30px;

    text-align:center;

    color:#94a3b8;

    font-size:14px;

}

.alerta{

    margin-top:18px;

    padding:14px;

    border-radius:12px;

    background:#fee2e2;

    color:#b91c1c;

    text-align:center;

}

@keyframes fade{

from{

opacity:0;
transform:translateY(20px);

}

to{

opacity:1;
transform:translateY(0);

}

}

/*==============================
RESPONSIVE
==============================*/

@media(max-width:900px){

.login-page{

grid-template-columns:1fr;

}

.login-left{

display:none;

}

.login-right{

padding:35px 25px;

}

}

@media(max-width:500px){

.login-card{

max-width:100%;

}

.logo img{

width:85px;
height:85px;

}

.login-card h2{

font-size:25px;

}

}