/*==================================================
RESET
==================================================*/

* {
    margin: 0;
    padding:0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #edf4ff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    overflow: hidden;
}

/*==================================================
CONTENEDOR
==================================================*/

.container {

    width: 900px;
    max-width: 95%;
    min-height: 560px;
    height: 500px;
    display: flex;

    background: #fff;

    border-radius: 28px;

    overflow: hidden;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .18);

}

/*==================================================
PANEL IZQUIERDO
==================================================*/

.left {

    width: 45%;

    position: relative;

    background:
        linear-gradient(rgba(11, 114, 231, .94), rgba(11, 114, 231, .94)),
        url("../img/banner.png");

    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #fff;

    padding: 60px 40px;

}

.left::after {

    content: "";

    position: absolute;

    top: -70px;

    right: -75px;

    width: 150px;

    height: 820px;

    background: #fff;

    border-radius: 50%;

}

.overlay {

    width: 100%;

    max-width: 340px;

    position: relative;

    z-index: 2;

}

/*==================================================
LOGO
==================================================*/
.logo {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    margin-bottom: 45px;

}

.logo i {

    width: 80px;
    height: 80px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .18);
    border-radius: 50%;

    background: #fff;

    color: #0b72e7;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 34px;

    margin-bottom: 18px;

}

.logo h1 {

    font-size: 35px;

    font-weight: 700;

    line-height: 1.1;

    margin: 0;

}

.logo h2 {

    font-size: 22px;

    font-weight: 400;

    letter-spacing: 2px;

    margin-top: 6px;

}

/*==================================================
BIENVENIDA
==================================================*/
.welcome {

    margin-top: 50px;

}

.welcome h1 {

    font-size: 38px;

    margin-bottom: 15px;

}

.welcome p {

    max-width: 250px;

    line-height: 30px;

}

/*==================================================
BOTON VOLVER
==================================================*/

