        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f0f2f5;
            color: #1a1a1a;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
        }

        /* Breadcrumb Navigation */
        .breadcrumb {
            text-align: center;
            margin-bottom: 1rem;
            font-size: 0.85rem;
        }

        .breadcrumb a {
            color: #6366f1;
            text-decoration: none;
        }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

        .breadcrumb .separator {
            color: #9ca3af;
            margin: 0 0.5rem;
        }

        .container {
            max-width: 1200px;
            width: 95%;
            margin: 2rem auto;
            padding: 2rem;
            background: white;
            border-radius: 16px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
        }

        /* SEO Content Section Styles */
        .seo-section {
            width: 90%;
            max-width: 800px;
            margin-bottom: 2rem;
            padding: 2rem;
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }

        .seo-section h2 {
            color: #1f2937;
            margin-top: 2rem;
        }

        .seo-section h3 {
            color: #374151;
            margin-top: 1.5rem;
        }

        .seo-section p {
            text-align: left;
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .seo-section ul,
        .seo-section ol {
            padding-left: 1.5rem;
            text-align: left;
            line-height: 1.6;
        }

        .seo-section li {
            margin-bottom: 0.5rem;
        }

        .faq-item {
            margin-bottom: 1rem;
            border-bottom: 1px solid #f3f4f6;
            padding-bottom: 1rem;
        }

        .faq-question {
            font-weight: 600;
            color: #111827;
            margin-bottom: 0.5rem;
        }

        .faq-answer {
            color: #4b5563;
        }

        h1 {
            color: #2563eb;
            margin-bottom: 0.5rem;
            text-align: center;
        }

        p {
            color: #4b5563;
            margin-bottom: 2rem;
            text-align: center;
        }

        /* Tabs */
        .tab-nav {
            display: flex;
            border-bottom: 1px solid #e5e7eb;
            margin-bottom: 1.5rem;
        }

        .tab-btn {
            padding: 0.75rem 1.5rem;
            border: none;
            background: none;
            cursor: pointer;
            font-weight: 500;
            color: #6b7280;
            border-bottom: 2px solid transparent;
            transition: all 0.2s;
        }

        .tab-btn:hover {
            color: #2563eb;
        }

        .tab-btn.active {
            color: #2563eb;
            border-bottom-color: #2563eb;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        /* Upload Area */
        .upload-area {
            border: 2px dashed #9ca3af;
            border-radius: 8px;
            padding: 2rem;
            text-align: center;
            cursor: pointer;
            transition: border-color 0.2s;
            margin-bottom: 1.5rem;
        }

        .upload-area:hover {
            border-color: #2563eb;
        }

        .upload-area.dragging {
            border-color: #2563eb;
            background-color: #eff6ff;
        }

        /* Controls */
        .controls {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .control-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        label {
            font-size: 0.875rem;
            font-weight: 500;
            color: #374151;
        }

        select,
        input {
            padding: 0.5rem;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            font-size: 0.875rem;
        }

        button {
            background-color: #2563eb;
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 6px;
            font-weight: 500;
            cursor: pointer;
            width: 100%;
            transition: background-color 0.2s;
        }

        button:hover {
            background-color: #1d4ed8;
        }

        .pdf-nav button {
            background: white;
            color: #4b5563;
        }

        .pdf-nav button.active {
            background: #3b82f6;
            color: white;
            border-color: #3b82f6;
        }

        .editor-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 1rem;
            margin: 1rem 0;
            padding: 10px;
            background: #f9fafb;
            border-radius: 8px;
            min-height: 150px;
        }

        .page-thumb {
            background: white;
            border: 1px solid #ddd;
            padding: 5px;
            text-align: center;
            cursor: grab;
            position: relative;
            border-radius: 4px;
        }

        .page-thumb.dragging {
            opacity: 0.5;
        }

        .page-thumb canvas {
            width: 100%;
            height: auto;
            border: 1px solid #eee;
        }

        .page-thumb .del-btn {
            position: absolute;
            top: 2px;
            right: 2px;
            background: red;
            color: white;
            border: none;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            font-size: 12px;
            cursor: pointer;
            line-height: 18px;
        }

        button:disabled {
            background-color: #9ca3af;
            cursor: not-allowed;
        }

        /* Lists */
        .file-list-container {
            margin-bottom: 1rem;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            padding: 0.5rem;
            max-height: 200px;
            overflow-y: auto;
            display: none;
            /* Hidden by default */
        }

        .file-list-container.has-files {
            display: block;
        }

        .file-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem;
            border-bottom: 1px solid #f3f4f6;
            font-size: 0.875rem;
        }

        .file-item:last-child {
            border-bottom: none;
        }

        .file-name {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            max-width: 70%;
        }

        .remove-file {
            color: #ef4444;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
            width: auto;
            font-size: 1.2rem;
            line-height: 1;
        }

        /* Results */
        .results-list {
            margin-top: 1.5rem;
        }

        .result-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #f9fafb;
            padding: 1rem;
            border-radius: 6px;
            margin-bottom: 0.5rem;
            border: 1px solid #e5e7eb;
        }

        .result-info {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }

        .result-status {
            font-size: 0.75rem;
            font-weight: 600;
        }

        .result-status.success {
            color: #047857;
        }

        .result-status.error {
            color: #b91c1c;
        }

        .result-status.pending {
            color: #d97706;
        }

        .download-btn {
            background-color: #059669;
            width: auto;
            padding: 0.5rem 1rem;
            text-decoration: none;
            font-size: 0.875rem;
            display: inline-block;
            text-align: center;
            color: white;
            border-radius: 6px;
        }

        .download-btn:hover {
            background-color: #047857;
        }

        /* General Status Global */
        .system-status {
            display: none;
            margin-top: 1rem;
            text-align: center;
            font-size: 0.875rem;
            color: #6b7280;
        }

        /* AdSense Containers */
        .ad-container {
            width: 100%;
            margin: 0.5rem auto;
            text-align: center;
            display: block;
        }

        .ad-container ins {
            display: block;
            width: 100%;
        }

        .ad-header {
            margin-top: 0.25rem;
            margin-bottom: 0.5rem;
        }

        .ad-footer {
            margin-top: 1rem;
            margin-bottom: 0.5rem;
        }

        @media (max-width: 768px) {
            .ad-container {
                max-width: 100%;
                min-height: 60px;
            }
        }

        /* Footer */
        footer {
            margin-top: auto;
            padding: 2rem;
            background-color: white;
            width: 100%;
            border-top: 1px solid #e5e7eb;
        }

        .footer-content {
            max-width: 800px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
        }

        .footer-col h4 {
            color: #2563eb;
            margin-bottom: 1rem;
        }

        .footer-col ul {
            list-style: none;
            padding: 0;
        }

        .footer-col li {
            margin-bottom: 0.5rem;
        }

        .footer-col a {
            color: #4b5563;
            text-decoration: none;
            font-size: 0.875rem;
        }

        .footer-col a:hover {
            color: #2563eb;
            text-decoration: underline;
        }

        /* Progress Bar */
        .progress-container {
            width: 100%;
            background-color: #e5e7eb;
            border-radius: 999px;
            height: 8px;
            margin-bottom: 1rem;
            display: none;
            overflow: hidden;
        }

        .progress-bar {
            height: 100%;
            background-color: #2563eb;
            width: 0%;
            transition: width 0.3s ease;
        }

        /* Spinner for individual items */
        .spinner {
            width: 16px;
            height: 16px;
            border: 2px solid #e5e7eb;
            border-top: 2px solid #2563eb;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            display: inline-block;
            margin-right: 0.5rem;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* Renaming Grid Default */
        .renaming-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 10px;
        }

        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            .container {
                padding: 1rem;
                width: 95%;
                max-width: 100%;
            }

            h1 {
                font-size: 2rem;
            }

            .tools-grid {
                grid-template-columns: 1fr;
            }

            .renaming-grid {
                grid-template-columns: 1fr;
            }

            .pdf-nav {
                flex-wrap: wrap;
                justify-content: center;
            }

            .pdf-nav button {
                width: 100%;
                margin-bottom: 0.5rem;
            }

            .input-group,
            .control-group {
                width: 100%;
            }

            input[type="text"],
            input[type="file"],
            select {
                font-size: 16px;
            }

            /* Prevent zoom on iOS */


            .editor-grid {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            }
        }

        /* JSON Tree Viewer */
        .json-tree {
            background: #1e1e1e;
            color: #d4d4d4;
            padding: 10px;
            border-radius: 6px;
            font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
            font-size: 14px;
            overflow-x: auto;
            margin-top: 10px;
            border: 1px solid #333;
            max-width: 100%;
            box-sizing: border-box;
            white-space: pre-wrap;
            /* Ensure everything wraps by default */
        }

        .json-tree details {
            margin-left: 20px;
        }

        .json-tree summary {
            cursor: pointer;
            outline: none;
            list-style: none;
        }

        .json-tree summary::-webkit-details-marker {
            display: none;
        }

        .json-tree summary::before {
            content: '▶';
            color: #858585;
            font-size: 10px;
            margin-right: 6px;
            display: inline-block;
            transform: rotate(0deg);
            transition: transform 0.1s;
        }

        .json-tree details[open]>summary::before {
            transform: rotate(90deg);
        }

        .json-key {
            color: #9cdcfe;
            white-space: pre-wrap;
            word-break: break-all;
        }

        .json-string {
            color: #ce9178;
            white-space: pre-wrap;
            word-break: break-all;
        }

        .json-number {
            color: #b5cea8;
        }

        .json-boolean {
            color: #569cd6;
        }

        .json-null {
            color: #569cd6;
        }

        .json-punct {
            color: #d4d4d4;
        }