.docs-layout {
    display: flex;
    min-height: calc(100vh - 200px);
}

.sidebar {
    width: 250px;
    background: #f5f7fa;
    padding: 2rem 0;
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.sidebar-nav {
    padding: 0 1rem;
}

.nav-section {
    margin-bottom: 2rem;
}

.nav-section h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.sidebar-nav a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.2s;
}

.sidebar-nav a:hover {
    background: #e3e8ef;
}

.sidebar-nav a.active {
    background: #0052cc;
    color: white;
}

.docs-content {
    flex: 1;
    padding: 2rem 3rem;
    max-width: 900px;
}

.docs-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0052cc;
}

.docs-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #172b4d;
}

.docs-content h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #172b4d;
}

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

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

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

.docs-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.docs-content code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.docs-content p code, .docs-content li code {
    background: #f5f7fa;
    color: #e01e5a;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.875rem;
}

.docs-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.docs-content table th,
.docs-content table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e3e8ef;
}

.docs-content table th {
    background: #f5f7fa;
    font-weight: 600;
}

.docs-content table code {
    background: #e3e8ef;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
}

.note {
    background: #e3f2fd;
    border-left: 4px solid #0052cc;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .docs-layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: static;
        height: auto;
    }
    
    .docs-content {
        padding: 1rem;
    }
}
