.elementor-2117 .elementor-element.elementor-element-36d1186{--display:flex;}/* Start custom CSS for html, class: .elementor-element-095824c */:root {
            --bg: #1a1d24;
            --surface: #21242b;
            --surface2: #2a2d35;
            --border: #3a3d47;
            --text: #e4e6ed;
            --text-secondary: #9a9da8;
            --accent: #6d8cff;
            --accent-hover: #8aa1ff;
            --danger: #e0556a;
            --danger-hover: #f06b7e;
            --success: #4caf84;
            --success-hover: #5ecb9a;
            --warning: #e8b84b;
            --orange: #ff8c52;
            --radius: 12px;
            --radius-sm: 8px;
            --radius-xs: 5px;
            --shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
            --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
            --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: var(--bg);
            color: var(--text);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            user-select: none;
            -webkit-user-select: none;
            overflow-x: hidden;
        }

        /* Header */
        .header {
            background: var(--surface);
            border-bottom: 1px solid var(--border);
            padding: 14px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
            z-index: 20;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
            position: sticky;
            top: 0;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            font-size: 1.25rem;
            letter-spacing: -0.3px;
            white-space: nowrap;
        }
        .logo .icon-bg {
            width: 38px;
            height: 38px;
            background: linear-gradient(135deg, #ff8c52, #e0556a);
            border-radius: var(--radius-xs);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
        }
        .header-actions {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            align-items: center;
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 9px 16px;
            border-radius: var(--radius-xs);
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            border: 1px solid transparent;
            background: var(--surface2);
            color: var(--text);
            transition: var(--transition);
            white-space: nowrap;
            font-family: inherit;
            letter-spacing: 0.2px;
            outline: none;
            text-decoration: none;
        }
        .btn:hover {
            background: #363a44;
            border-color: #555;
            transform: translateY(-1px);
        }
        .btn:focus-visible {
            box-shadow: 0 0 0 3px rgba(109, 140, 255, 0.4);
        }
        .btn-primary {
            background: var(--accent);
            border-color: var(--accent);
            color: #fff;
        }
        .btn-primary:hover {
            background: var(--accent-hover);
            border-color: var(--accent-hover);
            box-shadow: 0 4px 14px rgba(109, 140, 255, 0.4);
        }
        .btn-success {
            background: var(--success);
            border-color: var(--success);
            color: #fff;
        }
        .btn-success:hover {
            background: var(--success-hover);
            box-shadow: 0 4px 14px rgba(76, 175, 132, 0.35);
        }
        .btn-warning {
            background: var(--orange);
            border-color: var(--orange);
            color: #fff;
        }
        .btn-warning:hover {
            background: #ff9d6c;
            box-shadow: 0 4px 14px rgba(255, 140, 82, 0.35);
        }
        .btn-danger {
            background: var(--danger);
            border-color: var(--danger);
            color: #fff;
        }
        .btn-danger:hover {
            background: var(--danger-hover);
        }
        .btn-outline {
            background: transparent;
            border-color: var(--border);
        }
        .btn-outline:hover {
            background: var(--surface2);
        }
        .btn-sm {
            padding: 6px 12px;
            font-size: 0.78rem;
            border-radius: 20px;
        }
        .btn-xs {
            padding: 4px 10px;
            font-size: 0.7rem;
            border-radius: 16px;
        }
        .btn:disabled {
            opacity: 0.45;
            pointer-events: none;
            cursor: not-allowed;
            transform: none !important;
        }

        /* Main layout */
        .main {
            flex: 1;
            display: flex;
            flex-direction: column;
            max-width: 1100px;
            width: 100%;
            margin: 0 auto;
            padding: 20px 24px;
            gap: 20px;
        }

        /* Upload zone */
        .upload-zone {
            border: 2px dashed var(--border);
            border-radius: var(--radius);
            padding: 36px 24px;
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
            background: var(--surface);
            position: relative;
            overflow: hidden;
        }
        .upload-zone:hover,
        .upload-zone.drag-over {
            border-color: var(--accent);
            background: #262a35;
            box-shadow: 0 0 0 8px rgba(109, 140, 255, 0.04);
        }
        .upload-zone.drag-over {
            border-color: var(--success);
            background: #252e2a;
        }
        .upload-zone .upload-icon {
            font-size: 3rem;
            margin-bottom: 8px;
            display: block;
            opacity: 0.8;
        }
        .upload-zone .upload-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 4px;
            color: var(--text);
        }
        .upload-zone .upload-subtitle {
            font-size: 0.82rem;
            color: var(--text-secondary);
        }
        .upload-zone input[type="file"] {
            display: none;
        }

        /* Settings row */
        .settings-row {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
            align-items: center;
            background: var(--surface);
            padding: 14px 18px;
            border-radius: var(--radius);
            border: 1px solid var(--border);
        }
        .settings-row .setting-label {
            font-size: 0.78rem;
            font-weight: 700;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.06em;
            white-space: nowrap;
        }
        .settings-row select {
            padding: 8px 14px;
            border-radius: var(--radius-xs);
            background: var(--surface2);
            color: var(--text);
            border: 1px solid var(--border);
            font-family: inherit;
            font-size: 0.85rem;
            font-weight: 500;
            cursor: pointer;
            outline: none;
            transition: var(--transition);
            min-width: 160px;
        }
        .settings-row select:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(109, 140, 255, 0.15);
        }
        .settings-row .badge-info {
            font-size: 0.75rem;
            color: var(--text-secondary);
            background: var(--surface2);
            padding: 6px 12px;
            border-radius: 20px;
            font-weight: 500;
        }

        /* File list */
        .file-list-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 10px;
        }
        .file-list-header h3 {
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--text);
        }
        .file-list-header .count-badge {
            background: var(--accent);
            color: #fff;
            font-size: 0.72rem;
            font-weight: 700;
            padding: 3px 10px;
            border-radius: 20px;
            margin-left: 6px;
        }
        .file-cards {
            display: flex;
            flex-direction: column;
            gap: 8px;
            max-height: 420px;
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: #444 transparent;
            padding-right: 4px;
        }
        .file-cards::-webkit-scrollbar {
            width: 5px;
        }
        .file-cards::-webkit-scrollbar-thumb {
            background: #555;
            border-radius: 10px;
        }

        .file-card {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 13px 16px;
            background: var(--surface);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border);
            transition: var(--transition);
            flex-wrap: wrap;
        }
        .file-card:hover {
            border-color: #555;
            box-shadow: var(--shadow-sm);
        }
        .file-card .file-icon {
            width: 44px;
            height: 44px;
            border-radius: var(--radius-xs);
            background: linear-gradient(135deg, #e0556a, #ff8c52);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            font-weight: 700;
            color: #fff;
            flex-shrink: 0;
        }
        .file-card .file-info {
            flex: 1;
            min-width: 140px;
        }
        .file-card .file-name {
            font-weight: 600;
            font-size: 0.88rem;
            color: var(--text);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 260px;
            display: block;
        }
        .file-card .file-meta {
            font-size: 0.73rem;
            color: var(--text-secondary);
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 2px;
        }
        .file-card .file-size-row {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.78rem;
            font-weight: 600;
            flex-shrink: 0;
        }
        .file-card .size-original {
            color: var(--text-secondary);
        }
        .file-card .size-compressed {
            color: var(--success);
            font-weight: 700;
        }
        .file-card .size-arrow {
            color: var(--text-secondary);
            font-size: 0.7rem;
        }
        .file-card .compression-badge {
            font-size: 0.7rem;
            font-weight: 700;
            padding: 3px 9px;
            border-radius: 14px;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .badge-good {
            background: #1a3d2a;
            color: #5ecb9a;
        }
        .badge-ok {
            background: #3a3020;
            color: #e8b84b;
        }
        .badge-none {
            background: #2a2a30;
            color: #888;
        }
        .badge-error {
            background: #3a1a1f;
            color: #f06b7e;
        }
        .file-card .card-actions {
            display: flex;
            gap: 6px;
            flex-shrink: 0;
            align-items: center;
        }
        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            display: inline-block;
            flex-shrink: 0;
        }
        .status-pending {
            background: #888;
        }
        .status-processing {
            background: var(--warning);
            animation: pulse 0.8s infinite;
        }
        .status-done {
            background: var(--success);
        }
        .status-error {
            background: var(--danger);
        }
        @keyframes pulse {
            0%,
            100% {
                opacity: 1;
            }
            50% {
                opacity: 0.35;
            }
        }

        /* Progress bar */
        .progress-bar-wrap {
            width: 100%;
            height: 6px;
            background: var(--surface2);
            border-radius: 3px;
            overflow: hidden;
            flex-shrink: 0;
        }
        .progress-bar-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--accent), var(--success));
            border-radius: 3px;
            transition: width 0.4s ease;
            width: 0%;
        }

        /* Toast */
        .toast {
            position: fixed;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            background: #2d3039;
            color: #fff;
            padding: 12px 22px;
            border-radius: 30px;
            font-size: 0.85rem;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
            z-index: 100;
            animation: fadeInUp 0.3s ease;
            border: 1px solid var(--border);
            font-weight: 500;
            white-space: nowrap;
        }
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateX(-50%) translateY(15px);
            }
            to {
                opacity: 1;
                transform: translateX(-50%) translateY(0);
            }
        }

        /* Empty state */
        .empty-state {
            text-align: center;
            padding: 40px 20px;
            color: var(--text-secondary);
        }
        .empty-state .empty-icon {
            font-size: 3rem;
            opacity: 0.5;
            display: block;
            margin-bottom: 8px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .main {
                padding: 12px 10px;
                gap: 12px;
            }
            .file-card {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }
            .file-card .card-actions {
                width: 100%;
                justify-content: flex-end;
            }
            .settings-row {
                flex-direction: column;
                align-items: flex-start;
            }
            .header {
                padding: 10px 14px;
            }
            .header-actions {
                gap: 4px;
            }
            .btn {
                padding: 7px 11px;
                font-size: 0.78rem;
            }
        }/* End custom CSS */