.elementor-10948 .elementor-element.elementor-element-cf52e68{--display:flex;--margin-top:20px;--margin-bottom:20px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}/* Start custom CSS for html, class: .elementor-element-95e93e6 *//* Root Variables - Required for consistent theming */
        :root {
            --primary: #0066cc;
            --primary-light: #e6f2ff;
            --primary-dark: #0052a3;
        }

        /* Scoped styles for PDF Page Extractor */
        #pdf-splitter-app {
            --pdf-primary: #4361ee;
            --pdf-primary-light: #4895ef;
            --pdf-primary-dark: #3f37c9;
            --pdf-secondary: #e6f2ff;
            --pdf-light: #f8f9fa;
            --pdf-dark: #1e1e2c;
            --pdf-gray: #6c757d;
            --pdf-success: #4caf50;
            --pdf-danger: #f44336;
            --pdf-warning: #ff9800;
            --pdf-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            --pdf-shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.12);
            --pdf-transition: all 0.3s ease;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--pdf-dark);
            padding: 20px;
            width: 100%;
            box-sizing: border-box;
            background: transparent !important;
        }

        #pdf-splitter-app * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        #pdf-splitter-app .pdf-container {
            max-width: 100%;
            margin: 0 auto;
        }

        #pdf-splitter-app .pdf-app-header {
            text-align: center;
            padding: 0 0 30px 0;
            margin-bottom: 20px;
            animation: zoomInFast 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
            transform-origin: center center;
            opacity: 0;
        }

        #pdf-splitter-app .pdf-app-header h1 {
            color: #0066CC;
            margin-bottom: 12px;
            font-size: 2.5rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }

        #pdf-splitter-app .pdf-app-header p {
            color: var(--pdf-gray);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
        }

        /* About button styling */
        #pdf-splitter-app .about-btn-center {
            text-align: center;
            margin: 0 auto 25px auto;
            animation: zoomInFast 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
            transform-origin: center center;
            opacity: 0;
            animation-delay: 0.08s;
        }

        #pdf-splitter-app .about-tool-btn {
            background: white;
            border: none;
            padding: 10px 28px;
            border-radius: 50px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 1rem;
            font-weight: 600;
            color: #0066cc;
            cursor: pointer;
            transition: all 0.3s ease;
            background: linear-gradient(135deg, #fff, #f8faff);
            border: 1px solid rgba(0, 102, 204, 0.25);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        #pdf-splitter-app .about-tool-btn:hover {
            transform: translateY(-3px);
            background: white;
            color: #004c99;
            border-color: #0066cc;
            box-shadow: 0 6px 14px rgba(0, 102, 204, 0.15);
        }

        #pdf-splitter-app .pdf-upload-area-container {
            max-width: 850px;
            margin: 0 auto 25px auto;
        }

        /* ============================================
           COMPLETE UPLOAD AREA STYLES (APPLIED EXACTLY)
           ============================================ */

        /* Upload Area Container - Main Styles */
        #pdf-splitter-app .upload-area {
            border: 3px dashed #ced4da;
            border-radius: 18px;
            padding: 3rem;
            text-align: center;
            cursor: pointer;
            background-color: white;
            margin-bottom: 30px;
            position: relative;
            background-image: radial-gradient(circle at 10px 10px, rgba(0, 102, 204, 0.05) 1px, transparent 1px);
            background-size: 20px 20px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            animation: zoomInFast 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
            transform-origin: center center;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            opacity: 0;
            animation-delay: 0.12s;
        }

        #pdf-splitter-app .upload-area .upload-icon {
            display: inline-block;
            animation: zoomInFast 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
            opacity: 0;
            animation-delay: 0.16s;
        }

        #pdf-splitter-app .upload-area .upload-title {
            animation: zoomInFast 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
            opacity: 0;
            animation-delay: 0.20s;
        }

        #pdf-splitter-app .upload-area .upload-subtitle {
            animation: zoomInFast 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
            opacity: 0;
            animation-delay: 0.24s;
        }

        #pdf-splitter-app .upload-area .upload-note {
            animation: zoomInFast 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
            opacity: 0;
            animation-delay: 0.28s;
        }

        /* Upload Area Hover State */
        #pdf-splitter-app .upload-area:hover {
            border-color: var(--primary);
            background-color: #f8fbff;
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 102, 204, 0.15);
        }

        /* Upload Area Active/Drag Over State */
        #pdf-splitter-app .upload-area.active {
            border-color: var(--primary);
            background-color: var(--primary-light);
            box-shadow: inset 0 0 15px rgba(0, 102, 204, 0.1);
        }

        /* Upload Area Hidden State (for transitions) */
        #pdf-splitter-app .upload-area.hidden {
            animation: fadeOut 0.15s ease-out forwards;
            pointer-events: none;
        }

        /* Zoom In Animation for Upload Area */
        @keyframes zoomInFast {
            0% {
                opacity: 0;
                transform: scale(0.92);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* Fade Out Animation */
        @keyframes fadeOut {
            to {
                opacity: 0;
                transform: translateY(-10px);
                display: none;
            }
        }

        /* Upload Area Icon Styles */
        #pdf-splitter-app .upload-area i {
            font-size: 3rem;
            color: #0066cc;
            margin-bottom: 20px;
        }

        /* Upload Area Heading Styles */
        #pdf-splitter-app .upload-area h3,
        #pdf-splitter-app .upload-area h4 {
            color: #0066cc;
            margin: 12px 0;
            font-size: 1.3rem;
        }

        /* Upload Area Paragraph Text */
        #pdf-splitter-app .upload-area p {
            font-size: 1rem;
            color: #6c757d;
            margin-bottom: 0;
        }

        /* Small Text Inside Upload Area */
        #pdf-splitter-app .upload-area p:last-of-type {
            font-size: 0.85rem;
            margin-top: 10px;
        }

        /* Responsive Styles for Mobile */
        @media (max-width: 768px) {
            #pdf-splitter-app .upload-area {
                padding: 2rem 1.5rem;
                margin: 10px;
            }
        }

        /* Optional: Re-zoom utility for re-triggering animation */
        #pdf-splitter-app .upload-area.rezoom {
            animation: zoomInFast 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
        }

        #pdf-splitter-app .pdf-converter-card {
            background: white;
            border-radius: 16px;
            box-shadow: 0 8px 25px rgba(67, 97, 238, 0.15);
            overflow: hidden;
            border: 2px solid #d4d9ec;
            margin-bottom: 25px;
            margin-top: 10px;
            transition: var(--pdf-transition);
            padding: 30px;
            display: none;
            max-width: 100%;
        }

        #pdf-splitter-app .pdf-converter-card.visible {
            display: block;
            animation: pdf-fadeIn 0.3s ease;
        }

        #pdf-splitter-app .pdf-file-input {
            display: none;
        }

        /* Progress bar removed for faster loading */
        #pdf-splitter-app .pdf-progress-container {
            display: none;
        }

        #pdf-splitter-app .pdf-action-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin: 15px 0 0 0;
            flex-wrap: wrap;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.3s ease, transform 0.3s ease;
            display: none;
            order: 3;
        }

        #pdf-splitter-app .pdf-action-buttons.visible {
            opacity: 1;
            transform: translateY(0);
            display: flex;
        }

        #pdf-splitter-app .pdf-btn {
            padding: 12px 24px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: var(--pdf-transition);
            border: 2px solid var(--pdf-primary);
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            background: transparent;
            color: var(--pdf-primary);
        }

        #pdf-splitter-app .pdf-btn:hover {
            background: var(--pdf-secondary);
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0, 102, 204, 0.3);
        }

        /* Action button specific styles */
        #pdf-splitter-app .pdf-select-all-action,
        #pdf-splitter-app .pdf-clear-selection-action,
        #pdf-splitter-app .pdf-upload-another-action,
        #pdf-splitter-app .pdf-download-selected-action {
            padding: 12px 24px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: var(--pdf-transition);
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            border: none;
        }

        #pdf-splitter-app .pdf-select-all-action {
            background: #20c997;
            color: white;
            border: 2px solid #20c997;
        }
        #pdf-splitter-app .pdf-select-all-action:hover {
            background: #1ba87e;
            border-color: #1ba87e;
            transform: translateY(-3px);
        }

        #pdf-splitter-app .pdf-clear-selection-action {
            background: #fd7e14;
            color: white;
            border: 2px solid #fd7e14;
        }
        #pdf-splitter-app .pdf-clear-selection-action:hover {
            background: #e46c0e;
            border-color: #e46c0e;
            transform: translateY(-3px);
        }

        #pdf-splitter-app .pdf-upload-another-action {
            background: #6610f2;
            color: white;
            border: 2px solid #6610f2;
        }
        #pdf-splitter-app .pdf-upload-another-action:hover {
            background: #520dc2;
            border-color: #520dc2;
            transform: translateY(-3px);
        }

        #pdf-splitter-app .pdf-download-selected-action {
            background: var(--pdf-primary);
            color: white;
            border: 2px solid var(--pdf-primary);
        }
        #pdf-splitter-app .pdf-download-selected-action:hover {
            background: var(--pdf-primary-dark);
            border-color: var(--pdf-primary-dark);
            transform: translateY(-3px);
        }

        /* Disabled button state */
        #pdf-splitter-app .pdf-btn:disabled,
        #pdf-splitter-app .pdf-select-all-action:disabled,
        #pdf-splitter-app .pdf-clear-selection-action:disabled,
        #pdf-splitter-app .pdf-upload-another-action:disabled,
        #pdf-splitter-app .pdf-download-selected-action:disabled {
            opacity: 0.55;
            cursor: not-allowed;
            transform: none !important;
        }

        #pdf-splitter-app .pdf-thumbnail-canvas {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f8f9fa;
            cursor: pointer;
        }

        #pdf-splitter-app .pdf-thumbnail-canvas canvas {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        #pdf-splitter-app .pdf-status-text {
            margin-top: 20px;
            text-align: center;
            color: var(--pdf-gray);
            font-weight: 500;
            font-size: 1.05rem;
        }

        /* Layout wrapper */
        #pdf-splitter-app .pdf-split-gallery-layout {
            display: flex;
            gap: 25px;
            margin-top: 10px;
            align-items: flex-start;
            flex-wrap: wrap;
        }

        #pdf-splitter-app .pdf-split-options {
            background: white;
            border-radius: 12px;
            padding: 20px;
            border: 1px solid #e9ecef;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            display: block;
            flex: 0 0 280px;
            width: 280px;
            margin-top: 47px;
            order: 0;
            position: relative;
        }

        #pdf-splitter-app .pdf-split-option {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 15px;
        }

        #pdf-splitter-app .pdf-split-option:last-child {
            margin-bottom: 0;
        }

        #pdf-splitter-app .pdf-split-option input {
            padding: 10px 15px;
            border: 1px solid #495057;
            border-radius: 8px;
            font-size: 1rem;
            color: #000000;
            width: 100%;
        }

        #pdf-splitter-app .pdf-split-option input:focus {
            outline: none;
            border-color: var(--pdf-primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
        }

        #pdf-splitter-app .pdf-split-option label {
            font-weight: 500;
            margin-bottom: 2px;
            display: flex;
            align-items: center;
            gap: 7px;
        }

        #pdf-splitter-app .pdf-split-option .pdf-btn {
            padding: 10px 20px;
            width: 100%;
            justify-content: center;
        }

        #pdf-splitter-app .pdf-split-example {
            color: #5a6a7e;
            font-size: 0.85rem;
            margin-top: 4px;
            margin-bottom: 12px;
            font-style: italic;
            background: #e9ecef;
            padding: 6px 10px;
            border-radius: 6px;
            border-left: 3px solid var(--pdf-primary);
        }

        #pdf-splitter-app .pdf-split-option .pdf-split-example:last-child {
            margin-bottom: 0;
        }

        #pdf-splitter-app .pdf-split-interval-group {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        #pdf-splitter-app .pdf-pages-label {
            white-space: nowrap;
            font-weight: 500;
        }

        /* ============================================
           HELP ICON + POPOVER
           ============================================ */
        #pdf-splitter-app .pdf-help-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 20px;
            height: 20px;
            min-width: 20px;
            border-radius: 50%;
            background: rgba(67, 97, 238, 0.12);
            color: var(--pdf-primary);
            font-size: 0.85rem;
            line-height: 1;
            cursor: pointer;
            flex-shrink: 0;
            transition: all 0.25s ease;
            user-select: none;
        }

        #pdf-splitter-app .pdf-help-icon i {
            font-size: 0.85rem;
            line-height: 1;
        }

        #pdf-splitter-app .pdf-help-icon:hover,
        #pdf-splitter-app .pdf-help-icon:focus-visible,
        #pdf-splitter-app .pdf-help-icon.active {
            background: var(--pdf-primary);
            color: #ffffff;
            transform: scale(1.12);
            outline: none;
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
        }

        #pdf-splitter-app .pdf-help-popover {
            position: absolute;
            z-index: 60;
            width: 250px;
            max-width: calc(100% - 8px);
            background: #ffffff;
            border: 1px solid rgba(67, 97, 238, 0.28);
            border-radius: 12px;
            box-shadow: 0 12px 32px rgba(30, 30, 44, 0.18);
            padding: 12px 14px;
            font-size: 0.82rem;
            line-height: 1.55;
            color: #2c3e50;
            display: none;
            animation: pdf-fadeIn 0.18s ease;
        }

        #pdf-splitter-app .pdf-help-popover.visible {
            display: block;
        }

        #pdf-splitter-app .pdf-help-popover-title {
            font-weight: 700;
            color: var(--pdf-primary);
            font-size: 0.85rem;
            margin-bottom: 7px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        #pdf-splitter-app .pdf-help-popover-title i {
            font-size: 0.85rem;
        }

        #pdf-splitter-app .pdf-help-popover-body p {
            margin: 0 0 8px 0;
        }

        #pdf-splitter-app .pdf-help-popover-body p:last-child {
            margin-bottom: 0;
        }

        #pdf-splitter-app .pdf-help-popover-body ul {
            margin: 6px 0 0 0;
            padding-left: 16px;
        }

        #pdf-splitter-app .pdf-help-popover-body li {
            margin-bottom: 5px;
        }

        #pdf-splitter-app .pdf-help-popover-body li:last-child {
            margin-bottom: 0;
        }

        #pdf-splitter-app .pdf-help-popover-body strong {
            color: var(--pdf-primary);
        }

        #pdf-splitter-app .pdf-help-popover-body code {
            background: #eef3ff;
            color: var(--pdf-primary-dark);
            padding: 1px 5px;
            border-radius: 4px;
            font-size: 0.78rem;
            font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
        }

        /* Quick-select button grid */
        #pdf-splitter-app .pdf-quick-select {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        #pdf-splitter-app .pdf-quick-select .pdf-btn {
            flex: 1 1 calc(50% - 4px);
            padding: 9px 10px;
            font-size: 0.88rem;
            border-width: 2px;
        }

        #pdf-splitter-app .pdf-gallery-container {
            flex: 1;
            display: none;
            animation: pdf-fadeIn 0.4s ease;
            order: 1;
            min-width: 0;
            position: relative;
        }

        #pdf-splitter-app .pdf-gallery-container.visible {
            display: block;
        }

        #pdf-splitter-app .pdf-gallery-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 15px;
        }

        #pdf-splitter-app .pdf-gallery-title {
            color: var(--pdf-primary);
            font-size: 1.4rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* Match the status text color to the gallery title */
        #pdf-splitter-app .pdf-gallery-header .pdf-status-text {
            color: var(--pdf-primary);
        }

        #pdf-splitter-app .pdf-image-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 20px;
            max-height: 450px;
            overflow-y: auto;
            padding: 20px;
            border: 2px solid #e9ecef;
            border-radius: 12px;
            background-color: #f8f9fa;
            scroll-behavior: smooth;
            position: relative;
            min-height: 200px;
        }

        /* ============================================
           SINGLE PLAIN CIRCULAR LOADER
           ============================================ */
        #pdf-splitter-app .pdf-gallery-loader {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(248, 249, 250, 0.94);
            backdrop-filter: blur(3px);
            border-radius: 12px;
            z-index: 20;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        #pdf-splitter-app .pdf-gallery-loader.hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        #pdf-splitter-app .pdf-loader-spinner {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            border: 5px solid rgba(67, 97, 238, 0.18);
            border-top-color: var(--pdf-primary);
            animation: pdf-spin 0.85s linear infinite;
        }

        @keyframes pdf-spin {
            to { transform: rotate(360deg); }
        }

        #pdf-splitter-app .pdf-image-item {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: var(--pdf-transition);
            aspect-ratio: 1/1.4;
            background-color: white;
            border: 1px solid #0d6efd;
        }

        #pdf-splitter-app .pdf-image-item:hover {
            transform: translateY(-7px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        /* ============================================
           ENHANCED SELECTED STATE
           ============================================ */
        #pdf-splitter-app .pdf-image-item.selected {
            border: 3px solid #0d6efd;
            box-shadow:
                0 0 0 4px rgba(13, 110, 253, 0.28),
                0 10px 28px rgba(13, 110, 253, 0.35);
            transform: translateY(-4px) scale(1.02);
        }

        #pdf-splitter-app .pdf-image-item.selected::after {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(13, 110, 253, 0.12);
            pointer-events: none;
            z-index: 3;
        }

        #pdf-splitter-app .pdf-image-item.selected .pdf-image-number {
            background: #0d6efd;
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 2px 8px rgba(13, 110, 253, 0.5);
        }

        /* Checkmark badge for selected pages */
        #pdf-splitter-app .pdf-image-item .pdf-select-check {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #0d6efd;
            color: #ffffff;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            z-index: 6;
            box-shadow: 0 2px 8px rgba(13, 110, 253, 0.5);
            animation: pdf-popIn 0.2s ease;
        }

        #pdf-splitter-app .pdf-image-item.selected .pdf-select-check {
            display: flex;
        }

        @keyframes pdf-popIn {
            0% { transform: scale(0); }
            80% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }

        #pdf-splitter-app .pdf-image-item.selected .pdf-thumbnail-canvas canvas {
            opacity: 0.92;
        }

        #pdf-splitter-app .pdf-image-number {
            position: absolute;
            top: 10px;
            left: 10px;
            background: rgba(0, 102, 204, 0.9);
            color: white;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            font-weight: bold;
            z-index: 6;
        }

        #pdf-splitter-app .pdf-image-item.selected .pdf-image-number {
            background: #0d6efd;
        }

        #pdf-splitter-app .pdf-image-actions {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 10px;
            padding: 10px;
            background: #0d6efd;
            transform: translateY(100%);
            transition: transform 0.3s ease;
            z-index: 10;
        }

        #pdf-splitter-app .pdf-image-item:hover .pdf-image-actions {
            transform: translateY(0);
        }

        #pdf-splitter-app .pdf-action-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            background: white;
            color: #0d6efd;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        }

        #pdf-splitter-app .pdf-action-btn:hover {
            transform: scale(1.1);
        }

        #pdf-splitter-app .pdf-preview-btn:hover {
            background: var(--pdf-primary);
            color: white;
        }

        #pdf-splitter-app .pdf-delete-btn:hover {
            background: var(--pdf-danger);
            color: white;
        }

        /* Lightbox Styles */
        #pdf-splitter-app .lightbox-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(5px);
            z-index: 9999999 !important;
            display: flex;
            align-items: center;
            justify-content: center;
            visibility: hidden;
            opacity: 0;
            transition: all 0.3s ease;
        }

        #pdf-splitter-app .lightbox-overlay.active {
            visibility: visible;
            opacity: 1;
        }

        #pdf-splitter-app .lightbox-content {
            background: white;
            width: 90%;
            max-width: 750px;
            max-height: 85vh;
            border-radius: 10px;
            overflow: hidden;
            transform: scale(0.95);
            transition: transform 0.25s ease;
            display: flex;
            flex-direction: column;
        }

        #pdf-splitter-app .lightbox-overlay.active .lightbox-content {
            transform: scale(1);
        }

        #pdf-splitter-app .lightbox-header {
            background: linear-gradient(135deg, #0066cc, #0088ff);
            color: white;
            padding: 12px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
        }

        #pdf-splitter-app .lightbox-header h3 {
            margin: 0;
            font-weight: 700;
            color: white;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        #pdf-splitter-app .lightbox-close {
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.3);
            font-size: 1.2rem;
            font-weight: 500;
            color: white;
            cursor: pointer;
            width: 30px;
            height: 30px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s ease;
        }

        #pdf-splitter-app .lightbox-close:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }

        #pdf-splitter-app .lightbox-body {
            padding: 20px 24px;
            overflow-y: auto;
            font-size: 0.95rem;
            color: #2c3e50;
            line-height: 1.5;
            flex: 1;
        }

        #pdf-splitter-app .lightbox-body h4 {
            color: #0066cc;
            margin-top: 20px;
            margin-bottom: 10px;
            font-weight: 700;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
            border-left: 3px solid #0066cc;
            padding-left: 12px;
        }

        #pdf-splitter-app .lightbox-body h4:first-of-type {
            margin-top: 0;
        }

        #pdf-splitter-app .lightbox-body p {
            margin-bottom: 14px;
        }

        #pdf-splitter-app .lightbox-body ul,
        #pdf-splitter-app .lightbox-body ol {
            margin-bottom: 16px;
            padding-left: 24px;
        }

        #pdf-splitter-app .lightbox-body li {
            margin-bottom: 8px;
        }

        #pdf-splitter-app .comparison-grid {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 12px 16px;
            margin: 12px 0;
            overflow-x: auto;
        }

        #pdf-splitter-app .comparison-grid table {
            width: 100%;
            font-size: 0.85rem;
            border-collapse: collapse;
        }

        #pdf-splitter-app .comparison-grid th,
        #pdf-splitter-app .comparison-grid td {
            padding: 8px;
            text-align: left;
            border-bottom: 1px solid #e0e7ef;
        }

        #pdf-splitter-app .comparison-grid th {
            font-weight: 700;
            color: #0066cc;
        }

        #pdf-splitter-app .target-audience {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 10px 0 15px 0;
        }

        #pdf-splitter-app .audience-tag {
            background: #e9ecef;
            padding: 4px 12px;
            border-radius: 30px;
            font-size: 0.75rem;
            font-weight: 500;
            color: #2c3e50;
        }

        #pdf-splitter-app .audience-tag i {
            margin-right: 4px;
            font-size: 0.7rem;
            color: #0066cc;
        }

        #pdf-splitter-app .divider-light {
            height: 1px;
            background: #e0e7ef;
            margin: 16px 0;
        }

        #pdf-splitter-app .tip-text {
            background: #f0f7ff;
            padding: 10px 14px;
            border-radius: 12px;
            font-size: 0.85rem;
            margin-top: 12px;
        }

        /* Updated Preview Modal Styles */
        #pdf-splitter-app .pdf-preview-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(5px);
            z-index: 9999;
            justify-content: center;
            align-items: center;
        }

        #pdf-splitter-app .pdf-preview-content {
            position: relative;
            background: white;
            border-radius: 12px;
            padding: 0;
            max-width: 90%;
            max-height: 90vh;
            overflow: auto;
            box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
            border: 2px solid var(--pdf-primary);
            display: flex;
            flex-direction: column;
        }

        #pdf-splitter-app .pdf-preview-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0;
            padding: 15px 20px;
            border-bottom: 1px solid #e9ecef;
            background: white;
            position: sticky;
            top: 0;
            z-index: 10;
            margin-top: 0;
        }

        #pdf-splitter-app .pdf-preview-title {
            margin: 0;
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--pdf-primary);
        }

        #pdf-splitter-app .pdf-preview-close-btn {
            background: rgba(0, 102, 204, 0.15);
            border: 1px solid rgba(0, 102, 204, 0.3);
            font-size: 1.2rem;
            font-weight: 500;
            color: #0066cc;
            cursor: pointer;
            width: 34px;
            height: 34px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s ease;
        }

        #pdf-splitter-app .pdf-preview-close-btn:hover {
            background: rgba(0, 102, 204, 0.25);
            transform: rotate(90deg);
            color: #004c99;
        }

        #pdf-splitter-app .pdf-preview-canvas-container {
            padding: 20px;
            display: flex;
            justify-content: center;
            background: #f5f7fb;
        }

        #pdf-splitter-app .pdf-preview-canvas {
            max-width: 100%;
            height: auto;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        .thumbnail-loading {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            min-height: 150px;
            color: var(--pdf-primary);
        }

        /* ========== FAQ SECTION STYLES ========== */
        #pdf-splitter-app .pdf-faq-section {
            max-width: 850px;
            margin: 30px auto 10px auto;
            animation: zoomInFast 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
            transform-origin: center center;
            opacity: 0;
            animation-delay: 0.32s;
            padding: 0 10px;
        }

        #pdf-splitter-app .pdf-faq-title {
            text-align: center;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--pdf-primary);
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }

        #pdf-splitter-app .pdf-faq-title i {
            font-size: 2rem;
            color: var(--pdf-primary);
        }

        #pdf-splitter-app .pdf-faq-item {
            background: white;
            border-radius: 12px;
            margin-bottom: 12px;
            border: 1px solid #0066cc;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        #pdf-splitter-app .pdf-faq-item:hover {
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
            border-color: var(--pdf-primary);
        }

        #pdf-splitter-app .pdf-faq-question {
            width: 100%;
            padding: 16px 20px;
            background: #f8faff;
            border: none;
            font-size: 1rem;
            font-weight: 600;
            color: var(--pdf-dark);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
            font-family: inherit;
            text-align: left;
            gap: 15px;
        }

        #pdf-splitter-app .pdf-faq-question:hover {
            background: #f0f4ff;
            color: var(--pdf-primary);
        }

        #pdf-splitter-app .pdf-faq-question .pdf-faq-icon {
            font-size: 1.2rem;
            color: var(--pdf-primary);
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }

        #pdf-splitter-app .pdf-faq-question .pdf-faq-icon.rotated {
            transform: rotate(180deg);
        }

        #pdf-splitter-app .pdf-faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
            background: white;
            border-radius: 0 0 12px 12px;
        }

        #pdf-splitter-app .pdf-faq-answer.open {
            max-height: 500px;
            padding: 0 20px 20px 20px;
        }

        #pdf-splitter-app .pdf-faq-answer p {
            color: #4a5568;
            line-height: 1.7;
            font-size: 0.95rem;
            margin: 0 0 10px 0;
        }

        #pdf-splitter-app .pdf-faq-answer p:last-child {
            margin-bottom: 0;
        }

        #pdf-splitter-app .pdf-faq-answer ul {
            margin: 10px 0 0 20px;
            color: #4a5568;
            line-height: 1.7;
            font-size: 0.95rem;
        }

        #pdf-splitter-app .pdf-faq-answer ul li {
            margin-bottom: 5px;
        }

        #pdf-splitter-app .pdf-faq-answer strong {
            color: var(--pdf-primary);
        }

        @keyframes pdf-fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive Styles for Mobile (additional) */
        @media (max-width: 768px) {
            #pdf-splitter-app .pdf-split-gallery-layout {
                flex-direction: column;
            }

            #pdf-splitter-app .pdf-split-options {
                width: 100%;
                margin-top: 25px;
                order: 2;
            }

            #pdf-splitter-app .pdf-gallery-container {
                order: 1;
            }

            #pdf-splitter-app .pdf-action-buttons {
                order: 3;
                flex-direction: column;
            }

            #pdf-splitter-app .pdf-btn,
            #pdf-splitter-app .pdf-select-all-action,
            #pdf-splitter-app .pdf-clear-selection-action,
            #pdf-splitter-app .pdf-upload-another-action,
            #pdf-splitter-app .pdf-download-selected-action {
                width: 100%;
                justify-content: center;
            }

            #pdf-splitter-app .pdf-quick-select .pdf-btn {
                width: auto;
            }

            #pdf-splitter-app .pdf-help-popover {
                width: 100%;
                max-width: 100%;
            }

            #pdf-splitter-app {
                padding: 15px;
            }
            #pdf-splitter-app .pdf-app-header h1 {
                font-size: 2rem;
            }
            #pdf-splitter-app .pdf-converter-card {
                padding: 20px;
            }
            .lightbox-body {
                padding: 16px;
            }
            .lightbox-header {
                padding: 10px 16px;
            }
            .lightbox-header h3 {
                font-size: 1rem;
            }

            #pdf-splitter-app .pdf-preview-header {
                padding: 12px 16px;
            }
            #pdf-splitter-app .pdf-preview-title {
                font-size: 1.2rem;
            }
            #pdf-splitter-app .pdf-preview-canvas-container {
                padding: 16px;
            }
            #pdf-splitter-app .pdf-faq-title {
                font-size: 1.4rem;
            }
            #pdf-splitter-app .pdf-faq-question {
                font-size: 0.95rem;
                padding: 14px 16px;
            }
            #pdf-splitter-app .pdf-faq-answer p {
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {
            #pdf-splitter-app .pdf-app-header h1 {
                font-size: 1.8rem;
            }
            #pdf-splitter-app .upload-area {
                padding: 25px 15px;
                margin: 15px;
            }
            .comparison-grid table {
                font-size: 0.75rem;
            }
            .comparison-grid th,
            .comparison-grid td {
                padding: 4px 6px;
            }
            #pdf-splitter-app .pdf-faq-title {
                font-size: 1.2rem;
            }
            #pdf-splitter-app .pdf-faq-question {
                font-size: 0.9rem;
                padding: 12px 14px;
            }
        }/* End custom CSS */