.btn-back {

    margin-top: 2rem;

    position: relative;

    overflow: hidden;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    padding: 13px 26px;

    background: linear-gradient(135deg,
            #1d79c4 0%,
            #0b72e7 55%,
            #0755b9 100%);

    color: #fff;

    text-decoration: none;

    border-radius: 50px;

    font-size: 17px;

    font-weight: 600;

    transition: .35s ease;

    box-shadow:
        0 8px 18px rgba(11, 114, 231, .22),
        0 2px 6px rgba(0, 0, 0, .10);

}

.btn-back::before {

    content: "";

    position: absolute;

    top: -40%;

    left: -80px;

    width: 35px;

    height: 180%;

    background: rgba(255, 255, 255, .75);

    transform: rotate(25deg);

    filter: blur(2px);

}

.btn-back:hover::before {

    animation: shine .45s linear;

}

@keyframes shine {

    from {

        left: -80px;

    }

    to {

        left: calc(100% + 80px);

    }

}

.btn-back:hover {

    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(11, 114, 231, .35),
        0 4px 10px rgba(0, 0, 0, .12);

}

.icon-circle {

    width: 32px;

    height: 32px;

    border-radius: 50%;

    background: #fff;

    color: #0b72e7;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 14px;

    flex-shrink: 0;

}

.arrow {

    margin-left: 6px;

    transition: .3s;

}

.btn-back:hover .arrow {

    transform: translateX(5px);

}

/*==================================================
PANEL DERECHO
==================================================*/

.right {

    width: 60%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 35px 40px;

    position: relative;

    z-index: 5;

}

.right h1 {

    font-size: 30px;

    color: #1b1b1b;

    text-align: center;

    font-weight: 750;

    margin-bottom: 10px;

    letter-spacing: -1px;

}

.right p {

    text-align: center;

    color: #777;

    font-size: 16px;

    margin-bottom: 35px;

}

/*==================================================
ICONOS SOCIALES
==================================================*/

.social {

    display: flex;

    justify-content: center;

    gap: 15px;

    margin-bottom: 25px;

}

.social i {

    width: 48px;

    height: 48px;

    border: 1px solid #d9d9d9;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    cursor: pointer;

    color: #555;

    font-size: 20px;

    background: #fff;

    transition: .35s;

}

.social i:hover {

    background: #0b72e7;

    color: #fff;

    border-color: #0b72e7;

    transform: translateY(-4px);

}

/*==================================================
LINEA
==================================================*/

.linea {

    display: flex;

    align-items: center;

    margin-bottom: 28px;

}

.linea::before,
.linea::after {

    content: "";

    flex: 1;

    height: 1px;

    background: #ddd;

}

.linea span {

    padding: 0 15px;

    color: #777;

    font-size: 14px;

}

/*==================================================
INPUTS
==================================================*/

.input-box {

    position: relative;

    margin-bottom: 20px;

}

.input-box input {

    width: 100%;

    height: 48px;

    border: 1px solid #ddd;

    border-radius: 12px;

    padding-left: 52px;

    padding-right: 52px;

    background: #fafafa;

    font-size: 15px;

    transition: .3s;

}

.input-box input:focus {

    outline: none;

    border-color: #0b72e7;

    background: #fff;

    box-shadow: 0 0 0 4px rgba(11, 114, 231, .15);

}

.input-box i:first-child {

    position: absolute;

    left: 18px;

    top: 50%;

    transform: translateY(-50%);

    color: #888;

    font-size: 18px;

}

.eye {

    position: absolute;

    right: 18px;

    top: 50%;

    transform: translateY(-50%);

    cursor: pointer;

    color: #888;

    transition: .3s;

}

.eye:hover {

    color: #0b72e7;

}

/*==================================================
OPCIONES
==================================================*/

.options {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin: 10px 0 25px;

    font-size: 14px;

}


/*==================================================
BOTON LOGIN
==================================================*/

.btn-login {
    margin-top: 4rem;
    width: 100%;

    height: 50px;

    border: none;

    border-radius: 14px;

    background: linear-gradient(135deg, #0b72e7, #0052d6);

    color: #fff;

    font-size: 17px;

    font-weight: bold;

    cursor: pointer;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    transition: .35s;

    box-shadow: 0 12px 25px rgba(11, 114, 231, .25);

}

.btn-login:hover {

    transform: translateY(-3px);

    box-shadow: 0 18px 35px rgba(11, 114, 231, .35);

}

.btn-login:active {

    transform: scale(.98);

}





















/*==================================================
RESPONSIVE CELULARES
==================================================*/

@media(max-width:950px){

    body{

        padding:18px;
        overflow-x:hidden;
        overflow-y:auto;

    }


    .container{

        width:100%;
        max-width:500px;
        height:auto;
        min-height:auto;
        flex-direction:column;

        border-radius:25px;

    }


    .left{

        width:100%;
        min-height:330px;

        padding:40px 25px;
        overflow: hidden;

    }

    .left::after {

    display: none;

}
.left::after {

    display:block;

    top:auto;

    right:auto;

    bottom:-70px;

    left:-10%;

    width:120%;

    height:140px;

    border-radius:50% 50% 0 0;

}

    .overlay{

        width:100%;
        text-align:center;

    }


    .logo{

        align-items:center;
        margin-bottom:30px;

    }


    .welcome{

        margin-top:25px;

    }


    .welcome p{

        margin:auto;

    }


    .btn-back{

        margin-top:25px;
        

    }


    .right{

        width:100%;

        padding:35px 25px 45px;

    }


    .btn-login{

        margin-top:2rem;

    }

}



@media(max-width:600px){


    body{

        padding:20px 15px;
        

    }


    .container{

    width:100%;

    max-width:420px;

    border-radius:22px;

}


    .left{

        min-height:auto;

        padding:35px 20px;

    }


    .logo i{

        width:65px;
        height:65px;
        font-size:28px;

    }


    .logo h1{

        font-size:30px;

    }


    .logo h2{

        font-size:18px;

    }


    .welcome h1{

        font-size:30px;

    }


    .welcome p{

        font-size:14px;
        line-height:24px;

    }


    .btn-back{

        width:100%;
        max-width:260px;

        font-size:15px;

    }


    .right h1{

        font-size:26px;

    }


    .right p{

        font-size:14px;

        margin-bottom:25px;

    }


    .social i{

        width:45px;
        height:45px;

    }


    .input-box input{

        height:46px;

        font-size:14px;

    }


}

