body {
    user-select: none;

}

.main {
    display: flex;
    // width: 100vw;
    height: 100vh;
    background: #222;
    background-image: url('../../assets/video/mainBg.png');
    background-size: 100% 100%;
    /* 或其他适合的值，例如contain */
    background-position: center;
    background-repeat: no-repeat;
    justify-content: center;
    /* ⭐ 内容居中 */

}


/* 居中工作台，不再是暗色面板 */
.main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* 不要 center */
    width: 100vw;
    min-height: 100vh;
    /* 用 min-height */
    height: auto;
    overflow-y: auto;
    /* 允许滚动 */
    padding: 24px 0;
}

/* 浅色卡片容器 */
.content {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    padding: 24px 32px;
    box-sizing: border-box;
    border-radius: 20px;
    background: #ffffff;
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(148, 163, 184, 0.22);
    transform: translateY(8px);
    animation: fadeUp 0.35s ease-out forwards;

    /* 把 video.less 里的 grid 清掉，防止影响布局 */
    grid-template-columns: none !important;
    grid-auto-rows: auto !important;
    row-gap: 0 !important;
    column-gap: 0 !important;
}

/* 工作台容器，保证铺满 content */
.dashboard {
    width: 100%;
    padding: 4px;
}

/* 顶部标题栏（浅色文字） */
.dashboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 16px;

    .title-block {
        h2 {
            margin: 0;
            font-size: 22px;
            font-weight: 600;
            color: #111827;
            letter-spacing: 0.04em;
        }

        .subtitle {
            margin: 4px 0 0;
            font-size: 13px;
            color: #6b7280;
        }
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 12px;

        .time {
            font-size: 12px;
            color: #6b7280;
            padding: 4px 10px;
            border-radius: 999px;
            background: #f9fafb;
            border: 1px solid #e5e7eb;
        }
    }
}

/* 顶部小提示条（浅色背景） */
.banner-tip {
    margin-top: 8px;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    color: #374151;
    background: linear-gradient(90deg,
            rgba(56, 189, 248, 0.08),
            rgba(52, 211, 153, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.26);
    display: inline-flex;
    align-items: center;
    gap: 8px;

    .dot {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: #22c55e;
        box-shadow: 0 0 6px rgba(34, 197, 94, 0.7);
    }
}

/* 行间距略微紧凑一点 */
.dashboard-body {
    margin-top: 8px;
}

/* 卡片通用样式（浅色） */
.panel-card {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #ffffff, #f9fafb);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.panel-card:hover {
    border-color: #60a5fa;
    box-shadow: 0 16px 35px rgba(37, 99, 235, 0.14);
    background: linear-gradient(180deg, #ffffff, #f3f4ff);
}

/* 表单卡片 padding 调整 */
.panel-form :deep(.el-card__body) {
    padding-top: 16px;
}

/* 标题栏 */
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #111827;
    font-size: 14px;

    .bar {
        width: 4px;
        height: 16px;
        border-radius: 999px;
        background: linear-gradient(180deg, #3b82f6, #22c55e);
    }
}

/* 运行按钮 —— 浅色主题 + 动画点 */
.run-btn {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.run-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.8);
    animation: pulseDot 1.4s infinite ease-in-out;
}

.run-btn:hover {
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35);
}

/* 表单标签颜色 */
.run-form :deep(.el-form-item__label) {
    color: #4b5563;
}

/* 账号列表 */
.account-list {
    width: 100%;
}

.account-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 6px 8px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.account-row:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    transform: translateY(-1px);
}

.mr-8 {
    margin-right: 8px;
}

/* 调整 input 的 wrapper，让它更浅 */
.account-row :deep(.el-input__wrapper),
.prologue-input :deep(.el-input__wrapper) {
    background-color: #ffffff;
    box-shadow: 0 0 0 1px rgba(209, 213, 219, 0.8) inset;
}

.account-row :deep(.el-input__wrapper:hover),
.prologue-input :deep(.el-input__wrapper:hover) {
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.9) inset;
}

.account-row :deep(.el-input__inner),
.prologue-input :deep(.el-input__inner) {
    color: #111827;
}

/* 字段说明 */
.tip {
    margin-top: 4px;
    font-size: 12px;
    color: #9ca3af;
}

/* AI 自动回复那一行说明 */
.inline-field {
    display: flex;
    align-items: center;
    gap: 10px;

    .field-desc {
        font-size: 12px;
        color: #6b7280;
    }
}

/* 快捷操作区域 */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;

    :deep(.el-button) {
        justify-content: flex-start;
    }

    :deep(.el-button[type='primary']) {
        color: #2563eb;
    }

    :deep(.el-button[type='danger']) {
        color: #dc2626;
    }
}

/* 公共间距 */
.mt-16 {
    margin-top: 16px;
}

/* 动画 */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseDot {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}