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

#nprogress .bar {
  display: none;
}

#nprogress .peg {
  display: none;
}

#nprogress .spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1031;
  bottom: 24px;
  right: 24px;
  background-color: rgba(26, 32, 44, 0.9);
  padding: 12px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  gap: 12px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#nprogress .spinner.hide {
  opacity: 0;
  transform: translateY(10px);
}

#nprogress .spinner-icon {
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  -webkit-animation: nprogress-spinner 0.8s linear infinite;
  animation: nprogress-spinner 0.8s linear infinite;
}

#nprogress .spinner-text {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

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

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

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

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