@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Sora:wght@600;700&display=swap");

body.page-login {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    color: #17324f;
    font-family: Manrope, "Segoe UI", sans-serif;
    background: #e7f3ff;
}

.student-login-page {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #e7f3ff;
}

.student-login-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.student-login-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: left top;
    image-rendering: auto;
    pointer-events: none;
    user-select: none;
}

.student-login-art.is-mobile {
    display: none;
}

.student-login-card {
    position: absolute;
    top: 50%;
    right: 7%;
    z-index: 1;
    width: min(440px, 40%);
    box-sizing: border-box;
    padding: 32px 30px 20px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 26px;
    background: rgba(255, 255, 255, .92);
    color: #17324f;
    box-shadow:
        0 18px 40px rgba(47, 126, 214, .16),
        0 2px 8px rgba(30, 90, 160, .06);
    transform: translateY(-50%);
}

.student-login-card-head h1 {
    margin: 0;
    color: #163a73;
    font-family: Sora, Manrope, sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.15;
}

.student-login-card-head p {
    margin: 8px 0 0;
    color: #6d86a8;
    font-family: Manrope, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.student-login-alert {
    margin-top: 16px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.student-login-alert.is-error {
    background: #fff1ef;
    color: #b42318;
}

.student-login-alert.is-success {
    background: #eefbf4;
    color: #157347;
}

.student-login-form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.student-login-form.is-hidden {
    display: none;
}

.student-login-field {
    display: grid;
    gap: 7px;
}

.student-login-field span {
    color: #4e6d93;
    font-size: 13px;
    font-weight: 700;
}

.student-login-field input {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    padding: 0 14px;
    border: 1px solid #d5e6f8;
    border-radius: 14px;
    outline: none;
    background: #f7fbff;
    color: #17324f;
    font: inherit;
    font-size: 15px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.student-login-field input::placeholder {
    color: #93a9c4;
}

.student-login-field input:focus {
    border-color: #7eb6f5;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(47, 140, 237, .12);
}

.student-login-password {
    position: relative;
    display: block;
}

.student-login-password input {
    padding-right: 48px;
}

.student-login-eye {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #6d86a8;
    cursor: pointer;
    transform: translateY(-50%);
}

.student-login-eye svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.student-login-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 2px;
}

.student-login-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4e6d93;
    font-size: 13px;
    cursor: pointer;
}

.student-login-remember input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #2f7cf6;
}

.student-login-forgot,
.student-login-back {
    padding: 0;
    border: 0;
    background: transparent;
    color: #2f7cf6;
    text-decoration: none;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.student-login-submit {
    height: 50px;
    margin-top: 6px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #4aa8ff, #2f7cf6);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(47, 124, 246, .28);
}

.student-login-submit:hover {
    background: linear-gradient(180deg, #3d9bf6, #246eeb);
}

.student-login-back {
    justify-self: center;
}

.student-login-home {
    height: 46px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    border: 1px solid #d5e6f8;
    border-radius: 999px;
    background: #f7fbff;
    color: #2f7cf6;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(47, 126, 214, .08);
}

.student-login-home:hover {
    border-color: #b9d4f7;
    background: #fff;
    box-shadow: 0 10px 22px rgba(47, 126, 214, .14);
}

@media (max-aspect-ratio: 3/4) {
    .student-login-stage {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
    }

    .student-login-art.is-mobile {
        object-fit: fill;
        object-position: left top;
    }

    .student-login-art.is-desktop {
        display: none;
    }

    .student-login-art.is-mobile {
        display: block;
    }

    .student-login-card {
        top: 50%;
        left: 50%;
        right: auto;
        width: min(420px, 90%);
        padding: 26px 22px 16px;
        transform: translate(-50%, -50%);
    }

    .student-login-card-head h1 {
        font-size: 26px;
    }

    .student-login-meta {
        flex-wrap: wrap;
    }
}

