.table-container {
  height: 350px;
  overflow-y: scroll;
  display: block;
  border: 1px solid var(--border-color-strong);
  border-radius: 4px;
}

.table-container-large {
  height: 500px;
}

.table-counter {
  padding-top: 8px;
  text-align: end;
  color: var(--text-secondary);
}

table {
  width: 100%;
  border-spacing: 0;

  border-collapse: separate;
  border-radius: 12px;
  border: none;
}

thead th {
  position: sticky;
  top: 0;
  background-color: #fefffc;
  z-index: 1;
  border-bottom: 2px solid #ccc;
  border-color: hsl(0, 0%, 90%);
  min-width: 100px;
}

th,
td {
  padding: 8px;
  text-align: left;
  border-right: 0;
  border-bottom: 1px solid hsl(0, 0%, 90%);
}

td {
  border-right: none;
  border-left: none;
  max-width: 20ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
}

td .fa-solid {
  font-size: 20px;
}

/* Clean up duplicate outer borders */
th:last-child,
td:last-child {
  border-right: none;
}

tbody tr:last-child td {
  border-bottom: none;
}


.details-toggle-btn {
  margin-right: 8px;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background-color: var(--background);
  border-radius: 4px;
  width: 24px;
  height: 24px;
  line-height: 20px;
  text-align: center;
  font-weight: bold;
}

.details-toggle-btn:hover {
  background-color: #eee;
}


.details-row>td {
  border-top: none;
  padding: 0;
  border-bottom: #ccc;
}

.card-content {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 12px;
  background: var(--background);
}

.table-chip {
  width: 140px;
}