.rating-chart {
    margin: 20px 0;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.rating-bar {
    height: 10px;
    background-color: #ddd;
    margin: 5px 0;
    border-radius: 5px;
    position: relative;
    width: 80%;
    display: inline-block;
}
.rating-bar span {
    display: block;
    height: 100%;
    border-radius: 5px;
}
.positive { background-color: #4caf50; }
.neutral { background-color: #ff9800; }
.negative { background-color: #f44336; }
.rating-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.rating-text {
    margin-left: 10px;
    font-weight: bold;
    /*width: 20%;*/
    text-align: left;
}
.review {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e2;
    /*box-shadow: 0 0 5px rgba(0,0,0,0.1);*/
}
.review-header {
    display: flex;
    align-items: center;
    /*justify-content: space-between;*/
    margin-bottom: 10px;
}
.review-header .badge {
    background-color: #e0f7e9;
    color: #4caf50;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    margin: 0 10px;
}
.review-body {
    margin-bottom: 10px;
}
.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.review-footer .recommendation {
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-top: 10px;
}
.review-footer .recommendation i {
    margin-left: 5px;
}
.recommendation {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.no{
    color: #f44336;
}
.yes{
    color: #4caf50;
}
.recommendation i {
    margin-left: 5px;
    /*background-color: #4caf50;*/
}
.progress-bar-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
}
.progress-bar-container .progress {
    flex-grow: 1;
    margin-left: 10px;
}

.user-info {
    /*display: flex;*/
    /*justify-content: space-between;*/
    color: #333;
    font-size: 14px;
}

@media (max-width: 768px) {
    .review-header, .review-footer {
        align-items: flex-start;
    }
    .review-footer .likes {
        margin-top: 10px;
    }
    .progress-bar-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .progress-bar-container .progress {
        margin-left: 0;
        width: 100%;
    }
    .rating-bar {
        height: 10px;
        background-color: #ddd;
        margin: 5px 0;
        border-radius: 5px;
        position: relative;
        width: 100%;
        display: inline-block;
    }
    .rating-text {
        font-size: 11px !important;
        width: 100%;
        text-align: unset !important;
    }
}
