/* loading.css – shared loading indicator styles */

.loading-indicator:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 3rem 0;
  gap: 1rem;

  font-size: 1.25rem;
  font-weight: bold;
  color: #555;
}

.loading-indicator:not([hidden])::before {
  content: '';
  width: 3rem;
  height: 3rem;
  border: 4px solid #e0e0e0;
  border-top-color: #000;
  border-radius: 50%;
  animation: loading-spin 1s linear infinite;
}

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