/* Provider-independent styles shared by the HTML bootstrap and React loading states. */
body {
  margin: 0;
}

.app-loading {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  color: #303030;
  text-align: center;
}

.app-loading--fullscreen {
  min-height: 100dvh;
  padding: 24px;
  background: #fff;
}

.app-loading--inline {
  padding: 24px 0;
}

.app-loading__logo {
  display: block;
  max-width: 100%;
  height: auto;
}

.app-loading--inline .app-loading__logo {
  width: 160px;
}

.app-loading__message {
  margin: 0;
  font:
    600 14px / 20px Arial,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.app-loading__dots {
  display: flex;
  gap: 6px;
}

.app-loading__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #808080;
  animation: app-loading-pulse 1.4s ease-in-out infinite;
}

.app-loading__dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.app-loading__dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes app-loading-pulse {
  0%,
  80%,
  100% {
    opacity: 0.4;
  }
  40% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-loading__dots span {
    animation: none;
    opacity: 0.7;
  }
}
