/* docs/style.css */
@import url('../style.css');

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
}

.docs-container {
    display: flex;
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding-top: var(--nav-height);
}

.docs-sidebar {
    width: 250px;
    flex-shrink: 0;
    border-right: 1px solid var(--border);
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    background-color: var(--bg-dark);
    /* Match background */
    position: sticky;
    top: var(--nav-height);
    height: calc(100vh - var(--nav-height));
    overflow-y: auto;
}

.docs-sidebar h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.docs-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.docs-sidebar li {
    margin-bottom: 0.5rem;
}

.docs-sidebar a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

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

.docs-sidebar a.active {
    color: var(--accent);
    background-color: rgba(59, 130, 246, 0.1);
    font-weight: 500;
}

.docs-content {
    flex: 1;
    padding: 3rem 4rem;
    max-width: 800px;
    box-sizing: border-box;
}

.docs-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.docs-content h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.docs-content h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.docs-content p {
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.docs-content ul,
.docs-content ol {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.docs-content li {
    margin-bottom: 0.5rem;
}

.docs-content code {
    font-family: 'JetBrains Mono', monospace;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--text-primary);
}

.docs-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--accent);
    background-color: rgba(59, 130, 246, 0.05);
    border-radius: 0 8px 8px 0;
}

.docs-content blockquote p {
    margin: 0;
    color: var(--text-primary);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .docs-container {
        flex-direction: column;
    }

    .docs-sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 1.5rem;
    }

    .docs-content {
        padding: 2rem 1.5rem;
    }
}