.mud-alert-filled-error > .mud-snackbar-content-message {
    max-height: 350px;
    overflow: auto;
}

.select_label {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.select_label_item_img {
    min-width: 210px;
    gap: 16px;
}

.select_label_item:hover .filter_img {
    filter: invert(46%) sepia(65%) saturate(5350%) hue-rotate(220deg) brightness(99%) contrast(103%);
}

.additional_column{
     display:  flex;
    justify-content: space-between;
}

.select_label_item {
    max-width: 400px;
    min-height: 40px;
    display: flex;
    white-space: break-spaces;
    overflow: hidden;
    width: 95%;
    align-items: center;
    height: 100%;
    color: #252847;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
}

.item_disabled {
    pointer-events: none;
    opacity: 0.7;
    cursor: not-allowed;
}

.select_label_item:focus,
.select_label_item:target,
.select_label_item:visited,
.select_label_item:hover,
.select_label_item:active {
    background: #F0F3F8;
}

.popover_selected {
    background: #F0F3F8;
}

.container_flex {
    display: flex;
    align-items: center;
}

.multi_select_label {
    margin-left: 5px;
}

.filter_div {
    margin: 20px 0 0 0;
    min-height: 0;
    max-height: 120px;
    overflow-y: auto;
    overflow-x: hidden;
}

.filter_div::-webkit-scrollbar {
    width: 6px !important;
}

.filter_div::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .05);
    border-radius: 4px;
}

.filter_div::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .15);
    border-radius: 4px;
    border: 0 solid rgba(0, 0, 0, .05);
    background-image: linear-gradient(
            180deg,
            rgba(0, 0, 0, .15) 0%,
            rgba(255, 255, 255, .7) 90%
    );
}


.ant-input::placeholder {
    color: #959595;
}

table.tData {
    text-decoration: none;
    border-collapse: collapse;
    width: 100%;
    text-align: left;
}

table.tData th {
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
    color: #ffffff;
    background-color: #000000;
}

table.tData td {
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
    color: #000000;
}

table.tData tr {
    height: 40px;
}

table.tData td,
table.tData th {
    white-space: pre-wrap;
    padding: 0 12px;
    line-height: 13px;
    vertical-align: middle;
    border: 1px solid #C9C9C9;
}

table.tData tr:first-child th {
    border-top: 0;
    border-bottom: 0;
}

table.tData tr:last-child td {
    border-bottom: 0;
}

table.tData tr td:first-child,
table.tData tr th:first-child {
    border-left: 0;
    border-bottom: 0;
    padding-left: 30px;
}

table.tData tr td:last-child,
table.tData tr th:last-child {
    border-right: 0;
}

table.tData tr:hover {
    background-color: #f9fafb
}

table.tData tr:hover td {
    color: #000000;
    cursor: default;
}

.tHead {
    background: #E5F0FF !important;
    border-top: hidden;
    border-bottom: hidden;
    font-weight: 500;
}

tr.tHead td {
    font-weight: 500;
    padding-bottom: 0;
}

tr.tHead td div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cCount {
    width: 25px;
    display: grid;
    text-align: right;
}

.line_container {
    /*min-height: 260px;*/
    display: flex;
    width: 100%;
}

.no_data_img {
    height: 100%;
}

.chart_container_no_data {
    z-index: 1;
    position: absolute;
    top: 0;
    display: flex;
    min-height: 100%;
    width: 100%;
}

.line_container_no_data {
    background: var(--main-white-color);
    border-radius: 6px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /*height: 100%;*/
    gap: 10%;
}

.line_container div:first-child {
    width: 100%;
}

.line_container_no_data div:first-child {
    width: unset;
}

.report_header {
    margin-bottom: 30px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    color: #000000;
    font-size: 16px;
}

.report_header img {
    cursor: pointer;
}

.field_container {
    display: flex;
    border-radius: 6px;
    border: 1px #EEECF3 solid;
    background: white;
    padding: 8px 8px 8px 16px;
    justify-content: space-between;
}

