<template>
    <div class="h-full over-y-auto p-20 bgmr">
        <div class="remove-content">
            <div class="flex-between mb-20">
                <div>
                    <div class="fw-600 fs-16 flex-items-center color-000 gap-10">视频字幕擦除<span
                            class="color-main fs-10 round-4 px-6 py-2 tagssss">SUBTITLE ERASE</span></div>
                    <div class="fs-12 color-888 mt-6">一键分析字幕所在底条，智能无痕还原带货视频底部像素</div>
                </div>
                <el-button class="h-28 px-8 fs-12">
                    <el-icon>
                        <BrushFilled />
                    </el-icon>
                    <span>新建擦除</span>
                </el-button>
            </div>
            <RemoveVideo />
        </div>
    </div>
</template>

<script setup lang="ts">
import { BrushFilled } from '@element-plus/icons-vue';
import RemoveVideo from './components/Remove-video.vue';

</script>

<style scoped lang="scss">
.remove-content {
    max-width: 1600px;
    margin: auto;
}

.tagssss {
    background-color: rgba(var(--main-color), .04);
    box-shadow: 0 0 0 1px rgba(var(--main-color), .1);
}

.left-panel {
    flex: 0 0 40%;
}

.panel-card,
.preview-card,
.guide-card {
    border: 1px solid #dfe7f2;
}

:deep(.el-card__header) {
    padding: 16px 16px 10px;
    border-bottom: 0;
}

:deep(.el-card__body) {
    padding: 0 20px 20px;
}

:deep(.upload-area .el-upload) {
    width: 100%;
}

:deep(.upload-area .el-upload-dragger) {
    padding: 0;
    border-color: #d9e4f2;
    border-style: dashed;
    background: #fbfdff;
}

.upload-icon,
.video-icon {
    color: #708aaf;
    background: #edf3fb;
}

.watermark-tag {
    border-color: rgba(var(--main-color), .1);
    background: rgba(var(--main-color), .06);
}

.guide-card {
    background: #f8fbff;
}

.run-btn {
    background: linear-gradient(90deg, #9d19ff 0%, #f23594 100%);
}

.preview-frame {
    height: 348px;
    background: #eef3f8;
}

.preview-mask {
    background: rgba(248, 250, 252, .68);
    backdrop-filter: blur(1px);
}

.selection-box {
    border: 2px dashed #c77dff;
    background: rgba(199, 125, 255, .08);
}

.selection-label {
    background: #b45cff;
}

.selection-close {
    background: #ff6b8b;
}

.empty-state {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-icon {
    color: rgba(var(--main-color), 1);
    background: #fff;
}

.status-bar {
    border: 1px solid #dfe7f2;
    background: #f8fbff;
}
</style>
