        :root {
            --bg-color: #ffffff;
            --text-color: #333333;
            --sidebar-bg: #f7f7f7;
            --sidebar-border: #e0e0e0;
            --link-color: #0066cc;
            --code-bg: #f4f4f4;
            --inline-code-bg: #eee;
        }

        body.dark-mode {
            --bg-color: #1a1a1a;
            --text-color: #e0e0e0;
            --sidebar-bg: #252525;
            --sidebar-border: #333333;
            --link-color: #66b3ff;
            --code-bg: #2d2d2d;
            --inline-code-bg: #444;
        }

        body {
            font-family: system-ui, -apple-system, sans-serif;
            margin: 0;
            background-color: var(--bg-color);
            color: var(--text-color);
            display: flex;
            min-height: 100vh;
            transition: background-color 0.3s, color 0.3s;
        }

        .sidebar {
            width: 260px;
            background-color: var(--sidebar-bg);
            border-right: 1px solid var(--sidebar-border);
            padding: 20px;
            display: flex;
            flex-direction: column;
            flex-shrink: 0;
            height: 100vh;
            position: sticky;
            top: 0;
            box-sizing: border-box;
            overflow-y: auto;
        }

        .sidebar img {
            width: 100%;
            max-width: 150px;
            height: auto;
            margin-bottom: 20px;
            border-radius: 8px;
        }

        .sidebar button {
            margin-bottom: 20px;
            background: none;
            cursor: pointer;
            border: none;
            font-size: 40px;
            background-color: transparent;
        }

        .sidebar h2 { font-size: 1.2rem; margin: 0 0 10px 0; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }
        .sidebar ul { list-style: none; padding: 0; }
        .sidebar li { margin-bottom: 8px; }
        .sidebar a { text-decoration: none; color: var(--text-color); transition: color 0.2s; }
        .sidebar a:hover { color: var(--link-color); }
        
        /* Highlight the active page link */
        .sidebar a.active { font-weight: bold; color: var(--link-color); }

        .content { flex: 1; padding: 40px 60px; max-width: 900px; }

        h1 { border-bottom: 2px solid var(--sidebar-border); padding-bottom: 10px; margin-top: 0; }
        h2 { border-bottom: 2px solid var(--sidebar-border); padding-bottom: 10px; margin-top: 0; }
        h3 { margin-top: 30px; margin-bottom: 10px; }
        p { line-height: 1.6; }
        
        /* Custom styling for the parameter lists */
        ul.params-list li {
            margin-bottom: 10px;
            line-height: 1.5;
        }

        ul.dot-list li {
            list-style-type: circle;
            margin-bottom: 10px;
            line-height: 1.5;
        }
        li.dot{
            list-style-type: circle;
            margin-bottom: 10px;
            line-height: 1.5;
        }
        
        /* Inline Code styling */
        code:not([class*="language-"]) {
            background-color: var(--inline-code-bg);
            padding: 2px 6px;
            border-radius: 4px;
            font-family: monospace;
            font-size: 0.9em;
        }

        @media (max-width: 768px) {
            body { flex-direction: column; }
            .sidebar { width: 100%; height: auto; position: relative; border-right: none; border-bottom: 1px solid var(--sidebar-border); }
            .content { padding: 20px; }
        }