/* --- EMPTY STATE + SPINNER --- */
.empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--sp-8, 16px);
  padding: var(--sp-12, 40px);
  width: 100%;
}
.empty-state h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-primary);
}
.empty-state p {
  max-width: 440px;
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--text-muted);
}
.empty-state .empty-icon {
  color: var(--text-muted);
}
.empty-state .empty-icon.pulse {
  animation: uiPulse 2.6s ease-in-out infinite;
}
@keyframes uiPulse {
  0%, 100% { opacity: 0.30; transform: scale(1); }
  50%      { opacity: 0.65; transform: scale(1.06); }
}

/* Крутилка загрузки */
.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: uiSpin 1s linear infinite;
}
@keyframes uiSpin {
  to { transform: rotate(360deg); }
}
