/* Docs Layout */
.docs-layout {
    display: flex;
    min-height: calc(100vh - 80px);
    /* Adjust based on main header height */
    margin-top: 0;
    /* Assuming global padding handled by container or similar, but docs might be full width */
}

/* Sidebar */
.docs-sidebar {
    width: 250px;
    background: rgba(var(--bg-secondary-rgb), 0.5);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1rem;
    position: sticky;
    top: 80px;
    /* Below main header */
    height: calc(100vh - 80px);
    overflow-y: auto;
    flex-shrink: 0;
}

.docs-brand h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.nav-group {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-header {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.docs-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.95rem;
    display: block;
}

.docs-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.docs-nav a.active {
    background: rgba(88, 101, 242, 0.1);
    color: var(--primary-color);
    font-weight: 500;
}

/* Content */
.docs-content {
    flex: 1;
    padding: 3rem 4rem;
    max-width: 1000px;
}

.docs-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.docs-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.docs-content h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.docs-content p,
.docs-content li {
    line-height: 1.7;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.docs-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Code Blocks */
.docs-content code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-size: 0.9em;
    color: #e3e5e8;
}

.docs-content pre {
    background: #1e1f22;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.docs-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* Mobile */
@media (max-width: 768px) {
    .docs-layout {
        flex-direction: column;
    }

    .docs-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .docs-content {
        padding: 2rem 1.5rem;
    }
} 
 
 
 
