/* Scoped styles to prevent conflicts */
        .json-formatter-page .page-header {
            background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
            color: white;
            text-align: center;
            padding: 60px 20px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }

        .json-formatter-page .page-header h1 {
            font-size: 3.5em;
            font-weight: 700;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        }

        .json-formatter-page .page-header p {
            font-size: 1.3em;
            opacity: 0.95;
        }

        .json-formatter-page .page-container {
            max-width: 1400px;
            margin: -40px auto 0;
            padding: 0 20px 40px;
        }

        .json-formatter-page .main-card {
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.2);
            overflow: hidden;
            margin-bottom: 40px;
        }

        .json-formatter-page .workspace {
            display: grid;
            grid-template-columns: 1fr 320px;
            min-height: 600px;
        }

        .json-formatter-page .editors-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            background: #f8f9fa;
            gap: 1px;
        }

        .json-formatter-page .editor-container {
            background: #ffffff;
            display: flex;
            flex-direction: column;
        }

        .json-formatter-page .editor-header {
            background: #2c3e50;
            color: white;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 3px solid #1abc9c;
        }

        .json-formatter-page .editor-title {
            font-size: 16px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .json-formatter-page .editor-stats {
            font-size: 13px;
            color: #95a5a6;
            font-family: 'Courier New', monospace;
        }

        .json-formatter-page .editor-wrapper {
            flex: 1;
            display: flex;
            position: relative;
            background: #282c34;
            height: 500px;
            overflow: hidden;
        }

        .json-formatter-page .line-numbers {
            background: #21252b;
            color: #636d83;
            padding: 20px 15px;
            font-family: 'Monaco', 'Menlo', 'Consolas', 'Courier New', monospace;
            font-size: 14px;
            line-height: 1.6;
            text-align: right;
            user-select: none;
            min-width: 60px;
            border-right: 2px solid #1abc9c;
            overflow-y: hidden;
            white-space: pre;
        }

        .json-formatter-page .code-editor {
            flex: 1;
            background: #282c34;
            color: #abb2bf;
            border: none;
            padding: 20px;
            font-family: 'Monaco', 'Menlo', 'Consolas', 'Courier New', monospace;
            font-size: 14px;
            line-height: 1.6;
            resize: none;
            outline: none;
            overflow: auto;
            white-space: pre;
            word-wrap: normal;
            tab-size: 4;
        }

        .json-formatter-page .code-editor::placeholder {
            color: #5c6370;
        }

        .json-formatter-page .code-editor::-webkit-scrollbar {
            width: 10px;
            height: 10px;
        }

        .json-formatter-page .code-editor::-webkit-scrollbar-track {
            background: #21252b;
        }

        .json-formatter-page .code-editor::-webkit-scrollbar-thumb {
            background: #1abc9c;
            border-radius: 5px;
        }

        .json-formatter-page .code-editor::-webkit-scrollbar-thumb:hover {
            background: #16a085;
        }

        .json-formatter-page .sidebar {
            background: linear-gradient(180deg, #1abc9c 0%, #16a085 100%);
            padding: 30px 25px;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .json-formatter-page .btn {
            width: 100%;
            padding: 16px 20px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            background: white;
            color: #1abc9c;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .json-formatter-page .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.15);
            background: #f8f9fa;
        }

        .json-formatter-page .btn:active {
            transform: translateY(0);
        }

        .json-formatter-page .select-wrapper {
            position: relative;
        }

        .json-formatter-page .select-wrapper select {
            width: 100%;
            padding: 14px 16px;
            border: none;
            border-radius: 8px;
            font-size: 15px;
            background: white;
            color: #2c3e50;
            cursor: pointer;
            font-weight: 500;
            appearance: none;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .json-formatter-page .select-wrapper::after {
            content: '▼';
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #1abc9c;
            pointer-events: none;
        }

        .json-formatter-page .checkbox-container {
            background: rgba(255,255,255,0.2);
            padding: 15px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            cursor: pointer;
        }

        .json-formatter-page .checkbox-container input[type="checkbox"] {
            width: 20px;
            height: 20px;
            cursor: pointer;
            margin-right: 12px;
        }

        .json-formatter-page .checkbox-container label {
            color: white;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            flex: 1;
        }

        .json-formatter-page .alert {
            padding: 15px 20px;
            margin: 20px;
            border-radius: 8px;
            font-weight: 500;
            display: none;
            animation: slideDown 0.3s ease;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .json-formatter-page .alert.show {
            display: block;
        }

        .json-formatter-page .alert-success {
            background: #d4edda;
            color: #155724;
            border-left: 4px solid #28a745;
        }

        .json-formatter-page .alert-error {
            background: #f8d7da;
            color: #721c24;
            border-left: 4px solid #dc3545;
        }

        .json-formatter-page .info-card {
            background: white;
            border-radius: 15px;
            padding: 50px 40px;
            margin-bottom: 30px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        }

        .json-formatter-page .info-card h2 {
            color: #1abc9c;
            font-size: 2.5em;
            margin-bottom: 25px;
            border-bottom: 4px solid #1abc9c;
            padding-bottom: 15px;
            display: inline-block;
        }

        .json-formatter-page .info-card h3 {
            color: #2c3e50;
            font-size: 1.6em;
            margin: 30px 0 15px;
        }

        .json-formatter-page .info-card p {
            line-height: 1.8;
            color: #555;
            font-size: 1.1em;
            margin-bottom: 20px;
        }

        .json-formatter-page .info-card ul {
            margin: 20px 0 20px 30px;
        }

        .json-formatter-page .info-card li {
            margin-bottom: 15px;
            line-height: 1.7;
            color: #555;
            font-size: 1.05em;
        }

        .json-formatter-page .info-card strong {
            color: #1abc9c;
            font-weight: 600;
        }

        .json-formatter-page .faq-grid {
            display: grid;
            gap: 25px;
        }

        .json-formatter-page .faq-box {
            background: #f8f9fa;
            padding: 30px;
            border-radius: 10px;
            border-left: 5px solid #1abc9c;
            transition: all 0.3s ease;
        }

        .json-formatter-page .faq-box:hover {
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transform: translateX(5px);
        }

        .json-formatter-page .faq-box h3 {
            color: #2c3e50;
            margin: 0 0 15px 0;
            font-size: 1.4em;
        }

        .json-formatter-page .faq-box p {
            margin: 0;
        }

        .json-formatter-page .page-footer {
            text-align: center;
            padding: 40px 20px;
            background: #f8f9fa;
            color: #555;
            font-size: 15px;
            border-radius: 10px;
        }

        .json-formatter-page input[type="file"] {
            display: none;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .json-formatter-page .workspace {
                grid-template-columns: 1fr;
            }

            .json-formatter-page .editors-wrapper {
                grid-template-columns: 1fr;
            }

            .json-formatter-page .sidebar {
                padding: 25px 20px;
            }

            .json-formatter-page .page-header h1 {
                font-size: 2.5em;
            }
        }

        @media (max-width: 768px) {
            .json-formatter-page .page-header {
                padding: 40px 20px;
            }

            .json-formatter-page .page-header h1 {
                font-size: 2em;
            }

            .json-formatter-page .page-header p {
                font-size: 1.1em;
            }

            .json-formatter-page .info-card {
                padding: 30px 20px;
            }

            .json-formatter-page .info-card h2 {
                font-size: 2em;
            }

            .json-formatter-page .page-container {
                padding: 0 10px 20px;
            }

            .json-formatter-page .btn {
                padding: 14px 16px;
                font-size: 15px;
            }
        }

        @media (max-width: 480px) {
            .json-formatter-page .page-header h1 {
                font-size: 1.8em;
            }

            .json-formatter-page .editor-header {
                padding: 12px 15px;
            }

            .json-formatter-page .editor-title {
                font-size: 14px;
            }

            .json-formatter-page .line-numbers {
                min-width: 45px;
                padding: 15px 10px;
                font-size: 12px;
            }

            .json-formatter-page .code-editor {
                font-size: 13px;
                padding: 15px;
            }
        }