/* ===== DARK THEME SCROLLER FIX ===== */
[data-theme-version="dark"] div.dts {
    display: block !important;
}

/* Remove ugly default striped background */
[data-theme-version="dark"] div.dts div.dataTables_scrollBody {
    background: transparent !important;
}

/* Table background (use your theme instead of white) */
[data-theme-version="dark"] div.dts div.dataTables_scrollBody table {
    background-color: transparent; !important;
}

/* Text color inside table */
[data-theme-version="dark"] table.dataTable {
    color: #cbd5e1;
}

/* Optional: softer row separation */
[data-theme-version="dark"] table.dataTable tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* Row hover (clean SaaS feel) */
[data-theme-version="dark"] table.dataTable tbody tr:hover {
    background: var(--rgba-primary-1);
}

/* Selected row */
[data-theme-version="dark"] table.dataTable tbody tr.selected {
    background: var(--rgba-primary-2) !important;
}

/* Remove forced nowrap (optional) */
[data-theme-version="dark"] div.dts tbody td {
    white-space: normal;
}

/* Hide pagination UI (Scroller requirement) */
[data-theme-version="dark"] div.dts div.dataTables_paginate,
[data-theme-version="dark"] div.dts div.dataTables_length {
    display: none !important;
}