.dataTables_wrapper .dt-buttons{
  margin-bottom: .5rem;
}
.table.dataTable tbody tr.selected{
  background-color:#e9f5ff;
}
.table.dataTable thead th{
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.table.dataTable tfoot th{
  font-weight: 600;
}
.dataTables_filter input{
  border-radius: .25rem;
}
/* compact rows */
.table.dataTable>tbody>tr>td{ padding:.5rem .75rem; }
.table.dataTable>thead>tr>th{ padding:.5rem .75rem; }
/* header filter row */
thead tr.filters th input{ width:100%; }
/* wrapper modifiers for compact and dark modes */
.dataTables_wrapper.dg-compact .table.dataTable>tbody>tr>td{ padding:.25rem .5rem; }
.dataTables_wrapper.dg-compact .table.dataTable>thead>tr>th{ padding:.25rem .5rem; }
/* apply class to outer container for density toggle */
div.dataTables_wrapper.dg-compact table.dataTable{ font-size: .9rem; }
/* dark theme scoped to this grid container */
.dataTables_wrapper.dg-dark,
.dataTables_wrapper.dg-dark .table,
.dataTables_wrapper.dg-dark .table thead th,
.dataTables_wrapper.dg-dark .table tbody td{
  background-color: #1f2937;
  color: #e5e7eb;
}
.dataTables_wrapper.dg-dark .dataTables_info,
.dataTables_wrapper.dg-dark .dataTables_paginate .page-link,
.dataTables_wrapper.dg-dark .dataTables_filter label,
.dataTables_wrapper.dg-dark .dataTables_length label{
  color: #e5e7eb;
}
.dataTables_wrapper.dg-dark .page-item.active .page-link{
  background-color:#2563eb;
  border-color:#2563eb;
}
.dataTables_wrapper.dg-dark .dt-button{
  color:#e5e7eb;
  border-color:#374151;
  background-color:#111827;
}
.dataTables_wrapper.dg-dark thead tr.filters th input{
  background:#111827;
  border-color:#374151;
  color:#e5e7eb;
}
/* toolbar tweaks */
.dg-toolbar .btn{ margin-left:.25rem; }
.dg-counter{ font-weight:600; }
