@font-face {
    font-family: "Roboto";
    src: url("/fonts/roboto/Roboto-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url("/fonts/roboto/Roboto-BlackItalic.ttf") format("truetype");
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: "Roboto";
    src: url("/fonts/roboto/Roboto-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url("/fonts/roboto/Roboto-BoldItalic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: "Roboto";
    src: url("/fonts/roboto/Roboto-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url("/fonts/roboto/Roboto-MediumItalic.ttf") format("truetype");
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: "Roboto";
    src: url("/fonts/roboto/Roboto-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url("/fonts/roboto/Roboto-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Roboto";
    src: url("/fonts/roboto/Roboto-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url("/fonts/roboto/Roboto-LightItalic.ttf") format("truetype");
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: "Roboto";
    src: url("/fonts/roboto/Roboto-Thin.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url("/fonts/roboto/Roboto-ThinItalic.ttf") format("truetype");
    font-weight: 100;
    font-style: italic;
}

body {
    font-family: "Roboto", sans-serif;
}

.hn-login-page {
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    /* overflow: auto; */
    position: relative;
    z-index: 1;
}

.hn-login-card {
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #d9d9d9;
    box-shadow: 5px 11px 32px rgba(0, 169, 158, 0.21);
    padding: 26px 32px 26px;
    max-width: 550px;
    /* height: 100%; */
}

.hn-login-card__block + .hn-login-card__block {
    margin-top: 24px;
}

.hn-login-card__block h2 {
    margin: 0 0 12px;
    color: #333333;
    font-size: 15px;
    line-height: 10px;
    letter-spacing: 0.02em;
    font-weight: 700;
    text-transform: uppercase;
}

.hn-login-card__select,
.hn-login-card__input {
    width: 100%;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    background: #f5f6f8;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    padding: 0 16px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.hn-login-card .select2-container {
    width: 100% !important;
}

.hn-login-card .select2-container--default .select2-selection--single {
    height: 40px;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    background: #f5f6f8;
}

.hn-login-card
    .select2-container
    .select2-selection--single
    .select2-selection__rendered {
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    line-height: 40px;
    padding-left: 16px;
    padding-right: 56px;
}

.hn-login-card
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 44px;
    right: 8px;
}

.hn-login-card
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: #808080 transparent transparent transparent;
}

.hn-login-card
    .select2-container--default
    .select2-selection--single
    .select2-selection__clear {
    position: absolute;
    top: 50%;
    right: 32px;
    transform: translateY(-50%);
    float: none;
    margin: 0;
    padding: 0;
    color: #8a8a8a;
    font-size: 18px;
    line-height: 1;
}

.hn-login-card
    .select2-container--default
    .select2-selection--single
    .select2-selection__clear:hover {
    color: #555555;
}

.hn-login-card
    .select2-container--default.select2-container--open
    .select2-selection--single {
    border-color: #1876f2;
    box-shadow: 0 0 0 2px rgba(5, 160, 170, 0.12);
}

.hn-login-card .select2-dropdown {
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(5, 160, 170, 0.15);
}

.hn-login-card
    .select2-container--default
    .select2-search--dropdown
    .select2-search__field {
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    height: 36px;
    padding: 0 10px;
    outline: none;
}

.hn-login-card .select2-results__option {
    font-size: 14px;
}

.hn-login-card__field--hidden {
    display: none;
}

.hn-login-card__field {
    margin-bottom: 12px;
}

.hn-login-card__field:last-child {
    margin-bottom: 0;
}

.hn-login-card__input::placeholder,
.hn-login-card__select {
    color: #8a8a8a;
}

.hn-login-card__select {
    margin-bottom: 0;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #808080 50%),
        linear-gradient(135deg, #808080 50%, transparent 50%);
    background-position:
        calc(100% - 19px) 20px,
        calc(100% - 13px) 20px;
    background-size:
        6px 6px,
        6px 6px;
    background-repeat: no-repeat;
}

.hn-login-card__select:last-child {
    margin-bottom: 0;
}

.hn-login-card__input--active {
    border-color: #1876f2;
    color: #050505;
}

.hn-login-card__select:focus,
.hn-login-card__input:focus {
    border-color: #1876f2;
    box-shadow: 0 0 0 2px rgba(5, 160, 170, 0.12);
}

.hn-login-card__validation {
    margin-bottom: 8px;
    font-size: 12px;
}

.hn-login-card__field-error {
    display: block;
    margin-top: 4px;
    font-size: 12px;
}

.hn-login-card__password-wrap {
    position: relative;
    margin-top: 16px;
}

.hn-login-card__meta {
    margin-top: 19px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hn-login-card__remember {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #959595;
    font-size: 16px;
    line-height: 24px;
}

.hn-login-card__remember input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #1876f2;
}

.hn-login-card__forgot {
    color: #1876f2;
    font-size: 14px;
    line-height: 21px;
    font-weight: 500;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.hn-login-card__forgot:hover {
    text-decoration: underline;
}

.hn-login-card__forgot:focus-visible {
    outline: 2px solid rgba(5, 160, 170, 0.35);
    outline-offset: 2px;
    border-radius: 2px;
}

.hn-login-card__actions {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.hn-login-card__btn {
    height: 44px;
    border-radius: 4px;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
}

.hn-login-card__btn-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    line-height: 1;
}

.hn-login-card__btn--secondary {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hn-login-card__btn--secondary {
    border: 1px solid #1876f2;
    background: #ffffff;
    color: #1876f2;
    /* width: 50%; */
}

.hn-login-card__btn--secondary:hover {
    background: #f2fcfd;
}

.hn-login-card__btn--primary {
    border: 1px solid #1876f2;
    background: #1876f2;
    color: #ffffff;
    width: 100%;
}

.hn-login-card__btn--primary:hover {
    background: #0f5dc4;
    border-color: #0f5dc4;
}

.hn-login-page__footer {
    /* position: fixed; */
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    z-index: 30;
    background: #1876f2;
    color: #ffffff;
    padding: 8px 24px;
    flex: 0 0 56px;
}

.hn-login-page__footer-line {
    margin: 0;
    font-size: 14px;
    line-height: 18px;
}

.hn-login-page__hotline {
    color: #fcfd02;
    font-weight: 500;
}

.hn-login-page__footer a {
    color: #ffffff;
    text-decoration: underline;
}

.hn-support-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
}

.hn-support-modal--open {
    display: block;
}

.hn-support-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 39, 0.48);
    backdrop-filter: blur(4px);
}

.hn-support-modal__dialog {
    position: relative;
    width: min(560px, calc(100vw - 32px));
    margin: clamp(64px, 12vh, 120px) auto 0;
    background: #ffffff;
    border: 1px solid #d9e2ea;
    border-radius: 16px;
    box-shadow: 0 20px 55px rgba(4, 38, 63, 0.28);
    padding: 26px 28px 22px;
}

.hn-support-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #eef6fb;
    color: #49667d;
    font-size: 26px;
    line-height: 34px;
    cursor: pointer;
}

.hn-support-modal__close:hover {
    background: #e0edf7;
}

.hn-support-modal__icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #1876f2 0%, #1876f2 100%);
}

.hn-support-modal__title {
    margin: 14px 0 8px;
    color: #1f2d3d;
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
}

.hn-support-modal__message {
    margin: 0;
    color: #44566a;
    font-size: 16px;
    line-height: 26px;
}

.hn-support-modal__contact {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f5f9fc;
    border: 1px solid #d9e6ef;
}

.hn-support-modal__contact--hidden {
    display: none;
}

.hn-support-modal__contact p {
    margin: 0 0 6px;
    color: #2f3e4f;
    font-size: 15px;
    line-height: 22px;
}

.hn-support-modal__contact p:last-child {
    margin-bottom: 0;
}

.hn-support-modal__contact a {
    color: #1876f2;
    text-decoration: none;
    font-weight: 600;
}

.hn-support-modal__contact a:hover {
    text-decoration: underline;
}

.hn-support-modal__action {
    margin-top: 22px;
    height: 44px;
    min-width: 140px;
    padding: 0 22px;
    border-radius: 10px;
    border: 1px solid #1876f2;
    background: #1876f2;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.hn-support-modal__action:hover {
    background: #0f5dc4;
    border-color: #0f5dc4;
}

body.hn-modal-open {
    overflow: hidden;
}
.hn-login {
    position: relative;
}
.hn-login-page__header {
    background: rgba(255, 255, 255, 0.7);
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 68px;
    flex: 0 0 56px;
    backdrop-filter: blur(60px);
}
.hn-login-page__logo {
    width: 81px;
    height: 100%;
    position: relative;
}
.hn-login-page__logo-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0px);
}
.hn-login-page__logo-main {
    position: absolute;
    left: 0;
    top: 0;
}
.hn-login-page__header-content {
    display: flex;
    flex-direction: column;
}
.hn-login-page__header-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0;
    color: #3a3b3b;
}
.hn-login-page__header-subtitle {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    color: #717171;
}
.hn-login-body {
    display: flex;
    flex: 1 1 auto;
    overflow: auto;
    /* height: calc(100vh - 112px); */
    align-items: flex-start;
    padding: 30px 0;
}
.hn-login-body__title {
    padding: 68px;
    width: 48%;
    font-size: 44px;
    line-height: 67px;
    letter-spacing: 0;
    color: #1876f2;
    font-weight: 800;
    flex: 0 0 48%;
    margin: 0;
    align-items: center;
    padding-top: calc((calc(100vh - 112px) * 0.206));
    padding-bottom: calc((calc(100vh - 112px) * 0.206));
    display: flex;
    /* height: 100%; */
    align-items: flex-start;
}
.hn-login-body__title-content {
    padding-right: 87px;
    position: relative;
}
.hn-login-body__title-icon {
    width: 87px;
    height: 81px;
    position: absolute;
    right: 0;
    top: -20px;
}
.hn-login-page__card {
    width: 52%;
    display: flex;
    align-items: center;
    /* height: 100%; */
    justify-content: center;
    padding: 30px;
    min-height: 100%;
}
.hn-login-page__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    /* background: #ccc; */
    overflow: hidden;
}
.hn-login-page__overlay-1 {
    right: 40.4%;
    position: absolute;
    bottom: 0;
    transform: translateX(calc(-100% + 100vw * 0.05));
    bottom: 56px;
    z-index: 0;
    width: auto;
    height: calc(100vh * 0.39);
}
.hn-login-page__overlay-2 {
    left: 0;
    position: absolute;
    bottom: 0;
    /* transform: translateX(-100%); */
    width: calc(100vh * 0.17 * 1.258);
    height: calc(100vh * 0.17);
    transform: translate(0%, -60%);
}
.hn-login-page__overlay-3 {
    width: 490px;
    height: 490px;
    position: absolute;
    bottom: -225px;
    left: 40.4%;
    z-index: 1;
}
.hn-login-page__overlay-4 {
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: auto;
    z-index: 1;
    object-fit: cover;
    display: flex;
    justify-content: flex-end;
}
.hn-login-page__overlay-4 img {
    /* width: 100%; */
    height: auto;
    width: auto;
}
.hn-login-page__overlay-5 {
    background: #edf7fb;
    position: absolute;
    left: 41.4%;
    height: 190vh;
    width: 30%;
    bottom: 0;
    transform: rotate(24deg);
    transform-origin: left bottom;
}
.hn-login-page__overlay-6 {
    background: linear-gradient(
        226.1deg,
        #1876f2 -8.94%,
        #369fff 71.89%,
        #6af5e4 119%
    );
    /* background: #EDF7FB; */
    position: absolute;
    left: 47.4%;
    height: 190vh;
    width: 31%;
    bottom: 0;
    transform: rotate(24deg);
    transform-origin: left bottom;
}
.hn-login-card__field-box {
    display: flex;
    gap: 12px;
}
.hn-login-card__field-box .hn-login-card__field {
    width: 46%;
    flex: 1 1 auto;
}
.hn-login-card__actions-or {
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0%;
    color: #8a8a8a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.hn-login-card__actions-or-div {
    width: 70px;
    height: 1px;
    background: #000;
    opacity: 0.3;
    display: block;
}
.hn-login-card__btn-icon {
    width: 32px;
    height: 32px;
}

