/* Progress bar styles for bootstrap loading phase */

#progress-root {
  position: fixed;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
}

#progress-container {
  width: clamp(200px, 50vw, 400px);
  overflow: hidden; /* clip the sliding bar at the container edges */
}

#progress-bar {
  height: 8px;
  width: 0%;
  background-color: #42a5f5;
  box-shadow: 0 0 1px rgba(0,0,0,0.2);
}

#progress-bar.pc-indeterminate {
  width: 40%;
  animation: pc-progress-indeterminate 1.15s ease-in-out infinite;
}

@keyframes pc-progress-indeterminate {
  from { transform: translateX(-100%); }
  to   { transform: translateX(250%); }
}
