.table-container {
    width: 100%;
    max-width: 100%;
    /* Занимает 80% высоты окна */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border: none;
    border-radius: 8px;
    position: relative;
    padding: 10px 15px;
}

.table-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding: 1px;
    background: linear-gradient(180deg, #252040 0%, rgb(17 15 37 / 30%) 150%);
    border-radius: 20px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.table-wrapper {
    flex-grow: 1;
    overflow-x: auto;
    overflow-y: auto;
    display: block;
    position: relative;
}

.table-header {
    width: 100%;
    position: sticky;
    top: 0;
}

.table-content {
    width: 100%;
}

.table-emptycontent {
    width: 100%;
    padding: 20px 15px;
    text-align: center;
    background: var(--bg-color-cobalt-dark);
    color: var(--text-color-gray);
    font-size: 0.775rem;
    font-weight: 400;
    border-radius: 14px;
    margin-top: 10px;
}

table {
    min-width: -moz-max-content;
    min-width: max-content;
    width: 100%;
    border-collapse: collapse;
    position: relative;
}

thead {}

tbody {}

thead th {
    padding: .5rem 1rem;
    color: var(--text-color-gray);
    font-weight: 300;
    font-size: 0.875rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
}

tbody tr {}

tbody td {
    padding: 1rem;
    /* border-bottom: 1px solid var(--bg-section-gray); */
    /* width: max-content; */
    /* max-width: 220px; */
    /* text-overflow: ellipsis; */
    /* text-wrap: nowrap; */
    /* overflow: hidden; */
    /* white-space: nowrap; */
}

tbody tr:last-child td {
    border-bottom: none;
}

thead th:first-child,
tbody td:first-child {
    text-align: left;
    padding-left: 0;
    padding-right: 0px;
}

thead th:last-child,
tbody td:last-child {
    text-align: right;
    padding-right: 0;
}

table .d-flex {
    display: flex;
    gap: 5px;
    width: -moz-max-content;
    width: 100%;
}

table .d-column {
    display: flex;
    flex-direction: column;
}

table .j-content-center {
    justify-content: center;
}

table .j-content-start {
    justify-content: flex-start;
}

table .j-content-end {
    justify-content: flex-end;
}

table .a-items-center {
    align-items: center;
}

table .a-items-start {
    align-items: flex-start;
}

table .a-items-end {
    align-items: flex-end;
}

table .rating-number {
    position: relative;
    width: 23px;
    height: 43px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

table .rating-number svg {
    color: var(--bg-section-gray);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 100%;
    width: 100%;
    z-index: 1;
}

table .rating-number_value {
    color: var(--text-color-white);
    position: relative;
    z-index: 2;
}

table .rating-number-value {}


/* Аватарка */

table .avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    min-width: 45px;
    height: 45px;
    min-height: 45px;
}

table .avatar img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 8px;
    border-radius: 50%;
}

table .avatar-none {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.275rem;
    font-family: var(--fontfamily-primary);
}

table tr:nth-child(5n+1) .avatar-none {
    background: var(--bg-primary)
}

table tr:nth-child(5n+2) .avatar-none {
    background: var(--bg-color-success)
}

table tr:nth-child(5n+3) .avatar-none {
    background: var(--bg-color-error)
}

table tr:nth-child(5n+4) .avatar-none {
    background: var(--bg-color-process)
}

table tr:nth-child(5n+5) .avatar-none {
    background: var(--bg-color-blue)
}


/* Иконки */

table .icon-img .symbol__icons {
    width: 20px;
    height: 20px;
}

table .icon-img.ton-symbol {
    background: #0d5c97;
    padding: 2px;
}

table .icon-img.circle {
    border-radius: 100%;
    overflow: hidden;
    width: 18px;
    height: 18px;
}

table .icon-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: contain;
}

table .icon {}

table .icon svg {}

table .icon.orange {
    background: var(--bg-color-process-opacity);
    color: var(--text-color-process)
}

