/* Article Rating Section Styles */
.card-rating-body {
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}

.card-rating-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffc107, #fd7e14, #dc3545);
    z-index: 1;
}

/* Rating specific styling */
.card-rating-body .card-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.card-rating-body .rating-score {
    color: #ffc107;
    text-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.card-rating-body .rating-stars-display i {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Responsive design */
@media (max-width: 768px) {
    .card-rating-body {
        padding: 1rem;
        margin: 0 -0.5rem;
    }
}

@media (max-width: 576px) {
    .card-rating-body {
        padding: 0.75rem;
        background: #ffffff;
        border-radius: 0.375rem;
    }

    .card-rating-body::before {
        height: 2px;
    }
}

/* Star Rating Styles */
.star-rating {
    display: flex;
    gap: 2px;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.star {
    color: #e0e0e0;
    cursor: pointer;
    transition: color 0.2s;
    user-select: none;
}

.star:hover {
    color: #ffc107;
}

.star.active {
    color: #ffb400;
}

.rating-input {
    margin-bottom: 1rem;
}
