/* Post Rating Styles */
.post-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.rating-stars {
    display: inline-flex;
    gap: 2px;
	cursor: pointer;
}

.rating-stars .star {
    color: #ffc107;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.rating-stars .star:hover,
.rating-stars .star.active {
    transform: scale(1.2);
}

.rating-info {
     font-size: 10px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-value {
    font-weight: 600;
    color: #ffc107;
}

.rating-count {
    font-size: 12px;
    opacity: 0.8;
}

.rating-notice {
    margin-left: 10px;
    color: #4caf50;
    font-size: 13px;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Loading state */
.post-rating.loading .star {
    opacity: 0.5;
    pointer-events: none;
}

/* Disabled state after voting */
.post-rating.has-voted .star {
    cursor: default;
}

/* Responsive styles */
@media (max-width: 480px) {
    .post-rating {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .rating-stars .star {
        font-size: 14px;
    }
    
    .rating-info {
        width: 100%;
        font-size: 13px;
    }
}
