.th-login-page,
.th-login-page * {
    box-sizing: border-box;
}

.th-login-page {
    margin: 0;
    color: #152b44;
    background: #f5f8fc;
}

.th-login-page .th-header {
    isolation: isolate;
    background: transparent !important;
}

.th-login-page .th-header::before {
    z-index: 0;
}

.th-login-page .th-header .th-nav {
    position: relative;
    z-index: 1;
    color: inherit;
    background: transparent !important;
    box-shadow: none !important;
}

.th-login-page main {
    display: block;
}

.th-portal {
    position: relative;
    isolation: isolate;
    min-height: min(820px, calc(100svh - 78px));
    padding: clamp(72px, 8vw, 118px) 24px;
    overflow: hidden;
    background:
        linear-gradient(108deg, rgba(3, 22, 44, .97), rgba(6, 38, 74, .89)),
        url("/image/background.jpg") center / cover no-repeat;
}

.th-portal::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .09;
    background-image:
        linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 64px 64px;
    content: "";
    mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.th-portal__glow {
    position: absolute;
    z-index: -1;
    top: -200px;
    left: 38%;
    width: 680px;
    height: 680px;
    border-radius: 50%;
    background: rgba(24, 119, 242, .22);
    filter: blur(110px);
}

.th-portal__inner {
    display: grid;
    width: min(1180px, 100%);
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 470px);
    gap: clamp(64px, 9vw, 132px);
    align-items: center;
}

.th-portal__intro {
    max-width: 620px;
    color: #fff;
}

.th-portal__eyebrow {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 8px 13px;
    color: #cce6ff;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .14em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.th-portal__intro h1 {
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(45px, 5vw, 68px);
    font-weight: 760;
    letter-spacing: -.045em;
    line-height: 1;
}

.th-portal__intro > p {
    max-width: 570px;
    margin: 0 0 38px;
    color: rgba(222, 235, 249, .8);
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.7;
}

.th-portal__benefits {
    display: grid;
    max-width: 590px;
    gap: 12px;
}

.th-portal__benefits > div {
    display: grid;
    padding: 14px 16px;
    border: 1px solid rgba(183, 217, 255, .13);
    border-radius: 15px;
    background: rgba(255, 255, 255, .055);
    grid-template-columns: 38px 1fr;
    gap: 12px;
    backdrop-filter: blur(10px);
}

.th-portal__benefits span {
    display: grid;
    width: 34px;
    height: 34px;
    color: #7fc3ff;
    border-radius: 10px;
    background: rgba(31, 125, 235, .18);
    font-size: 10px;
    font-weight: 800;
    place-items: center;
}

.th-portal__benefits p {
    margin: 0;
    color: rgba(218, 232, 247, .7);
    font-size: 13px;
    line-height: 1.45;
}

.th-portal__benefits strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 14px;
}

.th-login-card.box {
    width: 100%;
    margin: 0;
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid rgba(215, 229, 246, .85);
    border-radius: 26px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 36px 90px rgba(0, 12, 31, .34), inset 0 1px 0 #fff;
    backdrop-filter: blur(18px);
}

.th-login-card__heading {
    display: flex;
    margin-bottom: 18px;
    align-items: center;
    gap: 14px;
}

.th-login-card__icon {
    display: grid;
    width: 48px;
    height: 48px;
    color: #1269d6;
    border-radius: 14px;
    background: #eaf4ff;
    flex: 0 0 auto;
    place-items: center;
}

.th-login-card__icon svg,
.th-field__control > svg {
    width: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.th-login-card__heading span:not(.th-login-card__icon) {
    display: block;
    margin-bottom: 2px;
    color: #60748b;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.th-login-card__heading h2 {
    margin: 0;
    color: #102943;
    font-size: clamp(24px, 2.4vw, 31px);
    font-weight: 750;
    letter-spacing: -.025em;
}

.th-login-card__support,
.forgetPasswordText {
    display: block;
    margin: 0 0 26px;
    color: #66798f;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.th-field {
    margin-bottom: 19px;
    text-align: left;
}

.th-field label,
.th-field .useridtext {
    display: block;
    margin: 0 0 8px;
    color: #263d56;
    font-size: 13px;
    font-weight: 700;
}

.th-field__control {
    position: relative;
}

.th-field__control > svg {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 15px;
    width: 18px;
    color: #71849a;
    transform: translateY(-50%);
    pointer-events: none;
}

.th-login-card .userId,
.th-login-card .password,
.th-login-card .forgetEmail {
    display: block;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0 15px 0 44px;
    color: #16304c;
    border: 1px solid #d8e2ed;
    border-radius: 13px;
    outline: none;
    background: #f8fafc;
    box-shadow: none;
    font: inherit;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.th-login-card .userId:focus,
.th-login-card .password:focus,
.th-login-card .forgetEmail:focus {
    border-color: #2a7de2;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(26, 112, 218, .11);
}

.th-login-card .signIn,
.th-login-card .sendMail {
    display: flex;
    width: 100%;
    min-height: 52px;
    margin: 8px 0 0;
    padding: 0 20px;
    color: #fff;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #1978ed, #0756bb);
    box-shadow: 0 14px 28px rgba(7, 83, 182, .22);
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
}

.th-login-card .forgetPassword,
.th-login-card .goBack {
    display: inline-flex;
    margin: 17px 0 0;
    padding: 0;
    color: #1768c8;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.th-login-card .goBack {
    margin: 0 0 26px;
}

.th-login-card__help {
    margin: 26px 0 0;
    padding-top: 20px;
    color: #728398;
    border-top: 1px solid #e7edf4;
    font-size: 12px;
    text-align: center;
}

.th-login-card__help a {
    color: #1267ca;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 900px) {
    .th-portal__inner {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .th-portal__intro {
        max-width: 720px;
        text-align: center;
        justify-self: center;
    }

    .th-portal__intro > p,
    .th-portal__benefits {
        margin-right: auto;
        margin-left: auto;
    }

    .th-login-card.box {
        max-width: 520px;
        justify-self: center;
    }
}

@media (max-width: 575px) {
    .th-portal {
        min-height: 0;
        padding: 124px 16px 70px;
    }

    .th-portal__intro h1 {
        font-size: clamp(39px, 12vw, 52px);
    }

    .th-portal__benefits {
        text-align: left;
    }

    .th-login-card.box {
        padding: 26px 20px;
        border-radius: 22px;
    }
}
