/* spinners.css */

.htmx-indicator {
  display: none;
  opacity: 0;
  transition: opacity 200ms ease-in;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  display: block;
  opacity: 1;
}

#loading-indicator {
  margin-top: 2px;
}

@keyframes oh-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.oh-spinner {
  border: 4px solid #ccc;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: oh-spin 1s linear infinite;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}
