.editor-container {
            background: #fefefe;
            border-radius: 12px;
            box-shadow: 0 4px 14px rgba(0,0,0,0.03);
            border: 1px solid #e2e8f0;
            overflow: hidden;
            margin: 1.5rem 0;
        }
        .editor-top {
            border-bottom: 1px solid #e2e8f0;
        }
        .editor-header {
            background: #f8fafc;
            padding: 0.75rem 1rem;
            border-bottom: 1px solid #e2e8f0;
            font-weight: 600;
            color: #1e293b;
        }
        .editor-textarea {
            width: 100%;
            border: none;
            padding: 1.2rem;
            font-family: 'SF Mono', 'Menlo', 'Monaco', 'Cascadia Code', monospace;
            font-size: 0.9rem;
            resize: vertical;
            background: #ffffff;
            color: #0f172a;
            line-height: 1.6;
            outline: none;
            min-height: 350px;
        }
        .preview-pane {
            background-color: #ffffff;
            overflow-y: auto;
            padding: 1.2rem;
            min-height: 400px;
            max-height: 600px;
        }
        .preview-pane h1, .preview-pane h2, .preview-pane h3 {
            margin-top: 1.2rem;
            margin-bottom: 0.75rem;
            font-weight: 600;
        }
        .preview-pane p {
            margin-bottom: 1rem;
            line-height: 1.6;
        }
        .preview-pane code {
            background-color: #f1f5f9;
            padding: 0.2rem 0.4rem;
            border-radius: 6px;
            font-family: monospace;
            font-size: 0.85rem;
        }
        .preview-pane pre {
            background: #1e293b;
            color: #e2e8f0;
            padding: 1rem;
            border-radius: 10px;
            overflow-x: auto;
        }
        .preview-pane blockquote {
            border-left: 4px solid #3b82f6;
            background: #f1f5f9;
            padding: 0.75rem 1rem;
            margin: 1rem 0;
            font-style: italic;
        }
        .preview-pane table {
            border-collapse: collapse;
            width: 100%;
            margin: 1rem 0;
        }
        .preview-pane th, .preview-pane td {
            border: 1px solid #cbd5e1;
            padding: 0.5rem;
        }
        .preview-pane img {
            max-width: 100%;
            border-radius: 8px;
        }
        .toolbar-group {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 0.75rem 0 0.5rem 0;
            align-items: center;
        }
        .markdown-btn {
            background: #f1f5f9;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            padding: 0.3rem 0.7rem;
            font-size: 0.8rem;
            cursor: pointer;
            transition: 0.1s;
        }
        .markdown-btn:hover {
            background: #e2e8f0;
            transform: translateY(-1px);
        }
        .stats-badge {
            font-size: 0.8rem;
            background: #eef2ff;
            border-radius: 30px;
            padding: 0.25rem 0.8rem;
            color: #1e40af;
        }
        .syntax-card {
            background-color: #fafcff;
            border-radius: 14px;
            border: 1px solid #dce5f0;
            padding: 1.25rem;
            margin-top: 1.5rem;
        }
        .example-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
        }
        .example-tag {
            background: white;
            border: 1px solid #b9d0f0;
            border-radius: 40px;
            padding: 0.3rem 1rem;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.1s;
        }
        .example-tag:hover {
            background-color: #eef4ff;
            border-color: #3b82f6;
        }
        .section-title-custom {
            font-size: 1.5rem;
            font-weight: 600;
            border-left: 5px solid #2c7da0;
            padding-left: 1rem;
            margin: 1.8rem 0 1rem 0;
        }
        @media (max-width: 768px) {
            .editor-textarea {
                min-height: 250px;
            }
        }