.file-list {
            max-height: 500px;
            overflow-y: auto;
            margin: 1rem 0;
            border: 1px solid #e9ecef;
            border-radius: 12px;
            background: #fff;
        }
        .file-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.75rem 1rem;
            border-bottom: 1px solid #f1f3f5;
            transition: background 0.1s;
        }
        .file-item:last-child { border-bottom: none; }
        .file-item:hover { background: #f8f9fa; }
        .file-info {
            flex: 3;
            min-width: 0;
        }
        .file-name {
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .file-meta {
            font-size: 0.75rem;
            color: #6c757d;
            margin-top: 0.2rem;
        }
        .file-actions {
            display: flex;
            gap: 8px;
            align-items: center;
        }
        .btn-sm-icon {
            padding: 0.25rem 0.5rem;
            font-size: 0.8rem;
        }
        .status-badge {
            font-size: 0.7rem;
            padding: 0.2rem 0.5rem;
            border-radius: 20px;
            background: #e9ecef;
        }
        .status-badge.success { background: #d1e7dd; color: #0f5132; }
        .status-badge.processing { background: #fff3cd; color: #856404; }
        .status-badge.error { background: #f8d7da; color: #842029; }
        .drag-drop-area {
            border: 2px dashed #ccc;
            border-radius: 20px;
            padding: 2rem;
            text-align: center;
            background: #fef9e6;
            transition: all 0.2s;
            cursor: pointer;
            margin-bottom: 1rem;
        }
        .drag-drop-area.active {
            border-color: var(--primary-color);
            background-color: rgba(70,130,180,0.05);
        }
        .compression-slider {
            margin: 1rem 0;
        }
        .quality-value {
            font-weight: 700;
            color: var(--primary-color);
        }
        .badge-compress {
            background-color: #28a745;
            color: white;
            padding: 0.35rem 0.75rem;
            border-radius: 2rem;
            font-size: 0.85rem;
        }
        .preview-img {
            max-width: 60px;
            max-height: 60px;
            border-radius: 6px;
            margin-right: 12px;
            object-fit: cover;
            background: #f1f3f5;
        }
        .modal-preview {
            max-width: 90%;
            max-height: 80vh;
        }
        .format-selector {
            max-width: 220px;
        }
        .download-all-btn {
            background: #198754;
            border: none;
        }
        .loader-icon {
            animation: spin 1s linear infinite;
        }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }