body {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    color: var(--text-black);

}

.visually-hidden {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    -webkit-clip-path: inset(100%);
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;

    :hover {
        color: inherit;
    }
}

button {
    padding: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    color: #000000;

    :hover {
        color: #000000;
    }
}

:root {
    --text-black: #1E1E1E;
    --text-gray: #686868;
    --text-hover: #137BC3;
    --text-error: #D92D20;
    --text-success: #14AE5C;

    --border-gray: #D5D5D5;
    --border-darkgray: #898989;
    --border-blue: #BCDBE9;

    --bg-lightgray: #F6F6F6;
    --bg-gray: #BBBBBB;
    --bg-green: #1FBF16;
    --bg-orange: #FF842C;
    --bg-blue: #E0F5FF;
    --bg-lightblue: #F9FDFF;
    --bg-blue_services: #EFFAFF;

    --shadow-gray: #0000001F;
}

.wrapper {
    padding: 0 calc(50% - 960px);
}

.button {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(90deg, #137BC3 0%, #2C3B8D 100%);
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    transition: filter 0.2s ease-in-out;
}

.button:hover {
    filter: hue-rotate(5deg) brightness(1.2);
}

.button_white {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    transition: color 0.1s ease-in-out, border-color 0.1s ease-in-out;
    cursor: pointer;
}

.button_white:hover {
    border-color: var(--text-hover);
    color: var(--text-hover);
}

.button--danger {
    background: #FFFFFF;
    border: 1px solid var(--text-error);
    border-radius: 12px;
    color: var(--text-error)
}

.button--small {
    padding: 10px 17px;
}

.button--xs {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 18px;
}

.button--xxs {
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 10px;
    line-height: 16px;
}

.button_white--disabled {
    opacity: 0.5;
    cursor: default;
}

.button_white--disabled:hover {
    border-color: var(--border-gray);
    color: var(--text-black)
}

.link {
    text-decoration: underline;
    color: var(--text-black);
    cursor: pointer;
    transition: color 0.1s ease-in-out;
}

.link--danger {
    color: var(--text-error);
}

.link--news {
    text-decoration: none;
}

.link_back:hover,
.link:hover,
.link--active {
    color: var(--text-hover);
    text-decoration: underline;
}

.link--danger:hover {
    color: var(--text-error);
    filter: hue-rotate(5deg) brightness(1.2);
}

::placeholder {
    color: var(--bg-gray);
}

.ellipsis-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    box-orient: vertical;
}

.ellipsis-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    box-orient: vertical;
}

.ellipsis-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    box-orient: vertical;
}

@supports (scrollbar-color: auto) and (not selector(::-webkit-scrollbar)) {
    .scrollbar {
        scrollbar-color: #c6cacf #d3d3d333;
        scrollbar-width: thin;
    }
}

/* * {
    scrollbar-width: thin;
    scrollbar-color: #c6cacf #d3d3d333;
} */

.scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    border-radius: 10px;
    overflow: scroll;
}

.scrollbar::-webkit-scrollbar-track {
    background-color: rgba(211, 211, 211, 0.2);
    border-radius: 10px;
}

.scrollbar::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px #c6cacf;
    border-radius: 10px;
}

.scrollbar--gorizontal::-webkit-scrollbar,
.table_wrapper::-webkit-scrollbar {
    height: 5px;
    border-radius: 10px;
}

.scrollbar--gorizontal::-webkit-scrollbar-track,
.table_wrapper::-webkit-scrollbar-track {
    background-color: rgba(211, 211, 211, 0.2);
    border-radius: 10px;
}

.scrollbar--gorizontal::-webkit-scrollbar-thumb,
.table_wrapper::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px #c6cacf;
    border-radius: 10px;
}

.scrollbar_off {
    scrollbar-width: none;
}


.scrollbar_off::-webkit-scrollbar {
    width: 0;
}

.scrollbar_off::-webkit-scrollbar-track {
    background-color: none;
}

.scrollbar_off::-webkit-scrollbar-thumb {
    box-shadow: none;
}





















.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    box-shadow: 0px 2px 10px 0px var(--shadow-gray);
    z-index: 2;
}

.header_content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
    padding: 18px 30px;
}

.header_logo {
    display: flex;
    gap: 51px;
}


