/*
 * 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.
 */


.loader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001;
}

.loader.hidden {
  display: none;
}

.spinner {
  width: 45px;
  height: 45px;
  border: 4px solid #ccc;
  border-top-color: #555;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Shared keyboard focus, including controls whose base styles reset outlines. */
:root :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--color-focus, #3358a8);
  outline-offset: 2px;
}
.dashbr-topbar.new-header :focus-visible {outline-color: #fff;}

@media (prefers-reduced-motion: reduce) {
  .modal-content {animation: none;}
}
