/* Indicateur de chargement commun aux espaces Web AHIS. */
.ahis-global-loader {
  position: fixed;
  z-index: 2100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(14, 45, 31, .28);
  backdrop-filter: blur(2px);
}

.ahis-global-loader[hidden] { display: none; }

.ahis-global-loader__panel {
  display: flex;
  min-width: 13rem;
  align-items: center;
  gap: .8rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: .8rem;
  background: #fff;
  box-shadow: 0 .75rem 2rem rgba(15, 39, 28, .22);
  color: #174d2b;
}

.ahis-global-loader__spinner {
  width: 1.75rem;
  height: 1.75rem;
  border-width: .22rem;
  color: #198754;
}

.ahis-global-loader__message {
  font-size: .925rem;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .ahis-global-loader__spinner { animation-duration: 1.8s; }
}
