:root {

    --blue: #075da8;
    --blue-dark: #064b88;
    --blue-light: #eaf4fc;

    --orange: #f28c28;
    --orange-dark: #df7412;

    --white: #ffffff;

    --page: #f1f4f7;

    --text: #263544;
    --text-dark: #253747;

    --muted: #6f7d89;

    --border: #d7dee5;

    --success: #23834b;

}


* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html,
body {

    width: 100%;
    min-height: 100%;

}


body {

    font-family: "Inter", Arial, sans-serif;

    background: var(--page);

    color: var(--text);

    -webkit-font-smoothing: antialiased;

}


.portal-page {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

}


.portal-header {

    height: 70px;

    background: #ffffff;

    border-bottom: 1px solid #dce2e7;

}


.header-inner {

    width: 1040px;

    max-width: calc(100% - 40px);

    height: 100%;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.portal-brand {

    display: flex;

    align-items: center;

    gap: 12px;

}


.brand-mark {

    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--blue);

    color: #ffffff;

    border-radius: 5px;

    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .10);

}


.brand-mark i {

    font-size: 18px;

}


.brand-info h1 {

    font-family: "Manrope", "Inter", sans-serif;

    font-size: 20px;

    line-height: 1;

    font-weight: 800;

    color: var(--blue);

    letter-spacing: -.4px;

}


.brand-info h1 span {

    color: #333f4b;

}


.brand-info p {

    margin-top: 6px;

    font-size: 9px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: 1.4px;

    color: #8996a1;

}


.help-info {

    display: flex;

    align-items: center;

    gap: 7px;

    color: #74818d;

    font-size: 11px;

    font-weight: 500;

}


.help-info i {

    color: var(--blue);

    font-size: 12px;

}


.portal-strip {

    height: 36px;

    background: var(--blue);

    color: #ffffff;

}


.strip-inner {

    width: 1040px;

    max-width: calc(100% - 40px);

    height: 100%;

    margin: auto;

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 11px;

    font-weight: 500;

}


.strip-inner i {

    margin-right: 4px;

    font-size: 10px;

}


.strip-arrow {

    opacity: .55;

}


.main-content {

    flex: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 38px 20px;

}


.login-box {

    width: 780px;

    max-width: 100%;

    min-height: 430px;

    display: grid;

    grid-template-columns: 43% 57%;

    background: #ffffff;

    border: 1px solid #d9e0e6;

    border-radius: 5px;

    box-shadow: 0 10px 30px rgba(26, 48, 68, .09);

    overflow: hidden;

}


.login-info {

    padding: 35px 32px;

    background: linear-gradient(
            145deg,
            #075da8,
            #064c89
    );

    color: #ffffff;

    position: relative;

    overflow: hidden;

}


.login-info::after {

    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    border-radius: 50%;

    border: 25px solid rgba(
            255,
            255,
            255,
            .035
    );

    right: -100px;
    bottom: -95px;

}


.info-heading {

    display: flex;

    align-items: center;

    gap: 11px;

}


.info-icon {

    width: 43px;
    height: 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(
            255,
            255,
            255,
            .12
    );

    border: 1px solid rgba(
            255,
            255,
            255,
            .18
    );

    border-radius: 5px;

}


.info-icon i {

    font-size: 17px;

}


.info-heading span {

    display: block;

    color: #b9d8f1;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 1px;

}


.info-heading h2 {

    margin-top: 4px;

    font-family: "Manrope", sans-serif;

    font-size: 25px;

    line-height: 1.1;

    font-weight: 800;

}


.info-line {

    width: 38px;
    height: 3px;

    margin-top: 20px;

    background: var(--orange);

    border-radius: 2px;

}


.info-description {

    margin-top: 16px;

    color: #d6e7f5;

    font-size: 12px;

    line-height: 1.7;

}