.header_logo_description {
    position: relative;
    display: flex;
    align-items: center;
    flex-grow: 1;
    color: var(--text-gray);
}

.header_logo_description::before {
    content: '';
    position: absolute;
    left: -26px;
    width: 1px;
    height: 100%;
    background-color: var(--border-gray);
}

.header_feedback {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
    margin-right: 0;
}

.header_user_menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px
}

.header_user_menu_button {
    text-decoration: underline;
}

.header_user_menu_button:hover {
    color: var(--text-hover);
}

.header_user_menu_list {
    position: absolute;
    top: calc(100% + 10px);
    right: 38px;
    min-width: 140px;
    box-shadow: 0px 6px 20px 0px var(--shadow-gray);
    z-index: 2;
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    display: none;
}

.header_user_menu_list--show {
    display: block;
}


.header_user_menu_list_item:not(:last-child) {
    border-bottom: 1px solid var(--border-gray);
}

.header_user_menu_list_link {
    display: block;
    padding: 10px 14px;
    font-weight: 500;
}

.header_user_menu_list_link:hover {
    color: var(--text-hover);
}

@media (max-width: 768px) {

    .header_content {
        justify-content: center;
    }

    .header_logo_img {
        width: 157px;
        height: 38px;
    }
}





.main {
    margin-top: 80px;
    margin-bottom: auto;
    display: flex;
    flex-grow: 1;
}

.main_page {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    max-width: 100%;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.page_title {
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 36px;
    line-height: 100%;
    color: var(--text-black)
}

.page_sub_title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    font-size: 28px;
    line-height: 100%;
}

.page_sub_title svg {
    color: var(--border-darkgray);
}

.login_title {
    font-weight: 400;
    font-size: 28px;
    line-height: 100%;
    text-align: center;
}

.main_page_content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 30px;
    box-sizing: border-box;
}


.main_menu {
    background-color: var(--bg-lightgray);
    width: 300px;
    flex-shrink: 0;
    padding: 15px;
    max-height: calc(100vh - 80px);
    box-sizing: border-box;
    overflow-y: scroll;
    scrollbar-width: 2px;
}

.main_menu_list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.main_menu_list_link {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px 15px;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
}

.main_menu_list_link_arrow {
    color: var(--bg-gray);
}

.main_menu_list_link:hover,
.main_menu_list_link--active {
    color: var(--text-hover);
    background-color: #FFFFFF;
    border-radius: 12px;
}

.main_menu_list_icon {
    flex-shrink: 0;
}

.main_menu_list_link_title {
    flex-grow: 1;
}

.mobile_user_info_wrapper {
    display: none
}

.menu_open_button {
    position: absolute;
    display: none;
}

@media (max-width: 768px) {
    .main {
        margin-top: 74px;
    }

    .main_page_content {
        padding: 20px 20px;
    }


    .page_title {
        margin-bottom: 20px;
        font-size: 30px;
        line-height: 100%;
    }

    .page_sub_title {
        font-size: 22px;
        line-height: 100%;
    }

    .main_menu {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        position: absolute;
        width: 100%;
        height: calc(100vh - 80px);
        box-sizing: border-box;
        left: 0;
        right: 0;
        z-index: 5;
    }

    .main_menu--open {
        display: flex;
    }

    .mobile_user_info_wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 17px 16px;
        margin-bottom: 20px;
    }

    .mobile_user_info {
        display: flex;
        align-items: center;
        gap: 13px;
    }

    .menu_open_button {
        position: absolute;
        display: block;
        left: 20px;
        width: 24px;
        height: 24px;
        /* background-color: #eef8ff; */
    }

    .menu_open_button::after,
    .menu_open_button::before {
        position: absolute;
        width: 24px;
        height: 24px;
        left: 0;
        top: 0;
        transition: opacity 0.2s ease-in-out;
    }

    .menu_open_button::after {
        content: url('/image/icons/icon_menu_burger.svg');
        opacity: 1;
    }

    .menu_open_button::before {
        content: url('/image/icons/icon_menu_close.svg');
        opacity: 0;
    }

    .menu_open_button--open::after {
        opacity: 0;
    }

    .menu_open_button--open::before {
        opacity: 1;
    }

}







