/* 智能模板容器 - 采用flex布局 */
.znmb {
    height: 100%;
    padding: 20px 0 0 0;
}
/*.znmb .search-box{*/
/*   height: 40px;*/
/*    padding: 10px;*/
/*}*/

.znmb .search-box {
    width: calc(100% - 40px);
    margin-left: 20px;
    display: flex;
    align-items: center;
    background-color: white;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    /*flex: 1;*/
    margin-right: 20px;
}
.znmb .search-box:hover {
    border-color: #3b82f6;
}
.znmb .search-box:focus-within {
    border-color: #3b82f6;
}

.znmb .search-box input {
    font-size: 14px !important;
    border: none;
    background: white;
    outline: none;
    flex: 1;
    margin-left: 10px;
}

.znmb .icon-sousuo4 {
    color: rgba(0,0,0,0.7);
}

.znmb_body_PC{
    width: 100%;
    margin-top: 10px;
    height: calc(100vh - 60px);
    padding-bottom: 30px;
    overflow: auto;
}

.PC_category_content{
    padding: 0 20px 0 20px;
    /*padding: 20px;*/
}

.PC_category_content>div{
    margin: 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.PC_category_content>ul{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.PC_category_content>ul>li{
    cursor: pointer;
    padding: 20px;
    /*background-color: #f1f1f1;*/
    /*background-color: rgba(59, 130, 246, 0.05);*/
    background-color: #f9f9f9;
    /*background-color: rgba(240,245,253,1);*/
    /*max-width: 280px;*/
    border-radius: 10px;
    border: 1px solid #f9f9f9;
    transition: all 0.2s ease;
}

.znmb_content  li:hover,.PC_category_content li:hover{
    /*border: 1px solid #3b82f6;*/
    /*border: 1px solid #b2cdf9;*/
    border: 1px solid rgba(59, 130, 246, 0.15);
    background-color: white;
    box-shadow: 0 0 10px 3px #f1f1fd;
}

.PC_category_content>ul>li img{
    width: 50px;
    height: 50px;
}
.PC_category_content ul>li>div:last-child p:last-child {
    /*height: 20px;*/
    font-size: 14px;
    color: gray;
}



/* 内容区域样式 */



/* 响应式设计 */
@media (max-width: 768px) {
    /*.container {*/
    /*    height: calc(100vh - 43px) !important;*/
    /*}*/
    /*.main-content {*/
    /*    height: calc(100vh - 43px) !important;*/
    /*}*/


    /* 智能模板容器 - 采用flex布局 */
    .znmb {
        padding: 10px;
        padding-top: 0;
        padding-bottom: 60px;
        height: 100%;
        /*margin-top: -10px;*/
        display: flex;
        flex-direction: column;
    }
    /*.znmb .search-box{*/
    /*   height: 40px;*/
    /*    padding: 10px;*/
    /*}*/

    .znmb .search-box {
        margin-left: 0;
        width: 100%;
        margin-top: 10px;
        display: flex;
        align-items: center;
        background-color: white;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 20px;
        /*flex: 1;*/
        margin-right: 20px;
        margin-bottom: 5px;
    }

    .znmb .search-box:focus-within {
        border-color: #3b82f6;
    }

    .znmb .search-box input {
        border: none;
        background: white;
        outline: none;
        flex: 1;
        margin-left: 10px;
    }



    .znmb_body{
        display: flex;
        flex: 1;
        overflow-y: scroll;
    }

    /* 侧边栏样式 */
    .znmb_sider {
        position: fixed;
        /*padding-top: 10px;*/
        left: 5px;
        top: 55px;
        z-index: 1;
        width: 7em;
        height: 100%;
        /*background: white;*/
        /*box-shadow: 0 2px 5px rgba(0,0,0,0.1);*/
    }

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

    .znmb_sider li {
        height: 40px;
        line-height: 40px;
        text-align: center;
        cursor: pointer;
        transition: all 0.2s;
        position: relative;
        color: #64748b;
    }


    .znmb_sider li:hover {
        background: #f8fafc;
        color: #3b82f6;
    }

    /* 选中状态指示 */
    .znmb_sider li.active1 {
        color: #3b82f6;
    }
    /*.znmb_sider li[selected] {*/
    /*    color: #3b82f6;*/
    /*    background: #f8fafc;*/
    /*    font-weight: 500;*/
    /*}*/

    /*.znmb_sider li[selected]::before {*/
    /*    content: '';*/
    /*    position: absolute;*/
    /*    left: 0;*/
    /*    top: 0;*/
    /*    height: 100%;*/
    /*    width: 3px;*/
    /*    background: #3b82f6;*/
    /*}*/

    /* 内容区域样式 */

    .znmb_content{
        margin-top: 10px;
        flex: 1;
        /*height: calc(100vh - 43px);*/
        margin-left: 6.5em;
        overflow-y: auto;
    }
    .znmb_content ul {
        display: grid;
        gap: 15px;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .znmb_content li {
        display: flex;
        background: white;
        border-radius: 8px;
        padding: 10px;
        list-style: none;
        box-shadow: 0 1px 4px rgba(0,0,0,0.03);
        transition: transform 0.2s;
        cursor: pointer;
    }

    /*.znmb_content li:hover {*/
    /*    flex-direction: column;*/
    /*    transform: translateY(-2px);*/
    /*    box-shadow: 0 4px 8px rgba(59,130,246,0.15);*/
    /*}*/

    .znmb_content ul>li>div:first-child {
        width: 40px;
        height: 40px;
    }


    .znmb_content img {
        width: 40px;
        height: 40px;
        object-fit: contain;
        border-radius: 4px;
    }

    .znmb_content ul>li>div:last-child {
        padding-left: 10px;
        flex: 1;
        /*height: 40px;*/
    }

    .znmb_content ul>li>div:last-child p:first-child {
        /*height: 20px;*/
    }
    .znmb_content ul>li>div:last-child p:last-child {
        /*height: 20px;*/
        font-size: 12px;
        color: gray;
    }


}