.footprint-wrapper { padding: 0; background: transparent; border: none; box-shadow: none; }
.ftp-header { text-align: center; margin-bottom: 24px; }
.ftp-title { font-size: 1.8rem; font-weight: 800; color: var(--text-main); margin-bottom: 12px; }
.ftp-subtitle { font-size: 1rem; color: var(--text-muted); max-width: 800px; margin: 0 auto; line-height: 1.6; }

.ftp-layout { display: grid; grid-template-columns: 350px 1fr; gap: 24px; }
.ftp-panel { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; box-shadow: 0 4px 12px rgba(0,0,0,0.02); }
.ftp-panel-title { font-weight: 700; color: var(--text-main); font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border-color); }

.ftp-input-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; }
.ftp-input, .ftp-select { width: 100%; padding: 12px 16px; background: var(--bg-body); border: 2px solid transparent; color: var(--text-main); border-radius: 10px; outline: none; font-size: 1rem; transition: 0.2s; box-sizing: border-box; }
.ftp-input:focus, .ftp-select:focus { border-color: var(--primary-color); background: var(--bg-surface); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1); }

.ftp-progress-box { margin-top: 24px; padding: 16px; background: var(--bg-body); border-radius: 12px; border: 1px dashed var(--border-color); }
.ftp-progress-label { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.ftp-progress-bar { width: 100%; height: 8px; background: var(--border-color); border-radius: 4px; overflow: hidden; }
.ftp-progress-fill { width: 0%; height: 100%; background: linear-gradient(90deg, #3b82f6, #10b981); transition: width 0.3s ease; }

.ftp-btn-primary { width: 100%; background: var(--primary-color); color: white; border: none; padding: 14px; border-radius: 10px; font-weight: bold; font-size: 1.05rem; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2); }
.ftp-btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.3); }
.ftp-btn-danger { width: 100%; background: #ef4444; color: white; border: none; padding: 14px; border-radius: 10px; font-weight: bold; font-size: 1.05rem; cursor: pointer; transition: 0.2s; }
.ftp-btn-danger:hover { background: #dc2626; }
.ftp-btn-icon { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--text-muted); transition: 0.2s; }
.ftp-btn-icon:hover { transform: scale(1.1); color: var(--text-main); }

/* 极客终端日志 */
.ftp-log-panel { padding: 0; overflow: hidden; }
.ftp-log-panel .ftp-panel-title { padding: 16px 20px; margin-bottom: 0; background: #0f172a; color: #f8fafc; border-bottom: 1px solid #1e293b; }
.ftp-log-box { flex: 1; min-height: 500px; background: #020617; padding: 16px 20px; overflow-y: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.85rem; line-height: 1.6; }
.ftp-log-item { margin-bottom: 6px; word-break: break-all; }
.ftp-log-time { color: #64748b; margin-right: 8px; }
.ftp-log-info { color: #94a3b8; }
.ftp-log-target { color: #38bdf8; text-decoration: underline; }
.ftp-log-succ { color: #4ade80; font-weight: 600; }
.ftp-log-err { color: #fbbf24; }
.ftp-log-welcome { color: #10b981; font-weight: bold; }

@media (max-width: 900px) {
    .ftp-layout { grid-template-columns: 1fr; }
    .ftp-log-box { min-height: 400px; }
}

[data-theme="dark"] .ftp-input, [data-theme="dark"] .ftp-select, [data-theme="dark"] .ftp-progress-box { background: rgba(255,255,255,0.05); }