:root {
  --thead-background: inherit;
  --thead-text: inherit;
  --tbody-text: inherit;
  --table-sep: inherit;
  --table-back-odd: inherit;
  --table-back-even: inherit;
  --table-active-background: inherit;
  --tbody-hover: inherit;
}

/* TABLE STYLING */
.table-content {
  border-collapse: collapse;
  font-size: 0.9rem;

  width: 100%;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
}

.table-content thead tr {
  background-color: var(--thead-background);
  color: var(--thead-text);
  text-align: left;
  font-weight: bold;
}

.table-content tbody tr {
  border-bottom: 1px solid var(--table-sep);
  background-color: var(--table-back-odd);
  color: var(--tbody-text);
  transition: all 0.2s 0s ease-in-out;
}

.table-content tbody tr:nth-of-type(even) { background-color: var(--table-back-even); }
.table-content tbody tr:last-of-type { border-bottom: 2px solid var(--thead-background); }
.table-content tbody tr:hover { background-color: var(--tbody-hover); }

.table-content th, .table-content td { padding: 1rem clamp(0.6rem, 1rem, 1.2rem); }


.table-content tbody tr.active-row {
  font-weight: bold;
  color: var(--thead-background);
  background-color: var(--table-active-background)
}
