/* Progress circle overlay (Views/Shared/_Loading.cshtml); shown by loading.js.
   Sits above Bootstrap modals (z-index 1055). */
.app-loading {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: progress;
}

.app-loading.show {
  display: flex;
}

.app-loading-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.75rem;
  border-radius: 0.75rem;
  background-color: var(--app-surface, #fff);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
  color: var(--app-text, #333);
  font-weight: 600;
}

.app-loading .spinner-border {
  width: 3rem;
  height: 3rem;
  /* The theme colour (themes.css); the default theme's accent on the login page, which does not load themes.css. */
  color: var(--app-accent, #b8441a);
}