.service-list {

    margin-top: 23px;

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.service-item {

    display: flex;

    align-items: center;

    gap: 9px;

    color: #ffffff;

    font-size: 11px;

    font-weight: 500;

}


.service-item i {

    width: 18px;
    height: 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(
            255,
            255,
            255,
            .12
    );

    color: #bce5c9;

    font-size: 8px;

}


.info-notice {

    position: absolute;

    left: 32px;
    right: 32px;
    bottom: 28px;

    display: flex;

    gap: 9px;

    padding-top: 13px;

    border-top: 1px solid rgba(
            255,
            255,
            255,
            .14
    );

}


.info-notice > i {

    color: #ffbd72;

    font-size: 12px;

    margin-top: 2px;

}


.info-notice strong {

    display: block;

    font-size: 10px;

    font-weight: 600;

}


.info-notice p {

    margin-top: 4px;

    color: #bcd2e4;

    font-size: 9px;

    line-height: 1.5;

}


.login-form-area {

    padding: 38px 42px 32px;

    background: #ffffff;

}


.form-title {

    padding-bottom: 18px;

    margin-bottom: 22px;

    border-bottom: 1px solid #edf0f2;

}


.form-title h2 {

    font-family: "Manrope", sans-serif;

    color: var(--text-dark);

    font-size: 25px;

    line-height: 1;

    font-weight: 800;

}


.form-title p {

    margin-top: 8px;

    color: #7b8792;

    font-size: 11px;

    line-height: 1.5;

}


.form-group {

    margin-bottom: 17px;

}


.form-group label {

    display: block;

    margin-bottom: 7px;

    color: #384754;

    font-size: 11px;

    font-weight: 600;

}


.input-group {

    height: 43px;

    position: relative;

}


.input-group > i {

    position: absolute;

    left: 13px;

    top: 50%;

    transform: translateY(-50%);

    color: #87939e;

    font-size: 12px;

    z-index: 2;

}


.input-group input {

    width: 100%;

    height: 100%;

    padding: 0 40px;

    border: 1px solid var(--border);

    border-radius: 4px;

    outline: none;

    background: #fafbfc;

    color: #273642;

    font-family: "Inter", sans-serif;

    font-size: 12px;

    font-weight: 500;

    transition:
            border-color .2s ease,
            box-shadow .2s ease,
            background .2s ease;

}


.input-group input::placeholder {

    color: #a0aab3;

    font-size: 11px;

}


.input-group input:hover {

    border-color: #c6d0d9;

}


.input-group input:focus {

    background: #ffffff;

    border-color: var(--blue);

    box-shadow:
            0 0 0 3px rgba(
                    7,
                    93,
                    168,
                    .08
            );

}


.input-group input:disabled {

    background: #f2f5f7;

    cursor: not-allowed;

}


.password-button {

    position: absolute;

    right: 5px;
    top: 5px;

    width: 33px;
    height: 33px;

    border: none;

    background: transparent;

    color: #8996a1;

    cursor: pointer;

    border-radius: 4px;

    z-index: 3;

}


.password-button:hover {

    background: #edf4fa;

    color: var(--blue);

}


.password-button i {

    font-size: 12px;

}


.captcha-row {

    display: flex;

    gap: 8px;

    margin-bottom: 8px;

}


.captcha-display {

    flex: 1;

    height: 43px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #edf4fa;

    border: 1px solid #cbdce9;

    border-radius: 4px;

    overflow: hidden;

    position: relative;

}


.captcha-display::before {

    content: "";

    position: absolute;

    inset: 0;

    background: repeating-linear-gradient(
            -25deg,
            transparent 0,
            transparent 8px,
            rgba(
                    7,
                    93,
                    168,
                    .06
            ) 9px,
            transparent 10px
    );

}


.captcha-display span {

    position: relative;

    z-index: 2;

    color: var(--blue-dark);

    font-family: "Manrope", sans-serif;

    font-size: 17px;

    font-weight: 800;

    letter-spacing: 5px;

}


.captcha-refresh {

    width: 43px;
    height: 43px;

    flex-shrink: 0;

    border: 1px solid var(--border);

    background: #ffffff;

    color: #647482;

    border-radius: 4px;

    cursor: pointer;

    transition: .2s ease;

}


.captcha-refresh:hover {

    background: var(--blue-light);

    border-color: #b9d2e5;

    color: var(--blue);

}


.captcha-refresh i {

    font-size: 12px;

}


.login-button {

    width: 100%;

    height: 44px;

    margin-top: 3px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 16px;

    border: none;

    border-radius: 4px;

    background: var(--blue);

    color: #ffffff;

    font-family: "Inter", sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    cursor: pointer;

    transition:
            background .2s ease,
            transform .2s ease,
            box-shadow .2s ease;

}


.login-button:hover {

    background: var(--blue-dark);

    box-shadow:
            0 7px 18px rgba(
                    7,
                    93,
                    168,
                    .18
            );

    transform: translateY(-1px);

}


.login-button:active {

    transform: translateY(0);

}


.login-button:disabled {

    opacity: .65;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;

}


.login-button i {

    font-size: 11px;

}


.forgot-password-container {

    display: flex;

    justify-content: flex-end;

    margin-top: 11px;

}


.forgot-password-link {

    border: none;

    background: transparent;

    padding: 2px 0;

    color: var(--blue);

    font-family: "Inter", sans-serif;

    font-size: 10px;

    font-weight: 600;

    cursor: pointer;

    transition: color .2s ease;

}


.forgot-password-link i {

    margin-right: 5px;

    font-size: 9px;

}


.forgot-password-link:hover {

    color: var(--orange-dark);

    text-decoration: underline;

}


.secure-note {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    margin-top: 17px;

    color: #7c8994;

    font-size: 9px;

    font-weight: 500;

}


.secure-note i {

    color: var(--success);

    font-size: 10px;

}


.message-box {

    display: none;

    align-items: center;

    gap: 7px;

    padding: 9px 10px;

    margin-bottom: 12px;

    border-radius: 4px;

    font-size: 10px;

}


.message-box.show {

    display: flex;

}


.error-message {

    background: #fff1f1;

    border: 1px solid #f0cccc;

    color: #b34242;

}


.error-message i {

    font-size: 11px;

}


.success-message {

    background: #edf8f2;

    border: 1px solid #cce8d8;

    color: #276d45;

}


.success-message i {

    color: var(--success);

    font-size: 11px;

}


.otp-section {

    display: block;

}


.otp-success-box {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    padding: 11px 12px;

    margin-bottom: 17px;

    background: #edf8f2;

    border: 1px solid #cce8d8;

    border-radius: 4px;

}


.otp-success-box > i {

    color: var(--success);

    font-size: 14px;

    margin-top: 2px;

}


.otp-success-box strong {

    display: block;

    color: #276d45;

    font-size: 10px;

    font-weight: 700;

}


.otp-success-box span {

    display: block;

    margin-top: 3px;

    color: #638070;

    font-size: 9px;

    line-height: 1.5;

}


.otp-success-box span strong {

    display: inline;

    color: #276d45;

    font-size: 9px;

}


.otp-actions {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: 14px;

    min-height: 28px;

    color: #89949e;

    font-size: 9px;

    text-align: center;

}


.back-login-button {

    width: 100%;

    height: 35px;

    margin-top: 9px;

    border: 1px solid #d7dee5;

    border-radius: 4px;

    background: #ffffff;

    color: #687782;

    font-family: "Inter", sans-serif;

    font-size: 9px;

    font-weight: 600;

    cursor: pointer;

    transition: .2s ease;

}


.back-login-button:hover {

    background: #f5f8fa;

    color: var(--blue);

    border-color: #c3d4e1;

}


.back-login-button i {

    margin-right: 5px;

}


.portal-footer {

    min-height: 45px;

    padding: 0 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #ffffff;

    border-top: 1px solid #dce2e7;

    color: #7f8b96;

    font-size: 9px;

    font-weight: 500;

}


.portal-footer div:last-child {

    display: flex;

    gap: 9px;

}


.forgot-password-modal {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

}


.forgot-password-modal.show {

    display: flex;

}


body.modal-open {

    overflow: hidden;

}


.forgot-password-overlay {

    position: absolute;

    inset: 0;

    background: rgba(
            22,
            39,
            55,
            .58
    );

    backdrop-filter: blur(2px);

}


.forgot-password-dialog {

    position: relative;

    z-index: 2;

    width: 430px;

    max-width: 100%;

    max-height: calc(100vh - 40px);

    overflow-y: auto;

    background: #ffffff;

    border: 1px solid #d9e0e6;

    border-radius: 6px;

    box-shadow:
            0 20px 55px rgba(
                    20,
                    42,
                    62,
                    .25
            );

    padding: 26px 30px 23px;

    animation:
            forgotPasswordModalIn
            .22s ease-out;

}


.forgot-password-dialog::-webkit-scrollbar {

    width: 5px;

}


.forgot-password-dialog::-webkit-scrollbar-track {

    background: #f4f6f8;

}


.forgot-password-dialog::-webkit-scrollbar-thumb {

    background: #c8d1d9;

    border-radius: 5px;

}


@keyframes forgotPasswordModalIn {

    from {

        opacity: 0;

        transform:
                translateY(-12px)
                scale(.98);

    }

    to {

        opacity: 1;

        transform:
                translateY(0)
                scale(1);

    }

}


.forgot-password-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.forgot-password-title {

    display: flex;

    align-items: center;

    gap: 11px;

}


.forgot-password-icon {

    width: 43px;
    height: 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--blue-light);

    border: 1px solid #cbdce9;

    color: var(--blue);

    border-radius: 5px;

}


