.auth-page {
    --auth-ink: #10213f;
    --auth-muted: #61708d;
    --auth-line: #dbe4f5;
    --auth-card: #ffffff;
    --auth-brand-1: #1f56d8;
    --auth-brand-2: #1ea08d;
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(31, 86, 216, 0.18), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(30, 160, 141, 0.16), transparent 36%),
        linear-gradient(180deg, #f4f8ff 0%, #eef4ff 100%);
    font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--auth-ink);
    padding: 36px 18px 54px;
}

.auth-frame {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.auth-shell {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.2fr);
    background: var(--auth-card);
    border: 1px solid rgba(177, 196, 231, 0.65);
    border-radius: 22px;
    overflow: auto;
    box-shadow: 0 26px 66px rgba(15, 35, 80, 0.16);
}

.auth-brand {
    padding: 26px;
    color: #fff;
    background: linear-gradient(145deg, #173f99 0%, #255ecf 55%, #138d7c 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.auth-brand h1 {
    margin: 10px 0 8px;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.25;
    font-weight: 700;
    color: #fff;
}

.auth-brand p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    line-height: 1.6;
}

.auth-help {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.88);
}

.auth-panel {
    padding: 34px 32px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.auth-logo {
    width: 78px;
    height: 78px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    padding: 7px;
    box-shadow: 0 10px 24px rgba(17, 31, 66, 0.18);
}

.auth-product-logo {
    width: min(252px, 92%);
    height: 90px;
    display: block;
    margin: 0 auto 4px;
    object-fit: contain;
    background: #fff;
    border-radius: 14px;
    padding: 8px 14px;
    box-shadow: 0 10px 24px rgba(17, 31, 66, 0.18);
}

.auth-product-about {
    margin: 0 0 8px;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
    font-weight: 600;
}

/* Inline KNR logo used across auth views */
.auth-inline-logo {
    width: 26px;
    height: auto;
    vertical-align: middle;
    margin-right: 8px;
    display: inline-block;
}

.auth-school-name {
    margin-top: 2px;
    font-size: 1.08rem;
    font-weight: 700;
    color: #fff;
}

.auth-title {
    margin: 0 0 6px;
    font-size: 1.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1a2a49;
}

.auth-sub {
    margin: 0 0 22px;
    color: var(--auth-muted);
    font-size: 0.95rem;
}

.auth-group {
    margin-bottom: 14px;
}

.auth-group label {
    display: block;
    margin: 0 0 6px;
    font-size: 0.84rem;
    color: #334a73;
    font-weight: 600;
}

.auth-input {
    width: 100%;
    border: 1px solid #c9d8f6;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: #152648;
    background: #f6f9ff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-input:focus {
    outline: none;
    border-color: #4f7ee6;
    box-shadow: 0 0 0 3px rgba(79, 126, 230, 0.15);
    background: #fff;
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 8px 0 14px;
    flex-wrap: wrap;
}

.auth-link {
    color: #2455c2;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 13px 14px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--auth-brand-1), #1744ad);
    box-shadow: 0 12px 26px rgba(29, 78, 201, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.auth-btn:hover {
    filter: brightness(1.02);
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(29, 78, 201, 0.34);
}

.auth-foot {
    margin-top: 14px;
    color: #7b88a2;
    font-size: 0.8rem;
    text-align: center;
}

.auth-alert {
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.auth-alert-danger {
    color: #9c1e2a;
    background: #ffeef0;
    border: 1px solid #f7c7ce;
}

.auth-alert-success {
    color: #0f6f44;
    background: #eaf9f0;
    border: 1px solid #bbe8cf;
}

.auth-error {
    color: #c43343;
    font-size: 0.78rem;
    margin-top: 4px;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.84rem;
    color: #3b4f77;
}

.auth-back {
    margin-top: 14px;
    text-align: right;
}

@media (max-width: 900px) {
    .auth-page {
        padding: 24px 10px 32px;
    }

    .auth-frame {
        padding: 0 12px;
    }

    .auth-shell {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .auth-panel {
        order: 1;
        padding: 22px 16px;
    }

    .auth-brand {
        order: 2;
        padding: 18px;
    }
}

@media (max-width: 576px) {
    .auth-page {
        padding: 18px 8px 24px;
    }

    .auth-frame {
        padding: 0 8px;
    }

    .auth-panel {
        padding: 18px 14px;
    }

    .auth-brand {
        padding: 16px;
    }

    .auth-logo {
        width: 68px;
        height: 68px;
    }

    .auth-product-logo {
        width: 100%;
        height: 76px;
        padding: 10px 14px;
    }
}

.auth-brand-main {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.auth-brand-main p {
    text-align: center;
    max-width: 460px;
    margin: 0;
}

.auth-pass-wrap {
    position: relative;
}

.auth-input-password {
    padding-right: 44px;
}

.auth-pass-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #4f6288;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.auth-pass-toggle:hover {
    background: rgba(31, 86, 216, 0.08);
    color: #1f56d8;
}

.auth-kpi-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 4px 0 12px;
}

.auth-kpi-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 253, 0.96) 100%);
    border: 1px solid rgba(188, 170, 233, 0.42);
    border-radius: 16px;
    text-align: center;
    padding: 20px 18px 18px;
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(11, 31, 79, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-card-icon {
    width: 42px;
    height: 42px;
    background: rgba(31, 86, 216, 0.08);
    color: #1f56d8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1rem;
}

.auth-kpi-card-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
}

.auth-kpi-card-heading h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.1;
}

.auth-info-card {
    background: linear-gradient(180deg, rgba(244, 247, 252, 0.98) 0%, rgba(236, 241, 248, 0.97) 100%);
    border: 1px solid rgba(176, 187, 205, 0.66);
    border-radius: 16px;
    text-align: left;
    padding: 18px;
    min-height: 92px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 10px 22px rgba(11, 31, 79, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-info-card span {
    display: block;
    color: #566781;
    font-size: 0.8rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.auth-info-card strong {
    display: block;
    color: #1c2740;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.25;
}

.auth-info-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(31, 86, 216, 0.12);
    color: #1f56d8;
    font-size: 0.95rem;
}

.auth-info-card:hover,
.auth-kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(11, 31, 79, 0.18);
}

.auth-kpi-card h3 {
    margin: 0 0 6px;
    color: #1f2d4a;
    font-size: 1rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
}

.auth-kpi-card p {
    margin: 0;
    color: #304765;
    font-size: 0.86rem;
    line-height: 1.38;
    max-width: 22ch;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.auth-info-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 2px 0 8px;
}

.auth-info-card {
    background: linear-gradient(180deg, rgba(244, 247, 252, 0.98) 0%, rgba(236, 241, 248, 0.97) 100%);
    border: 1px solid rgba(176, 187, 205, 0.66);
    border-radius: 16px;
    text-align: left;
    padding: 14px 18px;
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(11, 31, 79, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-info-card span {
    display: block;
    color: #566781;
    font-size: 0.8rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.auth-info-card strong {
    display: block;
    color: #1c2740;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.25;
}

.auth-kpi-card:hover,
.auth-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(11, 31, 79, 0.16);
}

@media (max-width: 900px) {
    .auth-kpi-grid {
        grid-template-columns: 1fr;
    }

    .auth-info-grid {
        grid-template-columns: 1fr;
    }
}

.auth-pass-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(31, 86, 216, 0.2);
}

/* Premium admin login */
body:has(.login-auth-page) {
    margin: 0;
    background: #edf4fc;
}

.login-auth-page {
    --login-navy: #07142f;
    --login-blue: #2358d8;
    --login-blue-dark: #173f9f;
    --login-cyan: #49c6dc;
    --login-text: #14213d;
    --login-muted: #687795;
    --login-line: #dbe4f2;
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(14px, 2vw, 28px);
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 10%, rgba(99, 207, 222, 0.22), transparent 30%),
        radial-gradient(circle at 92% 8%, rgba(92, 135, 235, 0.18), transparent 32%),
        radial-gradient(circle at 82% 92%, rgba(172, 205, 255, 0.3), transparent 34%),
        linear-gradient(135deg, #f8fbff 0%, #eef5fd 52%, #e8f1fc 100%);
    color: var(--login-text);
}

.login-auth-page::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.34;
    background-image: radial-gradient(rgba(52, 91, 156, 0.16) 0.7px, transparent 0.7px);
    background-size: 24px 24px;
    pointer-events: none;
}

.login-auth-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
}

.login-auth-glow-one {
    width: 360px;
    height: 360px;
    top: -220px;
    right: 7%;
    background: rgba(112, 151, 238, 0.14);
}

.login-auth-glow-two {
    width: 300px;
    height: 300px;
    bottom: -210px;
    left: 15%;
    background: rgba(65, 194, 202, 0.14);
}

.login-auth-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    min-height: min(680px, calc(100dvh - clamp(28px, 4vw, 56px)));
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
    overflow: hidden;
    border: 1px solid rgba(92, 124, 177, 0.2);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 34px 86px rgba(37, 69, 120, 0.18), 0 3px 12px rgba(37, 69, 120, 0.08);
}

