#nprogress {
    pointer-events: none;
}

/* Основная линия — теперь внизу */
#nprogress .bar {
    background: #29d;
    position: fixed;
    z-index: 1031;
    top: 70px;
    left: 0;
    width: 100%;
    height: 2px;
}

/* Светящийся эффект */
#nprogress .peg {
    display: block;
    position: absolute;
    right: 0;
    width: 100px;
    height: 100%;
    box-shadow: 0 0 10px #29d, 0 0 5px #29d;
    opacity: 1;
    transform: rotate(3deg) translate(0, -4px);
}

/* Крутилка — можно оставить справа вверху или переместить вниз */
#nprogress .spinner {
    display: none;
    position: fixed;
    z-index: 1031;
    top: 60px;
    right: 30px;
}

#nprogress .spinner-icon {
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    border: 2px solid transparent;
    border-top-color: #29d;
    border-left-color: #29d;
    border-radius: 50%;
    animation: nprogress-spinner 400ms linear infinite;
}

.nprogress-custom-parent {
    overflow: hidden;
    position: relative;
}

.nprogress-custom-parent #nprogress .bar,
.nprogress-custom-parent #nprogress .spinner {
    position: absolute;
}

/* Анимация вращения */
@keyframes nprogress-spinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
