
.app-loading {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.7);
  cursor: progress;
}

.app-loading.is-visible {
  display: flex;
}

.app-loading__spinner {
  width: 3rem;
  height: 3rem;
  border: 0.3rem solid rgba(130, 6, 6, 0.2);
  border-top-color: #820606;
  border-radius: 50%;
  animation: app-loading-spin 0.8s linear infinite;
}

.app-loading__message {
  margin-top: 0.75rem;
  color: #5a5c69;
  font-size: 0.9rem;
}

.app-loading__message:empty {
  display: none;
}

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

@media (prefers-reduced-motion: reduce) {
  .app-loading__spinner {
    animation-duration: 2s;
  }
}
