/*
 * Empty state — shown when a list/table/section has no data.
 * Always include 1-2 actions; never empty-text-only.
 */

@import url('../tokens.css');

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-12) var(--space-8);
}

.empty-icon {
  width: 48px;
  height: 48px;
  color: var(--color-text-tertiary);
  stroke-width: 1.5;
}

.empty-title {
  font-size: var(--text-h3);
  font-weight: var(--text-h3-weight);
  line-height: var(--text-h3-leading);
  color: var(--color-text-primary);
  margin-top: var(--space-4);
}

.empty-description {
  font-size: var(--text-small);
  font-weight: var(--text-small-weight);
  line-height: var(--text-small-leading);
  color: var(--color-text-secondary);
  margin-top: var(--space-2);
  max-width: 360px;
}

.empty-actions {
  display: flex;
  flex-direction: row;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

/* Loading skeleton (used in place of data while fetching) */
.skeleton {
  background-color: var(--color-surface-muted);
  border-radius: var(--radius-sm);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-line {
  height: 12px;
  width: 100%;
  margin-bottom: var(--space-2);
}

.skeleton-line:last-child {
  margin-bottom: 0;
}

@keyframes skeleton-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
