/* Rating Comments List Styles */

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list-item {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    line-height: 1.5;
}

.comment-list-item:last-child {
    border-bottom: none;
}

.comment-list-item i {
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.comment-list-item .text-success {
    color: #10b981 !important;
}

.comment-list-item .text-danger {
    color: #ef4444 !important;
}

/* Positive Comments Styling */
.positive-comments .comment-list-item {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
    border-left: 3px solid #10b981;
    padding-left: 1rem;
    margin-bottom: 0.25rem;
    border-radius: 0 8px 8px 0;
}

/* Negative Comments Styling */
.negative-comments .comment-list-item {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.05) 0%, transparent 100%);
    border-left: 3px solid #ef4444;
    padding-left: 1rem;
    margin-bottom: 0.25rem;
    border-radius: 0 8px 8px 0;
}

/* Rating Display Container */
.rating-comments-container {
    margin-top: 1rem;
}

.rating-comments-section {
    margin-bottom: 1.5rem;
}

.rating-comments-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-comments-title.positive {
    color: #059669;
}

.rating-comments-title.negative {
    color: #dc2626;
}

/* Responsive Design */
@media (max-width: 768px) {
    .comment-list-item {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
    
    .positive-comments .comment-list-item,
    .negative-comments .comment-list-item {
        padding-left: 0.75rem;
    }
}

/* Animation for new comments */
@keyframes fadeInComment {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.comment-list-item {
    animation: fadeInComment 0.3s ease-out;
}