/* services */
.services_list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.services_item {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 300px;
    box-shadow: 0px 2px 10px 0px #0000001F;
    border-radius: 16px;
    overflow: hidden;
}

.services_item_header {
    display: flex;
    flex-direction: column;
    padding: 24px 25px;
}

.services_item_footer {
    padding: 23px 27px;
    background-color: var(--bg-lightgray);
    color: var(--text-gray);
    font-size: 12px;
    line-height: 18px;
    flex-grow: 1;
}

.services_content_list {
    list-style: disc;
    padding-left: 20px;
}

.services_item_edit_icon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    background: #ffffff;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 60%);
    color: var(--text-gray);
    border-radius: 50%;
    transition: color 0.1s ease-in-out, background 0.1s ease-in-out;
}

.services_item_edit_icon--table {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.services_item_edit_icon:hover {
    color: var(--text-hover);
    background: radial-gradient(circle, rgba(19, 122, 195, 0.158) 0%, rgba(255, 255, 255, 0) 60%);
}

.services_item_old_price {
    text-decoration: line-through;
    color: var(--text-gray);
}

/* .services_item_old_price:empty {
    display: none;
} */

.tag {
    display: inline-block;
    flex-shrink: 0;
    padding: 3px 7px 5px;
    background-color: var(--bg-blue);
    border-radius: 6px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    color: var(--text-hover);
}

.tag--green {
    background-color: var(--bg-green);
    color: #FFFFFF;
}

.tag--orange {
    background-color: var(--bg-orange);
    color: #FFFFFF;
}

.tag:empty {
    display: none;
}

.services_item--active .button {
    background: #FFFFFF;
    border: 2px solid var(--text-hover);
    color: var(--text-hover);
}

.services_item--active .services_item_footer {
    background-color: var(--bg-blue_services)
}

@media (max-width: 768px) {
    .services_list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .services_item {
        max-width: 100%;
    }

    .services_list--index {
        flex-direction: row;
        align-items: stretch;
        flex-wrap: nowrap;
        margin-left: -10px;
        margin-right: -10px;
        padding: 10px 10px 20px;
        overflow-x: scroll;

    }

    .services_list--index .services_item {
        flex-shrink: 0;
        width: 80%;
    }

    p:has(a.services_item_edit_icon--table) {
        position: relative;
        padding-right: 5px;
    }

    .services_item_edit_icon--table {
        position: absolute;
        padding: 0;
        right: -15px;
    }

}





/* tickets */
.ticket_status {
    position: relative;
    padding-left: 20px;
    display: inline-block;
    white-space: nowrap;
}

.ticket_status::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ticket_status--1::before {
    background-color: var(--bg-green);
}

.ticket_status--2::before {
    background-color: var(--bg-orange);
}

.ticket_status--3::before {
    background-color: var(--bg-gray);
}

.form_ticket {
    max-width: 930px;
}

.ticket_messages_list {
    border-radius: 16px;
    overflow: hidden;
}

.ticket_messages_item:not(:last-child) {
    border-bottom: 1px solid var(--border-blue);
}

.ticket_messages_item {
    padding: 20px 25px;
    background-color: var(--bg-blue_services);
}

.ticket_messages_item--light_blue {
    background-color: var(--bg-lightblue);
}

.ticket_view_message_wrapper {
    border-radius: 16px;
    border: 1px solid var(--border-gray);
    overflow: hidden;
}

.ticket_view_message_wrapper textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    border: none;
    border-radius: 0;
    resize: none;
}

.ticket_view_message_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding: 15px;
    border-top: 1px solid var(--border-gray);
}





/* news */
.news_list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.news_item {
    display: flex;
    gap: 30px;
    width: 450px;
    max-width: 100%;
    max-height: 110px;
    overflow: hidden;
}

.news_list--small,
.news_list--index {
    max-width: 400px;
    gap: 20px;
}

.news_list--small .news_item,
.news_list--index .news_item {
    max-width: 400px;
    width: auto;
}


.news_img {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    background-color: var(--bg-blue_services);
    border-radius: 16px;
    overflow: hidden;
    background-image: url('/image/icons/icon_img.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.news_list--index .news_img {
    width: 100px;
    height: 100px;
}

.news_img--cover {
    background-size: cover;
}

.news_title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    box-orient: vertical;
}

