.cp-segbar {
    width: 100%;
}

.cp-segbar__segments {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.cp-segbar__labels-top,
.cp-segbar__labels-bottom {
    display: flex;
    width: 100%;
}

.cp-segbar__label-wrapper {
    box-sizing: border-box;
    padding: 0 4px;
}

.cp-segbar__label {
    margin-bottom: 8px;
}

.cp-segbar__label--bottom {
    margin-top: 8px;
    margin-bottom: 0;
}

.cp-segbar__bar-container {
    display: flex;
    width: 100%;
}

.cp-segbar__bar {
    position: relative;
    overflow: hidden;
}

.cp-segbar__bar-fill {
    position: absolute;
    inset: 0;
    display: block;
    width: 0;
    transition: width 0.8s ease-out;
}

.cp-segbar__bar-fill.cp-animated {
    width: 100% !important;
}

.cp-segbar__percent {
    line-height: 1.2;
}

.cp-segbar__heading {
    line-height: 1.2;
}

.cp-segbar__description {
    line-height: 1.4;
    font-size: 0.9em;
}

/* Icon styles */
.cp-segbar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 4px auto;
}

.cp-segbar__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cp-segbar__icon svg {
    width: 100%;
    height: 100%;
}

.cp-segbar__icon i {
    line-height: 1;
}