.help-detail-container {
    display: flex;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 20px;
    min-height: calc(100vh - 60px);
    gap: 20px;
}

/* 左侧边栏 */
.help-sidebar {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    background: #fff;
    height: calc(100vh - 100px);
    margin-top: 20px;
}

/* 搜索框容器 */
.search-box {
    margin: 20px;
    padding-bottom: 15px;
    /* border-bottom: 1px solid #e0e0e0; */
}

/* 搜索框输入框 */
.search-box input {
    width: 100%;
    height: 36px;
    padding: 0 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.search-box input:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

/* 目录树容器 */
.menu-tree-container {
    flex: 1;
    overflow: hidden;
}

/* 目录树 */
.menu-tree {
    height: 100%;
    overflow-y: auto;
    padding: 0 20px;
}

/* 目录列表 */
.menu-tree ul {
    list-style: none;
    padding-left: 20px;
    margin: 0;
}

.menu-tree>ul {
    padding-left: 0;
}

/* 目录项 */
.menu-tree li {
    margin: 4px 0;
    position: relative;
}

.menu-tree a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s;
    word-break: break-all;
    line-height: 1.4;
}

/* 章节标题样式 */
.menu-tree li>a[data-id^="chapter"] {
    font-weight: 500;
    color: #1a1a1a;
}

/* 当前选中项 */
.menu-tree li.active>a {
    color: #1890ff;
    background-color: #e6f7ff;
    border-right: 3px solid #1890ff;
}

/* 鼠标悬停效果 */
.menu-tree a:hover {
    color: #1890ff;
    background-color: #f5f5f5;
}

/* 自定义滚动条 */
.menu-tree::-webkit-scrollbar {
    width: 6px;
}

.menu-tree::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.menu-tree::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.menu-tree::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* 右侧内容区 */
.help-content {
    flex: 1;
    min-width: 0;
    /* 防止flex子项溢出 */
    padding: 0 20px;
}

.breadcrumb {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #1890ff;
}

.breadcrumb i {
    margin: 0 8px;
    font-size: 12px;
}

.help-content h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.article-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 30px;
}

.article-content {
    line-height: 1.8;
    color: #333;
}

.article-content h2 {
    font-size: 20px;
    color: #333;
    margin: 30px 0 15px;
    font-weight: 500;
}

.article-content p {
    margin-bottom: 16px;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.nav-item a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.nav-item a:hover {
    color: #1890ff;
}

.nav-item i {
    margin: 0 4px;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .help-detail-container {
        flex-direction: column;
    }

    .help-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .menu-tree {
        height: auto;
        max-height: 300px;
    }
}