.progress-bar {
    position: relative;
    width: 100%;
}
.progress-bar__track {
    width: 100%;
    height: 12px;
    background: var(--progress-bg);
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}
.progress-bar__fill {
    height: 100%;
    background: var(--progress-primary);
    border-radius: 40px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 0;
}
.progress-bar__fill--animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
}
@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}
.progress-bar__percent,
.progress-bar__value {
    font-size: 12px;
    line-height: 1.1;
    font-weight: 500;
}
.progress-bar__value {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.progress-bar--inline {
    display: flex;
    align-items: center;
    gap: 15px;
}
.progress-bar--inline .progress-bar__track {
    flex: 1;
}
.progress-bar--inline .progress-bar__value {
    position: static;
    transform: none;
    flex-shrink: 0;
    min-width: 40px;
    text-align: right;
}
.progress-bar--inline .progress-bar__percent {
    display: none;
}
