.file-input-container { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
            .file-input-container input[type="file"] { padding: 10px; border-radius: 8px; border: 1px solid #cbd5e1; font-size: 0.9rem; background: #fff; cursor: pointer; }
            
            .controls-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
            .control-group { display: flex; flex-direction: column; gap: 6px; }
            .control-group label { font-size: 0.85rem; font-weight: 600; color: #334155; }
            .control-group input[type="number"] { padding: 10px; border-radius: 8px; border: 1px solid #cbd5e1; font-size: 0.9rem; background: #fff; font-family: monospace; }

            .preview-area { display: flex; flex-direction: column; align-items: center; gap: 15px; margin-bottom: 20px; }
            video { width: 100%; max-height: 220px; background: #0f172a; border-radius: 8px; object-fit: contain; }
            canvas { display: none; }

            .info-box { background: #fefce8; border: 1px solid #fef08a; padding: 12px; border-radius: 8px; font-size: 0.85rem; color: #854d0e; margin-bottom: 20px; display: none; }
            .info-box strong { font-weight: 600; }

            .result-container { display: flex; flex-direction: column; gap: 15px; margin-bottom: 20px; background: #f8fafc; padding: 15px; border-radius: 8px; border: 1px dashed #cbd5e1; display: none; }
            .result-container img { max-width: 100%; max-height: 200px; object-fit: contain; border-radius: 6px; background: #000; }
            .result-actions { display: flex; gap: 10px; }

            .log-container { background: #0f172a; color: #38bdf8; padding: 15px; border-radius: 8px; font-family: monospace; font-size: 0.85rem; max-height: 200px; overflow-y: auto; margin-bottom: 20px; white-space: pre-wrap; word-break: break-all; }
            .log-success { color: #4ade80; }
            .log-error { color: #f87171; }
            .log-warning { color: #facc15; }

            .btn { width: 100%; padding: 12px; border: none; border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: background-color 0.2s; text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
            .btn-primary { background-color: var(--primary); color: white; }
            .btn-primary:hover { background-color: var(--primary-hover); }
            .btn-success { background-color: #16a34a; color: white; }
            .btn-success:hover { background-color: #15803d; }
            .btn:disabled { background-color: #cbd5e1; cursor: not-allowed; }