/* =========================================================
   INTELLISTUDENT UNIVERSITY LOGIN
   ========================================================= */

.university-login-page {
    position: relative;

    width: 100%;
    min-height: 100vh;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    background: #0b1d31;
}


/* =========================================================
   BACKGROUND IMAGE
   ========================================================= */

.university-background {
    position: absolute;

    inset: 0;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    transform: scale(1.02);

    z-index: 0;

    animation: backgroundZoom 1.3s ease-out both;
}


/* =========================================================
   DARK OVERLAY
   ========================================================= */

.university-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(4, 25, 47, 0.88) 0%,
            rgba(5, 34, 61, 0.72) 34%,
            rgba(5, 20, 39, 0.42) 60%,
            rgba(2, 10, 20, 0.76) 100%
        );

    pointer-events: none;
}


/* =========================================================
   HEADER
   ========================================================= */

.university-header {
    position: relative;

    z-index: 5;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        1rem 5vw;

    border-bottom:
        1px solid
        rgba(255,255,255,.14);

    background:
        rgba(4, 25, 46, .38);

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);
}


.university-brand {
    display: flex;

    align-items: center;

    gap: 13px;

    color: white;
}


.university-logo {
    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background:
        rgba(255,255,255,.12);

    border:
        1px solid
        rgba(255,255,255,.20);

    color:
        #f5ca5d;

    font-size:
        1.25rem;
}


.brand-name {
    font-size:
        1.12rem;

    font-weight:
        800;
}


.brand-subtitle {
    font-size:
        .74rem;

    color:
        rgba(255,255,255,.68);
}