.news_page_wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.news_view_wrapper {
    max-width: 930px;
    width: 930px;
}

.pagination_wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
}

@media (max-width: 1440px) {
    .news_page_wrapper {
        flex-direction: column;
    }

    .news_list--small,
    .news_list--index {
        max-width: 100%;
    }

    .news_list--small .news_item,
    .news_list--index .news_item {
        width: calc(50% - 15px);
        max-width: 100%;
    }

    .news_view_wrapper {
        max-width: 100%;
    }

}

@media (max-width: 768px) {
    .news_list--small {
        flex-wrap: nowrap;
        overflow: auto;
        padding-bottom: 20px;
    }

    .news_list--small .news_item {
        flex-shrink: 0;
        width: 80%;
    }

    .pagination_wrapper {
        flex-direction: column;
    }
}






/* index */

.index_page_wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.index_content_wrapper {
    max-width: 960px;
}

.documents_list {
    display: flex;
    gap: 30px;
}

.documents_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    box-shadow: 0px 2px 10px 0px #0000001F;
    border-radius: 16px;
    overflow: hidden;
    width: 300px;
    box-sizing: border-box;
}



@media (max-width: 1440px) {
    .index_page_wrapper {
        flex-direction: column;
    }

    .index_content_wrapper {
        max-width: 100%;
    }


}

@media (max-width: 768px) {

    .news_list--index .news_item {
        flex-shrink: 0;
        width: 100%;
    }

    .documents_list {
        margin-left: -10px;
        margin-right: -10px;
        padding: 10px 10px 20px;
        overflow: auto;
    }

    .documents_item {
        flex-shrink: 0;
        width: 80%;
    }

}





/* popup */
.popup_wrapper {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.popup_wrapper--active {
    display: flex;
}

.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 90%;
    box-sizing: border-box;
    background-color: var(--bg-lightgray);
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0px 6px 20px 0px var(--shadow-gray);
}


.button.popup_close_button {
    min-width: 100px;
}



/* footer */
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 29px 30px;
    border-top: 1px solid #DDDDDD;
    color: var(--text-gray);
    line-height: 20px;
}

.footer_policy {
    margin-left: 40px;
    margin-right: auto;
    display: flex;
    align-items: center;
    column-gap: 20px;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: start;
        padding: 29px 20px;
    }

    .footer_policy {
        flex-direction: column;
        align-items: start;
        margin-left: 0;
    }
}





/* form */
.form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form--small {
    gap: 10px;
}

.form--profile {
    max-width: 1000px;
}

.form_title {
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    color: var(--text-black);
}

fieldset {
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 14px;
    width: 100%;
    max-width: 100%;
    border: none;
    padding: 0;
    margin: 0;
}

fieldset.column {
    flex-direction: column;
    max-width: 450px;
}

label {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 450px;

    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: var(--text-gray);
}

.form--ticket_view label {
    max-width: 300px;
    width: 200px;
}

.form--small label {
    gap: 5px;
}

textarea,
input,
select {
    padding: 14px 15px;

    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: var(--text-black);

    border: 1px solid var(--border-gray);
    border-radius: 12px;
}

select {
    margin: 0;
    box-sizing: border-box;
}

.form--small input,
.form--small textarea,
.form--small select {
    padding: 7px 8px;
    font-size: 12px;
    line-height: 18px;
    border-radius: 6px;
}

input[type="date"] {
    height: 21px;
}

.form--small input[type="date"] {
    height: 18px;
}

.form--small .button {
    padding: 8px 14px;
    font-size: 12px;
    line-height: 18px;
    border-radius: 6px;
}

.form--small .button_white {
    padding: 7px 14px;
    font-size: 12px;
    line-height: 18px;
    border-radius: 6px;
}

textarea {
    resize: none;
}

input:disabled {
    color: var(--text-gray);
    background-color: var(--bg-lightgray);
}

label:hover input,
label:hover textarea,
label:hover select,
textarea:active,
textarea:focus,
select:active,
input:active,
input:focus,
select:focus {
    border-color: var(--text-black);
    outline: none;
}

label:hover input:disabled {
    border-color: var(--border-gray);
}

label:has(input[type="checkbox"]) {
    position: relative;
    width: 100%;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
}

