/* Star Rating Styles for Product Reviews */
.review-rating-stars {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-rating-stars .star {
    margin-right: 0.125rem;
    font-size: 1.25rem;
    line-height: 1;
}

.review-rating-stars .filled-star {
    color: #f59e0b; /* Yellow-400 */
}

.review-rating-stars .empty-star {
    color: #f59e0b; /* Yellow-400 */
    opacity: 0.4;
}

/* Enhanced styling for the review container */
.comment_container {
    display: flex;
    padding: 1rem 0;
    gap: 1rem;
}

.comment-text {
    flex: 1;
}

/* Star rating input styles */
.rating-stars {
    direction: rtl; /* Right to left for proper star filling */
}

.rating-stars input:checked ~ label,
.rating-stars:not(:checked) > label:hover,
.rating-stars:not(:checked) > label:hover ~ label {
    color: #FFD700; /* Bright gold for selected/hovered stars */
}

@media (max-width: 768px) {
    .comment_container {
        flex-direction: column;
    }
}
