/* 文档页：左侧问题目录 + 右侧解决说明 */
body {
    background: #eee;
}

.navigation {
    background-color: #fff;
    box-shadow: 0 3px 6px 3px rgb(0 0 0 / 6%);
}

.doc-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 100px 15px 0;
    box-sizing: border-box;
}

.doc-container-body {
    display: flex;
    width: 100%;
    border: 1px solid #c7cdd6;
    background: #f5f6f7;
    box-shadow: 0 1px 3px #ccc;
}

.doc-sidebar {
    width: 250px;
    flex: 0 0 250px;
    min-height: calc(100vh - 110px);
    background: #fff;
    border-right: 1px solid #c7cdd6;
    display: flex;
    flex-direction: column;
}

.doc-sidebar-box {
    width: 100%;
    background: #fff;
}

.doc-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 24px;
    text-align: center;
    padding: 12px 10px;
    background: #c1d9f8;
    border-bottom: 1px solid #c7cdd6;
}

.doc-sidebar-box + .doc-sidebar-box .doc-sidebar-title {
    border-top: 1px solid #c7cdd6;
}

.doc-group-list {
    list-style: none;
    margin: 4px 0 8px;
    padding: 0;
}

.doc-group-list li a {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    color: #4d4d4d;
    line-height: 22px;
    padding: 9px 14px;
    text-decoration: none;
}

.doc-group-list li a i {
    font-size: 14px;
    margin-right: 8px;
    margin-top: 3px;
    color: #b5b5b5;
}

.doc-group-list li a span {
    flex: 1;
}

.doc-group-list li a:hover {
    color: #3561ff;
    background: #f5f8ff;
}

.doc-group-list li.active a {
    color: #3561ff;
    background: #f0f4ff;
    font-weight: 600;
}

.doc-group-list li.active a i {
    color: #3561ff;
}

.doc-main {
    flex: 1;
    min-width: 0;
    background: #fff;
    padding: 28px 32px 40px;
}

.doc-main-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #eff1f5;
}

.doc-main-top h1 {
    width: 100%;
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 36px;
    color: #1a1a1a;
    text-align: center;
}

.doc-breadcrumb {
    margin-top: 6px;
    font-size: 13px;
    line-height: 22px;
    color: #999;
}

.doc-breadcrumb a {
    color: #8c8c8c;
    text-decoration: none;
}

.doc-breadcrumb a:hover {
    color: #3561ff;
}

.doc-main-button {
    padding-top: 4px;
    margin: 0 auto 8px;
    text-align: center;
}

.doc-action-btn {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    padding: 0 24px;
    background: #3561ff;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
}

.doc-action-btn:hover {
    background: #2b52e0;
    color: #fff;
}

.doc-article-lists ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e6e6e6;
}

.doc-article-lists li {
    position: relative;
    padding: 10px 0;
    list-style: none;
}

.doc-article-lists li.active:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 3px;
    background: #3561ff;
}

.doc-article-lists li a {
    color: #000;
    font-size: 16px;
    line-height: 22px;
    text-decoration: none;
}

.doc-article-lists li a:hover,
.doc-article-lists li.active a {
    color: #3561ff;
}

.doc-article-content {
    margin-top: 22px;
    color: #333;
    font-size: 15px;
    line-height: 30px;
    word-wrap: break-word;
}

.doc-article-content p {
    margin: 0 0 14px;
}

.doc-article-content h2 {
    margin: 26px 0 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    color: #1a1a1a;
}

.doc-article-content h3 {
    margin: 18px 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
}

.doc-article-content ul,
.doc-article-content ol {
    margin: 0 0 14px;
    padding-left: 22px;
}

.doc-article-content li {
    line-height: 28px;
}

.doc-article-content a {
    color: #3561ff;
    text-decoration: none;
}

.doc-article-content blockquote {
    margin: 14px 0;
    padding: 10px 14px;
    border-left: 3px solid #3561ff;
    background: #f5f8ff;
    color: #4d4d4d;
}

.doc-article-content code {
    padding: 1px 5px;
    background: #f7f9fc;
    color: #e81600;
    border-radius: 3px;
}

@media (max-width: 992px) {
    .doc-container {
        padding-top: 84px;
    }

    .doc-container-body {
        flex-direction: column;
    }

    .doc-sidebar {
        width: 100%;
        flex: none;
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid #c7cdd6;
    }

    .doc-main {
        padding: 20px 16px 32px;
    }

    .doc-main-top h1 {
        font-size: 22px;
        line-height: 32px;
    }
}
