/* 图片删除按钮样式 */
.remove-image {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #ff4757;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.remove-image:hover {
    background: #ff4757;
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.remove-image:active {
    transform: rotate(90deg) scale(0.95);
}

.remove-image::before {
    content: '×';
    font-family: Arial, sans-serif;
    font-weight: bold;
}

/* 文章删除按钮样式 */
.delete-article-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    color: #ff4757;
    border: 2px solid #ff4757;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(10px);
}

.article-card:hover .delete-article-btn {
    opacity: 1;
    transform: translateX(0);
}

.delete-article-btn:hover {
    background: #ff4757;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.delete-article-btn:active {
    transform: scale(0.95);
}

.delete-article-btn i {
    font-size: 16px;
}
