body {
  margin: 0;
  padding: 0;
}

#root {
  opacity: 1;
  transition: opacity 12s ease-in-out;
}

.af-splash {
  position: fixed;
  inset: 0;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem;
  box-sizing: border-box;
  background-color: #f2f5f8; /* $app-bg-color */
  background-image: radial-gradient(60% 55% at 50% 38%, rgba(41, 156, 238, 0.16) 0%, transparent 70%);
  color: #3f4254;
  font-family: Poppins, Helvetica, sans-serif;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

.af-splash-logo {
  width: auto;
  height: 52px;
}

.af-splash-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 40rem;
}

.af-splash-message {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: #5e6278; /* $gray-700 */
}

.af-splash-notice {
  display: flex;
  justify-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.25rem;
  text-align: center;
  border: 1px solid rgba(255, 168, 0, 0.3);
  border-radius: 0.65rem;
  background-color: rgba(255, 168, 0, 0.1);
}

.af-splash-notice-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
  font-size: 1.25rem !important;
  color: #f1a30a !important; /* $warning */
}

.af-splash-notice .af-splash-message {
  flex: 1;
  margin-top: 0;
  font-size: 1rem;
  color: #3f4254; /* $gray-800 */
}

.af-splash-progress {
  position: relative;
  width: 180px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background-color: rgba(41, 156, 238, 0.16);
}

.af-splash-progress::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  border-radius: inherit;
  background-image: linear-gradient(90deg, transparent, #299cee, transparent);
  animation: af-splash-slide 1.4s ease-in-out infinite;
}

@keyframes af-splash-slide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(350%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .af-splash-progress::after {
    animation-duration: 3s;
  }
}
