.ez_table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ez-color-surface-variant);
  border-radius: var(--ez-radius-lg);
  background: var(--ez-color-surface);
  box-shadow: var(--ez-shadow-sm);
}

.ez_table {
  inline-size: 100%;
  border-collapse: collapse;
  font-size: var(--ez-font-size-sm);
  font-variant-numeric: tabular-nums;
}

.ez_table__caption {
  padding: var(--ez-space-4) var(--ez-space-4) var(--ez-space-2);
  text-align: start;
  font-size: var(--ez-font-size-md);
  font-weight: var(--ez-font-weight-medium);
}

.ez_table th,
.ez_table td {
  padding: var(--ez-space-3) var(--ez-space-4);
  text-align: start;
  vertical-align: middle;
  border-block-end: 1px solid var(--ez-color-surface-variant);
}

.ez_table thead th {
  color: var(--ez-color-text-muted);
  font-size: var(--ez-font-size-xs);
  font-weight: var(--ez-font-weight-medium);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  border-block-end-color: var(--ez-color-border);
}

.ez_table tbody tr:last-child td {
  border-block-end: 0;
}

.ez_table tbody tr:hover {
  background: var(--ez-color-surface-container);
}

.ez_table .ez_table__num {
  text-align: end;
}
