/* {% empty_state %} and {% empty_row %}: what a list, panel or table shows when it has nothing in it. */

.empty-state {
  display: grid;
  justify-items: center;
  gap: var(--space-2);
  padding: var(--space-8) var(--space-6);
  color: var(--text-muted);
  font-size: var(--text-sm);
  text-align: center;
}

.empty-state::before {
  content: "◇";
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--surface-sunken);
  color: var(--text-muted);
  font-size: var(--text-md);
}

.empty-state p {
  max-width: 420px;
  margin: 0;
}

.empty-state b {
  color: var(--text);
}

.empty-state-success::before {
  content: "✓";
  background: var(--success-soft);
  color: var(--text-success);
}

.empty-state-success b {
  color: var(--text-success);
}

.card-grid .empty-state {
  grid-column: 1 / -1;
}

.empty-row td {
  padding: var(--space-8) var(--space-6);
  color: var(--text-muted);
  text-align: center;
}