.university-header-right {
    color:
        rgba(255,255,255,.67);

    font-size:
        .72rem;

    font-weight:
        600;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.university-login-main {
    position: relative;

    z-index: 4;

    flex: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(360px, 470px);

    align-items: center;

    gap: 6vw;

    padding:
        4rem 5vw;
}


/* =========================================================
   LEFT INTRODUCTION
   ========================================================= */

.university-introduction {
    max-width:
        700px;

    color:
        white;

    animation:
        introductionEnter
        .85s
        ease-out
        both;
}


.introduction-badge {
    display:
        inline-flex;

    padding:
        .5rem .9rem;

    margin-bottom:
        1.3rem;

    border:
        1px solid
        rgba(245,202,93,.35);

    border-radius:
        50px;

    background:
        rgba(245,202,93,.09);

    color:
        #f5ca5d;

    font-size:
        .7rem;

    font-weight:
        800;

    letter-spacing:
        .15em;
}


.university-introduction h1 {
    margin:
        0;

    font-size:
        clamp(2.7rem, 5vw, 5rem);

    line-height:
        1.02;

    letter-spacing:
        -.045em;

    font-weight:
        800;
}


.university-introduction h1 {
    color: #ffffff;
}

.university-introduction h1 span {
    display: block;
    color: #f5ca5d;
}

.university-introduction > p {
    max-width:
        620px;

    margin:
        1.5rem 0;

    color:
        rgba(255,255,255,.78);

    font-size:
        1.02rem;

    line-height:
        1.75;
}


.introduction-line {
    width:
        75px;

    height:
        4px;

    margin:
        1.6rem 0;

    border-radius:
        10px;

    background:
        #f5ca5d;
}


.introduction-features {
    display:
        grid;

    grid-template-columns:
        repeat(2, minmax(180px, 1fr));

    gap:
        .9rem 1.5rem;
}


.feature-item {
    display:
        flex;

    align-items:
        center;

    gap:
        .6rem;

    color:
        rgba(255,255,255,.78);

    font-size:
        .84rem;
}


.feature-item i {
    color:
        #f5ca5d;

    font-size:
        1rem;
}


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

.university-login-card {
    width:
        100%;

    max-width:
        470px;

    justify-self:
        end;

    animation:
        loginCardEnter
        .85s
        .12s
        ease-out
        both;
}


.login-card-body {
    padding: 2.35rem;

    background: transparent;

    border: none;

    border-radius: 0;

    box-shadow: none;

    backdrop-filter: none;

    -webkit-backdrop-filter: none;
}

/* =========================================================
   CARD HEADING
   ========================================================= */

.login-card-heading {
    display:
        flex;

    align-items:
        flex-start;

    gap:
        1rem;

    margin-bottom:
        1.6rem;
}


.login-icon {
    flex:
        0 0 auto;

    width:
        55px;

    height:
        55px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        15px;

    background:
        #0b2d52;

    color:
        #f5ca5d;

    font-size:
        1.45rem;
}


.login-label {
    margin-bottom:
        .25rem;

    color:
        #ac7e16;

    font-size:
        .68rem;

    font-weight:
        800;

    letter-spacing:
        .15em;
}


.login-card-heading h2 {
    margin:
        0;

    color:
        #102a47;

    font-size:
        2rem;

    font-weight:
        800;

    letter-spacing:
        -.035em;
}


.login-card-heading p {
    margin:
        .45rem 0 0;

    color:
        #758398;

    font-size:
        .85rem;

    line-height:
        1.5;
}


/* =========================================================
   ALERTS
   ========================================================= */

.login-alert {
    border-radius:
        12px;

    margin-bottom:
        1rem;
}


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

.university-field {
    margin-bottom:
        1.15rem;
}


.university-field label {
    display:
        block;

    margin-bottom:
        .5rem;

    color:
        #26384e;

    font-size:
        .84rem;

    font-weight:
        700;
}


.modern-input {
    position:
        relative;
}


.modern-input > i {
    position:
        absolute;

    top:
        50%;

    left:
        16px;

    transform:
        translateY(-50%);

    color:
        #8795a7;

    z-index:
        2;
}


.modern-input input {
    width:
        100%;

    height:
        53px;

    padding:
        0 45px;

    border:
        1px solid
        #d9e1e9;

    border-radius:
        12px;

    background:
        #f8fafc;

    color:
        #192a3f;

    outline:
        none;

    font-size:
        .88rem;

    transition:
        border-color .22s ease,
        box-shadow .22s ease,
        background .22s ease;
}


.modern-input input::placeholder {
    color:
        #a6b0bd;
}


.modern-input input:focus {
    background:
        white;

    border-color:
        #ba8b1c;

    box-shadow:
        0 0 0 4px
        rgba(186,139,28,.10);
}


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

.password-toggle {
    position:
        absolute;

    right:
        12px;

    top:
        50%;

    transform:
        translateY(-50%);

    padding:
        6px;

    border:
        none;

    background:
        transparent;

    color:
        #8592a4;

    cursor:
        pointer;
}


.password-toggle:hover {
    color:
        #0b2d52;
}


/* =========================================================
   OPTIONS
   ========================================================= */

.login-options {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        1rem;

    margin:
        .35rem 0 1.45rem;
}


.login-options .form-check-label {
    color:
        #68778a;

    font-size:
        .82rem;
}


.login-options a {
    color:
        #0b5ba8;

    text-decoration:
        none;

    font-size:
        .82rem;

    font-weight:
        600;
}


.login-options a:hover {
    color:
        #073f78;
}


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

.university-login-button {
    width:
        100%;

    height:
        55px;

    border:
        none;

    border-radius:
        12px;

    background:
        #0b2d52;

    color:
        white;

    font-size:
        .95rem;

    font-weight:
        800;

    cursor:
        pointer;

    box-shadow:
        0 12px 30px
        rgba(11,45,82,.20);

    transition:
        transform .2s ease,
        background .25s ease,
        box-shadow .25s ease;
}


.university-login-button:hover {
    background:
        #154875;

    transform:
        translateY(-2px);

    box-shadow:
        0 16px 38px
        rgba(11,45,82,.27);
}


/* =========================================================
   REGISTER
   ========================================================= */

.register-section {
    text-align:
        center;

    margin-top:
        1.45rem;

    color:
        #7f8c9e;

    font-size:
        .84rem;
}


.register-section a {
    margin-left:
        .25rem;

    color:
        #0b5ba8;

    font-weight:
        700;

    text-decoration:
        none;
}


.secure-access {
    display:
        flex;

    justify-content:
        center;

    align-items:
        center;

    gap:
        .35rem;

    margin-top:
        1.4rem;

    color:
        #9ca7b4;

    font-size:
        .7rem;
}


.secure-access i {
    color:
        #41845b;
}


/* =========================================================
   FOOTER
   ========================================================= */

.university-footer {
    position:
        relative;

    z-index:
        5;

    display:
        flex;

    justify-content:
        space-between;

    padding:
        .9rem 5vw;

    border-top:
        1px solid
        rgba(255,255,255,.10);

    background:
        rgba(4,20,37,.42);

    backdrop-filter:
        blur(10px);

    color:
        rgba(255,255,255,.57);

    font-size:
        .7rem;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes backgroundZoom {

    from {
        opacity:
            0;

        transform:
            scale(1.08);
    }

    to {
        opacity:
            1;

        transform:
            scale(1.02);
    }

}


@keyframes introductionEnter {

    from {
        opacity:
            0;

        transform:
            translateX(-30px);
    }

    to {
        opacity:
            1;

        transform:
            translateX(0);
    }

}


@keyframes loginCardEnter {

    from {
        opacity:
            0;

        transform:
            translateX(35px)
            translateY(10px)
            scale(.97);
    }

    to {
        opacity:
            1;

        transform:
            translateX(0)
            translateY(0)
            scale(1);
    }

}


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

@media (max-width: 1000px) {

    .university-login-main {
        grid-template-columns:
            1fr;

        padding:
            3rem 2rem;
    }

    .university-introduction {
        max-width:
            700px;
    }

    .university-login-card {
        justify-self:
            start;
    }

}


@media (max-width: 650px) {

    .university-header {
        padding:
            .9rem 1rem;
    }

    .university-header-right {
        display:
            none;
    }

    .university-login-main {
        padding:
            2.5rem 1rem;
    }

    .university-introduction h1 {
        font-size:
            2.6rem;
    }

    .introduction-features {
        grid-template-columns:
            1fr;
    }

    .login-card-body {
        padding:
            1.45rem;
    }

    .university-footer {
        flex-direction:
            column;

        gap:
            .3rem;

        text-align:
            center;

        padding:
            .75rem 1rem;
    }

}


@media (prefers-reduced-motion: reduce) {

    .university-background,
    .university-introduction,
    .university-login-card {
        animation:
            none !important;
    }

}/* =========================================================
   TRANSPARENT LOGIN AREA
   ========================================================= */

.university-login-card {
    position: relative;

    background: transparent;

    border: none;

    box-shadow: none;
}


/* Login text becomes white so it remains visible
   over the student photo */

.login-card-heading h2 {
    color: #ffffff;
}

.login-card-heading p {
    color: rgba(255,255,255,.80);
}

.login-label {
    color: #f5ca5d;
}

.university-field label {
    color: #ffffff;
}


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

.modern-input input {
    background: rgba(255,255,255,.13);

    border:
        1px solid
        rgba(255,255,255,.35);

    color: #ffffff;

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    box-shadow:
        0 6px 20px rgba(0,0,0,.12);
}

.modern-input input::placeholder {
    color:
        rgba(255,255,255,.68);
}

.modern-input input:focus {
    background:
        rgba(255,255,255,.19);

    border-color:
        #f5ca5d;

    box-shadow:
        0 0 0 4px
        rgba(245,202,93,.15);
}

.modern-input > i {
    color:
        rgba(255,255,255,.78);
}


/* =========================================================
   PASSWORD ICON
   ========================================================= */

.password-toggle {
    color:
        rgba(255,255,255,.72);
}

.password-toggle:hover {
    color:
        #f5ca5d;
}


/* =========================================================
   REMEMBER / FORGOT PASSWORD
   ========================================================= */

.login-options .form-check-label {
    color:
        rgba(255,255,255,.78);
}

.login-options a {
    color:
        #f5ca5d;
}

.login-options a:hover {
    color:
        #ffffff;
}


/* =========================================================
   REGISTER
   ========================================================= */

.register-section {
    color:
        rgba(255,255,255,.72);
}

.register-section a {
    color:
        #f5ca5d;
}

.register-section a:hover {
    color:
        #ffffff;
}


/* =========================================================
   SECURITY TEXT
   ========================================================= */

.secure-access {
    color:
        rgba(255,255,255,.60);
}


/* =========================================================
   SUBTLE DARK GLOW BEHIND LOGIN CONTENT
   ========================================================= */

.university-login-card::before {
    content: "";

    position: absolute;

    inset: -40px;

    z-index: -1;

    border-radius: 40px;

    background:
        radial-gradient(
            ellipse,
            rgba(0,0,0,.30) 0%,
            rgba(0,0,0,.12) 45%,
            transparent 72%
        );

    filter:
        blur(25px);

    pointer-events:
        none;
}