.reviews-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-summary {
    flex: 1;
    border-right: 1px solid #ddd;
    padding-right: 20px;
}

.reviews-summary h2 {
    font-size: 24px;
    margin: 0;
}

.reviews-summary span {
    font-size: 16px;
    color: #666;
}

.stars-rating {
    display: flex;
    margin: 10px 0;
}

.star {
    font-size: 20px;
    margin-right: 5px;
}

.rating-bars {
    margin: 10px 0;
    margin-bottom: 30px;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.rating-bar span:first-child {
    width: 20px;
    text-align: center;
}

.rating-bar .bar {
    background: #ddd;
    height: 10px;
    flex-grow: 1;
    margin: 0 10px;
    position: relative;
}

.rating-bar .bar div {
    background: #1f9b9f;
    height: 10px;
}

.rating-bar span:last-child {
    width: 40px;
    text-align: right;
}

.reviews-list {
    flex: 2;
}

.review {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.review-header {
    font-size: 14px;
    color: #555;
}

.name-rating-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.name-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.name-rating strong {
    font-size: 16px;
    color: #000;
}

.user-rating {
    font-size: 14px;
    color: #ffa500;
}

.review-date {
    font-size: 12px;
    color: #666;
}

.review-content {
    margin-top: 10px;
}

.review-content p {
    margin: 5px 0;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
}

h2 {
    text-align: center;
}

.modal-review form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.modal-review form input,
.modal-review form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.modal-review form textarea {
    resize: none;
}

.rating-stars span {
    font-size: 24px;
    color: gray;
    margin-right: 5px;
    cursor: pointer;
}

.char-count {
    font-size: 12px;
    color: #999;
    text-align: right;
}

.submit-button {
    background: orange;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

.submit-button:hover {
    background: darkorange;
}

.modal-review form p {
    font-size: 12px;
    text-align: center;
    color: #666;
}

.modal-review form p a {
    color: blue;
    text-decoration: underline;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
}

.rev-button {
    width: 100%;
}

.reviews-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .reviews-container {
        flex-direction: column;
    }
}

.star-active {
    color: gold !important;
}

.modal-review-success h2 {
    margin-bottom: 20px;
}