/* СТИЛИ ДЛЯ ОТЗЫВОВ НА СТРАНИЦЕ ОФФЕРА */
.offer-reviews-section {
    margin-top: 40px;
    padding: 30px 0;
}

.offer-reviews-section .section-header {
    margin-bottom: 30px;
}

.offer-reviews-section .section-title {
    font-size: 2rem;
    color: var(--nd-graphite-950);
    margin-bottom: 15px;
}

.offer-reviews-section .rating-badge {
    font-size: 0.8em;
    color: #7c8a85;
    margin-left: 10px;
}

.offer-reviews-section .rating-value {
    color: var(--nd-warning);
    font-weight: bold;
}

.offer-reviews-section .rating-stars {
    color: var(--nd-warning);
    margin: 0 5px;
}

.offer-reviews-section .rating-count {
    color: #7c8a85;
}

.offer-reviews-section .reviews-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f3f7f5;
    border-radius: 12px;
}

.offer-reviews-section .stat-item {
    text-align: center;
}

.offer-reviews-section .stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--nd-graphite-950);
}

.offer-reviews-section .stat-label {
    color: #7c8a85;
    font-size: 0.9rem;
}

.offer-reviews-section .review-form-container {
    margin-bottom: 40px;
    padding: 20px;
    background: #f3f7f5;
    border-radius: 12px;
}

.offer-reviews-section .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.offer-reviews-section .form-group {
    margin-bottom: 15px;
}

.offer-reviews-section .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--nd-graphite-950);
}

.offer-reviews-section .form-group input,
.offer-reviews-section .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #dde7e3;
    border-radius: 4px;
    font-size: 1rem;
}

.offer-reviews-section .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.offer-reviews-section .star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.offer-reviews-section .star-rating input[type="radio"] {
    display: none;
}

.offer-reviews-section .star-rating label {
    font-size: 2rem;
    color: #dde7e3;
    cursor: pointer;
    transition: color 0.2s;
    margin: 0 2px;
}

.offer-reviews-section .star-rating input[type="radio"]:checked ~ label,
.offer-reviews-section .star-rating label:hover,
.offer-reviews-section .star-rating label:hover ~ label {
    color: var(--nd-warning);
}

.offer-reviews-section .char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: #7c8a85;
    margin-top: 5px;
}

.offer-reviews-section .error-message {
    color: #DC2626;
    font-size: 0.85rem;
    margin-top: 5px;
}

.offer-reviews-section .form-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
}

.offer-reviews-section .form-message.success {
    background: #eef3f1;
    color: #155724;
    border: 1px solid #eef3f1;
}

.offer-reviews-section .form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.offer-reviews-section .reviews-list {
    margin-top: 20px;
}

.offer-reviews-section .review-card {
    background: var(--nd-surface);
    border: 1px solid var(--nd-line);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.offer-reviews-section .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--nd-line);
}

.offer-reviews-section .review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.offer-reviews-section .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0A6347;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.offer-reviews-section .author-info {
    display: flex;
    flex-direction: column;
}

.offer-reviews-section .author-info {
    display: flex;
    flex-direction: column;
}

.offer-reviews-section .author-name {
    font-weight: bold;
    color: var(--nd-graphite-950);
}

.offer-reviews-section .review-date {
    font-size: 0.85rem;
    color: #7c8a85;
}

.offer-reviews-section .review-rating .star {
    font-size: 1.2rem;
    margin: 0 1px;
}

.offer-reviews-section .review-rating .filled {
    color: var(--nd-warning);
}

.offer-reviews-section .review-rating .empty {
    color: #dde7e3;
}

.offer-reviews-section .review-body {
    margin: 15px 0;
}

.offer-reviews-section .review-text {
    line-height: 1.6;
    color: #47544f;
}

.offer-reviews-section .review-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--nd-line);
}

.offer-reviews-section .helpful-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid #dde7e3;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    color: #47544f;
    transition: all 0.3s;
}

.offer-reviews-section .helpful-btn:hover {
    border-color: var(--nd-warning);
    color: var(--nd-warning);
}

.offer-reviews-section .helpful-btn.voted {
    background: var(--nd-warning);
    color: white;
    border-color: var(--nd-warning);
    cursor: not-allowed;
}

.offer-reviews-section .admin-response {
    margin-top: 15px;
    padding: 10px;
    background: #f3f7f5;
    border-left: 3px solid #0A6347;
    border-radius: 0 4px 4px 0;
}

.offer-reviews-section .response-header {
    font-weight: bold;
    color: #0A6347;
    margin-bottom: 5px;
}

.offer-reviews-section .response-text {
    color: #47544f;
    line-height: 1.5;
}