.cp-full-width .cp-header-inner,
.cp-full-width .cp-wrapper {
    width: 100% !important;
    max-width: none !important;
}

.cp-full-width .cp-wrapper {
    padding-left: 12px;
    padding-right: 12px;
}

/* Report tables */
.reports-table thead th,
.reports-table .mud-table-head th {
    background: var(--mud-palette-primary) !important;
    color: var(--mud-palette-primary-text) !important;
    font-weight: 700 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

/* Ensure sticky header stays visible over rows */
.reports-table thead th,
.reports-table .mud-table-head th {
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Slightly stronger separation on dense rows */
.reports-table .mud-table-container {
    border-radius: 6px;
    overflow: auto;
}

/* Make header stand out a bit more */
.reports-table thead th:first-child {
    border-top-left-radius: 6px;
}
.reports-table thead th:last-child {
    border-top-right-radius: 6px;
}

/* Column sizing + text behavior (heuristics) */
.reports-table table {
    table-layout: fixed;
    width: 100%;
}

.reports-col-xs { width: 90px; max-width: 90px; }
.reports-col-sm { width: 140px; max-width: 140px; }
.reports-col-md { width: 220px; max-width: 220px; }
.reports-col-xl { width: 360px; max-width: 360px; }

.reports-col-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reports-col-wrap {
    white-space: normal;
    word-break: break-word;
}

/* Export buttons */
.reports-export-btn {
    font-weight: 700;
}
.reports-export-btn.mud-disabled,
.reports-export-btn:disabled {
    opacity: 0.55;
}

.reports-export-btn-pdf {
    border-color: #f44336 !important;
    color: #f44336 !important;
}
.reports-export-btn-pdf:hover {
    background: rgba(244, 67, 54, 0.08) !important;
}

.reports-export-btn-excel {
    border-color: #008f39 !important;
    color: #008f39 !important;
}
.reports-export-btn-excel:hover {
    background: rgba(0, 143, 57, 0.10) !important;
}

.reports-export-btn-csv {
    border-color: #828282 !important;
    color: #828282 !important;
}
.reports-export-btn-csv:hover {
    background: rgba(130, 130, 130, 0.12) !important;
}

