/* 任务置顶徽章 */
.task-pin-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    padding: 4px 10px;
    border-radius: 0 0 10px 0;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    z-index: 5;
}

/* 任务操作按钮容器 */
.task-action-container {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 任务置顶按钮 */
.task-pin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    flex: 1;
}

.task-pin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.task-pin-btn:active {
    transform: translateY(0);
}

/* 调整任务删除按钮样式 */
.task-delete-container {
    flex: 1;
}

.task-delete-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ff6b9d, #4facfe);
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(79, 172, 254, 0.3);
}

.task-delete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4);
}

.task-delete-btn:active {
    transform: translateY(0);
}