.edd-review-form-wrapper {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.edd-review-form-wrapper h3 {
    margin-top: 0;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 30px;
    color: #ddd;
    transition: color 0.2s;
}

.star-rating input[type="radio"]:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffc107;
}

.edd-submit-review {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.edd-submit-review:hover {
    background: #005177;
}

.edd-submit-review:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.review-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

.review-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.review-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.edd-reviews-list {
    max-width: 800px;
    margin: 20px auto;
}

.review-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.reviewer-info {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.review-date,
.review-order {
    font-size: 13px;
    color: #666;
}

.review-rating {
    display: flex;
    gap: 3px;
}

.review-rating .star {
    color: #ddd;
    font-size: 18px;
}

.review-rating .star.filled {
    color: #ffc107;
}

.review-content {
    margin-bottom: 15px;
    line-height: 1.6;
}

.review-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.review-images a {
    display: block;
}

.review-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.2s;
}

.review-images img:hover {
    transform: scale(1.05);
}