.login-auth-visual {
    position: relative;
    isolation: isolate;
    min-width: 0;
    padding: clamp(28px, 3.2vw, 46px);
    display: flex;
    flex-direction: column;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(91, 218, 227, 0.24), transparent 28%),
        linear-gradient(145deg, #0c2455 0%, #173f9f 54%, #126f89 125%);
}

.login-auth-visual::before,
.login-auth-visual::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.login-auth-visual::before {
    width: 430px;
    height: 430px;
    right: -210px;
    bottom: -175px;
    box-shadow: 0 0 0 52px rgba(255, 255, 255, 0.025), 0 0 0 104px rgba(255, 255, 255, 0.018);
}

.login-auth-visual::after {
    width: 180px;
    height: 180px;
    top: 24%;
    left: -118px;
}

.login-auth-grid {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom right, black, transparent 75%);
}

.login-auth-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.login-auth-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-auth-logo-wrap {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    padding: 7px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 34px rgba(0, 12, 42, 0.24);
}

.login-auth-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-auth-brand-label {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.login-auth-brand strong {
    display: block;
    max-width: 360px;
    color: #fff;
    font-size: clamp(1rem, 1.8vw, 1.22rem);
    line-height: 1.35;
}

.login-auth-story {
    width: min(520px, 100%);
    margin: auto 0;
    padding: 24px 0;
}

.login-auth-eyebrow,
.login-auth-secure-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.04em;
}

