html, body {
  height: 100%;
}

html {
  overflow: hidden;
}

body {
  margin: 0;
  background: #F8F7FA;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#loading-bg {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: var(--initial-loader-bg, #F8F7FA);
  z-index: 9999;
}

.loading-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.loading-logo img {
  filter: drop-shadow(0 6px 14px rgba(63, 122, 48, 0.15));
}

.loading-logo h2 {
  margin: 20px 0 0;
  color: #2E6A24;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 5px;
  text-indent: 5px;
  text-transform: uppercase;
}

.dot-loader {
  display: flex;
  gap: 8px;
}

.dot-loader .dot {
  width: 8px;
  height: 8px;
  background: var(--initial-loader-color, #559D42);
  border-radius: 50%;
  opacity: 0.35;
  animation: splash-dot-pulse 1200ms ease-in-out infinite both;
}

.dot-loader .dot:nth-child(1) { animation-delay: 0ms; }
.dot-loader .dot:nth-child(2) { animation-delay: 200ms; }
.dot-loader .dot:nth-child(3) { animation-delay: 400ms; }

@keyframes splash-dot-pulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .dot-loader .dot {
    animation-duration: 0ms !important;
    animation-delay: 0ms !important;
  }
}
