.reviews-widget {
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #2c3e50;
}

.reviews-widget .h3 {
    text-align: left;
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 34px;
    font-weight: bold;
}

.approved-reviews {
    margin-bottom: 20px;
}

.review-item {
    margin-bottom: 15px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.review-header strong {
    font-size: 16px;
    color: #2c3e50;
    font-weight: bold;
}

.review-date {
    font-size: 12px;
    color: #7f8c8d;
}

.review-rating {
    margin-bottom: 5px;
}

.review-rating .star {
    margin-right: 2px;
    color: #ff4d4d; /* Полукрасный для неактивных звезд */
    font-size: 16px;
}

.review-rating .star.filled {
    color: #ff0000; /* Красный для заполненных звезд */
}

.review-content {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
}

.no-reviews {
    text-align: left;
    color: #7f8c8d;
    font-size: 14px;
}

.review-form .form-group {
    margin-bottom: 10px;
    position: relative;
}

.review-form input[type="text"],
.review-form input[type="email"],
.review-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    background: #f9f9f9;
    line-height: 20px;
}

.review-form input[type="text"]::placeholder,
.review-form input[type="email"]::placeholder,
.review-form textarea::placeholder {
    color: #7f8c8d;
    font-size: 14px;
}

.review-form textarea {
    height: 100px;
    resize: vertical;
}

.review-form .rating-group {
    display: flex;
    align-items: center;
}

.review-form .rating-label {
    color: #2c3e50;
    font-size: 14px;
    margin-right: 10px;
}

.review-form .star-rating {
    display: flex;
    margin-left: auto; /* Сдвигаем звезды вправо */
}

.review-form .star-rating .star {
    font-size: 20px;
    color: #ff4d4d; /* Полукрасный для неактивных звезд */
    margin-left: 5px;
    cursor: pointer;
    transition: color 0.3s;
}

.review-form .star-rating .star.hover {
    color: #ff0000; /* Красный при наведении */
}

.review-form .star-rating .star.selected {
    color: #ff0000; /* Красный при выборе */
}

.review-form button {
    background-color: #ff0000; /* Красный для кнопки */
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
}

.review-form button:hover {
    background-color: #ff4d4d; /* Полукрасный при наведении */
}

#reviewMessage .success {
    color: #008000;
    margin-top: 10px;
    font-size: 14px;
}

#reviewMessage .error {
    color: #dc3232;
    margin-top: 10px;
    font-size: 14px;
}

.review-form_wrap {
    display: flex;
    gap: 20px;
}

#reviewForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.row_data {
    display: flex;
    justify-content: space-between;
}

.remove {
    overflow: hidden;
}

@media (max-width: 768px) {
    .review-form_wrap {
        flex-direction: column;
    }
}


.review-stars{
    color: red;
    font-size: 20px;
}
