/* =====================================================
   LOGIN CORI
   DISEÑO PASTEL - VERSION FINAL
===================================================== */


/* =====================================================
   RESET
===================================================== */

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


/* =====================================================
   BODY
===================================================== */

body {

    font-family: "Century Gothic", "Avenir", Arial, sans-serif;

}


/* =====================================================
   FONDO LOGIN
===================================================== */

.login-background {

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 30px;

    background:
        linear-gradient(
            135deg,
            #DDB7F4 0%,
            #CDBAF4 22%,
            #BFC5F5 48%,
            #B3C8F5 72%,
            #AFC3F1 100%
        );

}


/* =====================================================
   TARJETA PRINCIPAL
===================================================== */

.login-card {

    width: 1080px;

    max-width: 100%;

    min-height: 560px;

    background: #FFFFFF;

    border-radius: 28px;

    display: flex;

    overflow: hidden;

    box-shadow:
        0 25px 60px rgba(57, 48, 91, .16);

}


/* =====================================================
   BRANDING CORI
===================================================== */

.login-brand {

    width: 50%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    padding: 45px;

}


/* =====================================================
   LOGO
===================================================== */

.logo-cori {

    width: 290px;

    max-width: 90%;

}


/* =====================================================
   DESCRIPCIÓN
===================================================== */

.brand-description {

    margin-top: 28px;

    font-size: 15px;

    color: #718096;

    letter-spacing: 1px;

    text-align: center;

}


/* =====================================================
   FORMULARIO
===================================================== */

.login-form-container {

    width: 50%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 65px;

}


/* =====================================================
   TITULO
===================================================== */

.login-form-container h1 {

    color: #314B83;

    font-size: 36px;

    font-weight: 700;

    margin-bottom: 10px;

}


/* =====================================================
   SUBTITULO
===================================================== */

.subtitle {

    color: #8290B2;

    font-size: 16px;

    margin-bottom: 42px;

}


/* =====================================================
   GRUPO DE CAMPOS
===================================================== */

.input-group {

    margin-bottom: 22px;

}


/* =====================================================
   LABEL
===================================================== */

.input-group label {

    display: block;

    margin-bottom: 8px;

    font-size: 14px;

    font-weight: 600;

    color: #2D3748;

}


/* =====================================================
   INPUTS
===================================================== */

.input-group input {

    width: 100%;

    height: 54px;

    border: 1px solid transparent;

    border-radius: 30px;

    background: #F3F5FA;

    padding: 0 22px;

    font-size: 15px;

    color: #2D3748;

    outline: none;

    transition: all .25s ease;

}


/* =====================================================
   INPUT HOVER
===================================================== */

.input-group input:hover {

    background: #EEF1F8;

}


/* =====================================================
   INPUT FOCUS
===================================================== */

.input-group input:focus {

    background: #FFFFFF;

    border-color: #B9C8ED;

    box-shadow:
        0 0 0 3px rgba(180, 196, 237, .25);

}


/* =====================================================
   PLACEHOLDER
===================================================== */

.input-group input::placeholder {

    color: #8A91A3;

}


/* =====================================================
   BOTON LOGIN
===================================================== */

.btn-login {

    width: 100%;

    height: 54px;

    border: none;

    border-radius: 30px;

    background: #31578D;

    color: #FFFFFF;

    font-size: 15px;

    font-weight: 700;

    letter-spacing: 1px;

    cursor: pointer;

    transition: all .25s ease;

}


/* =====================================================
   BOTON HOVER
===================================================== */

.btn-login:hover {

    background: #416FAE;

    transform: translateY(-2px);

    box-shadow:
        0 8px 18px rgba(49, 87, 141, .20);

}


/* =====================================================
   BOTON ACTIVE
===================================================== */

.btn-login:active {

    transform: translateY(0);

    box-shadow: none;

}


/* =====================================================
   SEGURIDAD
===================================================== */

.login-form-container::after {

    content:
        "Acceso seguro y protegido\A Tu información está protegida";

    white-space: pre;

    text-align: center;

    margin-top: 35px;

    color: #8994B0;

    font-size: 13px;

    line-height: 22px;

}


/* =====================================================
   ERROR LOGIN
===================================================== */

.login-error {

    background: #FDECEC;

    color: #C53030;

    padding: 12px;

    border-radius: 12px;

    margin-bottom: 20px;

    font-size: 14px;

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .login-card {

        flex-direction: column;

    }


    .login-brand,
    .login-form-container {

        width: 100%;

    }


    .login-brand {

        padding: 40px 30px 20px;

    }


    .login-form-container {

        padding: 40px;

    }


    .logo-cori {

        width: 220px;

    }

}


/* =====================================================
   RESPONSIVE MOVIL
===================================================== */

@media (max-width: 576px) {

    .login-background {

        padding: 18px;

    }


    .login-card {

        border-radius: 22px;

        min-height: auto;

    }


    .login-brand {

        padding: 35px 25px 15px;

    }


    .login-form-container {

        padding: 30px 25px 35px;

    }


    .login-form-container h1 {

        font-size: 30px;

    }


    .subtitle {

        margin-bottom: 30px;

    }


    .logo-cori {

        width: 190px;

    }

}