@media (max-width: 1560px) {
    .hn-login-page__overlay-1 {
        max-height: 250px;
    }
    .hn-login-body__title-content {
        font-size: 25px;
        line-height: 1.5;
    }
    .hn-login-card {
        max-width: 450px;
        padding: 26px;
    }
    .hn-login-body {
        padding: 0;
    }
    .hn-login-page__card {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .hn-login-card__actions {
        margin-top: 15px;
        flex-direction: column;
        gap: 4px;
    }
    .hn-login-card__block + .hn-login-card__block {
        margin-top: 16px;
    }

    .hn-login-card__select,
    .hn-login-card__input {
        height: 32px;
        font-size: 14px;
    }

    .hn-login-card .select2-container--default .select2-selection--single {
        height: 32px;
    }

    .hn-login-card
        .select2-container
        .select2-selection--single
        .select2-selection__rendered {
        line-height: 32px;
        font-size: 14px;
    }

    .hn-login-card
        .select2-container--default
        .select2-selection--single
        .select2-selection__arrow {
        height: 32px;
    }
    .hn-login-card__meta {
        margin-top: 12px;
    }
    .hn-login-card__btn {
        height: 36px;
    }
    .hn-login-card__field {
        margin-bottom: 8px;
    }
    .hn-login-page__footer {
        height: 48px;
        flex: 0 0 48px;
    }
    .hn-login-page__header {
        height: 50px;
        flex: 0 0 50px;
    }
    .hn-login-card__field-box {
        gap: 8px;
    }
    .hn-login-card__block h2 {
        font-size: 14px;
        line-height: 1.5;
    }
    .hn-login-card__password-wrap {
        margin-top: 8px;
    }
    .hn-login-card__remember {
        font-size: 14px;
    }
    .hn-login-card__btn-icon {
        width: 20px;
        height: 20px;
    }
    .hn-login-card__block ul {
        margin: 0;
        margin-top: -4px;
    }
}
@media (max-width: 1200px) {
    .hn-login-body__title {
        /* display: none; */
        width: 100%;
        padding: 0;
        justify-content: center;
    }
    .hn-login-page__card {
        width: 100%;
        height: 100%;
        overflow: auto;
        display: flex;
    }
    .hn-login-page {
        height: auto;
        min-height: 100vh;
    }
    .hn-login-body {
        height: auto;
        flex-direction: column;
    }
    .hn-login-page__footer {
        height: auto;
    }
    .hn-login-page__card {
        padding-left: 0;
        padding-right: 0;
    }
    .hn-login-body__title-icon {
        display: none;
    }
    .hn-login-body__title-content {
        padding-right: 0;
        font-size: 20px;
        line-height: 1.4;
        text-align: center;
        max-width: 450px;
    }
}
@media (max-width: 991px) {
    .hn-login-card {
        padding: 14px;
    }

    .hn-login-card__block h2 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .hn-login-card__select,
    .hn-login-card__input {
        /* height: 40px; */
        /* font-size: 13px; */
    }

    .hn-login-card .select2-container--default .select2-selection--single {
        /* height: 40px; */
    }

    .hn-login-card
        .select2-container
        .select2-selection--single
        .select2-selection__rendered {
        /* font-size: 13px; */
        /* line-height: 38px; */
    }

    .hn-login-card
        .select2-container--default
        .select2-selection--single
        .select2-selection__arrow {
        /* height: 40px; */
    }

    .hn-login-card__select {
        margin-bottom: 10px;
        background-position:
            calc(100% - 16px) 18px,
            calc(100% - 10px) 18px;
    }

    .hn-login-card__password-wrap {
        margin-top: 10px;
    }

    .hn-login-card__meta {
        margin-top: 12px;
    }

    .hn-login-card__remember {
        /* font-size: 12px; */
        /* line-height: 18px; */
    }

    .hn-login-card__remember input {
        width: 16px;
        height: 16px;
    }

    .hn-login-card__forgot {
        /* font-size: 12px; */
    }

    .hn-login-card__actions {
        margin-top: 14px;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hn-login-card__btn {
        /* height: 40px; */
        /* font-size: 13px; */
    }

    .hn-login-page__footer {
        height: auto;
        min-height: 48px;
        padding: 8px 12px;
        flex: 0 0 auto;
    }

    .hn-login-page__footer-line {
        font-size: 11px;
        line-height: 14px;
    }

    .hn-support-modal__dialog {
        width: calc(100vw - 24px);
        margin-top: 36px;
        padding: 18px 16px 16px;
        border-radius: 12px;
    }

    .hn-support-modal__title {
        font-size: 19px;
        line-height: 26px;
    }

    .hn-support-modal__message {
        font-size: 14px;
        line-height: 22px;
    }

    .hn-support-modal__contact p {
        font-size: 13px;
        line-height: 20px;
    }
    .hn-login-page__header {
        padding: 0 12px;
    }
    .hn-login-page__logo {
        width: 50px;
    }
    .hn-login-page__logo-main {
        width: 50px;
    }
    .hn-login-page__logo-top {
        width: 60px;
    }
    .hn-login-body {
        padding: 12px;
    }
    .hn-login-page__card {
        padding: 0;
        padding-top: 12px;
    }
    .hn-login-page__overlay-1 {
        display: none;
    }
    /* .hn-login-page__overlay-5 {
        left: 25%;
    }
    .hn-login-page__overlay-6 {
        left: 30%;
    } */
}
