.product-reviews-section {
    padding: 40px 0;
}

.ai-insights-container {
    border-left: 4px solid #4e73df;
}

.average-rating .rating-number {
    color: #4e73df;
}

.positive-points h5, .negative-points h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.positive-points li, .negative-points li {
    margin-bottom: 0.25rem;
}

.review-item {
    transition: all 0.3s ease;
}

.review-item:hover {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.review-guidelines {
    font-size: 12px;
}

.guidelines-content {
    color: #6c757d;
    white-space: pre-line;
}

.rating-stars .form-check-inline {
    margin-right: 0;
    margin-bottom: 0.5rem;
}

.rating-stars .form-check-label {
    cursor: pointer;
}

.rating-stars .form-check-input {
    display: none;
}

.rating-stars .form-check-input:checked + .form-check-label i.far.fa-star {
    display: none;
}

.rating-stars .form-check-input:checked + .form-check-label i.fas.fa-star {
    display: inline-block;
}

/* Rating Stats */
.rating-stats .progress {
    height: 12px;
    margin-bottom: 8px;
}

.rating-label {
    min-width: 60px;
}

.rating-count {
    min-width: 40px;
    text-align: right;
}
.write-review-container{
    display: none;
    transition: 0.3s;
}
.write-review-container.active{
    display: block;
    transition: 0.3s;
}
/* Responsive adjustments */
@media (max-width: 767.98px) {
    .ai-insights-container .average-rating {
        margin-bottom: 1.5rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-header .review-rating {
        margin-top: 0.5rem;
    }
    
    .write-review-container {
        margin-top: 2rem;
    }
}