/* =========================================================
   XLMS ALUMNI PORTAL
   LOGIN PAGE
========================================================= */


* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


:root {

    --xl-black: #080b10;

    --xl-black-2: #0c1016;

    --xl-card: #11161d;

    --xl-input: #090d12;

    --xl-blue: #1675c8;

    --xl-blue-light: #238bdc;

    --xl-orange: #f4a900;

    --xl-orange-hover: #ffb719;

    --xl-white: #ffffff;

    --xl-muted: #8f969f;

    --xl-border:
        rgba(255, 255, 255, 0.11);

}


html {

    min-height: 100%;

}


body {

    min-height: 100vh;

    font-family:
        "Poppins",
        Arial,
        sans-serif;

    background:
        var(--xl-black);

    color:
        var(--xl-white);

    -webkit-font-smoothing:
        antialiased;

}


button,
input {

    font-family: inherit;

}


a {

    color: inherit;

    text-decoration: none;

}



/* =========================================================
   MAIN LOGIN PAGE
========================================================= */

.login-page {

    min-height: 100vh;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 5% 35%,
            rgba(22, 117, 200, 0.07),
            transparent 22%
        ),

        radial-gradient(
            circle at 96% 80%,
            rgba(244, 169, 0, 0.04),
            transparent 23%
        ),

        #080b10;

}



/* =========================================================
   BACKGROUND CIRCLES
========================================================= */

.login-page::before {

    content: "";

    position: absolute;

    width: 590px;

    height: 590px;

    border:
        1px solid
        rgba(255, 255, 255, 0.025);

    border-radius: 50%;

    left: -290px;

    top: 115px;

}


.login-page::after {

    content: "";

    position: absolute;

    width: 650px;

    height: 650px;

    border:
        1px solid
        rgba(255, 255, 255, 0.025);

    border-radius: 50%;

    right: -430px;

    bottom: -350px;

}



/* =========================================================
   MAIN WRAPPER
========================================================= */

.login-wrapper {

    position: relative;

    z-index: 2;

    width:
        min(1120px, 92%);

    display: grid;

    grid-template-columns:
        1fr 440px;

    gap: 100px;

    align-items: center;

}



/* =========================================================
   LEFT SIDE
========================================================= */

.login-intro {

    max-width: 590px;

}


.logo-container {

    margin-bottom: 20px;

}


.xl-logo {

    width: 205px;

    max-width: 100%;

    height: auto;

    display: block;

}



/* =========================================================
   INTRO CONTENT
========================================================= */

.intro-content {

    max-width: 590px;

}


.section-tag {

    display: inline-block;

    margin-bottom: 20px;

    color:
        var(--xl-orange);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2.3px;

}


.login-intro h1 {

    font-size:
        clamp(40px, 4.2vw, 61px);

    line-height: 1.17;

    font-weight: 700;

    letter-spacing: -1.8px;

    color:
        #ffffff;

}


.login-intro h1 span {

    display: block;

    color:
        var(--xl-orange);

}


.login-intro p {

    max-width: 550px;

    margin-top: 27px;

    color:
        #9299a2;

    font-size: 14px;

    line-height: 1.9;

}


.intro-line {

    width: 62px;

    height: 3px;

    background:
        var(--xl-orange);

    margin-top: 34px;

}



/* =========================================================
   INTRO POINTS
========================================================= */

.intro-points {

    display: flex;

    gap: 70px;

    margin-top: 48px;

}


.intro-point {

    display: flex;

    align-items: flex-start;

    gap: 14px;

}


.point-number {

    width: 45px;

    height: 45px;

    flex-shrink: 0;

    border:
        1px solid
        rgba(244, 169, 0, 0.50);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color:
        var(--xl-orange);

    font-size: 10px;

    font-weight: 600;

}


.point-content strong {

    display: block;

    margin-top: 1px;

    margin-bottom: 5px;

    color:
        #ffffff;

    font-size: 12px;

    font-weight: 600;

}


.point-content small {

    display: block;

    max-width: 170px;

    color:
        #6f7781;

    font-size: 10px;

    line-height: 1.6;

}



/* =========================================================
   LOGIN CARD
========================================================= */

.login-box {

    width: 100%;

    padding:
        45px 45px 35px;

    background:

        linear-gradient(
            145deg,
            #151a22,
            #0d1117
        );

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 4px;

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.40);

}



/* =========================================================
   LOGIN HEADING
========================================================= */

.login-heading {

    margin-bottom: 29px;

}


.login-heading > span {

    display: block;

    margin-bottom: 10px;

    color:
        var(--xl-orange);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;

}


.login-heading h2 {

    color:
        #ffffff;

    font-size: 31px;

    font-weight: 700;

    line-height: 1.2;

}


.login-heading p {

    margin-top: 8px;

    color:
        #737b85;

    font-size: 11px;

}



/* =========================================================
   ERROR MESSAGE
========================================================= */

.login-error {

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        11px 12px;

    margin-bottom: 20px;

    border:
        1px solid
        rgba(220, 70, 70, 0.28);

    border-radius: 3px;

    background:
        rgba(180, 40, 40, 0.08);

    color:
        #ff9d9d;

    font-size: 10px;

}


.error-icon {

    width: 20px;

    height: 20px;

    flex-shrink: 0;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        #a93131;

    color:
        #ffffff;

    font-size: 11px;

    font-weight: 700;

}



/* =========================================================
   FORM
========================================================= */

.form-group {

    margin-bottom: 20px;

}


.form-group label {

    display: block;

    margin-bottom: 8px;

    color:
        #d7d9dc;

    font-size: 11px;

    font-weight: 500;

}