.field_container_borderless {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.inline-container {
    display: flex;
    align-items: center;
}

.scripts-tooltip-container {
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
}

.popover_select_container:focus,
.popover_select_container:target,
.popover_select_container:visited,
.popover_select_container:hover,
.popover_select_container:active,
.field_container:focus,
.field_container:target,
.field_container:visited,
.field_container:hover,
.field_container:active {
    border: 1px solid var(--main-blue-color);
}

.hidden_tooltip {
    display: none;
    align-items: center;
}

.field_container:hover .hidden_tooltip {
    display: flex;
}

.field_container_focused {
    border: 1px solid var(--main-blue-color);
}

.main_text {
    padding-left: 2px;
    color: #252847;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.select_report_type {
    display: flex;
    flex-direction: column;
    width: 226px;
    padding: 0px;
    height: 40px;
    border-bottom: 1px solid #EEECF3;
}

.group_container {
    gap: 12px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid #EEECF3;
}

.group_item_container {
    display: flex;
    justify-content: space-between;
}

.main_text_group_item {
    color: #252847;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
}

.dashboard_group_name {
    display: flex;
    margin: 20px 0 10px 0;
    padding: 0 20px;
    gap: 8px;
    justify-content: flex-start;
}

.dashboard_group_name span {
    color: #3C89FC;
    font-weight: 500;
    font-size: 12px;
    line-height: 14.63px;
}

.additional_text {
    white-space: break-spaces;
    display: flex;
    align-items: center;
    padding: 2px;
    color: #B3B3BF;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.additional_text:focus,
.additional_text:target,
.additional_text:visited,
.additional_text:hover,
.additional_text:active {
    background: #F0F3F8;
    border-radius: 6px;
}

.filter_img {
    width: 16px;
    height: 16px;
}

.non_filter_img {
    width: 16px;
    height: 16px;
    color: gray;
    cursor: not-allowed;
}

.dots_action {
    border-radius: 4px;
    cursor: pointer;
}

.dots_action:hover {
    background: #F3F3FF;
}

.active_text {
    color: var(--main-blue-color)
}

.dots_item {
    color: #252847;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.bold_dots_item {
    font-weight: 500;
    color: #1A1D38;
}

.dots_selected_icon {
    filter: invert(46%) sepia(65%) saturate(5350%) hue-rotate(220deg) brightness(99%) contrast(103%);
}

.arrow_element {
    margin-left: 2px;
}

.row_flex_container {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    align-items: flex-start;
    display: flex;
    gap: 10px;
}

.column_flex_container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.top_nullable_border {
    height: auto;
    border-radius: 0 0 6px 6px;
    border-top: 0 !important;
}

.bottom_nullable_border {
    border-radius: 6px 6px 0 0;
}

.nullable_border {
    border-radius: 0;
}

.clickable_element {
    cursor: pointer;
}

.popover_select_container {
    display: inline-flex;
    white-space: nowrap;
    justify-content: space-between;
    height: 40px;
    padding: 12px 16px;
    border: 1px solid #EEECF3;
    border-radius: 6px;
    align-items: center;
    width: 100%;
}

.ant-popover-placement-top,
.ant-popover-placement-topLeft,
.ant-popover-placement-topRight {
    padding-bottom: 0;
}

.ant-popover-placement-right,
.ant-popover-placement-rightTop,
.ant-popover-placement-rightBottom {
    padding-left: 15.3137085px;
}

.ant-popover-placement-bottom,
.ant-popover-placement-bottomLeft,
.ant-popover-placement-bottomRight {
    padding-top: 0;
}

.ant-popover-placement-left,
.ant-popover-placement-leftTop,
.ant-popover-placement-leftBottom {
    padding-right: 15.3137085px;
}

.ant-popover-arrow {
    display: none;
}

.ant-popover-title {
    border-bottom: none;
}

.ant-popover-inner-content {
    background: #FFFFFF;
    display: flex;
    gap: 8px;
    flex-direction: column;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(36.70, 40.09, 70.60, 0.12);
    border-radius: 6px
}

.ant-popover-inner {
    background-color: transparent;
    background-clip: unset;
    border-radius: unset;
    box-shadow: unset;
}

input::placeholder {
    color: #B3B3BF;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.align-items-center {
    align-items: center;
}

.search_container {
    height: 40px;
    padding: 8px 16px;
    background: #F0F3F8;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    border: 1px #EEECF3 solid;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    display: inline-flex
}

.search_field {
    width: 100%;
    background: transparent;
    outline: none;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    word-wrap: break-word
}

.date_select_with_compare {
    display: inline-flex;
    justify-content: flex-end;
    height: 40px;
    gap: 24px;
    width: 100%;
    margin-bottom: 10px;
}

.hidden_element {
    display: none;
}

.popover_items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow: auto;
}

::-webkit-scrollbar {
    height: 6px !important;
    width: 6px !important;
    border-radius: 10px !important;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    width: 100px !important;
    height: 6px !important;
    background: #9999AE !important;
    border-radius: 10px !important;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #9999AE transparent;
}

.flat__button__active:hover {
    background: #E0E5F2;
    border-radius: 6px;
}

.flat__button__active {
    z-index: 2;
    height: 32px;
}

.flat__button {
    text-align: center;
    color: var(--main-blue-color);
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    word-wrap: break-word;
    cursor: pointer;
}

.label__field {
    color: #252847;
    font-size: 10px;
    font-weight: 400;
    line-height: 16px;
}

.colored_num {
    min-width: 16px;
    height: 16px;
    display: flex;
    color: white;
    background: var(--main-blue-color);
    border-radius: 2px;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    align-items: center;
}

.text_container {
    width: 100%;
}

.text_error_container {
    color: #D80000;
    font-size: 10px;
    width: 100%;
    margin-left: 50px
}

:root {
    --main-button-height: 32px;
    --main-table-header-color: #1A1D38;
    --main-color-link: #fff;
    --main-gray-color: #F0F3F8;
    --main-border-color: #EEECF3;
    --main-blue-color: #3C89FC;
    --main-light-color: #FDFDFF;
    --main-dark-color: #1A1D38;
    --main-white-color: #FFFFFF;
    --main-bottom-shadow-border: 0px 1px 2px rgba(0, 0, 0, 0.10);
    --Main-Description-Text: #5B5D71;
    --Main-Icon: #9999AE;
    --Main-Red-Accent: #F95658;
}

a {
    color: var(--main-color-link);
}

input[type='password'].filled {
    letter-spacing: 3px;
    font-size: 16px;
    font-weight: 900;
}

.field_error {
    border-color: #D80000 !important;
}

.spin_pref_border {
    border: 2px solid rgb(255 255 255 / 40%);
    width: 20px;
    height: 20px;
    position: absolute;
    border-radius: 20px;
}

.hidden_overflow_x {
    overflow-x: hidden;
}

.series_field::first-letter {
    padding: 2px 5px;
    height: 16px;
    display: flex;
    color: white;
    background: var(--main-blue-color);
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

span.series_field {
    text-align: center;
}

.metric_card_container {
    display: flex;
    width: 100%;
    flex-direction: column;
    background: var(--main-white-color);
    border: 1px solid #EEECF3;
    border-radius: 6px;
    height: 155px;
    max-height: 155px;
    align-items: center;
    justify-content: center;
    padding: 0px 20px;
}
.metric_card_value_container {
    display: inline-flex; 
    align-items: end;
}
.metric_card_value {
    font-size: 48px;
    font-weight: 600;
}
.metric_card_unit {
    font-size: 24px;
    padding-left: 5px;
    font-weight: 600;
}
.grid-stack-item-content {
    border: 1px solid #EEECF3;
    border-radius: 6px;
    background-color: #FFFFFF;
}

.ui-resizable-handle {
    border-radius: 4px;
}

.ui-resizable-n:hover,
.ui-resizable-e:hover,
.ui-resizable-s:hover,
.ui-resizable-w:hover {
    background: var(--main-blue-color);
}

.dashboard_report_content {
    overflow: hidden;
}

.dashboard_report_content_scrollable {
    padding: 20px;
    overflow: auto;
    height: max-content !important;
}

.dashboard_report_header {
    display: flex;
    height: 50px;
    justify-content: space-between;
    border-bottom: 1px solid #EEECF3;
    padding: 15px;
    align-items: center;
}

.dashboard_report_header_text {
    display: flex;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dashboard_report_header_text img {
    width: 16px;
    height: 16px;
    align-self: center;
}

.dashboard_report_header_date {
    color: #B3B3BF;
    font-weight: normal;
}

.text-title-dialog {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.clickable_borderless-element {
    background-color: inherit;
    width: 120px;
    height: 60px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    align-items: center;
    gap: 8px;
    padding: 6px;
}

.clickable_borderless-element img {
    width: 18.43px;
    height: 20px;
}

.clickable_borderless-element span {
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
}

.clickable_borderless-element:focus,
.clickable_borderless-element:target,
.clickable_borderless-element:visited,
.clickable_borderless-element:hover,
.clickable_borderless-element:active {
    background: #FFFFFF;
}

.flex-dialog {
    display: flex;
    width: 700px;
    padding: 0;
    height: 500px;
}

.left_menu {
    background-color: #ECF1FF;
    width: 24%;
    padding: 24px 0;
    align-items: center;
    gap: 20px;
}

.dialog_flex_content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    width: 76%;
}

.selected_label_item {
    min-height: 40px;
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    align-items: center;
    height: 100%;
    color: #252847;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    padding: 8px;
    border-radius: 6px;
    background-color: #F0F3F8;
}

.button_create_dashboard {
    width: 92px;
    height: var(--main-button-height);
    display: flex;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    color: var(--main-blue-color);
}

.table_dots {
    right: -0px !important;
    z-index: 9 !important;
    background: white !important;
}

.table_dots_sticky {
    position: sticky !important;
    right: 10px;
}

.report_min_chart {
    border-radius: 6px;
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.row_flex_container_with_gap {
    display: flex;
    flex-wrap: wrap;
    column-gap: 40px;
    row-gap: 30px;
    background: #FFFFFF;
    padding: 20px;
    border: 1px solid #EEECF3;
    border-radius: 6px;
}

.global_search_container {
    height: 32px;
    width: 380px;
    padding: 8px 0 8px 0;
    background: #F0F3F8;
    border-radius: 6px;
    overflow: hidden;
    border: 1px #EEECF3 solid;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    display: inline-flex
}

@media (max-width: 1160px) {
    .global_search_container {
        width: 34px;
    }

    .global_search_container.active {
        width: 300px;
    }
}

.search_results {
    position: absolute;
    padding: 12px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.10);
    width: 360px;
    background: white;
    overflow: auto;
    max-height: 300px;
}

.search_group_container {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #EEECF3;
}

.search_group_name {
    color: #B3B3BF;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    padding: 12px 8px;
}

.second_button {
    height: 40px;
    background-color: transparent !important;
    color: var(--main-blue-color);
    border: 1px solid var(--main-blue-color);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px !important;
    font-weight: 600 !important;
    margin:2px;
}
.scrollable__table
{
    max-height: calc(100vh - 200px) !important;
    padding-right: 20px !important;
}
.ant_table_container {
    padding-top: 0;
    padding-right: 0 !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
    max-height: calc(100vh - 190px);
    width: 100%;
}

.ant_table_container table {
    border-collapse: separate;
    width: 100%;
}

.ant_table_container table th {
    position: sticky;
    top: 0;
    z-index: 9;
    white-space: nowrap;
}

.ant_table_container table th:has(div img) {
    position: sticky;
    top: 0;
    z-index: 10 !important;
    white-space: nowrap;
}

.ant_table_container.borderless {
    overflow: visible!important;
    background: var(--main-gray-color);
    padding: 0;
}

.ant_table_container.borderless .ant_table_container{
    max-height: inherit;
}

.ant_table_container.borderless > div > div > table > tbody > tr {
    background: white;
}
.ant_table_container.borderless > div > div > table > colgroup > col:nth-last-child(1){
    display: none;
}

.ant_table_container.borderless > div > div > table > thead > tr > th.ant-table-row-expand-icon-cell:nth-child(1),
.ant_table_container.borderless > div > div > table > tbody > tr > td.ant-table-row-expand-icon-cell:nth-child(1){
    display: none;
}

.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th,
.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td{
    padding: 8px;
}

.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row > td:nth-child(1),
.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row > td,
.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row > td:last-child {
    border-top: none !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    padding: 0;
    /*border-left: solid 4px var(--main-gray-color) !important;*/
}
.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > colgroup > col:nth-last-child(1){
    display: none;
}

.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th .ant-table-column-sorters::before,
.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:not(:nth-last-child(1))::before
{
    content: "";
    background-color: #EEECF3;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.ant-table-tbody > tr.ant-table-row:hover > td::before{
    background-color: #fafafa !important;
}

.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td.ant-table-column-sort{
    background: inherit;
}

.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th:nth-child(1) .ant-table-column-sorters::before,
.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:nth-child(1)::before
{
    margin-left: 4px;
    width: calc(100% - 4px);
}
.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th:nth-child(1),
.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:nth-child(1) {
    padding-left: 50px;
    width: 460px !important;
    min-width: 460px !important;
    max-width: 460px !important;
    border-bottom: none !important;
}

.ant_table_container.borderless > div > div > table > thead > tr > th:nth-child(2),
.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(2) {
    width: 480px !important;
    min-width: 480px !important;
    max-width: 480px !important;
    padding-left: 24px;
}
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th:nth-child(2),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:nth-child(2) {*/
/*    width: 200px !important;*/
/*    min-width: 200px !important;*/
/*    max-width: 200px !important;*/
/*}*/
/*.ant_table_container.borderless > div > div > table > thead > tr > th:nth-child(3),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(3) {*/
/*    width: 200px !important;*/
/*    min-width: 200px !important;*/
/*    max-width: 200px !important;*/
/*}*/
.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:nth-child(2) {
    padding-left: 14px;
}
.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(3){
    padding-left: 14px;
}
.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th:nth-child(2) {
    padding-left: 13px;
}
.ant_table_container.borderless > div > div > table > thead > tr > th:nth-child(3){
    padding-left: 13px;
}

/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th:nth-child(3),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:nth-child(3) {*/
/*    width: 90px !important;*/
/*    min-width: 90px !important;*/
/*    max-width: 90px !important;*/
/*}*/
/*.ant_table_container.borderless > div > div > table > thead > tr > th:nth-child(4),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(4) {*/
/*    width: 90px !important;*/
/*    min-width: 90px !important;*/
/*    max-width: 90px !important;*/
/*}*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th:nth-child(4),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:nth-child(4) {*/
/*    width: 158px !important;*/
/*    min-width: 158px !important;*/
/*    max-width: 158px !important;*/
/*}*/
/*.ant_table_container.borderless > div > div > table > thead > tr > th:nth-child(5),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(5) {*/
/*    width: 158px !important;*/
/*    min-width: 158px !important;*/
/*    max-width: 158px !important;*/
/*}*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th:nth-child(5),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:nth-child(5) {*/
/*    width: 136px !important;*/
/*    min-width: 136px !important;*/
/*    max-width: 136px !important;*/
/*}*/
/*.ant_table_container.borderless > div > div > table > thead > tr > th:nth-child(6),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(6) {*/
/*    width: 136px !important;*/
/*    min-width: 136px !important;*/
/*    max-width: 136px !important;*/
/*}*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th:nth-child(6),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:nth-child(6) {*/
/*    width: 133px !important;*/
/*    min-width: 133px !important;*/
/*    max-width: 133px !important;*/
/*}*/
/*.ant_table_container.borderless > div > div > table > thead > tr > th:nth-child(7),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(7) {*/
/*    width: 133px !important;*/
/*    min-width: 133px !important;*/
/*    max-width: 133px !important;*/
/*}*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th:nth-child(7),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:nth-child(7) {*/
/*    width: 100px !important;*/
/*    min-width: 100px !important;*/
/*    max-width: 100px !important;*/
/*}*/
/*.ant_table_container.borderless > div > div > table > thead > tr > th:nth-child(8),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(8) {*/
/*    width: 112px !important;*/
/*    min-width: 112px !important;*/
/*    max-width: 112px !important;*/
/*}*/
.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(4),
.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(6),
.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(7),
.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(8),
.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(9),
.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(10),
.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(11),
.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(12),
.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(13),
.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(14),
.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(15)
{
    /*padding-top: 24px;*/
    align-content: center;
}

.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(5){
    /*padding-top: 14px;*/
    align-content: center;
}

.ant_table_container.borderless > div > div > table > tbody > tr > td {
    vertical-align: top;
}
.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(2){
    padding-bottom: 0;
}
.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th:nth-last-child(1),
.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:nth-last-child(1),
.ant_table_container.borderless > div > div > table > thead > tr:not(.ant-table-expanded-row) > th:nth-last-child(1),
.ant_table_container.borderless > div > div > table > tbody > tr:not(.ant-table-expanded-row) > td:nth-last-child(1){
    display: none;
}
.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row .ant-table-container{
    width: calc(100% - 14px);
}

.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th:nth-last-child(2),
.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:nth-last-child(2) {
    width: 152px !important;
    min-width: 152px !important;
    max-width: 152px !important;
}

.ant_table_container.borderless > div > div > table > thead > tr > th:nth-last-child(2),
.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-last-child(2) {
    width: 166px !important;
    min-width: 166px !important;
    max-width: 166px !important;
}
.ant_table_container.borderless > div > div > table > thead > tr > th:nth-last-child(2){
    z-index: 10;
}
.ant_table_container.borderless > div > div > table > thead > tr > th:nth-last-child(1){
    z-index: 10 !important;
}

/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th:nth-last-child(3),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:nth-last-child(3),*/
/*.ant_table_container.borderless > div > div > table > thead > tr > th:nth-last-child(3),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-last-child(3) {*/
/*    width: 100px !important;*/
/*    min-width: 100px !important;*/
/*    max-width: 100px !important;*/
/*}*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th:nth-last-child(4),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:nth-last-child(4),*/
/*.ant_table_container.borderless > div > div > table > thead > tr > th:nth-last-child(4),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-last-child(4) {*/
/*    width: 133px !important;*/
/*    min-width: 133px !important;*/
/*    max-width: 133px !important;*/
/*}*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th:nth-last-child(5),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:nth-last-child(5),*/
/*.ant_table_container.borderless > div > div > table > thead > tr > th:nth-last-child(5),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-last-child(5) {*/
/*    width: 136px !important;*/
/*    min-width: 136px !important;*/
/*    max-width: 136px !important;*/
/*}*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th:nth-last-child(6),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:nth-last-child(6),*/
/*.ant_table_container.borderless > div > div > table > thead > tr > th:nth-last-child(6),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-last-child(6) {*/
/*    width: 158px !important;*/
/*    min-width: 158px !important;*/
/*    max-width: 158px !important;*/
/*}*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th:nth-last-child(7),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:nth-last-child(7),*/
/*.ant_table_container.borderless > div > div > table > thead > tr > th:nth-last-child(7),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-last-child(7) {*/
/*    width: 90px !important;*/
/*    min-width: 90px !important;*/
/*    max-width: 90px !important;*/
/*}*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th:nth-child(2),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:nth-child(2),*/
/*.ant_table_container.borderless > div > div > table > thead > tr > th:nth-child(2),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(2) {*/
/*    width: inherit !important;*/
/*    min-width: inherit !important;*/
/*    max-width: inherit !important;*/
/*}*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > thead > tr > th:nth-child(3),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr.ant-table-expanded-row table > tbody > tr > td:nth-child(3),*/
/*.ant_table_container.borderless > div > div > table > thead > tr > th:nth-child(3),*/
/*.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(3) {*/
/*    width: 200px !important;*/
/*    min-width: 200px !important;*/
/*    max-width: 200px !important;*/
/*}*/

.ant_table_container.borderless > div > div > table > tbody > tr:has(+ tr.ant-table-expanded-row) > td {
    border-bottom: none !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.ant_table_container.borderless tr .ant-table-row-expand-icon {
    display: none;
}

.ant_table_container.borderless > div > div > table > thead > tr > th,
.ant_table_container.borderless > div > div > table > tbody > tr > td {
    border-top: solid 4px var(--main-gray-color) !important;
    border-bottom: solid 4px var(--main-gray-color) !important;
    padding: 8px;
}

.ant_table_container.borderless > div > div > table > thead > tr > th:nth-last-child(2),
.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-last-child(2) {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border: solid 4px var(--main-gray-color) !important;
    border-left: none !important;
    padding: 8px;
}
.ant_table_container.borderless > div > div > table > thead > tr > th:nth-child(2),
.ant_table_container.borderless > div > div > table > tbody > tr > td:nth-child(2) {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border: solid 4px var(--main-gray-color) !important;
    border-right: none !important;
    border-left: none !important;
}

.ant_table_container.borderless .ant-table-tbody > tr > td > .ant-table-wrapper:only-child .ant-table {
    overflow: visible;
    padding-left: 0px;
    margin-left: 0px;
    position: relative;
}

/*.ant_table_container.borderless .ant-table-tbody > tr > td > .ant-table-wrapper:only-child .ant-table::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: -10px;*/
/*    right: -10px;*/
/*    bottom: -10px;*/
/*    left: -10px;*/
/*    background-color: #EEECF3;*/
/*    box-shadow: 0 0 0 10000px #EEECF3;*/
/*    z-index: -1;*/
/*}*/

.overlay_tooltip-content {
    padding: 12px 16px;
    border-radius: 6px;
    width: 216px;
    background: white;
}

.cohort_profiles_block {
    padding: 20px;
}

.cohort_search_block {
    margin-bottom: 15px;
}

.profiles_container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 5px;
    height: calc(100vh - 177px);
    overflow: auto;
}

.selectDots {
    padding: 12px;
    border: 1px solid #EEECF3;
    border-radius: 6px;
    display: flex;
    min-height: 32px;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    cursor: pointer;
}

.selectDots:focus,
.selectDots:target,
.selectDots:visited,
.selectDots:hover,
.selectDots:active {
    border: 1px solid #3C89FC;
    border-radius: 6px;
    background-color: white;
}

.formula_result {
    background-color: var(--main-gray-color) !important;
}

.formula_result input {
    background: transparent;
}

.formula_result .text_field {
    background: var(--main-gray-color) !important;
}

.gray-container * {
    color: darkgray !important;
    fill: darkgray !important; /* Для SVG элементов */
}

.gray-container span.colored_num {
    background-color: darkgray;
    color: white !important;
}

.gray-container img {
    filter: grayscale(100%) brightness(0.5);
}

.popover_text {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.attribute_tags {
    border-radius: 4px;
    width: 220px;
    padding: 4px;
    position: relative;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.attribute_tags.selected {
    background: var(--main-border-color);
}

.attribute_tags:not(.selected) {
    background: #F0F3F8;
    cursor: pointer;
}

.attribute_tags:not(.selected):hover {
    background: var(--main-light-color);
}

.attribute_tags .close {
    position: absolute;
    top: 10px;
    right: 6px;
}

.attribute_tag {
    padding: 4px 12px;
    border-radius: 6px;
    background: white;
    width: 200px;
    margin: 4px 0;
    display: flex;
    justify-content: space-between;
    gap: 5px;
    align-items: center;
}

.attribute_tag span {
    text-overflow: ellipsis;
}

.event_analyze_requests {
    display: flex;
    /*flex-wrap: wrap;*/
    gap: 2px;
    /*margin-left: 10px;*/
}

.popover_button_clear {
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
}
.popover_button_clear:hover {
    background: #b2b4b9;
    border-radius: 50%;
}
.event_analyze_requests .add_group{
    font-weight: bold;
    font-size: 12px;
    margin: 5px auto;
    margin-bottom: 10px;
    margin-top: 10px;
    align-items: start;
    display: flex;
    justify-content: center;
}

.cursor-auto {
    cursor: auto;
}


.popover_label {
    display: inline-flex;
    align-items: center;
    height: 100%;
    border:none !important;
    padding-left: 16px;
    cursor: pointer;
    font-size: 14px;
    color: #1A1D38;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.text-wrapper {
    margin: 16px 16px 0 16px;
    color: #B3B3BF;
    font-size: 12px;
    font-weight: 500;
    height: 21px;
    letter-spacing: 0;
    line-height: normal;
    width: 210px;
}

.popover_items_2 {
    flex-direction: column;
    max-height: 300px;
    overflow: auto;
}
.popover_items_2 .divider {
    border-bottom: 1px solid #EEECF3;
    margin: 8px 0;
}