.help-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.help-sidebar {
    width: 250px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 85px;
    height: fit-content;
}

.help-sidebar h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.document-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category {
    font-weight: 600;
    color: #666;
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.document-item {
    margin-bottom: 8px;
}

.document-item a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.document-item a:hover {
    background-color: #e9ecef;
    color: #007bff;
}

.help-content {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.help-toc {
    width: 200px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 85px;
    height: fit-content;
    max-height: calc(100vh - 105px);
    overflow-y: auto;
}

.help-toc h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: 8px;
}

.toc-item a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 13px;
    line-height: 1.4;
}

.toc-item a:hover {
    background-color: #e9ecef;
    color: #007bff;
}

.toc-item a.active {
    background-color: #007bff;
    color: #fff;
}

.no-toc {
    color: #999;
    font-style: italic;
    padding: 10px 12px;
    font-size: 13px;
}

.help-content h1 {
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.markdown-content {
    line-height: 1.6;
    color: #333;
}

.markdown-content h2 {
    margin-top: 30px;
    margin-bottom: 20px;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.markdown-content h3 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: #555;
    font-size: 16px;
    font-weight: 600;
}

.markdown-content p {
    margin-bottom: 15px;
}

.markdown-content ul,
.markdown-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.markdown-content li {
    margin-bottom: 8px;
}

.markdown-content code {
    background-color: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #d63384;
}

.markdown-content pre {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 15px;
}

.markdown-content pre code {
    background-color: transparent;
    padding: 0;
    color: #333;
}

.markdown-content blockquote {
    border-left: 4px solid #007bff;
    padding-left: 15px;
    margin: 15px 0;
    color: #666;
    font-style: italic;
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.markdown-content th,
.markdown-content td {
    border: 1px solid #dee2e6;
    padding: 10px;
    text-align: left;
}

.markdown-content th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.markdown-content a {
    color: #007bff;
    text-decoration: none;
}

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

.document-item a.active {
    background-color: #007bff;
    color: #fff;
}

.no-documents {
    color: #999;
    font-style: italic;
    padding: 10px 12px;
}

.update-time {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    color: #666;
    font-size: 14px;
    text-align: right;
}

@media (max-width: 992px) {
    .help-container {
        flex-direction: column;
    }
    
    .help-sidebar {
        width: 100%;
        position: static;
    }
    
    .help-content {
        width: 100%;
    }
    
    .help-toc {
        display: none;
    }
}