/* bbPress Reply Voting Styles - Eroids Forum Theme (v1.0.7 no-rotate) */
.eroids-reply-voting {
    display: inline-flex;
    gap: 4px;
    margin-left: 10px;
    align-items: center;
}

.vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px 6px;
    border: 1px solid #ddd;
    background: #f8f8f8;
    border-radius: 3px;
    cursor: pointer;
    font-size: 10px;
    font-family: Arial, sans-serif;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    transform: none !important;
    color: #666;
    text-decoration: none;
    line-height: 1.2;
    min-width: 28px;
    justify-content: center;
}

.vote-btn:hover {
    background: #e8e8e8;
    border-color: #ccc;
    color: #333;
}

.vote-btn.like-btn:hover,
.vote-btn.like-btn.voted {
    background: #e8f5e8;
    border-color: #4caf50;
    color: #2e7d32;
}

.vote-btn.dislike-btn:hover,
.vote-btn.dislike-btn.voted {
    background: #ffebee;
    border-color: #f44336;
    color: #c62828;
}

.vote-btn.voted {
    font-weight: 600;
}

.vote-btn .vote-icon {
    font-size: 11px;
    line-height: 1;
}

.vote-btn .vote-count {
    font-weight: 600;
    min-width: 12px;
    text-align: center;
    font-size: 10px;
}

.vote-btn:disabled,
.vote-btn.loading {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Simple loading state without animation */
.vote-btn.loading {
    background: #f0f0f0;
    transform: none !important;
}

/* Error message styling */
.vote-error {
    background: #ffebee;
    color: #c62828;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 10px;
    margin-left: 8px;
    border: 1px solid #f44336;
}

/* Vote feedback animation */
.vote-feedback {
    position: absolute !important;
    background: #333 !important;
    color: #fff !important;
    padding: 3px 6px !important;
    border-radius: 3px !important;
    font-size: 10px !important;
    z-index: 1000 !important;
    white-space: nowrap !important;
    top: -25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .eroids-reply-voting {
        gap: 3px;
        margin-left: 5px;
    }
    
    .vote-btn {
        padding: 1px 4px;
        font-size: 9px;
        min-width: 24px;
    }
    
    .vote-btn .vote-icon {
        font-size: 10px;
    }
}

/* Integration with existing reply actions */
.reply-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    font-size: 12px;
}

.reply-actions .eroids-reply-voting {
    margin-left: 0;
    border-left: 1px solid #e8e8e8;
    padding-left: 12px;
    display: flex;
    gap: 4px;
}

/* For logged out users - show grayed out buttons */
body:not(.logged-in) .vote-btn {
    opacity: 0.5;
    cursor: not-allowed;
}

body:not(.logged-in) .vote-btn:hover {
    background: #f9f9f9;
    border-color: #ddd;
    color: #666;
}

/* Reply score indicators */
.reply-score {
    display: inline-block;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 3px;
}

.reply-score.positive {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.reply-score.negative {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #f44336;
}
