/* rating-style.css */
.post-rating {
    margin: 2em 0;
    padding: 1.5em;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.post-rating p {
    margin-bottom: 1.2em;
    font-size: 1.1em;
    color: #333;
    font-weight: 500;
}

.rating-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8em 1.2em;
    margin: 0 0.8em;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    line-height: 1;
}

.rating-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.rating-btn.voted {
    background: #e8f5e9;
    border-color: #81c784;
}

.vote-count {
    margin-left: 0.8em;
    font-weight: 600;
    min-width: 24px;
    display: inline-block;
    color: #2c3e50;
}

.rating-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .post-rating {
        padding: 1em;
    }
    
    .rating-btn {
        padding: 0.6em 1em;
        margin: 0 0.4em;
        font-size: 14px;
    }
}