/* ===== Data Tables ===== */

.data-table .mud-table-container > table {
    table-layout: fixed !important;
}

    .data-table .mud-table-container > table td:nth-child(2),
    .data-table .mud-table-container > table th:nth-child(2) {
        overflow: hidden;
    }

.data-table .cell-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.data-table .mud-table-body > tr.selected-row {
    background-color: var(--mud-palette-primary-hover) !important;
}

/* ===== Context Menu ===== */

.context-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1300;
}

.context-menu-popup {
    position: fixed;
    z-index: 1301;
    min-width: 180px;
}

/* ===== Clients Page ===== */

.clients-page {
    height: calc(100vh - 64px - 48px);
    display: flex;
    flex-direction: column;
}

.clients-page .mud-table {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.clients-page .mud-table .mud-table-container {
    flex: 1;
    overflow-y: auto;
}

.clients-page .mud-table-row {
    cursor: pointer;
}

/* ===== Bars Page ===== */

.bars-page .bars-chart {
    height: calc(50vh - 80px);
    min-height: 200px;
}

.bars-page .bars-skeleton-chart {
    height: calc(50vh - 80px);
    min-height: 200px;
}
