.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; }
            
            .preview-area { display: flex; flex-direction: column; align-items: center; gap: 15px; margin-bottom: 20px; }
            video { width: 100%; max-height: 280px; background: #0f172a; border-radius: 8px; object-fit: contain; }

            .controls-grid { width: 80%; display: block; margin-bottom: 10px; margin-left: 10%;}
            .control-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px;}
            .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; font-family: monospace; background: #fff; }

            .limit-hint { font-size: 0.8rem; color: #64748b; margin-bottom: 20px; font-style: italic; }

            .buttons-flex { display: flex; gap: 10px; margin-bottom: 20px; }

            .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; align-items: center; gap: 10px; margin-bottom: 20px; background: #f8fafc; padding: 15px; border-radius: 8px; border: 1px dashed #cbd5e1; }
            .result-container video { max-height: 200px; }

            .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 { flex: 1; 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-secondary { background-color: #e5e7eb; color: #374151; }
            .btn-secondary:hover { background-color: #d1d5db; }
            .btn-success { background-color: #16a34a; color: white; }
            .btn-success:hover { background-color: #15803d; }
            .btn:disabled { background-color: #cbd5e1; cursor: not-allowed; }

             @media (max-width: 480px) {
            .controls-grid {
                width: 90%; margin-left: 5%;
            }
           
        }