/* components/bar.css */
.bar-label {
    position: absolute;
    font-size: 12px;
    color: #333;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}

.bar-label-left {
    text-align: right;
    left: -20px;
    padding-right: 10px;
}

.bar-label-right {
    text-align: left;
    right: -20px;
    padding-left: 10px;
}