/*
 * Empty state — the centered placeholder shown when a list or page has
 * no data yet: an icon, a short title, a line of guidance, and an
 * optional primary action.
 */

@layer components {
  .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-2);
    padding: var(--space-12) var(--space-6);
    color: var(--color-text-body);
  }

  .empty-state__icon {
    width: var(--space-10);
    height: var(--space-10);
    color: var(--color-slate-300);
    margin-bottom: var(--space-1);
  }

  .empty-state__icon svg {
    width: 100%;
    height: 100%;
  }

  .empty-state__title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text-heading);
    margin: 0;
  }

  .empty-state__text {
    margin: 0;
    max-width: 40ch;
  }

  .empty-state__action {
    margin-top: var(--space-3);
  }
}