.input-container {

    position: relative;

}


.input-container input {

    width: 100%;

    height: 48px;

    padding:
        0 45px;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 3px;

    outline: none;

    background:
        var(--xl-input);

    color:
        #ffffff;

    font-size: 11px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;

}


.input-container input::placeholder {

    color:
        #5d6670;

}


.input-container input:focus {

    border-color:
        var(--xl-blue);

    box-shadow:
        0 0 0 3px
        rgba(22, 117, 200, 0.09);

}


.input-icon {

    position: absolute;

    left: 15px;

    top: 50%;

    transform:
        translateY(-50%);

    width: 17px;

    height: 17px;

    color:
        #6c747e;

    pointer-events: none;

}


.input-icon svg {

    width: 100%;

    height: 100%;

}



/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.password-toggle {

    position: absolute;

    right: 14px;

    top: 50%;

    transform:
        translateY(-50%);

    width: 18px;

    height: 18px;

    padding: 0;

    border: 0;

    outline: none;

    background: transparent;

    color:
        #727a84;

    cursor: pointer;

}


.password-toggle:hover {

    color:
        var(--xl-blue-light);

}


.password-toggle svg {

    width: 100%;

    height: 100%;

}


.password-toggle .eye-hide {

    display: none;

}


.password-toggle.active .eye-show {

    display: none;

}


.password-toggle.active .eye-hide {

    display: block;

}



/* =========================================================
   REMEMBER ME
========================================================= */

.login-options {

    display: flex;

    align-items: center;

    margin-top: 2px;

    margin-bottom: 23px;

}


.remember-option {

    display: flex;

    align-items: center;

    gap: 7px;

    color:
        #777f89;

    font-size: 10px;

    cursor: pointer;

    user-select: none;

}


.remember-option input {

    position: absolute;

    opacity: 0;

}


.custom-checkbox {

    width: 15px;

    height: 15px;

    border:
        1px solid
        #535b64;

    border-radius: 2px;

    position: relative;

}


.remember-option input:checked
+ .custom-checkbox {

    background:
        var(--xl-blue);

    border-color:
        var(--xl-blue);

}


.remember-option input:checked
+ .custom-checkbox::after {

    content: "";

    position: absolute;

    width: 4px;

    height: 7px;

    left: 4px;

    top: 2px;

    border:
        solid #ffffff;

    border-width:
        0 1px 1px 0;

    transform:
        rotate(45deg);

}



/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-button {

    width: 100%;

    height: 48px;

    border: 0;

    border-radius: 2px;

    background:
        var(--xl-orange);

    color:
        #111111;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    cursor: pointer;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.2px;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.login-button:hover {

    background:
        var(--xl-orange-hover);

    transform:
        translateY(-1px);

    box-shadow:
        0 8px 25px
        rgba(244, 169, 0, 0.18);

}


.login-button:active {

    transform:
        translateY(0);

}


.login-button.loading {

    opacity: 0.65;

    pointer-events: none;

}


.button-arrow {

    font-size: 18px;

    line-height: 1;

}



/* =========================================================
   CONTACT / PASSWORD HELP
========================================================= */

.login-bottom {

    margin-top: 28px;

    text-align: center;

}


.bottom-line {

    width: 100%;

    height: 1px;

    margin-bottom: 18px;

    background:
        rgba(255, 255, 255, 0.07);

}


.login-bottom p {

    margin-bottom: 5px;

    color:
        #737a83;

    font-size: 9px;

}


.support-text {

    color:
        #626a74;

    font-size: 9px;

    line-height: 1.7;

}


.support-text a {

    color:
        var(--xl-blue-light);

    font-weight: 500;

}


.support-text a:hover {

    color:
        #55aaf0;

}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {


    .login-wrapper {

        grid-template-columns:
            1fr 400px;

        gap: 45px;

    }


    .login-intro h1 {

        font-size: 42px;

    }


    .intro-points {

        gap: 25px;

    }


    .logo-container {

        margin-bottom: 65px;

    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {


    .login-page {

        min-height: 100vh;

        padding:
            45px 18px;

    }


    .login-wrapper {

        width: 100%;

        display: block;

    }


    .login-intro {

        max-width: 500px;

        margin:
            0 auto 40px;

        text-align: center;

    }


    .logo-container {

        margin-bottom: 50px;

        display: flex;

        justify-content: center;

    }


    .xl-logo {

        width: 175px;

    }


    .login-intro h1 {

        font-size: 31px;

        letter-spacing: -0.8px;

    }


    .login-intro h1 span {

        display: inline;

    }


    .login-intro p {

        margin-top: 18px;

        font-size: 11px;

        line-height: 1.8;

    }


    .intro-line {

        width: 45px;

        margin:
            23px auto 0;

    }


    .intro-points {

        display: none;

    }


    .login-box {

        width: 100%;

        max-width: 450px;

        margin: auto;

        padding:
            32px 25px 27px;

    }


    .login-heading h2 {

        font-size: 27px;

    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {


    .login-page {

        padding:
            35px 14px;

    }


    .login-intro {

        margin-bottom: 30px;

    }


    .logo-container {

        margin-bottom: 40px;

    }


    .xl-logo {

        width: 160px;

    }


    .login-intro h1 {

        font-size: 27px;

    }


    .login-intro p {

        font-size: 10px;

    }


    .login-box {

        padding:
            28px 20px 25px;

    }


    .login-heading h2 {

        font-size: 25px;

    }


    .login-options {

        margin-bottom: 20px;

    }

}
