/* Make clicks pass-through */
#nprogress {
  pointer-events: none;
}

#nprogress .bar {
  position: fixed;
  z-index: 1031;
  background: #29d;
  block-size: 2px;
  inline-size: 100%;
  inset-block-start: 0;
  inset-inline-start: 0;
}

/* Fancy blur effect */
#nprogress .peg {
  position: absolute;
  display: block;
  block-size: 100%;
  box-shadow: 0 0 10px #29d, 0 0 5px #29d;
  inline-size: 100px;
  inset-inline-end: 0;
  opacity: 1;
  transform: rotate(3deg) translate(0, -4px);
}

/* Remove these to get rid of the spinner */
#nprogress .spinner {
  position: fixed;
  z-index: 1031;
  display: block;
  inset-block-start: 15px;
  inset-inline-end: 15px;
}

#nprogress .spinner-icon {
  box-sizing: border-box;
  border: solid 2px transparent;
  border-radius: 50%;
  animation: nprogress-spinner 400ms linear infinite;
  block-size: 18px;
  border-block-start-color: #29d;
  border-inline-start-color: #29d;
  inline-size: 18px;
}

.nprogress-custom-parent {
  position: relative;
  overflow: hidden;
}

.nprogress-custom-parent #nprogress .spinner,
.nprogress-custom-parent #nprogress .bar {
  position: absolute;
}

@keyframes nprogress-spinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes nprogress-spinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
