/* Vote System Styles */
.vote-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(0,0,0,0.1);
    border-radius: 8px;
}

.vote-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 25px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    min-width: 80px;
    justify-content: center;
}

.vote-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.vote-button.like-btn {
    border-color: #4CAF50;
}

.vote-button.like-btn:hover {
    background: #4CAF50;
    color: white;
}

.vote-button.like-btn.voted {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.vote-button.dislike-btn {
    border-color: #f44336;
}

.vote-button.dislike-btn:hover {
    background: #f44336;
    color: white;
}

.vote-button.dislike-btn.voted {
    background: #f44336;
    color: white;
    border-color: #f44336;
}

.vote-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.vote-count {
    font-weight: bold;
    min-width: 30px;
}

.vote-icon {
    font-size: 16px;
}

.vote-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}

.vote-percentage {
    padding: 4px 8px;
    background: rgba(0,0,0,0.1);
    border-radius: 12px;
}

/* Loading states */
.vote-button.loading {
    pointer-events: none;
}

.vote-button.loading .vote-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .vote-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .vote-button {
        width: 100%;
        max-width: 200px;
    }
}

/* Vote lock message */
.vote-lock-message {
    background: #ff9800;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 5px;
    text-align: center;
}

/* Error message */
.vote-error {
    background: #f44336;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 5px;
    text-align: center;
}

/* Success message */
.vote-success {
    background: #4CAF50;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 5px;
    text-align: center;
}