label:has(input[type="checkbox"]) span {
    flex-grow: 1;
    padding-left: 30px;
    font-family: Nunito Sans;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: var(--text-gray);
}

label:has(input[type="checkbox"]) span::before,
label:has(input[type="checkbox"]) span::after {
    content: '';
    position: absolute;
    left: 0;
}


label:has(input[type="checkbox"]) span::before {
    width: 11px;
    height: 11px;
    border: 2px solid var(--border-darkgray);
    border-radius: 3px;
}

label:has(input[type="checkbox"]) span::after {
    width: 7px;
    height: 3px;
    top: 4px;
    left: 3px;
    opacity: 0;
    border-left: 2px solid var(--text-hover);
    border-bottom: 2px solid var(--text-hover);
    border-bottom-left-radius: 2px;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

label:has(input[type="checkbox"]):hover span::before {
    border-color: var(--text-hover);
}

label:has(input[type="checkbox"]:checked) span::before,
label:has(input[type="checkbox"]:checked) span::after {
    border-color: var(--text-hover);
}

label:has(input[type="checkbox"]:checked) span::after {
    transform: rotate(-45deg);
    opacity: 1;
}

label:has(input[type="checkbox"]:disabled) span::before,
label:has(input[type="checkbox"]:disabled) span::after {
    filter: grayscale(1) brightness(1.5);
}

label:has(input[type="checkbox"]:disabled) {
    cursor: default;
}

.login_form {
    width: 400px;
}

.login_form label {
    width: 400px;
}

span.error {
    display: inline-block;
    height: 1.5em;
    /* font-size: 12px;
    line-height: 18px; */

    color: var(--text-error);
}

span.success {
    display: inline-block;
    height: 1.5em;
    /* font-size: 12px;
    line-height: 18px; */

    color: var(--text-success);
}

/* label.select_arrow {
    position: relative;
}

label.select_arrow select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 30px;
}

label.select_arrow::after {
    content: '';
    position: absolute;
    right: 10px;
    top: calc((100% + 28px) / 2);
    transform: translateY(-50%) rotate(90deg);
    width: 20px;
    height: 20px;
    background-color: var(--bg-gray);
    mask: url(/image/icons/icon_arrow.svg) no-repeat center;
    mask-size: contain;
    -webkit-mask: url(/image/icons/icon_arrow.svg) no-repeat center;
    -webkit-mask-size: contain;
}

.form--small label.select_arrow::after {
    top: calc((100% + 23px) / 2);
}

label.select_arrow:hover::after {
    background-color: var(--text-black);
} */

@media (max-width: 768px) {
    .login_form {
        width: 100%;
    }

    label,
    .login_form label {
        width: 100%;
    }

    .form {
        flex-wrap: wrap;
    }
}







/* select */

label.select ul {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--bg-lightgray);
    border-radius: 12px;
    z-index: 2;
    /* padding: 10px; */
    box-shadow: 0px 6px 20px 0px var(--shadow-gray);
    overflow: hidden;
}

label.select--open ul {
    display: block;
}

label.select .select_item {
    padding: 10px 15px;
    cursor: pointer;
}

label.select .select_item--active,
label.select .select_item:hover {
    background-color: var(--bg-blue);
    color: var(--text-white);
}

label.select input[readonly] {
    cursor: pointer;
    position: relative;
}

label.select:has(input[readonly])::after {
    content: '';
    position: absolute;
    right: 20px;
    top: calc((100% + 28px) / 2);
    transform: translateY(-50%) rotate(90deg);
    width: 20px;
    height: 20px;
    background-color: var(--bg-gray);
    mask: url(/image/icons/icon_arrow.svg) no-repeat center;
    mask-size: contain;
    -webkit-mask: url(/image/icons/icon_arrow.svg) no-repeat center;
    -webkit-mask-size: contain;
}

label.select:has(input[readonly]):hover::after {
    background-color: var(--text-black);
}

label.select--open:has(input[readonly])::after {
    transform: translateY(-50%) rotate(-90deg);
    background-color: var(--text-black);

}






/* file uploader */

.file_uploader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    color: var(--border-darkgray);
}

label:has(input[type="file"]) {
    width: auto;
    cursor: pointer;
}

