/* Loading placeholder styles */
.loading-placeholder {
  padding: var(--size-8) var(--size-4);
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.loading-placeholder::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-top: var(--size-4);
  border: 4px solid var(--border-2);
  border-radius: 50%;
  border-top-color: var(--indigo-9);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Dark mode styles */
html[data-theme="dark"] .loading-placeholder::after {
  border-color: var(--border-2-dark);
  border-top-color: var(--indigo-6);
}
