
.spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-left: 0.5em;
}

/* hidden helper */
/* .hidden {
  display: block;
} */

@keyframes spin {
  to { transform: rotate(360deg); }
}
/* Add this to your stylesheet */
.error-alert {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fdecea;
  border: 1px solid #f5c6cb;
  color: #611a15;
  padding: 12px 16px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  max-width: 90%;
  z-index: 1000;
}

.error-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  flex-shrink: 0;
}

.error-message {
  flex: 1;
  font-size: 14px;
}

.error-close {
  background: transparent;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: #611a15;
  cursor: pointer;
  margin-left: 12px;
}

.error-close:hover {
  color: #000;
}

.hidden {
  display: none !important;
}

