/* Branch rating performance section */
.branch-rating-performance {
    background-color: #121418;
    width: 100%;
    padding: 24px 0 32px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branch-rating-performance_wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.branch-rating-performance_content {
    background-color: #222222;
    padding: 40px 20px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Rating breakdown container */
.branch-rating-performance_breakdown {
    flex: 1;
    text-align: left;
}

/* Individual rating item */
.branch-rating-performance_item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.branch-rating-performance_item:last-child {
    margin-bottom: 0;
}

/* Rating count */
.branch-rating-performance_count {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    min-width: 30px;
    text-align: left;
}

/* Progress bar container */
.branch-rating-performance_progress {
    flex: 1;
    height: 8px;
    background-color: #333333;
    margin: 0 16px;
    position: relative;
}

/* Progress bar fill */
.branch-rating-performance_progress-fill {
    height: 100%;
    transition: width 0.3s ease;
}

/* Rating label */
.branch-rating-performance_label {
    color: #cccccc;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    min-width: 80px;
    text-align: right;
}

/* Score section */
.branch-rating-performance_score-section {
    text-align: center;
    min-width: 140px;
}

/* Rating score display */
.branch-rating-performance_score {
    color: #ffffff;
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 8px 0;
}

/* Score scale */
.branch-rating-performance_scale {
    color: #cccccc;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

/* Review count */
.branch-rating-performance_reviews {
    color: #cccccc;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

/* Rating colors */
.branch-rating-performance_progress-fill--excellent {
    background-color: #50C878;
    width: var(--excellent-percentage, 0%);
}

.branch-rating-performance_progress-fill--very-good {
    background-color: #4CAF50;
    width: var(--very-good-percentage, 0%);
}

.branch-rating-performance_progress-fill--good {
    background-color: #8BC34A;
    width: var(--good-percentage, 0%);
}

.branch-rating-performance_progress-fill--acceptable {
    background-color: #FFC107;
    width: var(--acceptable-percentage, 0%);
}

.branch-rating-performance_progress-fill--poor {
    background-color: #FF9800;
    width: var(--poor-percentage, 0%);
}

.branch-rating-performance_progress-fill--very-poor {
    background-color: #F44336;
    width: var(--very-poor-percentage, 0%);
}