.login-auth-product-mark {
    width: 188px;
    height: 48px;
    flex: 0 0 188px;
    padding: 7px 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(0, 16, 54, 0.18);
}

.login-auth-product-mark img {
    width: 124px;
    height: 100%;
    margin-right: -10px;
    display: block;
    object-fit: contain;
}

.login-auth-product-mark strong,
.login-auth-mobile-product strong {
    padding-left: 0;
    margin-left: 0;
    color: #17356f;
    font-size: 0.68rem;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.1em;
    transform: translateY(7px);
}

.login-auth-eyebrow {
    padding: 8px 12px;
    color: #d9fbff;
    border: 1px solid rgba(203, 249, 255, 0.22);
    background: rgba(255, 255, 255, 0.09);
}

.login-auth-story h1 {
    margin: 16px 0 13px;
    max-width: 16ch;
    color: #fff;
    font-size: clamp(2.15rem, 3vw, 3rem);
    font-weight: 780;
    line-height: 1.08;
    letter-spacing: -0.038em;
}

.login-auth-story h1 span {
    color: #9cecf1;
    text-shadow: 0 8px 28px rgba(70, 211, 220, 0.16);
}

.login-auth-story > p {
    max-width: 52ch;
    margin: 0;
    color: rgba(235, 244, 255, 0.78);
    font-size: 0.96rem;
    line-height: 1.6;
}

