.sr-review-form-container,
.sr-reviews-list {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.sr-field {
    margin-bottom: 20px;
}

.sr-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.sr-field input[type="text"],
.sr-field textarea,
.sr-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Звездный рейтинг */
.sr-star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}
.sr-star-rating input {
    display: none;
}
.sr-star-rating label {
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}
.sr-star-rating input:checked ~ label,
.sr-star-rating label:hover,
.sr-star-rating label:hover ~ label {
    color: #ffb900;
}

/* Dropzone */
.sr-dropzone {
    border: 2px dashed #ccc;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background: #fafafa;
    transition: border 0.3s;
}
.sr-dropzone.drag-over {
    border-color: #0073aa;
    background: #f0f7ff;
}
.sr-dropzone-message {
    color: #666;
}
.sr-dropzone input[type="file"] {
    display: none;
}
#sr-file-preview {
    margin-top: 10px;
}
.sr-preview-item {
    display: inline-block;
    margin: 5px;
    position: relative;
}
.sr-preview-item img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 4px;
}
.sr-preview-item .remove-file {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff0000;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 18px;
    cursor: pointer;
    font-size: 12px;
}

/* Список отзывов */
.sr-review-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}
.sr-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.sr-author {
    font-weight: bold;
}
.sr-rating {
    color: #ffb900;
}
.sr-date {
    font-size: 12px;
    color: #888;
}
.sr-review-content {
    margin-bottom: 15px;
}
.sr-review-pros,
.sr-review-cons,
.sr-review-custom {
    margin-top: 8px;
    font-size: 14px;
}
.sr-review-attachment {
    margin-top: 15px;
}
.sr-review-attachment img {
    max-width: 100%;
    max-height: 200px;
    cursor: pointer;
    border-radius: 4px;
}
.sr-review-attachment a {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 5px 12px;
    border-radius: 3px;
    text-decoration: none;
}
.sr-form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}
.sr-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.sr-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.sr-submit-review {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}
.sr-submit-review:hover {
    background: #005a87;
}