.elementor-1998 .elementor-element.elementor-element-5e95daf{--display:flex;}/* Start custom CSS for html, class: .elementor-element-84a2496 */* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: linear-gradient(145deg, #f0f4fa 0%, #e6ecf3 100%);
            font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
            padding: 2rem 1.5rem;
            min-height: 100vh;
        }

        .converter-card {
            max-width: 1600px;
            width: 100%;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.96);
            border-radius: 2rem;
            box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.25);
            overflow: hidden;
        }

        .header {
            background: #ffffff;
            padding: 1.6rem 2rem;
            border-bottom: 1px solid #eef2f8;
        }

        .header h1 {
            font-size: 1.9rem;
            font-weight: 700;
            background: linear-gradient(135deg, #1e2b3c, #2c4c6c);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
        }

        .header p {
            color: #5b6e8c;
            margin-top: 0.4rem;
            font-size: 0.9rem;
        }

        .main-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            padding: 2rem;
            background: #fafcff;
        }

        .settings-panel {
            flex: 1.2;
            min-width: 280px;
            background: white;
            border-radius: 1.5rem;
            border: 1px solid #eef2f8;
            padding: 1.5rem;
            height: fit-content;
        }

        .preview-panel {
            flex: 2.5;
            min-width: 340px;
            background: white;
            border-radius: 1.5rem;
            border: 1px solid #eef2f8;
            padding: 1.5rem;
        }

        .panel-title {
            font-weight: 700;
            font-size: 1.2rem;
            margin-bottom: 1.2rem;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #1e2f3f;
        }

        .control-group {
            margin-bottom: 1.5rem;
        }

        .control-group label {
            display: block;
            font-size: 0.8rem;
            font-weight: 600;
            color: #2c4c6c;
            margin-bottom: 8px;
        }

        select, input[type="number"], input[type="range"] {
            width: 100%;
            padding: 10px 12px;
            border-radius: 60px;
            border: 1px solid #cfddee;
            background: white;
            font-size: 0.9rem;
        }

        input[type="range"] {
            padding: 0;
            height: 6px;
        }

        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            background: #2c6e9e;
            border-radius: 50%;
            cursor: pointer;
        }

        .checkbox-group {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 12px 0;
        }

        button {
            background: #1f5e8c;
            border: none;
            color: white;
            padding: 10px 24px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.85rem;
            cursor: pointer;
            transition: 0.2s;
        }

        button:hover:not(:disabled) {
            background: #0e4a70;
            transform: translateY(-1px);
        }

        .convert-btn {
            background: #2c7a4d;
            width: 100%;
            font-size: 1rem;
            padding: 12px;
            margin-top: 10px;
        }

        .page-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 1rem;
            max-height: 550px;
            overflow-y: auto;
            margin-top: 1rem;
            padding: 0.2rem;
        }

        .page-card {
            background: #f9fbfe;
            border-radius: 1rem;
            border: 1px solid #eef2f8;
            overflow: hidden;
            transition: 0.1s;
            position: relative;
        }

        .page-card.selected {
            border: 2px solid #2c7a4d;
            background: #f0f9f0;
        }

        .page-thumb {
            width: 100%;
            aspect-ratio: 1 / 1.4;
            background: #eef2f6;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .page-thumb canvas {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .page-number {
            padding: 6px;
            text-align: center;
            font-size: 0.7rem;
            font-weight: 500;
            background: white;
            border-top: 1px solid #eef2f8;
        }

        .select-all-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.8rem;
            flex-wrap: wrap;
            gap: 10px;
        }

        .badge {
            background: #eef2fa;
            padding: 4px 12px;
            border-radius: 30px;
            font-size: 0.7rem;
            font-weight: 500;
        }

        .info-note {
            font-size: 0.7rem;
            color: #5e7b9c;
            margin-top: 8px;
        }

        .file-info {
            background: #eef2fa;
            border-radius: 30px;
            padding: 8px 16px;
            font-size: 0.8rem;
            margin-bottom: 1rem;
        }

        .progress-area {
            margin-top: 1rem;
            display: none;
        }

        .progress-bar {
            width: 100%;
            background: #e2e8f0;
            border-radius: 20px;
            height: 6px;
            overflow: hidden;
        }

        .progress-fill {
            width: 0%;
            height: 100%;
            background: #2c6e9e;
            transition: width 0.2s;
        }

        .status-text {
            font-size: 0.75rem;
            margin-top: 6px;
            color: #2c6e9e;
        }

        .custom-file-wrapper {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 1rem;
        }

        .custom-file-btn {
            background: #2c6e9e;
            padding: 8px 18px;
            font-size: 0.8rem;
            border-radius: 40px;
            color: white;
            font-weight: 500;
            cursor: pointer;
            border: none;
        }

        .file-name-display {
            font-size: 0.75rem;
            color: #4a6a85;
            background: #eef2fa;
            padding: 4px 12px;
            border-radius: 30px;
            max-width: 260px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        footer {
            padding: 1rem;
            text-align: center;
            font-size: 0.7rem;
            color: #7c93ae;
            border-top: 1px solid #eef2f8;
            background: white;
        }

        .drag-active {
            outline: 2px dashed #2c6e9e;
            background: #f0f7fe;
        }

        @media (max-width: 780px) {
            body { padding: 1rem; }
            .main-grid { padding: 1rem; }
        }/* End custom CSS */