body{
    margin: unset;
    background-color: #f0f0f0;
    transition: 0.5s;
}

.docs_top{
    width: 100vw;
    height: 7vh;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    background-color: white;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 999;
}
.jz_box{
    margin: auto;
    display: flex;
}
.title_box{
    width: 30%;
    height: 100%;
    display: flex;
}
.title_box img{
    height: 100%;
}
.title_box p{
    margin-top: auto;
    margin-bottom: auto;
    color:#0077b3;
    font-size: 1.5em;
    margin-left: 10px;
}
.select_box{
    width: 60%;
    height: 100%;
    display: flex;
}
.custom-select {
    margin: auto;
    position: relative;
    width: 60%;
    height: 100%;
    font-family: Arial, sans-serif;
    cursor: pointer;
}

.selected-option {
    width: 60%;
    display: flex;
    align-items: center;
    height: 100%;
    /* border: 1px solid #ccc;
    border-radius: 4px; */
    /* background-color: white; */
}

.selected-option img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.selected-option span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.options-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px; /* 比选择框宽以显示完整文本 */
    max-height: 0;
    overflow: hidden;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: max-height 0.3s ease;
    z-index: 1000;
}

.options-container.show {
    max-height: 500px; /* 足够大的值以容纳所有选项 */
    border: 1px solid #ccc;
}

.option {
    display: flex;
    align-items: center;
    padding: 10px;
    height: 5vh;
    border-bottom: 1px solid #eee;
}

.option:last-child {
    border-bottom: none;
}

/* .option:hover {
    background-color: #f5f5f5;
} */

.option img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.top_right{
    width: 30%;
}

.select_box {
    transition: all 0.3s ease;
    /* padding: 8px; */
    border-radius: 8px;
    cursor: pointer;
}

.select_box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    background-color: #f9f9f9;
}
.theme_box{
    width: 100vw;
    height: 33vh;
    background-color: white;
    display: flex;
}
.theme_main{
    width: 80%;
    max-height: 40vh;
    margin: auto;
    min-height: 60vh;
}
.topic_box{
    width: 100vw;
    display: flex;
    min-height: 60vh;
}
.topic_main{
    width: 60%;
    display: flex;
    margin: auto;
    flex-wrap: wrap;

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* 自适应列宽 */
    gap: 20px; /* 卡片之间的间距 */
    margin: 20px auto;
    padding: 0 10px;
}
.topic{
    width: 40vh;
    height: 25vh;
    /* padding: 5vh; */
    background-color: white;
    /* border-radius: 5vh; */
    /* margin: 5vh; */

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* 自适应列宽 */
    gap: 20px; /* 卡片之间的间距 */
    margin: 20px auto;
    padding: 0 10px;

    background-color: white;
    border-radius: 12px;
    /* padding: 24px; */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}
.topic:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.topic h3 {
    color: #0077b3;
    margin-bottom: 12px;
    font-size: 1.25em;
}

.topic p {
    color: #555;
    font-size: 0.95em;
    line-height: 1.5;
}

.topic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(to right, #0077b3, #00b4d8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.topic:hover::before {
    opacity: 1;
}

.topic:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.docs_page{
    width: 100%;
    height: 93vh;
}

.ml_box{
    width: 20vw;
    height: 90%;
    padding: 2vh;
    background-color: white;
    overflow: scroll;
}
.ml_box p{
    cursor: pointer;
    text-decoration: none;
}
.read_box{
    width: 60vw;
    height: 95%;
}
.index_showBox{
    width: 20vw;
    height: 90%;
    overflow: scroll;
    background-color: white;
}
.read_box iframe{
    width: 60vw;
    /* height: 85vh; */
}
.read_box {
    position: relative;
}

#read_iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.loading-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
    z-index: 10;
    display: none; /* 默认隐藏 */
}

.docs_page#main_page {
    display: flex;
    justify-content: space-between; /* 元素之间留白 */
    align-items: stretch; /* 高度一致 */
    padding: 2vh;
    gap: 2vw; /* 各模块间间隔 */
}

.ml_box,
.index_showBox {
    width: 20vw;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow-y: auto;
    padding: 16px;
    transition: all 0.3s ease;
}

.ml_box:hover,
.index_showBox:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.read_box {
    width: 58vw;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.read_box iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.ml_box p,
.index_showBox p {
    color: #a6a6a6;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    margin: 8px 0;
    transition: color 0.2s ease;
}

.ml_box p:hover,
.index_showBox p:hover {
    color: #005f8d;
}

#index_showBox {
    /* padding: 16px; */
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#index_showBox p {
    color: #666;
    font-size: 0.95em;
    margin: 6px 0;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border-left: 3px solid transparent;
    padding-left: 8px;
}

#index_showBox p:hover {
    color: #0077b3;
    background-color: #eef6fb;
    border-left-color: #0077b3;
    padding-left: 10px;
}
.topic_cBox{
    width: 100%;
    height: 4vh;
    display: flex;
    margin-bottom: 2vh;
    cursor: pointer;
}
.topic_cBox img{
    height: 100%;
}
.topic_cBox h1{
    /* height: 100%; */
    margin-left: 1vw;
    margin-top: auto;
    margin-bottom: auto;
    font-size: 3vh;
}