.login-auth-benefits {
    margin-top: 23px;
    display: grid;
    gap: 9px;
}

.login-auth-benefit {
    display: flex;
    align-items: center;
    gap: 13px;
}

.login-auth-benefit > span {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 13px;
    color: #a7f3f5;
    background: rgba(255, 255, 255, 0.09);
}

.login-auth-benefit strong,
.login-auth-benefit small {
    display: block;
}

.login-auth-benefit strong {
    color: #fff;
    font-size: 0.88rem;
}

.login-auth-benefit small {
    margin-top: 2px;
    color: rgba(226, 237, 255, 0.64);
    font-size: 0.76rem;
}

.login-auth-visual-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: rgba(236, 245, 255, 0.74);
    font-size: 0.75rem;
}

.login-auth-visual-footer > span:first-child i {
    margin-right: 6px;
    color: #5eead4;
}

.login-auth-powered {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.login-auth-powered img {
    width: 64px;
    height: 24px;
    padding: 3px 5px;
    object-fit: contain;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.94);
}

.login-auth-panel {
    min-width: 0;
    padding: clamp(28px, 4vw, 54px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at 100% 0%, rgba(35, 88, 216, 0.07), transparent 28%),
        #fff;
}

.login-auth-card {
    width: min(430px, 100%);
    margin: auto;
}

.login-auth-mobile-brand {
    display: none;
}

.login-auth-secure-pill {
    padding: 7px 11px;
    color: #2051bd;
    background: #edf3ff;
    border: 1px solid #dbe7ff;
}

