
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    display: flex;
    height: 100vh;
}

#docs-nav {
    width: 280px;
    border-right: 1px solid #e0e0e0;
    padding: 20px;
    background-color: #f9f9f9;
    overflow-y: auto;
    flex-shrink: 0;
}

#docs-nav h2 {
    margin-top: 0;
    font-size: 1.2em;
    color: #111;
}

#docs-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#docs-nav > ul > li {
    margin-bottom: 5px;
}

#docs-nav ul li a {
    display: block;
    padding: 8px 10px;
    text-decoration: none;
    color: #0073aa;
    border-radius: 4px;
    font-weight: 600;
}

#docs-nav ul li a:hover {
    background-color: #e9e9e9;
}

/* --- Indented Tree Structure --- */

/* The nested list container */
#docs-nav ul ul {
    padding-left: 20px; /* This creates the space for the indentation */
    margin-top: 5px;
    margin-bottom: 10px;
}

/* The sub-item links */
#docs-nav ul ul li a {
    font-size: 0.9em;
    font-weight: 400; /* Lighter font weight for sub-items */
    color: #333;
    padding: 6px 10px;
    border-left: 3px solid #d0d0d0; /* Visual indicator for the layer */
    border-radius: 0; /* Remove radius for a cleaner line */
}

#docs-nav ul ul li a:hover {
    color: #0073aa;
    background-color: #e9e9e9;
    border-left-color: #0073aa; /* Highlight the indicator on hover */
}


#docs-content {
    flex-grow: 1;
    padding: 30px;
    overflow-y: auto;
}

h1, h2, h3, h4 {
    color: #111;
    font-weight: 600;
}

code {
    background-color: #f0f0f0;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 0.95em;
}

pre {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

table th {
    background-color: #f5f5f5;
}
