/*== Progressbar (Elementor) ==*/

.upstudy-progress-bar .elementor-progress-percentage {
    position: relative;
    top: -22px;
}
/*== Progressbar (Upstudy) ==*/

.upstudy-progress-wrapper {
    overflow: hidden;
    padding-bottom: 5px;
}
.upstudy-progress-wrapper .upstudy-title {
    color: var(--upstudy-heading-color);
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}
.upstudy-progress-wrapper span.upstudy-title {
    display: inline-block;
}
.upstudy-progress-wrapper .upstudy-progress-bar {
    position: relative;
    width: 100%;
    height: 10px;
    background-color: #e4e4e4;
    border-radius: 15px;
}
.upstudy-progress-wrapper .upstudy-progress-bar-inner {
    position: absolute;
    height: 100%;
    width: 0;
    background-color: var(--upstudy-primary-color);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transition: width 1s ease-in-out;
    border-radius: 15px;
}
.upstudy-progress-wrapper .upstudy-progress-bar-inner:after {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    right: 0;
    background: var(--upstudy-primary-color);
    border-radius: 50%;
    box-sizing: border-box;
}
.upstudy-progress-wrapper .upstudy-progress-bar-percentage {
    color: var(--upstudy-color-body);
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    z-index: 1;
    position: relative;
    top: -20px;
    transition: right 1s ease-in-out;
}
.upstudy-progress-wrapper .upstudy-progress-bar-inner-text {
    color: var(--upstudy-color-white);
    flex-grow: 1;
    overflow: hidden;
    padding-inline-start: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}