html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background-color: #FFFFFF;
  background-size: 100% 100%;
}

/* Wrap everything in a flex container for precise layout */
.splash-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  gap: 40px; /* Exactly 40px below the logo */
}

.contain {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
}

.stretch {
  display: block;
  width: 100%; height: 100%;
}

.cover {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}

.bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  -ms-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}

.bottomLeft {
  position: absolute;
  bottom: 0;
  left: 0;
}

.bottomRight {
  position: absolute;
  bottom: 0;
  right: 0;
}

.progress-container {
  width: 150px;
  height: 4px;
  background-color: #E0E0E0; /* Light gray background */
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  width: 40%;
  height: 100%;
  background-color: #10B981;
  border-radius: 4px;
  animation: indeterminate 1.5s infinite ease-in-out;
}

@keyframes indeterminate {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(250%);
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #FFFFFF;
  }
  .progress-container {
    background-color: #F3F4F6; /* Keep light gray visible in dark mode since bg is still white */
  }
}