.login-auth-heading h2 {
    margin: 18px 0 8px;
    color: var(--login-text);
    font-size: clamp(2rem, 3.2vw, 2.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.login-auth-heading p {
    margin: 0 0 22px;
    color: var(--login-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.login-auth-form .auth-group {
    margin-bottom: 14px;
}

.login-auth-form .auth-group > label,
.login-auth-label-row label {
    margin: 0 0 8px;
    color: #243657;
    font-size: 0.82rem;
    font-weight: 750;
}

.login-auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.login-auth-label-row .auth-link {
    margin-bottom: 8px;
    color: #2459d3;
    font-size: 0.78rem;
}

.login-auth-input-wrap {
    position: relative;
}

.login-auth-input-wrap > i:first-child {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #8291ad;
    font-size: 0.88rem;
    transition: color 0.2s ease;
    pointer-events: none;
}

.login-auth-form .auth-input {
    min-height: 48px;
    padding: 11px 48px 11px 45px;
    border: 1px solid var(--login-line);
    border-radius: 13px;
    color: #172743;
    background: #f9fbfe;
    font-size: 0.91rem;
    box-shadow: 0 1px 2px rgba(15, 30, 58, 0.02);
}

.login-auth-form .auth-input::placeholder {
    color: #9aa7bb;
}

.login-auth-input-wrap:focus-within > i:first-child {
    color: var(--login-blue);
}

.login-auth-form .auth-input:focus {
    border-color: #4d78e4;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(46, 92, 209, 0.11), 0 6px 16px rgba(23, 63, 159, 0.05);
}

.login-auth-form .auth-pass-toggle {
    right: 9px;
    width: 36px;
    height: 36px;
    color: #71809b;
}

.login-auth-check {
    position: relative;
    width: fit-content;
    margin: -2px 0 14px;
    gap: 9px;
    color: #5d6b84;
    cursor: pointer;
    user-select: none;
}

.login-auth-check > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.login-auth-checkbox {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: grid;
    place-items: center;
    border: 1.5px solid #c7d2e3;
    border-radius: 6px;
    color: transparent;
    background: #fff;
    transition: all 0.18s ease;
}

.login-auth-checkbox i {
    font-size: 0.65rem;
}

.login-auth-check input:checked + .login-auth-checkbox {
    border-color: var(--login-blue);
    color: #fff;
    background: var(--login-blue);
    box-shadow: 0 4px 10px rgba(35, 88, 216, 0.22);
}

.login-auth-check input:focus-visible + .login-auth-checkbox {
    outline: 3px solid rgba(35, 88, 216, 0.16);
    outline-offset: 2px;
}

.login-auth-captcha {
    min-height: 72px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e2e8f2;
    border-radius: 13px;
    background: #f8fafc;
}

.login-auth-submit {
    min-height: 50px;
    border-radius: 13px;
    background: linear-gradient(135deg, #285fdc 0%, #1742a4 100%);
    box-shadow: 0 14px 28px rgba(30, 76, 184, 0.26);
}

.login-auth-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(30, 76, 184, 0.32);
}

.login-auth-submit:focus-visible {
    outline: 3px solid rgba(35, 88, 216, 0.2);
    outline-offset: 3px;
}

.login-auth-submit:disabled {
    cursor: wait;
    opacity: 0.88;
}

.login-auth-submit-label,
.login-auth-submit-loading {
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-auth-submit-label {
    display: flex;
}

.login-auth-submit-loading {
    display: none;
}

.login-auth-submit.is-loading .login-auth-submit-label {
    display: none;
}

.login-auth-submit.is-loading .login-auth-submit-loading {
    display: flex;
}

.login-auth-support {
    margin-top: 16px;
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-top: 1px solid #e7ecf4;
    color: #75829a;
    font-size: 0.76rem;
    line-height: 1.45;
    text-align: center;
}

.login-auth-support i {
    color: #5474bd;
}

.login-auth-copyright {
    width: min(430px, 100%);
    margin: 16px auto 0;
    color: #98a2b4;
    font-size: 0.7rem;
    line-height: 1.5;
    text-align: center;
}

.login-auth-card .auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
    border-radius: 12px;
    padding: 11px 13px;
}

@media (max-width: 980px) {
    .login-auth-page {
        padding: clamp(16px, 3vw, 28px);
        place-items: start center;
        overflow: auto;
        background:
            radial-gradient(circle at 5% 5%, rgba(35, 88, 216, 0.11), transparent 32%),
            radial-gradient(circle at 95% 95%, rgba(73, 198, 220, 0.1), transparent 30%),
            #f2f6fd;
    }

    .login-auth-shell {
        width: min(720px, 100%);
        min-height: calc(100dvh - clamp(32px, 6vw, 56px));
        grid-template-columns: 1fr;
        border-radius: 24px;
        border-color: #dfe7f3;
        box-shadow: 0 22px 60px rgba(23, 47, 91, 0.16);
    }

    .login-auth-visual {
        display: none;
    }

    .login-auth-panel {
        padding: clamp(24px, 5vw, 44px);
        justify-content: flex-start;
        background:
            radial-gradient(circle at 100% 0%, rgba(35, 88, 216, 0.07), transparent 26%),
            #fff;
    }

    .login-auth-mobile-brand {
        width: min(480px, 100%);
        margin: 0 auto 30px;
        padding-bottom: 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        border-bottom: 1px solid #e5eaf2;
    }

    .login-auth-mobile-school {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 11px;
        color: #203458;
        font-size: 0.85rem;
        font-weight: 750;
        line-height: 1.3;
    }

    .login-auth-mobile-school img {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        padding: 4px;
        object-fit: contain;
        border: 1px solid #dce4f1;
        border-radius: 13px;
        background: #fff;
    }

    .login-auth-mobile-product {
        width: 132px;
        height: 39px;
        flex: 0 0 132px;
        padding: 5px 9px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #dce4f1;
        border-radius: 11px;
        background: #fff;
        box-shadow: 0 7px 18px rgba(26, 51, 98, 0.08);
    }

    .login-auth-mobile-product img {
        width: 84px;
        height: 100%;
        margin-right: -7px;
        object-fit: contain;
    }

    .login-auth-card,
    .login-auth-copyright {
        width: min(480px, 100%);
    }

    .login-auth-card {
        margin: 0 auto;
    }

    .login-auth-support {
        justify-content: center;
    }
}

@media (min-width: 981px) and (max-height: 820px) {
    .login-auth-page {
        padding: 18px 28px;
    }

    .login-auth-shell {
        min-height: calc(100dvh - 36px);
    }

    .login-auth-visual {
        padding: 30px 44px;
    }

    .login-auth-story {
        padding: 22px 0;
    }

    .login-auth-story h1 {
        margin: 14px 0 12px;
        font-size: clamp(2.2rem, 3.4vw, 3.25rem);
    }

    .login-auth-benefits {
        margin-top: 20px;
        gap: 9px;
    }

    .login-auth-panel {
        padding: 26px 50px;
    }

    .login-auth-heading h2 {
        margin-top: 12px;
        font-size: 2.25rem;
    }

    .login-auth-heading p {
        margin-bottom: 18px;
    }

    .login-auth-form .auth-group {
        margin-bottom: 13px;
    }

    .login-auth-check {
        margin-bottom: 12px;
    }

    .login-auth-captcha {
        margin-bottom: 13px;
    }

    .login-auth-support {
        margin-top: 14px;
        padding-top: 12px;
    }

    .login-auth-copyright {
        margin-top: 16px;
    }
}

@media (max-width: 520px) {
    .login-auth-page {
        padding: 10px;
        background:
            radial-gradient(circle at 0 0, rgba(35, 88, 216, 0.09), transparent 32%),
            #eef3fb;
    }

    .login-auth-shell {
        min-height: calc(100dvh - 20px);
        border: 1px solid #e0e7f1;
        border-radius: 20px;
        box-shadow: 0 14px 42px rgba(24, 45, 84, 0.12);
    }

    .login-auth-panel {
        padding: 18px 16px 16px;
        justify-content: flex-start;
    }

    .login-auth-mobile-brand {
        margin-bottom: 22px;
        padding-bottom: 14px;
        gap: 10px;
    }

    .login-auth-mobile-school {
        gap: 9px;
        font-size: 0.76rem;
    }

    .login-auth-mobile-school img {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
        border-radius: 11px;
    }

    .login-auth-mobile-product {
        width: 112px;
        height: 34px;
        flex-basis: 112px;
        padding: 5px 7px;
    }

    .login-auth-mobile-product img {
        width: 70px;
        margin-right: -6px;
    }

    .login-auth-mobile-product strong {
        padding-left: 0;
        margin-left: 0;
        font-size: 0.57rem;
        transform: translateY(5px);
    }

    .login-auth-heading h2 {
        margin-top: 12px;
        font-size: 2rem;
    }

    .login-auth-heading p {
        margin-bottom: 20px;
        font-size: 0.84rem;
        line-height: 1.55;
    }

    .login-auth-secure-pill {
        padding: 6px 9px;
        font-size: 0.68rem;
    }

    .login-auth-form .auth-input {
        min-height: 46px;
        font-size: 0.84rem;
    }

    .login-auth-form .auth-group > label,
    .login-auth-label-row label {
        font-size: 0.76rem;
    }

    .login-auth-check {
        font-size: 0.76rem;
    }

    .login-auth-captcha {
        align-items: flex-start;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .login-auth-captcha .g-recaptcha {
        transform: scale(0.88);
        transform-origin: left top;
        margin-bottom: -8px;
    }

    .login-auth-submit {
        min-height: 48px;
        font-size: 0.9rem;
    }

    .login-auth-support {
        margin-top: 14px;
        padding-top: 12px;
        font-size: 0.7rem;
    }

    .login-auth-copyright {
        margin-top: 18px;
        font-size: 0.64rem;
    }
}

@media (max-width: 350px) {
    .login-auth-mobile-product {
        width: 102px;
        flex-basis: 102px;
    }

    .login-auth-captcha .g-recaptcha {
        transform: scale(0.8);
        margin-bottom: -14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-auth-page *,
    .login-auth-page *::before,
    .login-auth-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
