/* Overrides for the vendored DataTables 2.1.8 CDN styles.
   Linked AFTER the DataTables stylesheets in App.razor so these win. */

/* Tighter cell padding than the DataTables default (8px 10px). */
table.dataTable > tbody > tr > td,
table.dataTable > tbody > tr > th,
table.dataTable > thead > tr > th,
table.dataTable > thead > tr > td {
    padding: 1px 10px !important;
}

/* The default per-button padding makes the pagination buttons oversized;
   dropping it lets the tighter padding of the surrounding paging container apply. */
div.dt-container .dt-paging .dt-paging-button {
    padding: 0 !important;
}

/* Totals row: a second header row pinned at the top of the table (OnTelligence-style).
   It carries no sort handlers (orderCellsTop) — style it as an emphasised summary line,
   right-aligned to line up with the numeric columns it totals. */
table.dataTable > thead > tr.dt-totals > th {
    font-weight: 600;
    text-align: right;
    background-color: rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    cursor: default;
}
