/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.flash {
  margin: 0 auto 20px;
  max-width: 800px;
  padding: 12px 16px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 16px;
}

.flash-alert {
  background-color: #f8d7da;
  border-color: #f5c2c7;
  color: #842029;
}

.flash-notice {
  background-color: #cff4fc;
  border-color: #b6effb;
  color: #055160;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

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