.forgot-password-icon i {

    font-size: 16px;

}


.forgot-password-title span {

    display: block;

    color: #7b8792;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1px;

}


.forgot-password-title h2 {

    margin-top: 3px;

    color: var(--text-dark);

    font-family: "Manrope", sans-serif;

    font-size: 21px;

    line-height: 1.1;

    font-weight: 800;

}


.forgot-password-close {

    width: 31px;
    height: 31px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid transparent;

    border-radius: 4px;

    background: transparent;

    color: #8996a1;

    cursor: pointer;

    transition: .2s ease;

}


.forgot-password-close:hover {

    background: #fff1f1;

    border-color: #f0cccc;

    color: #b34242;

}


.forgot-password-close i {

    font-size: 13px;

}


.forgot-password-line {

    width: 38px;
    height: 3px;

    margin-top: 18px;

    background: var(--orange);

    border-radius: 2px;

}


.forgot-password-description {

    margin-top: 13px;

    margin-bottom: 20px;

    color: #7b8792;

    font-size: 10px;

    line-height: 1.6;

}


.modal-input-group {

    height: 43px;

}


.forgot-password-message {

    display: none;

    align-items: center;

    gap: 7px;

    padding: 9px 10px;

    margin-bottom: 14px;

    border-radius: 4px;

    font-size: 10px;

    line-height: 1.4;

}


