.docs-body {
    padding-top: 5rem;
}

.docs-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.sidebar {
    position: sticky;
    top: 7rem;
    height: fit-content;
}

.sidebar-list {
    list-style: none;
}

.sidebar-item {
    margin-bottom: 0.5rem;
}

.sidebar-item a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.sidebar-item.active a,
.sidebar-item a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.docs-content {
    max-width: 800px;
}

.docs-content section {
    margin-bottom: 5rem;
}

.docs-content h1 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.docs-content p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.docs-content code {
    background: rgba(255, 255, 255, 0.07);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    color: var(--primary);
}

.code-block {
    background: #0f172a;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid var(--glass-border);
}

.code-block pre {
    padding: 0;
}

@media (max-width: 768px) {
    .docs-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }
}