.ez_card {
  background: var(--ez-color-surface);
  border: 1px solid var(--ez-color-surface-variant);
  border-radius: var(--ez-radius-lg);
  box-shadow: var(--ez-shadow-sm);
  padding: var(--ez-space-5);
}

.ez_card--flat {
  box-shadow: none;
  border-color: var(--ez-color-border);
}

.ez_card__title {
  margin-block-end: var(--ez-space-3);
}

.ez_stat {
  display: flex;
  flex-direction: column;
  gap: var(--ez-space-1);
}

.ez_stat__value {
  font-size: var(--ez-font-size-xl);
  font-weight: var(--ez-font-weight-medium);
  font-variant-numeric: tabular-nums;
  white-space: nowrap; /* an amount and its currency stay on one line */
}

.ez_stat__label {
  color: var(--ez-color-text-muted);
  font-size: var(--ez-font-size-sm);
}
