/* public/assets/css/video/format-converter.css */

.vfc-workspace { display: flex; flex-wrap: wrap; gap: 24px; width: 100%; margin-bottom: 40px; align-items: flex-start; }
.vfc-panel { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02); overflow: hidden; }
.vfc-panel-header { padding: 16px 24px; border-bottom: 1px solid var(--border-color); background: rgba(0,0,0,0.01); }
.vfc-panel-header h3 { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--text-main); }
.vfc-panel-body { padding: 24px; }

/* =========================================================
   左侧：上传控制面板
   ========================================================= */
.vfc-sidebar { flex: 1; min-width: 320px; max-width: 420px; }

.vfc-dropzone {
    border: 2px dashed var(--border-color); border-radius: 12px; padding: 40px 20px;
    text-align: center; cursor: pointer; background: var(--bg-body); transition: all 0.3s;
}
.vfc-dropzone:hover { border-color: var(--primary-color); background: rgba(var(--primary-rgb, 0, 102, 204), 0.02); }
.vfc-dropzone.has-file { border-style: solid; border-color: #10b981; background: rgba(16, 185, 129, 0.05); }

.vfc-dropzone-icon { font-size: 2.5rem; margin-bottom: 12px; }
.vfc-dropzone-title { font-size: 1rem; font-weight: 700; color: var(--text-main); margin-bottom: 6px; word-break: break-all;}
.vfc-dropzone-desc { font-size: 0.85rem; color: var(--text-muted); }

.vfc-divider { border: none; border-top: 1px dashed var(--border-color); margin: 24px 0; }
.vfc-sub-heading { font-size: 0.95rem; font-weight: 700; color: var(--text-main); margin: 0 0 16px 0; }

.vfc-form-group { margin-bottom: 24px; }
.vfc-form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); margin-bottom: 12px; }

/* 单选框卡片网格 */
.vfc-format-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.vfc-radio-card { cursor: pointer; }
.vfc-radio-card input { display: none; }
.vfc-radio-content {
    display: block; text-align: center; padding: 12px; border: 1px solid var(--border-color);
    border-radius: 8px; font-weight: 700; color: var(--text-main); transition: 0.2s; background: var(--bg-body);
}
.vfc-radio-card:hover .vfc-radio-content { border-color: var(--primary-color); }
.vfc-radio-card input:checked + .vfc-radio-content {
    background: var(--primary-color); color: #fff; border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(var(--primary-rgb, 0, 102, 204), 0.3);
}

.vfc-btn-primary, .vfc-btn-success {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
    color: white; border: none; border-radius: 8px; padding: 14px; font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: 0.3s;
}
.vfc-btn-primary { background: var(--primary-color); box-shadow: 0 4px 10px rgba(var(--primary-rgb, 0, 102, 204), 0.2); }
.vfc-btn-success { background: #10b981; box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2); }
.vfc-btn-primary:hover:not(:disabled), .vfc-btn-success:hover { transform: translateY(-2px); opacity: 0.9; }
.vfc-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* =========================================================
   右侧：终端输出窗
   ========================================================= */
.vfc-main-content { flex: 2; min-width: 0; }

.vfc-status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-safe { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.status-safe .status-dot { background: #10b981; }
.status-working { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.status-working .status-dot { background: #3b82f6; box-shadow: 0 0 8px #3b82f6; animation: vfcPulse 1s infinite; }
.status-warning { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.status-warning .status-dot { background: #f59e0b; animation: vfcPulse 1s infinite; }
.status-error { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.status-error .status-dot { background: #ef4444; }
@keyframes vfcPulse { 0% { opacity: 1;} 50% { opacity: 0.4;} 100% { opacity: 1;} }

/* 极客风终端窗口 */
.vfc-terminal {
    font-family: 'Courier New', Courier, monospace; font-size: 0.85rem; line-height: 1.6;
    height: 400px; overflow-y: auto; padding: 16px; background: #000; border-radius: 8px;
    border: 1px solid #333; word-wrap: break-word; white-space: pre-wrap;
}
.vfc-terminal::-webkit-scrollbar { width: 8px; }
.vfc-terminal::-webkit-scrollbar-track { background: #111; }
.vfc-terminal::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }

/* 进度条 */
.vfc-progress-container { margin-bottom: 20px; }
.vfc-progress-bar { width: 100%; height: 8px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
.vfc-progress-fill { height: 100%; width: 0%; background: #3b82f6; transition: width 0.2s linear; }

/* SEO Matrix */
.tool-seo-content { margin-top: 50px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 40px; }
.tool-seo-content h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 20px; color: var(--text-main); }
.seo-intro-section { margin-bottom: 40px; }
.seo-lead-text { font-size: 1rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 15px;}
.seo-sub-heading { font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; color: var(--text-main); border-left: 4px solid var(--primary-color); padding-left: 12px;}
.seo-feature-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.seo-feature-card { background: var(--bg-body); border: 1px solid var(--border-color); padding: 24px; border-radius: 12px; transition: all 0.3s ease; }
.seo-feature-card:hover { border-color: var(--primary-color); transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0, 102, 204, 0.08); }
.seo-feature-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.seo-icon { width: 40px; height: 40px; color: var(--primary-color); background: rgba(var(--primary-rgb, 0, 102, 204), 0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.seo-icon svg { width: 20px; height: 20px; }
.seo-feature-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0; color: var(--text-main); }
.seo-feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

[data-theme="dark"] .tool-seo-content { background: var(--bg-surface); }
[data-theme="dark"] .seo-feature-card { background: #0f172a; border-color: #334155; }
@media (max-width: 900px) { .vfc-sidebar { max-width: 100%; } .seo-feature-grid-3 { grid-template-columns: 1fr; } }