:root {
    --tesui-navy: #0B1E46;
    --tesui-navy-2: #05122E;
    --tesui-blue: #2563EB;
    --tesui-cyan: #17C9D3;
    --tesui-cyan-2: #16C7B7;
    --tesui-white: #FFFFFF;
    --tesui-bg: #F8FAFC;
    --tesui-text: #0F172A;
    --tesui-muted: #64748B;
    --tesui-line: rgba(148, 163, 184, .22);
    --tesui-shadow: 0 34px 110px rgba(11, 30, 70, .18);
    --tesui-soft-shadow: 0 22px 70px rgba(15, 23, 42, .10);
}

* { box-sizing: border-box; }

html,
body.tesui-login-page {
    width: 100%;
    min-height: 100%;
    margin: 0;
    font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--tesui-text);
    background: #f8fbff;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: auto;
    overscroll-behavior-y: auto;
}

body.tesui-login-page {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    touch-action: pan-y;
}

.tesui-auth-shell {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: clamp(10px, 1.2vw, 20px);
    background:
        radial-gradient(circle at 9% 10%, rgba(23, 201, 211, .18), transparent 30%),
        radial-gradient(circle at 88% 8%, rgba(37, 99, 235, .18), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #eef6ff 45%, #f8fafc 100%);
}

.tesui-auth-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: .7;
    pointer-events: none;
}

.tesui-auth-orb-one {
    width: 420px;
    height: 420px;
    left: -150px;
    bottom: -150px;
    background: rgba(23, 201, 211, .18);
}

.tesui-auth-orb-two {
    width: 540px;
    height: 540px;
    right: -190px;
    top: -210px;
    background: rgba(37, 99, 235, .18);
}

.tesui-auth-wrap {
    width: min(1920px, 100%);
    min-height: calc(100dvh - clamp(20px, 2.4vw, 40px));
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 58fr) minmax(430px, 42fr);
    overflow: hidden;
    border-radius: 32px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .78);
    box-shadow: var(--tesui-shadow), inset 0 1px 0 rgba(255,255,255,.95);
    backdrop-filter: blur(24px) saturate(1.12);
    margin: auto;
}

.tesui-auth-panel { position: relative; }

.tesui-auth-panel-left {
    min-height: 0;
    padding: clamp(28px, 2.8vw, 52px);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    isolation: isolate;
    background:
        linear-gradient(120deg, rgba(5, 18, 46, .58), rgba(5, 18, 46, .38)),
        url('/images/tesui-login-bg-naira-office.jpg') center/cover no-repeat;
}

.tesui-left-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 22% 18%, rgba(37, 99, 235, .32), transparent 32%),
        linear-gradient(135deg, rgba(5, 18, 46, .52), rgba(5, 18, 46, .32));
}

.tesui-left-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.12));
}

.tesui-brand-row {
    text-shadow: 0 2px 18px rgba(0,0,0,.28);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.tesui-brand-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    font-weight: 900;
    letter-spacing: -.05em;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(255, 255, 255, .55);
    box-shadow: 0 18px 46px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.72);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.tesui-brand-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 6px;
}

.tesui-brand-name {
    color: #fff;
    font-size: 22px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: .02em;
}

.tesui-brand-subtitle {
    margin-top: 5px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    font-weight: 700;
}

.tesui-hero-content {
    text-shadow: 0 2px 18px rgba(0,0,0,.30);
    position: relative;
    z-index: 1;
    max-width: min(760px, 100%);
    padding-top: clamp(18px, 3.2vh, 44px);
}

.tesui-env-badge,
.tesui-login-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
}

