/* Progress Bar Component */
.uk-offcanvas-container{
  .progress-bar {
      visibility: hidden;
  }
}

#site-content:has(.progress-bar) {
    position: relative;
    z-index: 2;
}

.progress-bar {
    overflow: hidden;
    top: 53px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #f3f4f6;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.progress-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    width: 0%;
    transition: width 0.2s ease-out;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
    position: relative;
}

.progress-bar__fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 20px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
    animation: progress-bar__shimmer 1.5s infinite;
    opacity: 0.7;
}

@keyframes progress-bar__shimmer {
    0% {
        transform: translateX(-20px);
    }
    100% {
        transform: translateX(20px);
    }
}

/* Optional modifiers */
.progress-bar--hidden {
    opacity: 0;
    visibility: hidden;
}

.progress-bar--thick {
    height: 6px;
}

.progress-bar--thin {
    height: 2px;
}

@media (min-width: 768px) {
    .progress-bar {
        top: 78px;
    }
}

@media (min-width: 960px) {
    .progress-bar {
        top: 68px;
    }
}