.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.table caption {
  padding: var(--space-2) var(--space-4);
  text-align: left;
  font-size: var(--text-xs);
  color: var(--color-muted-foreground);
}

.table th,
.table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.table th {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-foreground);
  background: var(--color-muted);
  white-space: nowrap;
}

.table tbody tr:nth-child(even) {
  background: var(--color-background);
}

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

.table--sticky-head thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.table--spec td:first-child {
  width: 40%;
  color: var(--color-muted-foreground);
  font-weight: 600;
}

.table--dense th,
.table--dense td {
  padding: var(--space-2) var(--space-3);
}
