/* Empty States
 * Centered content with icon container, title, description, and CTA.
 * Color variants for icon background match the screen's accent.
 */

@layer components {
  .empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
  }

  .empty-state__icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-block-end: 16px;
    font-size: 2rem;
    line-height: 1;
    background: oklch(var(--lch-flare) / 0.1);

    & svg {
      width: 32px;
      height: 32px;
      color: oklch(var(--lch-flare));
    }
  }

  /* Icon color variants */
  .empty-state__icon--golden {
    background: oklch(var(--lch-golden) / 0.1);
    & svg { color: oklch(var(--lch-golden)); }
  }

  .empty-state__icon--laser {
    background: oklch(var(--lch-laser) / 0.1);
    & svg { color: oklch(var(--lch-laser)); }
  }

  .empty-state__icon--uv {
    background: oklch(var(--lch-uv) / 0.1);
    & svg { color: oklch(var(--lch-uv)); }
  }

  .empty-state__title {
    font-family: "Outfit", system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-ink);
    margin-block-end: 6px;
  }

  .empty-state__description {
    font-size: 0.8125rem;
    color: oklch(75% 0.04 293);
    max-inline-size: 28ch;
    margin-inline: auto;
    margin-block-end: 20px;
    line-height: 1.5;
  }

  .empty-state .btn {
    margin-block-start: 4px;
  }
}
