/* 点赞按钮基础样式 - 优化白色背景兼容性 */
.like-btn, .dislike-btn {
    display: inline-block;
    padding: 6px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    color: #4a5568;
    text-decoration: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.like-btn:hover, .dislike-btn:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* 点赞状态 - 增强对比度 */
.like-btn.liked {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-color: #0056b3;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.like-btn.liked:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    border-color: #004085;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.4);
}

/* 踩状态 - 增强对比度 */
.dislike-btn.disliked {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border-color: #c82333;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.dislike-btn.disliked:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    border-color: #a71e2a;
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.4);
}

/* 加载状态 */
.like-btn.processing, .dislike-btn.processing {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 回复点赞按钮样式 - 优化白色背景兼容性 */
.like-reply, .dislike-reply {
    display: inline-block;
    margin: 0 5px;
    padding: 4px 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 4px;
    background: white;
    color: #4a5568;
    text-decoration: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.like-reply:hover, .dislike-reply:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.like-reply.liked {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-color: #0056b3;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.25);
}

.dislike-reply.disliked {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border-color: #c82333;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.25);
}

.like-reply.loading, .dislike-reply.loading {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 图标样式 */
.like-btn i, .dislike-btn i, .like-reply i, .dislike-reply i {
    margin-right: 3px;
}