/*==================================
        VARIABLES
==================================*/

:root{

    --bg-dark:#081120;

    --bg-card:rgba(18,28,52,.88);

    --primary:#00d4ff;

    --secondary:#4facfe;

    --text:#ffffff;

    --text-light:#b8c7f0;

    --border:rgba(255,255,255,.08);

    --shadow:0 20px 50px rgba(0,0,0,.35);

}


/*==================================
        RESET
==================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

    font-family:"Segoe UI",sans-serif;

}

body{

    min-height:100vh;

    background:#081120;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    overflow-y:auto;
    overflow-x:hidden;

    padding:40px 20px;

}


/*==================================
        FONDO
==================================*/

.background{

    position:fixed;

    inset:0;

    background:
    radial-gradient(circle at top right,
    rgba(0,212,255,.18),
    transparent 45%),

    radial-gradient(circle at bottom left,
    rgba(74,0,224,.18),
    transparent 45%),

    #081120;

    z-index:-2;

}


/*==================================
        CONTENEDOR
==================================*/

.login-container{

    width:1200px;

    max-width:95%;

    min-height:700px;

    height:auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    background:var(--bg-card);

    backdrop-filter:blur(20px);

    border:1px solid var(--border);

    border-radius:30px;

    overflow:hidden;

    box-shadow:var(--shadow);

}


/*==================================
        PANEL IZQUIERDO
==================================*/

.login-left{

    padding:70px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    background:linear-gradient(
        180deg,
        rgba(0,212,255,.08),
        rgba(0,0,0,.15)
    );

}

.badge{

    display:inline-block;

    width:max-content;

    padding:8px 18px;

    border-radius:30px;

    background:rgba(0,212,255,.12);

    color:var(--primary);

    font-size:14px;

    font-weight:600;

    margin-bottom:25px;

}

.login-left h1{

    font-size:50px;

    line-height:1.2;

    margin-bottom:25px;

}

.login-left p{

    color:var(--text-light);

    font-size:18px;

    line-height:1.8;

    margin-bottom:40px;

}


/*==================================
        BENEFICIOS
==================================*/

.features{

    display:flex;

    flex-direction:column;

    gap:25px;

}

.features div{

    display:flex;

    align-items:center;

    gap:15px;

    font-size:17px;

}

.features i{

    color:var(--primary);

    font-size:24px;

}
/*==================================
        PANEL DERECHO
==================================*/

.login-right{

    display:flex;

    justify-content:center;

    align-items:center;

    padding:60px;

}

.login-right form{

    width:100%;

    max-width:420px;

}

.login-right h2{

    font-size:40px;

    margin-bottom:10px;

}

.login-right p{

    color:var(--text-light);

    margin-bottom:40px;

}


/*==================================
        INPUTS
==================================*/

.input-group{

    margin-bottom:25px;

}

.input-group label{

    display:block;

    margin-bottom:10px;

    font-weight:600;

}

.input-box{

    position:relative;

}

.input-box i{

    position:absolute;

    left:18px;

    top:50%;

    transform:translateY(-50%);

    color:var(--primary);

    font-size:18px;

}

.input-box input{

    width:100%;

    height:58px;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    border-radius:15px;

    padding-left:52px;

    padding-right:55px;

    color:white;

    font-size:16px;

    transition:.3s;

}

.input-box input::placeholder{

    color:#8ea2d3;

}

.input-box input:focus{

    outline:none;

    border-color:var(--primary);

    box-shadow:0 0 15px rgba(0,212,255,.2);

}


/*==================================
    MOSTRAR CONTRASEÑA
==================================*/

.show-password{

    position:absolute;

    right:15px;

    top:50%;

    transform:translateY(-50%);

    background:none;

    border:none;

    color:#8ea2d3;

    cursor:pointer;

    font-size:18px;

    transition:.3s;

}

.show-password:hover{

    color:var(--primary);

}


/*==================================
        OPCIONES
==================================*/

.login-options{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;

    font-size:14px;

}

.remember{

    display:flex;

    align-items:center;

    gap:8px;

}

.login-options input{

    accent-color:var(--primary);

}

.login-options a{

    color:var(--primary);

    text-decoration:none;

}

.login-options a:hover{

    text-decoration:underline;

}


/*==================================
        BOTÓN LOGIN
==================================*/

.btn-login{

    width:100%;

    height:58px;

    border:none;

    border-radius:15px;

    background:linear-gradient(
        90deg,
        var(--secondary),
        var(--primary)
    );

    color:#081120;

    font-size:17px;

    font-weight:bold;

    cursor:pointer;

    transition:.35s;

}

.btn-login:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 30px rgba(0,212,255,.35);

}
/*==================================
        SEPARADOR
==================================*/

.separator{

    display:flex;

    align-items:center;

    margin:35px 0;

}

.separator::before,
.separator::after{

    content:"";

    flex:1;

    height:1px;

    background:rgba(255,255,255,.10);

}

.separator span{

    margin:0 20px;

    color:var(--text-light);

    font-size:15px;

}


/*==================================
        REGISTRO
==================================*/

.register-link{

    text-align:center;

    margin-top:25px;

    color:var(--text-light);

    font-size:15px;

}

.register-link a{

    color:var(--primary);

    font-weight:600;

    text-decoration:none;

    margin-left:5px;

}

.register-link a:hover{

    text-decoration:underline;

}


/*==================================
        EFECTOS
==================================*/

.login-container{

    animation:fadeIn .8s ease;

}

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/*==================================
        RESPONSIVE
==================================*/

@media(max-width:1000px){

    body{

        align-items:flex-start;

        padding:30px 20px;

    }

    .login-container{

        grid-template-columns:1fr;

        width:95%;

    }

    .login-left{

        display:none;

    }

    .login-right{

        padding:45px;

    }

}

@media(max-width:600px){

    body{

        padding:20px;

        overflow:auto;

    }

    .login-container{

        border-radius:20px;

    }

    .login-right{

        padding:30px;

    }

    .login-right h2{

        font-size:32px;

    }

    .input-box input{

        height:55px;

        font-size:15px;

    }

    .btn-login{

        height:55px;

    }

    .login-options{

        flex-direction:column;

        gap:15px;

        align-items:flex-start;

    }

}