.mud-table {
    background: #f5f5f5 !important;
}
.mud-table-sticky-header * .mud-table-root .mud-table-head * .mud-table-cell {
    background: transparent !important;
}
/* Фиксированная ширина столбцов таблицы */
.mud-table-cell {
    width: auto !important;
    word-break: break-word;
}

.mud-table-empty-row {
    background: transparent !important;
}

.mud-table-fixed {
    width: 100%;
    table-layout: fixed;
}

.clickable-row {
    cursor: pointer;
}

.mud-table-fixed .mud-table-body .mud-table-row .mud-table-cell {
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.mud-table-fixed .mud-table-body .mud-table-row .mud-table-cell.action-cell {
    text-overflow: inherit;
}

.mud-table-fixed .mud-table-cell {
    flex: 0 0 auto !important;
    transition: none !important;
}

.mud-table-fixed th,
.mud-table-fixed td {
    box-sizing: border-box !important;
    table-layout: fixed !important;
}

.mud-table-fixed .mud-table-container {
    table-layout: fixed !important;
    width: 100% !important;
}

.mud-table-fixed .mud-table-head {
    display: table !important;
    width: 100% !important;
    table-layout: fixed !important;
}

.mud-table-fixed .mud-table-head th {
    border: none;
    visibility: visible !important;
    opacity: 1 !important;
}

.mud-table-fixed .mud-table-head th>button {
    white-space: nowrap;
}

.mud-table-fixed .mud-table-body {
    display: table !important;
    width: 100% !important;
    table-layout: fixed !important;
}

.mud-table-fixed .mud-table-row {
    display: table-row !important;
    width: 100% !important;
}

.mud-table-fixed .mud-table-body .mud-table-row td:first-child {
    border-bottom-left-radius: 12px;
    border-top-left-radius: 12px;
}

.mud-table-fixed .mud-table-body .mud-table-row td:last-child {
    border-bottom-right-radius: 12px;
    border-top-right-radius: 12px;
}

.mud-table-fixed .mud-table-body .mud-table-row td {
    background: #FFFFFF !important;
}

.mud-table-body {
    border-spacing: 0 4px;
    border-collapse: separate;
}

.mud-table-fixed .mud-table-body .mud-table-row:hover td {
    background-color: var(--mud-palette-table-hover) !important;
}

.mud-table-cell {
    border-block: 1px solid #f5f5f5;
}

/* Стиль для иконки сортировки, чтобы она не меняла ширину */
.mud-table-fixed .sort-icon {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
    margin-left: 4px;
}

/* Стиль для отключенных строк */
.mud-table-row.disabled-row {
    opacity: 0.6;
    background-color: var(--mud-palette-background-grey);
    pointer-events: none;
}