.reviews_section_review_section {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    box-sizing: border-box;

}

.reviews_container_review_section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

/* Left and Right Sections */
.left_review_section, .right_review_section {
    flex: 1 1 300px;
    min-width: 280px;
    text-align: left;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    box-sizing: border-box;
    transition: all .7s ease-in-out;
}

/* Star Rating Overview */
.rating_overview_review_section {
    margin-bottom: 10px;

}

.star_bar_review_section {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    padding: 10px;
    width:100%;

}

.star_bar_review_section i {
    color: #FFD700;
}

.prec, .num_i {
    padding: 5px;
    border-radius: 10px;
}

.prec {
    color: grey;
    margin: 0 10px;
    background: rgba(128, 128, 128, 0.2);
}

.num_i {
    background: rgba(255, 217, 0, 0.1);
    border: 1px solid rgba(255, 217, 0, 0.5);
}

/* Progress Bar */

.bar_review_section {
    height: 10px;
    margin-left: 8px;
    border-radius: 5px;

}

.bar_5_review_section {
    background: rgba(76, 175, 79, 0.70);
    box-shadow: rgba(76, 175, 79, 0.4) 0px 7px 29px 0px;
}
.bar_4_review_section {
    background: rgba(33, 149, 243, 0.70);
    box-shadow: rgba(33, 149, 243, 0.4) 0px 7px 29px 0px;
}
.bar_3_review_section {
    background: rgba(255, 193, 7, 0.70);
    box-shadow: rgba(255, 193, 7, 0.4) 0px 7px 29px 0px;

}
.bar_2_review_section {
     background: rgba(255, 153, 0, 0.70);
     }
.bar_1_review_section {
    background: rgba(244, 67, 54, 0.70);

}

/* Review List */
.review_list_review_section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.review_review_section {
    background: #f1f1f1;
    padding: 10px;
    border-radius: 6px;
}

.review_review_section i {
    color: rgba(255, 217, 0, 1);
}

.review_review_section strong {
    background: rgba(0, 0, 0, 0.38);
    padding: 5px;
    border-radius: 5px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    margin-top: 10px;
}

.text_review {
    background: white;
    padding: 10px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.text_review i {
    color: rgba(128, 128, 128, 1);
    background: rgba(128, 128, 128, 0.1);
    padding: 5px;
    border-radius: 10px;
    margin-right: 10px;
    box-shadow: rgba(100, 100, 111, 0.5) 0px 7px 29px 0px;
}

.name {
    color: white;
}

.buttons_review_section {
    margin-top: 10px;
    text-align: center;
}

.review_date {
    color: grey;
}

/* Buttons */
.btn_review_section {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    display: inline-block;
    margin-top:10px;
}

.btn_review_section:hover {
    background: #0056b3;
}

/* Popup */
.popup_review_section {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: left;
}

.popup_overlay_review_section {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.close_popup_review_section {
    float: right;
    cursor: pointer;
    font-size: 18px;
    color: red;
}

@media (max-width: 900px) {
    .reviews_container_review_section {
        flex-direction: column;
        align-items: center;
    }

    .left_review_section, .right_review_section {
        flex: 1 0 100%;
height:auto;
    }

    .btn_review_section {
        width: 40%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .reviews_section_review_section {
        padding: 10px;
    }

    .reviews_container_review_section {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .left_review_section, .right_review_section {
        flex: 1 1 20%;

    }


    .review_review_section {
        padding: 8px;
    }

    .btn_review_section {
        padding: 8px 10px;
    }
}