.tesui-env-badge {
    padding: 9px 13px;
    color: #c7efff;
    background: rgba(37, 99, 235, .30);
    border: 1px solid rgba(191, 219, 254, .24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}

.tesui-hero-content h1 {
    margin: clamp(16px, 2.5vh, 26px) 0 clamp(10px, 1.8vh, 18px);
    font-size: clamp(46px, 4.8vw, 76px);
    line-height: .96;
    letter-spacing: -.065em;
    font-weight: 900;
    color: #fff;
}

.tesui-hero-content h1 span,
.tesui-hero-content h1 strong { display: block; }

.tesui-hero-content h1 strong {
    width: fit-content;
    background: linear-gradient(92deg, #60A5FA 0%, #17C9D3 52%, #A7F3D0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.tesui-hero-description {
    max-width: min(680px, 100%);
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.62;
    font-weight: 550;
}

.tesui-motto {
    max-width: min(720px, 100%);
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    column-gap: 14px;
    margin: clamp(26px, 2.8vw, 42px) 0 0;
    padding: 0 0 0 18px;
    border-left: 3px solid rgba(23, 201, 211, .78);
    color: #fff;
    font-style: italic;
    font-weight: 850;
    letter-spacing: -.035em;
}

.tesui-quote-mark {
    display: block;
    width: .56em;
    margin-top: -.13em;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 3.2vw, 58px);
    line-height: .88;
    font-style: normal;
    font-weight: 900;
    background: linear-gradient(135deg, #22D3EE 0%, #60A5FA 88%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: .95;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.24));
}

.tesui-motto-lines {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.tesui-motto-lines > span,
.tesui-motto-lines > strong {
    display: block;
    font-size: clamp(26px, 2.55vw, 42px);
    line-height: 1.08;
}

.tesui-motto-lines > strong {
    width: fit-content;
    background: linear-gradient(92deg, #22D3EE 0%, #60A5FA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tesui-partner-section {
    position: relative;
    z-index: 1;
    margin-top: clamp(20px, 4vh, 38px);
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
    backdrop-filter: blur(16px) saturate(1.18);
}

.tesui-partner-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    text-shadow: 0 2px 14px rgba(0,0,0,.24);
}

.tesui-partner-heading span {
    color: #fff;
    font-size: clamp(15px, 1.15vw, 18px);
    font-weight: 900;
    letter-spacing: -.015em;
}

.tesui-partner-heading small {
    color: rgba(255,255,255,.68);
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.tesui-partner-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
    gap: 10px;
    max-height: clamp(108px, 15vh, 156px);
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.35) transparent;
}

.tesui-partner-logo-grid::-webkit-scrollbar { width: 6px; }
.tesui-partner-logo-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,.35); border-radius: 999px; }

