/* Remove the old full-orange table background */
table.dataTable {
  background: none !important;
}

/* Header row styling */
table.dataTable thead {
  background: var(--accent-color);
}
table.dataTable thead th {
  color: var(--bg-color) !important;
  font-weight: bold;
  padding: 0.6em 0.8em;
}

/* Alternating body rows for contrast */
table.dataTable tbody tr:nth-child(odd) {
  background: var(--bg-color);
}
table.dataTable tbody tr:nth-child(even) {
  background: var(--border-color);
}
table.dataTable tbody td {
  color: var(--text-color);
  padding: 0.4em 0.6em;
}

/* Search box & pagination controls */
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  background: var(--border-color);
  color: var(--text-color);
  border: 1px solid var(--accent-color);
  padding: 0.2em 0.4em;
}

/* Active filter button highlight */
#sensor-filters button.active,
#rep-filters button.active {
  background: var(--accent-color);
  color: var(--bg-color);
  border-color: var(--accent-color);
}

/* Make the models table more compact and left-aligned */
#models-table.dataTable {
  font-size: 0.8em;       /* shrink all text inside the table */
  max-width: 100%;        /* prevent it from stretching too wide */
  margin-left: 0;          /* align flush with your .site-content left edge */
  margin-right: auto;      /* keep it from filling 100% width */
}