body { background-color: #f8f9fa; }
.table-sm td, .table-sm th { vertical-align: middle; }
.cursor-pointer { cursor: pointer; }
.records-table-wrap {
  max-height: calc(100vh - 260px);
  overflow-y: auto;
}
.records-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: #f8f9fa;
}
.records-table tfoot th {
  position: sticky;
  bottom: 0;
  z-index: 1;
  background-color: #f8f9fa;
}
@media (max-width: 991.98px) {
  .records-table-wrap {
    max-height: none;
  }
}