.tesui-partner-logo-card {
    min-height: 58px;
    display: grid;
    place-items: center;
    padding: 9px;
    border-radius: 17px;
    background: rgba(255,255,255,.66);
    border: 1px solid rgba(255,255,255,.58);
    box-shadow: 0 18px 36px rgba(15,23,42,.14), inset 0 1px 0 rgba(255,255,255,.88);
    position: relative;
    overflow: visible;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.tesui-partner-logo-card:hover,
.tesui-partner-logo-card:focus-visible {
    transform: translateY(-1px);
    background: rgba(255,255,255,.82);
    box-shadow: 0 22px 42px rgba(15,23,42,.20), inset 0 1px 0 rgba(255,255,255,.95);
    outline: none;
}

.tesui-partner-logo-name {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 7px;
    z-index: 5;
    padding: 5px 7px;
    border-radius: 999px;
    background: rgba(8, 22, 49, .90);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: 10px;
    font-weight: 850;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 10px 22px rgba(0,0,0,.20);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(5px) scale(.98);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.tesui-partner-logo-card:hover .tesui-partner-logo-name,
.tesui-partner-logo-card:focus-visible .tesui-partner-logo-name {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.tesui-partner-logo-card img {
    width: 100%;
    height: 38px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(15,23,42,.18));
}

.tesui-partner-empty {
    grid-column: 1 / -1;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.78);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.tesui-auth-panel-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(28px, 3.6vw, 62px);
    background:
        radial-gradient(circle at 80% 18%, rgba(37, 99, 235, .08), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
}

.tesui-login-card {
    width: min(560px, 100%);
    padding: clamp(32px, 3.4vw, 54px);
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .82);
    box-shadow: var(--tesui-soft-shadow), inset 0 1px 0 rgba(255,255,255,1);
}

.tesui-login-header { margin-bottom: clamp(22px, 3vh, 34px); }

.tesui-login-kicker {
    margin-bottom: 14px;
    color: var(--tesui-blue);
    text-transform: uppercase;
}

.tesui-login-header h2 {
    margin: 0 0 12px;
    color: var(--tesui-text);
    font-size: clamp(34px, 2.7vw, 48px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.055em;
}

.tesui-login-header p {
    max-width: 380px;
    margin: 0;
    color: var(--tesui-muted);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 550;
}

.tesui-form-group { margin-bottom: 20px; }

.tesui-form-label {
    display: block;
    margin-bottom: 9px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.tesui-input-wrap { position: relative; }

.tesui-input-wrap i {
    position: absolute;
    left: 18px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 21px;
    pointer-events: none;
}

.tesui-form-control.form-control {
    width: 100%;
    height: 58px;
    padding: 0 18px 0 52px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 18px;
    color: var(--tesui-text);
    background: #F8FAFC;
    font-size: 16px;
    font-weight: 650;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}

.tesui-form-control.form-control::placeholder { color: #94A3B8; font-weight: 600; }

.tesui-form-control.form-control:focus {
    border-color: rgba(37, 99, 235, .62);
    background: #fff;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, .11), 0 14px 34px rgba(15, 23, 42, .06);
    transform: translateY(-1px);
}

.tesui-btn-login.btn {
    width: 100%;
    height: 58px;
    margin-top: 8px;
    border: 0;
    border-radius: 18px;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.01em;
    background: linear-gradient(135deg, #2563EB 0%, #16C7B7 100%);
    box-shadow: 0 20px 42px rgba(37, 99, 235, .28);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.tesui-btn-login.btn:hover,
.tesui-btn-login.btn:focus {
    color: #fff;
    transform: translateY(-2px);
    filter: saturate(1.06);
    box-shadow: 0 26px 54px rgba(37, 99, 235, .36), 0 0 0 6px rgba(22, 199, 183, .10);
}

.tesui-error {
    display: block;
    margin-top: 7px;
    color: #dc2626;
    font-size: 12px;
    font-style: normal !important;
    font-weight: 650;
}

.tesui-login-footer {
    margin-top: clamp(18px, 3vh, 30px);
    padding-top: clamp(14px, 2.2vh, 22px);
    border-top: 1px solid rgba(148, 163, 184, .22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--tesui-muted);
    font-size: 13px;
    font-weight: 650;
}

.tesui-login-footer strong {
    color: #334155;
    font-weight: 850;
}


/* Desktop login is a single hero screen. Prevent sticky scroll position after accidental wheel/trackpad scroll. */
@media (min-width: 992px) {
    html,
    body.tesui-login-page {
        height: 100%;
        max-height: 100%;
        overflow: hidden !important;
    }

    body.tesui-login-page {
        position: fixed;
        inset: 0;
        width: 100%;
    }

    .tesui-auth-shell {
        height: 100vh;
        height: 100svh;
        height: 100dvh;
        min-height: 0;
        overflow: hidden !important;
        padding: clamp(12px, 2vw, 28px);
        align-items: center;
    }

    .tesui-auth-wrap {
        height: min(900px, calc(100dvh - 48px));
        min-height: 0;
        margin: 0 auto;
    }

    .tesui-auth-panel-left {
        min-height: 0;
    }

    .tesui-auth-panel-right {
        min-height: 0;
        overflow: hidden;
    }
}

@media (max-height: 860px) and (min-width: 992px) {
    .tesui-auth-panel-left { padding: 30px; }
    .tesui-hero-content { padding-top: clamp(14px, 2.2vh, 22px); }
    .tesui-hero-content h1 { margin: 18px 0 12px; font-size: clamp(38px, 3.7vw, 58px); }
    .tesui-hero-description { font-size: 14px; line-height: 1.55; max-width: 520px; }
    .tesui-motto { margin-top: 20px; }
    .tesui-motto-lines > span, .tesui-motto-lines > strong { font-size: clamp(23px, 2.15vw, 34px); }
    .tesui-partner-section { margin-top: 24px; padding: 12px; }
    .tesui-partner-logo-grid { grid-template-columns: repeat(auto-fit, minmax(74px, 1fr)); max-height: 112px; gap: 8px; }
    .tesui-partner-logo-card { min-height: 48px; padding: 7px; }
    .tesui-partner-logo-card img { height: 30px; }
    .tesui-partner-logo-name { left: 6px; right: 6px; bottom: 6px; font-size: 9px; padding: 4px 6px; }
    .tesui-login-card { padding: 34px; }
    .tesui-login-header { margin-bottom: 24px; }
}

@media (max-width: 991.98px) {
    .tesui-auth-shell { align-items: flex-start; padding: 0; overflow-y: auto; }
    .tesui-auth-wrap { width: 100%; grid-template-columns: 1fr; min-height: 100dvh; margin-top: 0; margin-bottom: 0; border-radius: 0; }
    .tesui-auth-panel-left { min-height: auto; gap: 54px; }
    .tesui-partner-logo-grid { grid-template-columns: repeat(auto-fit, minmax(82px, 1fr)); max-height: 150px; }
    .tesui-auth-panel-right { padding: 34px; }
}

@media (max-width: 575.98px) {
    .tesui-auth-shell { padding: 0; align-items: stretch; min-height: 100svh; }
    .tesui-auth-wrap { width: 100%; border-radius: 0; border: 0; box-shadow: none; }
    .tesui-auth-panel-left { padding: 24px; gap: 34px; }
    .tesui-brand-mark { width: 48px; height: 48px; border-radius: 16px; }
    .tesui-brand-name { font-size: 18px; }
    .tesui-brand-subtitle { font-size: 12px; }
    .tesui-hero-content { padding-top: 10px; }
    .tesui-hero-content h1 { font-size: 43px; }
    .tesui-hero-description { font-size: 14px; line-height: 1.65; }
    .tesui-motto-lines > span, .tesui-motto-lines > strong { font-size: 27px; }
    .tesui-partner-section { margin-top: clamp(18px, 3vh, 30px); padding: 14px; }
    .tesui-partner-heading { align-items: start; flex-direction: column; gap: 3px; }
    .tesui-partner-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: none; overflow: visible; }
    .tesui-partner-logo-card { min-height: 54px; border-radius: 15px; }
    .tesui-partner-logo-card img { height: 32px; }
    .tesui-partner-logo-name {
        position: static;
        max-width: 100%;
        margin-top: 6px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #0f274f;
        font-size: 9.5px;
        line-height: 1.15;
        white-space: normal;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .tesui-partner-logo-name::after { display: none; }
    .tesui-auth-panel-right { padding: 20px; }
    .tesui-login-card { padding: 28px 22px; border-radius: 24px; }
    .tesui-login-header h2 { font-size: 31px; }
    .tesui-login-footer { display: block; }
    .tesui-login-footer strong { display: block; margin-top: 5px; }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .tesui-auth-wrap { grid-template-columns: minmax(0, 56fr) minmax(390px, 44fr); border-radius: 26px; }
    .tesui-auth-panel-left { padding: 26px; }
    .tesui-brand-mark { width: 50px; height: 50px; border-radius: 16px; }
    .tesui-brand-name { font-size: 19px; }
    .tesui-brand-subtitle { font-size: 12px; }
    .tesui-hero-content { max-width: 560px; }
    .tesui-hero-content h1 { font-size: clamp(38px, 4.4vw, 56px); }
    .tesui-hero-description { font-size: clamp(13px, 1.2vw, 15px); line-height: 1.55; max-width: 480px; }
    .tesui-motto { margin-top: clamp(16px, 2.4vh, 26px); }
    .tesui-motto-lines > span,
    .tesui-motto-lines > strong { font-size: clamp(22px, 2.5vw, 32px); }
    .tesui-partner-section { padding: 12px; }
    .tesui-partner-logo-grid { grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); max-height: clamp(90px, 14vh, 124px); gap: 8px; }
    .tesui-partner-logo-card { min-height: 48px; padding: 7px; border-radius: 14px; }
    .tesui-partner-logo-card img { height: 29px; }
    .tesui-partner-logo-name { left: 6px; right: 6px; bottom: 6px; font-size: 9px; padding: 4px 6px; }
    .tesui-auth-panel-right { padding: clamp(24px, 3vw, 42px); }
    .tesui-login-card { padding: clamp(28px, 3vw, 42px); border-radius: 26px; }
    .tesui-login-header h2 { font-size: clamp(31px, 3.1vw, 40px); }
    .tesui-login-header p { font-size: 14px; line-height: 1.55; }
    .tesui-form-group { margin-bottom: 16px; }
    .tesui-form-control.form-control,
    .tesui-btn-login.btn { height: 52px; border-radius: 16px; }
}

@media (max-height: 740px) and (min-width: 992px) {
    .tesui-auth-shell { padding: 8px; }
    .tesui-auth-wrap { height: 100%; }
    .tesui-auth-panel-left { padding: 22px; }
    .tesui-brand-row { gap: 12px; }
    .tesui-brand-mark { width: 46px; height: 46px; border-radius: 15px; }
    .tesui-hero-content { padding-top: 12px; }
    .tesui-env-badge, .tesui-login-kicker { font-size: 10px; }
    .tesui-env-badge { padding: 7px 10px; }
    .tesui-hero-content h1 { margin: 12px 0 8px; font-size: clamp(34px, 3.6vw, 50px); }
    .tesui-hero-description { font-size: 13px; line-height: 1.42; max-width: 500px; }
    .tesui-motto { margin-top: 12px; column-gap: 10px; padding-left: 12px; }
    .tesui-quote-mark { font-size: 38px; }
    .tesui-motto-lines { gap: 1px; }
    .tesui-motto-lines > span,
    .tesui-motto-lines > strong { font-size: clamp(19px, 2vw, 29px); line-height: 1.03; }
    .tesui-partner-section { margin-top: 14px; padding: 10px; border-radius: 18px; }
    .tesui-partner-heading { margin-bottom: 8px; }
    .tesui-partner-heading span { font-size: 14px; }
    .tesui-partner-heading small { font-size: 10px; }
    .tesui-partner-logo-grid { max-height: 88px; grid-template-columns: repeat(auto-fit, minmax(68px, 1fr)); gap: 7px; }
    .tesui-partner-logo-card { min-height: 40px; padding: 6px; }
    .tesui-partner-logo-card img { height: 25px; }
    .tesui-auth-panel-right { padding: 22px; }
    .tesui-login-card { padding: 26px; }
    .tesui-login-header { margin-bottom: 18px; }
    .tesui-login-header h2 { margin-bottom: 8px; font-size: clamp(28px, 2.8vw, 36px); }
    .tesui-login-header p { font-size: 13px; line-height: 1.45; }
    .tesui-form-label { margin-bottom: 6px; font-size: 12px; }
    .tesui-form-group { margin-bottom: 13px; }
    .tesui-form-control.form-control,
    .tesui-btn-login.btn { height: 48px; }
    .tesui-btn-login.btn { font-size: 17px; }
    .tesui-login-footer { margin-top: 16px; padding-top: 12px; }
}

@media (min-width: 1921px) {
    .tesui-auth-wrap { max-width: 1920px; }
    .tesui-hero-content { max-width: 820px; }
    .tesui-login-card { width: min(580px, 100%); }
}

@media (min-width: 1400px) and (max-width: 1920px) {
    .tesui-auth-shell { padding: clamp(10px, 1vw, 18px); }
    .tesui-auth-wrap { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}

@media (max-width: 575.98px) {
    .tesui-motto { column-gap: 10px; padding-left: 14px; }
    .tesui-quote-mark { font-size: 42px; }
}
