.docs-layout {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 20px;
    gap: 3rem;
}

.sidebar {
    flex: 0 0 250px;
    position: sticky;
    top: 80px;
    height: fit-content;
}

.docs-nav h3 {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 1.5rem 0 0.5rem;
}

.docs-nav h3:first-child {
    margin-top: 0;
}

.docs-nav ul {
    list-style: none;
    margin-bottom: 1rem;
}

.docs-nav ul li {
    margin-bottom: 0.25rem;
}

.docs-nav ul li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.docs-nav ul li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.docs-nav ul li a.active {
    background: var(--primary-color);
    color: white;
}

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

.docs-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.docs-content h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

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

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

.docs-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.docs-content ul,
.docs-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

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

.docs-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.docs-content a:hover {
    text-decoration: underline;
}

.docs-content code {
    background: var(--bg-light);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.docs-content pre {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.docs-content pre code {
    background: none;
    padding: 0;
}

.note, .tip, .warning {
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin: 1.5rem 0;
    border-left: 4px solid;
}

.note {
    background: #e7f3ff;
    border-color: #2196F3;
}

.tip {
    background: #e8f5e9;
    border-color: #4CAF50;
}

.warning {
    background: #fff3cd;
    border-color: #ff9800;
}

.help-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.help-section h2 {
    margin-top: 0;
    border-bottom: none;
}

.nav-brand a {
    text-decoration: none;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .docs-layout {
        flex-direction: column;
    }
    
    .sidebar {
        position: static;
    }
}
