
/*------------------------------------
# login css
------------*/


/* =====================================
   RESET
===================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;

    background: #f6f8fc;

    color: #172033;
}


/* =====================================
   PAGE BACKGROUND
===================================== */

.login-page {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 40px 20px;

    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(214, 228, 255, 0.65),
            transparent 30%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(226, 235, 255, 0.7),
            transparent 30%
        ),
        #f7f9fc;
}


/* =====================================
   MAIN LOGIN CARD
===================================== */

.login-box {

    width: 100%;

    max-width: 1000px;

    min-height: 570px;

    display: grid;

    grid-template-columns: 42% 58%;

    background: #ffffff;

    border: 1px solid #e8ecf3;

    border-radius: 24px;

    overflow: hidden;

    box-shadow:
        0 20px 60px rgba(28, 45, 75, 0.09);
}


/* =====================================
   LEFT BRANDING
===================================== */

.login-left {

    position: relative;

    padding: 50px 45px;

    background:
        linear-gradient(
            150deg,
            #eef4ff 0%,
            #f4f7fd 55%,
            #e9f0ff 100%
        );

    border-right: 1px solid #e6ebf3;

    overflow: hidden;
}


/* Decorative circles */

.login-left::before {

    content: "";

    position: absolute;

    width: 270px;

    height: 270px;

    border-radius: 50%;

    background: rgba(255,255,255,.7);

    top: -120px;

    right: -100px;
}

.login-left::after {

    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    border-radius: 50%;

    border: 1px solid #dbe5f7;

    bottom: -160px;

    left: -120px;
}


/* =====================================
   LOGO
===================================== */

.academy-logo {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    margin-bottom: 75px;
}

.academy-logo span {

    font-size: 20px;

    line-height: 1.50;

    font-weight: 700;

    color: #172033;
}


/* =====================================
   LEFT CONTENT
===================================== */

.left-content {

    position: relative;

    z-index: 2;
}

.left-content .small-title {

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: #71809b;

    margin-bottom: 15px;
}

.left-content h2 {

    font-size: 38px;

    line-height: 1.15;

    letter-spacing: -1px;

    color: #172033;

    margin-bottom: 20px;
}

.left-content h2 span {

    color: #315bb5;
}

.left-content p {

    max-width: 350px;

    font-size: 14px;

    line-height: 1.8;

    color: #69758b;
}


/* =====================================
   LEFT INFORMATION
===================================== */

.left-info {

    position: relative;

    z-index: 2;

    margin-top: 40px;

    padding-top: 25px;

    border-top: 1px solid #dfe6f2;

    color: #68758b;

    font-size: 13px;

    line-height: 1.7;
}


/* =====================================
   RIGHT LOGIN FORM
===================================== */

.login-right {

    padding: 55px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background: #ffffff;
}


/* =====================================
   HEADER
===================================== */

.form-header {

    margin-bottom: 30px;
}

.form-header h1 {

    font-size: 29px;

    font-weight: 750;

    color: #151d2d;

    letter-spacing: -.6px;

    margin-bottom: 7px;
}

.form-header p {

    color: #7b8496;

    font-size: 13px;
}


/* =====================================
   FORM
===================================== */

.form-group {

    margin-bottom: 20px;
}

.form-group label {

    display: block;

    margin-bottom: 8px;

    font-size: 12px;

    font-weight: 700;

    color: #3d4759;
}


/* =====================================
   INPUT BOX
===================================== */

.input-box {

    position: relative;
}

.input-box .icon {

    position: absolute;

    left: 15px;

    top: 50%;

    transform: translateY(-50%);

    color: #9aa4b5;

    font-size: 13px;

    z-index: 2;
}

.form-control {

    width: 100%;

    height: 51px;

    padding: 0 48px 0 42px;

    border-radius: 10px;

    border: 1px solid #dfe4ec;

    background: #fbfcfe;

    color: #182235;

    font-size: 14px;

    outline: none;

    transition: all .2s ease;
}

.form-control::placeholder {

    color: #a5adbb;
}

.form-control:hover {

    border-color: #cbd3df;

    background: #ffffff;
}

.form-control:focus {

    border-color: #6d8fd2;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(109,143,210,.10);
}

.input-box:focus-within .icon {

    color: #315bb5;
}


/* =====================================
   PASSWORD EYE
===================================== */

.eye-btn {

    position: absolute;

    right: 14px;

    top: 50%;

    transform: translateY(-50%);

    border: none;

    background: transparent;

    color: #8d97a8;

    cursor: pointer;

    font-size: 13px;
}

.eye-btn:hover {

    color: #315bb5;
}


/* =====================================
   FORGOT PASSWORD
===================================== */

.forgot-row {

    display: flex;

    justify-content: flex-end;

    margin-top: -7px;

    margin-bottom: 5px;
}

.forgot-row a {

    font-size: 12px;

    color: #315bb5;

    font-weight: 600;

    text-decoration: none;
}

.forgot-row a:hover {

    text-decoration: underline;
}


/* =====================================
   LOGIN BUTTON
===================================== */

.login-btn {

    width: 100%;

    height: 51px;

    margin-top: 18px;

    border: 1px solid #315bb5;

    border-radius: 10px;

    background: #315bb5;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 8px 18px rgba(49,91,181,.16);

    transition: all .2s ease;
}

.login-btn:hover {

    background: #274f9f;

    border-color: #274f9f;

    transform: translateY(-1px);

    box-shadow:
        0 11px 23px rgba(49,91,181,.20);
}


/* =====================================
   REGISTER LINK
===================================== */

.register-link {

    text-align: center;

    margin-top: 23px;

    padding-top: 20px;

    border-top: 1px solid #edf0f4;

    font-size: 13px;

    color: #7e8798;
}

.register-link a {

    color: #315bb5;

    font-weight: 700;

    text-decoration: none;

    margin-left: 4px;
}

.register-link a:hover {

    text-decoration: underline;
}


/* =====================================
   ALERT
===================================== */

.alert {

    padding: 11px 14px;

    margin-bottom: 18px;

    border-radius: 9px;

    font-size: 13px;

    text-align: center;
}

.alert.error {

    color: #9f2f2f;

    background: #fff5f5;

    border: 1px solid #f4dcdc;
}


/* =====================================
   MOBILE
===================================== */

@media(max-width: 850px) {

    .login-box {

        grid-template-columns: 1fr;

        max-width: 550px;

        min-height: auto;
    }

    .login-left {

        display: none;
    }

    .login-right {

        padding: 45px 35px;
    }
}


@media(max-width: 550px) {

    .login-page {

        padding: 20px 12px;
    }

    .login-box {

        border-radius: 18px;
    }

    .login-right {

        padding: 32px 20px;
    }

    .form-header h1 {

        font-size: 25px;
    }
}