table .icon.green {
    background: var(--bg-color-success-opacity);
    color: var(--text-color-success)
}

table .icon.red {
    background: var(--bg-color-error-opacity);
    color: var(--text-color-error)
}

table .icon.blue {
    background: var(--bg-color-blue-opacity);
    color: var(--text-color-blue)
}


/* Текста */

table .text-normal {
    font-size: 1rem;
}

table .text-small {
    font-size: 0.875rem;
}

table .text-long {
    font-size: 1.025rem;
}

table .text-light {
    font-weight: 300;
}

table .text-medium {
    font-weight: 400;
}

table .text-hide {
    text-overflow: ellipsis;
    text-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
    max-width: 148px;
}

table .text-bold {
    font-weight: 600;
}

table .text-white {
    color: var(--text-color-white);
}

table .text-gray {
    color: var(--text-color-gray);
}

table .text-purple {
    color: var(--text-color-purple);
}


/* Статусы */

table .status {
    border-radius: 40px;
    border: none;
    padding: 8px 12px;
    font-size: 0.825rem;
}

table .status.success {
    color: var(--text-color-green-light);
    background: #121d23;
}

table .status.error {
    background: var(--bg-color-error-opacity);
    color: var(--text-color-error);
}

table .status.proccess {
    background: var(--bg-color-process-opacity);
    color: var(--text-color-process);
}

table .status.pink-opacity {
    background-color: #d773bb4d;
    color: var(--text-color-white);
}

table .status.orange-opacity {
    background-color: #f7931a33;
    color: var(--text-color-white);
}

table .status.gray {
    background-color: var(--btn-gray-light-bg);
    color: var(--text-color-gray);
    border-color: var(--btn-gray-light-bg);
}


/* Кнопки */

table .actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}






.table__pages {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table__pages-page {
    background: #150D2F;
    color: var(--text-color-gray-light);
    font-weight: 300;
    font-size: 0.775rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: -moz-max-content;
    width: max-content;
    padding: 6px 12px;
    border-radius: 12px;
    height: 38px;
}

.table__pages-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.table__pages-btn button {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #150D2F;
    border-radius: 100%;
    background: #150D2F;
    color: var(--text-color-gray-light);
    width: 45px;
    height: 45px;
    padding: 10px;
}

.table__pages-btn button[disabled] {
    background: #281F4F;
    color: #50467B;
}

.table__none {
    align-items: center;
    border-radius: 20px;
    color: var(--text-color-gray);
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    padding: 20px 15px;
    width: 100%;
}

.table__none-icon {
    height: 40px;
    width: 40px;
    padding: 10px;
    border-radius: 9px;
    background: var(--bg-secondary-item);
}

.table__none-icon svg {
    height: 100%;
    width: 100%;
}

.table__none-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* Фильтрация */
.table__options {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.table__options-filter {
    margin-left: auto;
    position: relative;
    width: -moz-max-content;
    width: max-content;
}

.table__options-filter--button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: #6B6498;
}

.table__options-filter--button--label {
    font-size: 0.925rem;
}

.table__options-filter--button--icon {
    width: 12px;
}

.table__options-filter--button--icon svg {
    width: 100%;
    height: 100%;
}

.table__options-filter--list {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: flex;
    flex-direction: column;
    background: #0E0E2E;
    gap: 5px;
    padding: 15px 15px;
    border-radius: 28px;
    max-height: 215px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    z-index: 12;
    transition: .2s;
}

.table__options-filter--list.show {
    opacity: 1;
    visibility: visible;
}

.table__options-filter--list--item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    width: 100%;
    min-width: -moz-max-content;
    min-width: max-content;
    background: none;
    border: none;
    padding: 13px 15px;
    border-radius: 14px;
}

.table__options-filter--list--item.active {
    background: #060824;
    color: var(--text-color-gray);
}

.table__options-filter--list--label {
    font-size: 0.875rem;
}

.table__options-filter--list--icon {
    width: 12px;
}

.table__options-filter--list--icon svg {
    width: 100%;
    height: 100%;
}