label:hover .file_uploader {
    border-color: var(--text-hover);
    color: var(--text-hover);
}





.height {
    height: 1.5em;
}

.text-gray {
    color: var(--text-gray);
}

.text-black {
    color: var(--text-black);
}

.text-center {
    text-align: center;
}

.text-12 {
    font-size: 12px;
    line-height: 18px;
}

.text-14 {
    font-size: 14px;
    line-height: 20px;
}

.text-16 {
    font-size: 16px;
    line-height: 22px;
}

.text-18 {
    font-size: 18px;
    line-height: 26px;
}

.text-20 {
    font-size: 20px;
    line-height: 28px;
}

.text-22 {
    font-size: 22px;
    line-height: 30px;
}

.text-24 {
    font-size: 24px;
    line-height: 28px;
}

.text-36 {
    font-size: 36px;
    line-height: 42px;
}

.text-200 {
    font-weight: 200;
}

.text-300 {
    font-weight: 300;
}

.text-400 {
    font-weight: 400;
}

.text-500 {
    font-weight: 500;
}

.text-600 {
    font-weight: 600;
}

.text-700 {
    font-weight: 700;
}

.text-800 {
    font-weight: 800;
}

.text-900 {
    font-weight: 900;
}


.width-100 {
    width: 100%;
}

.m-b-auto {
    margin-bottom: auto;
}

.m-b-0 {
    margin-bottom: 0;
}

.m-b-5 {
    margin-bottom: 5px;
}

.m-b-10 {
    margin-bottom: 10px;
}

.m-b-15 {
    margin-bottom: 15px;
}

.m-b-20 {
    margin-bottom: 20px;
}

.m-b-25 {
    margin-bottom: 25px;
}

.m-b-30 {
    margin-bottom: 30px;
}

.m-b-35 {
    margin-bottom: 35px;
}

.m-b-40 {
    margin-bottom: 40px;
}

.m-b-45 {
    margin-bottom: 45px;
}

.m-b-50 {
    margin-bottom: 50px;
}

.m-b-55 {
    margin-bottom: 55px;
}

.m-b-60 {
    margin-bottom: 60px;
}

.m-b-65 {
    margin-bottom: 65px;
}

.m-b-70 {
    margin-bottom: 70px;
}

.m-b-75 {
    margin-bottom: 75px;
}

.m-b-80 {
    margin-bottom: 80px;
}

.m-b-85 {
    margin-bottom: 85px;
}

.m-b-90 {
    margin-bottom: 90px;
}

.m-t-auto {
    margin-top: auto;
}

.m-t-0 {
    margin-top: 0;
}

.m-t-5 {
    margin-top: 5px;
}

.m-t-10 {
    margin-top: 10px;
}

.m-t-15 {
    margin-top: 15px;
}

.m-t-20 {
    margin-top: 20px;
}

.m-t-25 {
    margin-top: 25px;
}

.m-t-30 {
    margin-top: 30px;
}

.m-t-35 {
    margin-top: 35px;
}

.m-t-40 {
    margin-top: 40px;
}

.m-t-45 {
    margin-top: 45px;
}

.m-t-50 {
    margin-top: 50px;
}

.m-t-55 {
    margin-top: 55px;
}

.m-t-60 {
    margin-top: 60px;
}

.m-t-65 {
    margin-top: 65px;
}

.m-t-70 {
    margin-top: 70px;
}

.m-t-75 {
    margin-top: 75px;
}

.m-t-80 {
    margin-top: 80px;
}

.m-t-85 {
    margin-top: 85px;
}

.m-t-90 {
    margin-top: 90px;
}

.p-5 {
    padding: 5px;
}

.p-10 {
    padding: 10px;
}

.p-15 {
    padding: 15px;
}

.p-20 {
    padding: 20px;
}

.p-25 {
    padding: 25px;
}

.desktop_flex {
    display: flex;
}

.mobile_flex {
    display: none;
}

.flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-center {
    align-items: center;
    justify-content: center;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.grow-1 {
    flex-grow: 1;
}

.shrink-0 {
    flex-shrink: 0;
}


.flex-wrap {
    flex-wrap: wrap;
}

.gap-5 {
    gap: 5px;
}

.gap-10 {
    gap: 10px;
}

.gap-15 {
    gap: 15px;
}

.gap-20 {
    gap: 20px;
}

.gap-25 {
    gap: 25px;
}

.gap-30 {
    gap: 30px;
}



@media (max-width: 768px) {

    .mobile_none {
        display: none;
    }

    .desktop_flex {
        display: none;
    }

    .mobile_flex {
        display: flex;
    }
}







/* table */

.table_wrapper {
    max-width: 100%;
}

table.grid_table {
    display: grid;
    border-collapse: collapse;
    min-width: 600px;
    box-sizing: border-box;
    grid-template-columns: auto
}

.grid_table thead,
.grid_table tbody,
.grid_table tr {
    display: contents;
}

th,
td {
    overflow: hidden;
    /* text-overflow: ellipsis;
    white-space: nowrap; */
    text-align: left;
}

th {
    position: sticky;
    top: 0;
    font-weight: 400;
    background-color: var(--bg-blue_services);
    color: var(--border-darkgray);
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    text-transform: uppercase;
    z-index: 3;
    overflow: hidden;
    padding: 11px 16px;
}


td {
    padding: 14px 16px;
    color: #1d1d1d;
    border-bottom: 1px solid #e2e6ec;
    font-family: Nunito Sans;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
}

table.grid_table--small th {
    padding: 8px 10px;
}

table.grid_table--small td {
    padding: 8px 10px;
}


@media (max-width: 768px) {
    table.grid_table {
        min-width: 0
    }

    .table_wrapper {
        max-width: 100%;
        overflow-x: auto;
        overflow-y: visible;
        box-sizing: border-box;
    }

}

table.grid_table--2 {
    grid-template-columns: repeat(2, auto);
}

table.grid_table--3 {
    grid-template-columns: repeat(3, minmax(100px, 1fr));
}

table.grid_table--4 {
    grid-template-columns: repeat(4, minmax(100px, 1fr));
}

table.grid_table--5 {
    grid-template-columns: repeat(5, minmax(100px, 1fr));
}

table.grid_table--6 {
    grid-template-columns: repeat(6, minmax(100px, 1fr));
}

table.grid_table--7 {
    grid-template-columns: repeat(7, minmax(100px, 1fr));
}

table.grid_table--8 {
    grid-template-columns: repeat(8, minmax(100px, 1fr));
}

table.grid_table--9 {
    grid-template-columns: repeat(9, minmax(100px, 1fr));
}

table.grid_table--10 {
    grid-template-columns: repeat(10, minmax(100px, 1fr));
}

table.grid_table--services_extension {
    grid-template-columns: 40px minmax(200px, 3fr) minmax(150px, 1fr) minmax(120px, 1fr) minmax(150px, 1.5fr) minmax(150px, 1fr) minmax(200px, 2fr);
}

table.grid_table--user_list {
    grid-template-columns: 40px minmax(150px, 3fr) minmax(200px, 4fr) minmax(150px, 3fr) minmax(200px, 4fr) minmax(150px, 3fr) minmax(80px, 1fr);
}

table.grid_table--partners {
    grid-template-columns: 40px minmax(200px, auto);
}

table.grid_table--tickets {
    grid-template-columns: 40px minmax(200px, 3fr) minmax(150px, 1fr) minmax(100px, 1fr) minmax(150px, 1.5fr);
}

table.grid_table--tickets_all {
    grid-template-columns: 40px minmax(200px, 3fr) minmax(150px, 1fr) minmax(150px, 1fr) minmax(100px, 1fr) minmax(150px, 1.5fr);
}

table.grid_table--archive {
    grid-template-columns: 30px minmax(150px, 5fr) minmax(100px, 200px) minmax(100px, 1fr);
}

table.grid_table--documents {
    grid-template-columns: 40px 87px minmax(200px, 3fr) minmax(130px, 1fr) minmax(100px, 2fr);
}

table.grid_table--user_services {
    grid-template-columns: 40px minmax(200px, 3fr) minmax(130px, 220px) 100px;
}

table.grid_table--user_documents {
    grid-template-columns: 40px minmax(200px, 3fr) minmax(130px, 220px) minmax(100px, 150px) 100px;
}


.table_row_click:hover td {
    background-color: #f3f4f5;
    cursor: pointer;
}