.login-page {
    min-height: 100vh;
    overflow-x: hidden;
    padding: 132px 72px 92px;
    position: relative;
}
.login-page::before {
    background:
        linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.78) 36%, rgba(255,255,255,.18) 68%, rgba(255,255,255,.02) 100%),
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(3,26,61,.5)),
        url("../images/login-background.png") center 18% / cover no-repeat;
    content: "";
    inset: 0;
    position: fixed;
    z-index: -2;
}
.login-page::after {
    background:
        radial-gradient(ellipse at 0 100%, rgba(8,38,87,.95) 0%, rgba(8,38,87,.82) 22%, transparent 43%),
        linear-gradient(166deg, transparent 68%, rgba(8,38,87,.94) 68%);
    bottom: 0;
    content: "";
    height: 170px;
    left: 0;
    position: fixed;
    right: 0;
    z-index: -1;
}
.login-hero {
    color: var(--navy);
    margin-bottom: 16px;
    max-width: 560px;
    text-align: left;
}
.login-hero,
.toefl-overview,
.material-grid,
.landing-actions {
    margin-left: clamp(48px, 6vw, 118px);
}
.landing-topbar {
    align-items: center;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, .72);
    border-bottom: 1px solid rgba(216, 222, 234, .65);
    display: flex;
    justify-content: space-between;
    left: 0;
    min-height: 86px;
    padding: 18px 72px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 5;
}
.landing-brand {
    align-items: center;
    color: var(--navy);
    display: flex;
    gap: 12px;
}
.landing-brand .unnes-logo {
    height: 44px;
    width: 44px;
}
.landing-brand strong {
    color: var(--navy);
    display: block;
    font-size: 34px;
    font-weight: 900;
    line-height: .9;
}
.landing-brand span {
    color: var(--navy);
    display: block;
    font-size: 9px;
    font-weight: 800;
    margin-top: 4px;
}
.logo-row {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-bottom: 26px;
}
.logo-row strong {
    color: var(--navy);
    display: block;
    font-size: 34px;
    font-weight: 900;
    line-height: .9;
}
.logo-row span {
    color: var(--navy);
    display: block;
    font-size: 9px;
    font-weight: 800;
    margin-top: 4px;
}
.unnes-logo {
    display: block;
    height: 42px;
    margin-bottom: 0;
    object-fit: contain;
    object-position: left center;
    width: 42px;
}
.login-hero h1 {
    font-size: 32px;
    line-height: 1.08;
    margin: 0;
}
.login-hero h1 span {
    display: block;
    font-size: 58px;
    letter-spacing: 0;
}
.accent-line {
    background: var(--gold);
    height: 3px;
    margin: 14px 0;
    width: 240px;
}
.single-login .accent-line {
    margin-left: auto;
    margin-right: auto;
}
.login-hero p {
    color: #6f7787;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
}
.login-duo {
    backdrop-filter: blur(18px);
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(216,222,234,.95);
    border-radius: 8px;
    box-shadow: 0 18px 54px rgba(8, 38, 87, .22);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    margin-left: 255px;
    max-width: 850px;
    padding: 34px 36px;
}
.login-duo .inline-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    max-width: none;
    padding: 0 30px;
    width: 100%;
}
.login-duo .inline-card + .inline-card {
    border-left: 1px solid var(--line);
}
.login-duo .card-head {
    gap: 6px;
    margin-bottom: 14px;
}
.login-duo .login-icon {
    font-size: 27px;
    height: 44px;
    width: 44px;
}
.login-duo .card-head span {
    font-size: 20px;
}
.login-duo .card-head small,
.login-duo .access-note p,
.login-duo .form-row {
    font-size: 12px;
}
.login-duo .login-card {
    gap: 12px;
}
.login-duo .login-card input,
.login-duo .google-button {
    padding: 11px 13px;
}
.login-duo .login-card button {
    padding: 13px;
}
.login-duo .access-note {
    margin-top: 8px;
    padding: 12px;
}
.auth-layout {
    align-items: center;
    display: grid;
    gap: 80px;
    grid-template-columns: minmax(320px, 560px) minmax(390px, 470px);
    justify-content: start;
    min-height: 100vh;
}
.role-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    max-width: 740px;
}
.role-card {
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(8, 38, 87, .2);
    display: grid;
    gap: 12px;
    min-height: 210px;
    padding: 30px;
}
.role-card span {
    border-radius: 999px;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    justify-self: start;
    padding: 8px 12px;
    text-transform: uppercase;
}
.role-card strong { font-size: 28px; }
.admin-role { background: rgba(8,38,87,.96); color: var(--white); }
.admin-role p { color: #dce7ff; }
.admin-role span { background: var(--gold); color: var(--navy); }
.student-role { background: rgba(246,196,0,.96); color: var(--navy); }
.student-role p { color: #24324a; }
.student-role span { background: var(--navy); color: var(--white); }
.toefl-overview {
    align-items: stretch;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(360px, 1fr) 190px;
    max-width: 720px;
}
.overview-copy,
.score-card,
.material-grid article {
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(8, 38, 87, .12);
}
.overview-copy {
    padding: 20px 22px;
}
.overview-label {
    color: #be8d00;
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.overview-copy h2 {
    color: var(--navy);
    font-size: 23px;
    line-height: 1.18;
    margin: 0 0 12px;
}
.overview-copy p,
.score-card p,
.material-grid p {
    color: #526070;
    line-height: 1.55;
    margin: 0;
}
.score-card {
    background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,248,224,.9));
    display: grid;
    padding: 24px;
    place-items: center;
    text-align: center;
}
.score-card span {
    color: #526070;
    font-size: 13px;
    font-weight: 800;
}
.score-card strong {
    color: var(--navy);
    display: block;
    font-size: 48px;
    line-height: 1;
}
.score-card p {
    font-size: 12px;
}
.material-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(210px, 1fr));
    margin-top: 14px;
    max-width: 720px;
}
.material-grid article {
    align-items: start;
    display: grid;
    gap: 7px;
    grid-template-columns: 42px 1fr;
    min-height: 102px;
    padding: 15px;
}
.material-grid article span {
    align-items: center;
    background: rgba(246, 196, 0, .18);
    border: 1px solid rgba(246, 196, 0, .42);
    border-radius: 8px;
    color: #be8d00;
    display: grid;
    font-size: 12px;
    font-weight: 900;
    height: 38px;
    place-items: center;
    width: 38px;
}
.material-grid strong {
    color: var(--navy);
    font-size: 19px;
}
.material-grid p {
    font-size: 13px;
    grid-column: 2;
}
.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    max-width: 720px;
}
.landing-button {
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(8, 38, 87, .16);
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    min-width: 210px;
    padding: 13px 22px;
}
.landing-button.admin {
    background: var(--navy);
    color: var(--white);
}
.landing-button.student {
    background: var(--gold);
    color: var(--navy);
}
.login-card {
    backdrop-filter: blur(18px);
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(216,222,234,.9);
    border-radius: 8px;
    box-shadow: 0 18px 54px rgba(8, 38, 87, .22);
    display: grid;
    gap: 11px;
    margin: 78px 0 0;
    max-width: 470px;
    padding: 22px 28px 24px;
    width: min(470px, 100%);
}
.card-head {
    color: var(--navy);
    display: grid;
    gap: 7px;
    margin: 0 0 18px;
    place-items: center;
    text-align: center;
}
.login-icon {
    display: grid;
    font-size: 25px;
    height: 46px;
    place-items: center;
    width: 46px;
}
.card-head span {
    display: block;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
}
.card-head small {
    color: #4f5b70;
    display: block;
    font-size: 13px;
}
.card-head::after {
    background: var(--gold);
    content: "";
    display: block;
    height: 2px;
    margin-top: 8px;
    width: 42px;
}
.login-card label {
    color: var(--navy);
    display: grid;
    font-weight: 800;
    gap: 8px;
}
.input-shell {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #d7deea;
    border-radius: 18px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    min-height: 58px;
    padding: 0 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
    width: 100%;
}
.input-shell:focus-within {
    background: var(--white);
    border-color: #1d7ed0;
    box-shadow: 0 0 0 5px rgba(29,126,208,.14);
}
.input-icon {
    color: #71829a;
    font-size: 20px;
}
.input-icon svg {
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 20px;
}
.login-card input {
    appearance: none;
    background: transparent;
    border: 0 !important;
    box-shadow: none !important;
    color: #1f2937;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.4;
    outline: none;
    padding: 0 10px;
    width: 100%;
}
.login-card input::placeholder {
    color: #777d87;
    font-weight: 400;
}
.login-card .password-eye {
    background: #edf3f8;
    border: 0;
    border-radius: 14px;
    color: #60748d;
    cursor: pointer;
    display: grid;
    height: 42px;
    place-items: center;
    width: 42px;
    padding: 0;
    text-transform: none;
}
.login-card .password-eye svg {
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 20px;
}
.form-row {
    align-items: center;
    display: flex;
    font-size: 13px;
    justify-content: space-between;
}
.form-row .check-label {
    align-items: center;
    display: flex;
    font-weight: 600;
    gap: 7px;
}
.form-row input {
    height: 14px;
    width: 14px;
}
.form-row a {
    color: #1f55ce;
    font-weight: 700;
}
.login-card button {
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
    padding: 13px;
    text-transform: none;
}
.admin-card > button { background: var(--navy); color: var(--white); }
.student-card > button { background: var(--gold); color: var(--navy); }
.divider {
    align-items: center;
    color: #8791a3;
    display: grid;
    font-size: 13px;
    gap: 12px;
    grid-template-columns: 1fr auto 1fr;
}
.divider::before,
.divider::after {
    background: var(--line);
    content: "";
    height: 1px;
}
.google-button {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--navy);
    display: flex;
    font-weight: 700;
    gap: 12px;
    justify-content: center;
    padding: 11px;
}
.fixed-logo {
    align-items: center;
    display: flex;
    gap: 12px;
    position: fixed;
    left: 42px;
    right: auto;
    top: 24px;
    z-index: 2;
}
.fixed-logo .unnes-logo {
    height: 46px;
    width: 46px;
}
.fixed-logo strong {
    color: var(--navy);
    display: block;
    font-size: 27px;
    font-weight: 900;
    line-height: .9;
}
.fixed-logo span {
    color: var(--navy);
    display: block;
    font-size: 7px;
    font-weight: 800;
    margin-top: 3px;
}
.google-button strong {
    color: #de4938;
    font-size: 20px;
}
.access-note {
    align-items: center;
    background: #f7fbff;
    border: 1px solid #dceafe;
    border-radius: 8px;
    display: grid;
    gap: 14px;
    grid-template-columns: 44px 1fr;
    margin-top: 10px;
    padding: 16px;
}
.student-card .access-note {
    background: #fffaf0;
    border-color: #f8e5ac;
}
.access-note span {
    background: var(--gold);
    border-radius: 50%;
    display: grid;
    height: 42px;
    place-items: center;
    width: 42px;
}
.access-note p {
    color: #263247;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}
.access-note strong {
    display: block;
    margin-bottom: 4px;
}
.login-footer {
    backdrop-filter: blur(12px);
    background: rgba(8, 38, 87, .78);
    border-top: 1px solid rgba(255, 255, 255, .22);
    bottom: 0;
    color: var(--white);
    font-size: 14px;
    left: 0;
    padding: 12px 72px;
    position: fixed;
    right: 0;
    text-align: center;
}
@media (min-width: 1400px) {
    .login-page {
        padding-left: 96px;
        padding-right: 96px;
    }
    .auth-layout {
        gap: 70px;
        grid-template-columns: minmax(380px, 560px) minmax(420px, 500px);
    }
    .login-card {
        margin-top: 18px;
    }
}
@media (max-width: 1180px) {
    .login-page {
        padding-left: 42px;
        padding-right: 42px;
    }
    .landing-topbar {
        padding-left: 42px;
        padding-right: 42px;
    }
    .auth-layout {
        gap: 28px;
        grid-template-columns: minmax(300px, 430px) minmax(360px, 450px);
    }
    .login-hero h1 { font-size: 30px; }
    .login-hero h1 span { font-size: 54px; }
}
@media (max-width: 900px) {
    .login-page {
        min-height: 100svh;
        overflow-y: auto;
        padding: 112px 22px 92px;
    }
    .login-page::before {
        background:
            linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.58)),
            linear-gradient(180deg, rgba(255,255,255,.08), rgba(3,26,61,.5)),
            url("../images/login-background.png") 54% top / cover no-repeat;
    }
    .auth-layout {
        display: block;
        min-height: auto;
    }
    .fixed-logo {
        left: 22px;
        right: auto;
        top: 18px;
    }
    .landing-topbar {
        min-height: 76px;
        padding: 16px 22px;
    }
    .landing-brand .unnes-logo {
        height: 38px;
        width: 38px;
    }
    .landing-brand strong {
        font-size: 26px;
    }
    .landing-brand span {
        font-size: 7px;
    }
    .single-login .login-hero {
        padding-top: 0;
    }
    .login-hero {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .toefl-overview,
    .material-grid,
    .landing-actions {
        margin-left: auto;
        margin-right: auto;
    }
    .unnes-logo {
        margin-left: auto;
        margin-right: auto;
        object-position: center;
    }
    .accent-line {
        margin-left: auto;
        margin-right: auto;
    }
    .role-grid { grid-template-columns: 1fr; }
    .toefl-overview {
        grid-template-columns: 1fr;
        margin-left: auto;
        margin-right: auto;
    }
    .material-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
        margin-left: auto;
        margin-right: auto;
    }
    .landing-actions {
        justify-content: center;
    }
    .login-duo {
        grid-template-columns: 1fr;
        margin: 0 auto;
        padding: 24px 20px;
    }
    .login-duo .inline-card {
        padding: 0;
    }
    .login-duo .inline-card + .inline-card {
        border-left: 0;
        border-top: 1px solid var(--line);
        margin-top: 24px;
        padding-top: 24px;
    }
    .login-card { margin: 0 auto; }
    .login-hero h1 { font-size: 28px; }
    .login-hero h1 span { font-size: 48px; }
}
@media (max-width: 560px) {
    .login-page {
        padding: 96px 14px 84px;
    }
    .fixed-logo {
        gap: 8px;
        left: 14px;
    }
    .landing-topbar {
        min-height: 70px;
        padding: 14px;
    }
    .landing-brand { gap: 8px; }
    .landing-brand .unnes-logo {
        height: 34px;
        width: 34px;
    }
    .landing-brand strong {
        font-size: 22px;
    }
    .landing-brand span {
        font-size: 6px;
    }
    .fixed-logo .unnes-logo {
        height: 34px;
        width: 34px;
    }
    .fixed-logo strong {
        font-size: 22px;
    }
    .fixed-logo span {
        font-size: 6px;
    }
    .login-hero {
        margin-bottom: 18px;
    }
    .login-hero h1 {
        font-size: 24px;
    }
    .login-hero h1 span {
        font-size: 42px;
    }
    .accent-line {
        width: 180px;
    }
    .login-hero p {
        font-size: 15px;
    }
    .overview-copy {
        padding: 20px;
    }
    .overview-copy h2 {
        font-size: 22px;
    }
    .score-card strong {
        font-size: 44px;
    }
    .material-grid {
        grid-template-columns: 1fr;
    }
    .login-card { padding: 20px 16px; }
    .card-head {
        margin-bottom: 8px;
    }
    .form-row { align-items: flex-start; flex-direction: column; gap: 10px; }
    .login-footer {
        bottom: 0;
        font-size: 12px;
        left: 0;
        padding: 10px 14px;
        right: 0;
    }
}
@media (max-height: 760px) and (min-width: 901px) {
    .login-page {
        padding-bottom: 42px;
        padding-top: 28px;
    }
    .login-hero h1 { font-size: 28px; }
    .login-hero h1 span { font-size: 48px; }
    .login-hero p { font-size: 16px; }
    .login-card {
        gap: 9px;
        margin-top: 22px;
        padding: 20px 26px;
    }
    .card-head {
        margin-bottom: 6px;
    }
    .login-icon {
        height: 38px;
        width: 38px;
    }
}
