div.table_container {
  background-color: var(--bg-color);
  --padding: 1rem;
  width: fit-content;
  width: 28em;
  margin-inline: auto;
  margin-top: 1em;
  padding: var(--padding);
  /* flex-direction: column; */
  /* background-color: inherit; */
  min-width: max-content;
  /* max-width: 900px; */
  /* margin: auto; */
}
#tables {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 1rem 1rem 0;
  background-color: var(--menu-bg-color);
}
h1,
h2,
h3,
table {
  margin: 1rem 0 0 1rem;
}
h2,
h3 {
  background-color: #ffdfb8;
  padding: 0.4rem 1rem;
}
h2 {
  text-align: center;
  font-size: xx-large;
}
h3 {
  /* font-weight: normal; */
  font-size: x-large;
}
table {
  line-height: 0.8rem;
  border-collapse: collapse;
  font-size: large;
  /* width: 100%; */
}
h1::before {
  /* content: "🎛️ "; */
}
th,
td {
  border: 1px solid #888;
  padding: 0.4em 0.8em;
  /* text-align: right; */
}
th:nth-child(3),
td:nth-child(3) {
  text-align: left;
}
th {
  background: #ffecd6;
}
tr:nth-child(even) {
  background: #ffdfb8;
}

/* Clickable rows */
tr.clickable {
  cursor: pointer;
}

/* Channel detail rows */
tr.channel-details {
  display: none;
  /* background-color: #f9f9f9; */
}

/* Table-specific column alignment */
#status_bytes td:nth-child(1):not([colspan]),
#status_bytes td:nth-child(2):not([colspan]),
#status_bytes td:nth-child(3):not([colspan]),
#status_bytes td:nth-child(5):not([colspan]) {
  text-align: right;
}

#control_change_messages td:nth-child(1):not([colspan]),
#control_change_messages td:nth-child(2):not([colspan]) {
  text-align: right;
}
