/* Loading progress shown under the splash logo until the app is ready. */
.progress-container {
  position: absolute;
  /* The 288px splash logo is centred; sit just below it. */
  top: calc(50% + 168px);
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 6px;
  background-color: rgba(31, 36, 48, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .progress-container {
    background-color: rgba(255, 255, 255, 0.12);
  }
}

.progress-bar {
  height: 100%;
  width: 0;
  background-color: #FFA914;
  border-radius: 10px;
  transition: width 0.4s ease;
}

.progress-container.done {
  opacity: 0;
}
