.scroll-progress-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.05);
    z-index: 9999999;
    transition: opacity 0.3s ease;
}

.scroll-progress-bar {
    height: 100%;
    width: 0;
    background: rgb(83, 165, 220);
    transition: width 0.1s ease-out;
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@media (max-width: 768px) {
    .scroll-progress-container {
        height: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-progress-bar::before {
        animation: none;
    }

    .scroll-progress-bar {
        transition: none;
    }
}