.forgot-password-message.show {

    display: flex;

}


.forgot-password-message span {

    flex: 1;

}


.forgot-password-actions {

    display: flex;

    gap: 9px;

    margin-top: 21px;

}


.forgot-cancel-button {

    width: 35%;

    height: 42px;

    border: 1px solid #d7dee5;

    border-radius: 4px;

    background: #ffffff;

    color: #687782;

    font-family: "Inter", sans-serif;

    font-size: 9px;

    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;

}


.forgot-cancel-button:hover {

    background: #f5f8fa;

    border-color: #c3d4e1;

    color: var(--blue);

}


.forgot-cancel-button i {

    margin-right: 5px;

}


.forgot-change-button {

    flex: 1;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 13px;

    border: none;

    border-radius: 4px;

    background: var(--blue);

    color: #ffffff;

    font-family: "Inter", sans-serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .7px;

    cursor: pointer;

    transition:
            background .2s ease,
            box-shadow .2s ease,
            transform .2s ease;

}


.forgot-change-button:hover {

    background: var(--blue-dark);

    box-shadow:
            0 7px 18px rgba(
                    7,
                    93,
                    168,
                    .18
            );

    transform: translateY(-1px);

}


.forgot-change-button:active {

    transform: translateY(0);

}


.forgot-change-button:disabled {

    opacity: .65;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;

}


.forgot-change-button i {

    font-size: 10px;

}


.forgot-password-security {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    margin-top: 17px;

    padding-top: 13px;

    border-top: 1px solid #edf0f2;

    color: #7c8994;

    font-size: 8px;

    font-weight: 500;

}


.forgot-password-security i {

    color: var(--success);

    font-size: 9px;

}


@media (max-width: 760px) {

    .login-box {

        width: 450px;

        grid-template-columns: 1fr;

    }


    .login-info {

        min-height: 285px;

    }


    .info-notice {

        position: static;

        margin-top: 22px;

    }


    .login-form-area {

        padding: 32px 35px 28px;

    }


    .forgot-password-dialog {

        width: 430px;

    }

}


@media (max-width: 480px) {

    .portal-header {

        height: 64px;

    }


    .header-inner {

        max-width: calc(100% - 25px);

    }


    .brand-mark {

        width: 39px;
        height: 39px;

    }


    .brand-info h1 {

        font-size: 16px;

    }


    .brand-info p {

        font-size: 7px;

        letter-spacing: 1px;

    }


    .help-info {

        display: none;

    }


    .strip-inner {

        max-width: calc(100% - 25px);

        font-size: 10px;

    }


    .main-content {

        padding: 18px 10px;

    }


    .login-box {

        width: 100%;

    }


    .login-info {

        padding: 28px 23px;

    }


    .info-heading h2 {

        font-size: 22px;

    }


    .info-description {

        font-size: 11px;

    }


    .service-item {

        font-size: 10px;

    }


    .info-notice {

        left: 23px;

        right: 23px;

    }


    .login-form-area {

        padding: 28px 22px 25px;

    }


    .form-title h2 {

        font-size: 23px;

    }


    .form-title p {

        font-size: 10px;

    }


    .form-group label {

        font-size: 10px;

    }


    .input-group input {

        font-size: 11px;

    }


    .input-group input::placeholder {

        font-size: 10px;

    }


    .portal-footer {

        min-height: 48px;

        padding: 9px 12px;

        flex-direction: column;

        justify-content: center;

        gap: 6px;

        font-size: 8px;

    }


    .otp-actions {

        align-items: center;

        text-align: center;

    }


    .forgot-password-modal {

        padding: 12px;

    }


    .forgot-password-dialog {

        width: 100%;

        max-height: calc(100vh - 24px);

        padding: 22px 20px 20px;

    }


    .forgot-password-title h2 {

        font-size: 19px;

    }


    .forgot-password-description {

        font-size: 9px;

    }


    .forgot-password-actions {

        gap: 7px;

    }


    .forgot-cancel-button {

        width: 34%;

    }


    .forgot-change-button {

        font-size: 8px;

        letter-spacing: .4px;

    }

}