        :root {
            --primary-color: #4f46e5;
            --primary-hover: #4338ca;
            --bg-gradient-start: #f5f7fa;
            --bg-gradient-end: #c3cfe2;
            --text-main: #1e293b;
            --text-secondary: #64748b;
            --text-light: #94a3b8;
            --border-color: #e2e8f0;
            --white: #ffffff;
            --success: #10b981;
            --error: #ef4444;
            --glass-bg: rgba(255, 255, 255, 0.9);
            --glass-border: rgba(255, 255, 255, 0.5);
        }
     
         html,body{ font-size:inherit;}
        .mnav {   font-size: 13px;}
        
    
        @media (min-width: 768px) {
         
        }

        /* Utilities */
        .w-full { width: 100%; }
        .hidden { display: none !important; }
        .flex { display: flex; }
        .flex-col { flex-direction: column; }
        .items-center { align-items: center; }
        .justify-between { justify-content: space-between; }
        .justify-center { justify-content: center; }
        .gap-2 { gap: 0.5rem; }
        .gap-3 { gap: 0.75rem; }
        .gap-4 { gap: 1rem; }
        .gap-6 { gap: 1.5rem; }
        .text-center { text-align: center; }

        /* Components */
        .container {
            width: 100%;
            max-width: 1024px;
        }

        header {
            margin: 2rem 0;
        }

        .header-icon {
            background-color: var(--primary-color);
            color: white;
            padding: 0.5rem;
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
        }

        h1 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-main);
        }

        .subtitle {
            font-size: 0.875rem;
            color: var(--text-secondary);
        }

        .link-about {
            font-size: 0.875rem;
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
        }
        .link-about:hover {
            color: var(--primary-hover);
        }

        .main-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        @media (min-width: 1024px) {
            .main-grid {
                grid-template-columns: 1fr 2fr;
            }
        }

        .glass-panel {
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
            border-radius: 1rem;
        }

        /* Drop Zone */
        .drop-zone {
            padding: 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            cursor: pointer;
            min-height: 250px;
            position: relative;
            transition: all 0.3s ease;
            border: 2px dashed var(--primary-color);
        }

        .drop-zone:hover {
            background-color: rgba(79, 70, 229, 0.05);
        }

        .drop-zone.drag-over {
            background-color: rgba(79, 70, 229, 0.1);
            transform: scale(1.01);
        }

        .upload-icon-wrapper {
            background-color: #eef2ff;
            padding: 1rem;
            border-radius: 9999px;
            margin-bottom: 1rem;
            color: var(--primary-color);
            transition: background-color 0.3s;
        }
        
        .drop-zone:hover .upload-icon-wrapper {
            background-color: #e0e7ff;
        }

        .drop-zone h3 {
            font-size: 1.125rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .drop-zone p {
            font-size: 0.875rem;
            color: var(--text-secondary);
            max-width: 200px;
        }

        .file-input {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
            z-index: 10;
        }

        /* Settings Panel */
        .settings-panel {
            padding: 1.5rem;
        }

        .section-title {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .form-group {
            margin-bottom: 1rem;
        }

        .form-label {
            display: block;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--text-secondary);
            text-transform: uppercase;
            margin-bottom: 0.5rem;
        }

        .form-select {
            width: 100%;
            background-color: var(--white);
            border: 1px solid var(--border-color);
            border-radius: 0.5rem;
            padding: 0.5rem 1rem;
            font-size: 0.875rem;
            outline: none;
        }

        .form-select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
        }

        .btn-primary {
            width: 100%;
            background-color: var(--primary-color);
            color: white;
            font-weight: 500;
            padding: 0.75rem;
            border-radius: 0.5rem;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: background-color 0.2s;
            box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.1), 0 2px 4px -1px rgba(79, 70, 229, 0.06);
        }

        .btn-primary:hover:not(:disabled) {
            background-color: var(--primary-hover);
        }

        .btn-primary:disabled {
            background-color: #cbd5e1;
            cursor: not-allowed;
            box-shadow: none;
        }

        .btn-text {
            width: 100%;
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 0.875rem;
            padding: 0.5rem;
            cursor: pointer;
            margin-top: 0.5rem;
        }
        .btn-text:hover {
            color: var(--text-main);
        }

        /* File List Panel */
        .list-panel {
            display: flex;
            flex-direction: column;
            height: 600px;
            overflow: hidden;
        }

        .list-header {
            padding: 1rem;
            border-bottom: 1px solid #f1f5f9;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.5);
        }

        .badge {
            font-size: 0.75rem;
            background-color: #e2e8f0;
            color: var(--text-secondary);
            padding: 0.125rem 0.5rem;
            border-radius: 9999px;
            margin-left: 0.5rem;
        }

        .local-processing-tag {
            font-size: 0.75rem;
            color: var(--text-light);
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .empty-state {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            padding: 2rem;
        }
        
        .empty-icon {
            font-size: 4rem;
            color: #e2e8f0;
            margin-bottom: 1rem;
        }

        .file-list-container {
            flex: 1;
            overflow-y: auto;
            padding: 1rem;
        }

        /* File Item */
        .file-item {
            background-color: var(--white);
            border: 1px solid #f1f5f9;
            border-radius: 0.75rem;
            padding: 0.75rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 0.75rem;
            transition: box-shadow 0.2s;
        }

        .file-item:hover {
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
        }

        .status-icon {
            width: 2.5rem;
            height: 2.5rem;
            background-color: #eef2ff;
            color: var(--primary-color);
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .file-info {
            flex: 1;
            min-width: 0;
        }

        .file-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.25rem;
        }

        .file-name {
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--text-main);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            padding-right: 0.5rem;
        }

        .file-size {
            font-size: 0.75rem;
            color: var(--text-light);
            font-family: monospace;
        }

        .progress-bar-container {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .progress-track {
            flex: 1;
            height: 0.375rem;
            background-color: #f1f5f9;
            border-radius: 9999px;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background-color: var(--primary-color);
            transition: width 0.3s ease;
        }

        .progress-text {
            font-size: 0.75rem;
            color: var(--text-secondary);
            width: 2rem;
            text-align: right;
        }

        .action-buttons {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-icon {
            padding: 0.5rem;
            border-radius: 0.5rem;
            border: none;
            background: none;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .btn-preview { color: var(--text-light); }
        .btn-preview:hover { color: var(--primary-color); background-color: #eef2ff; }

        .btn-download { color: var(--success); }
        .btn-download:hover { color: #059669; background-color: #ecfdf5; }
        .btn-download-link { display: flex; align-items: center; justify-content: center; padding: 0.5rem; border-radius: 0.5rem; transition: all 0.2s; color: var(--success); }
        .btn-download-link:hover { color: #059669; background-color: #ecfdf5; }

        .btn-delete { color: #cbd5e1; }
        .btn-delete:hover { color: var(--error); background-color: #fef2f2; }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #f1f1f1; 
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb {
            background: #cbd5e1; 
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #94a3b8; 
        }

        .spin {
            animation: spin 1s linear infinite;
        }
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }