/*!
 * 项目名称: 星瀚元图书馆集群管理系统
 * Copyright (c) 2026 广州星瀚元计算机科技有限公司. All rights reserved.
 * 
 * 本源代码为商业专有软件，未经授权禁止复制、分发、反编译。
 * 公司官网:http://www.xinghy.cn
 * 授权咨询电话:18922497946
 * 授权咨询邮箱:wuxing2722@qq.com
 * @version 1.0
 * @date 2026-09-21
 */

.container {
    max-width: 900px;
}


/* 自定义按钮 */
.btn-tech {
    color: white;
    border: none;
}

.btn-tech:hover {
    background-color: #0042b0;
    color: white;
}


/* 占位内容用于测试滚动 */
.content-section {
    padding: 100px 20px;
    margin: 20px auto;
    max-width: 1200px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #0052D9;
}

.content-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

#content-wrapper .navbar-brand {
    color: rgb(0, 82, 217);
}


.m-center-title {
    margin-top: 3rem;
}

.m-center-title .gradient-title {
    font-size: 3rem;
}

@media (max-width: 768px) {
    .m-center-title .gradient-title {
        font-size: 2rem;
    }
}

.m-center-title .mx-2 {
    font-size: 1.15rem;
    color: #9CA3AF;
}

.m-search-btnlist {
    flex-wrap: wrap;
    border-bottom: 1px solid #F9FAFB;
}

.m-search-btnlist .btn {
    border: 0;
    background-color: #FFFFFF;
    color: #6B7280;
    font-size: 1rem;
    font-weight: 500;
}

.m-search-btnlist .btn:hover {
    color: #0052D9 !important;
}

.m-search-btnlist .btn:focus {
    border: 0 !important;
    box-shadow: none !important;
}

.m-search-btnlist .active {
    background-color: #EFF6FF !important;
    color: #0052D9 !important;
}

.m-search {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
    transition-duration: 500ms;
    border-radius: 32px;
}

.m-search:hover {
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 82, 217, 0.3) 0px 0px 15px 0px;
}

.m-search .input-group input, .m-search .input-group select, .m-search .input-group button {
    font-size: 1.15rem;
}

.m-search .input-group .input-group-prepend button {
    font-weight: normal;
    color: #6B7280;
    font-size: 1.1rem;
}

.m-docnum h3 {
    font-size: 2.2rem;
}

.m-docnum {
    font-size: 0.75rem;
}

.m-docnum .text-secondary {
    font-size: 0.9rem;
}

.m-advsearch {
    font-weight: 500;
}


.m-hotword a {
    padding: 0.4rem 1rem;
    border: 1px solid #E2E8F0;
    background-color: #FFFFFF;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
    color: rgb(0, 82, 217);

}

.m-hotword a:hover {
    background-color: #EFF6FF;
}

.m-search-book {
    margin-top: 2rem;
    width: 80%;
}

.page-searchbook {
    background-color: #F8FAFC;
}

.page-searchbook main {
    width: 80%;
    margin: 0 auto;
    display: flex;
}

.page-searchbook main .m-slide {
    flex: 0 0 24%;
}

@media (max-width: 480px) {
    .page-searchbook main .m-slide {
        display: none;
    }
}

.page-searchbook main .m-datalist {
    flex: 0 0 76%;
    padding: 0.2rem 2rem 2rem 2rem;
    background-color: #FFFFFF;
    border-radius: 1rem;
}

@media (max-width: 480px) {
    .page-searchbook main .m-datalist {
        flex: 0 0 100%;
    }
}

.books-sidebar {
    margin-right: 2rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    height: 100%;
    position: sticky;
    top: 2rem;
}

.sidebar-header {
    display: flex;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.sidebar-header h4 {
    color: #4D4D4D;
    font-weight: 500;
    font-size: 1.3rem;
    margin: 0;
}

.sidebar-icon {
    background-color: rgba(52, 168, 83, 0.1);
    color: #34a853;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.book-item {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
    cursor: pointer;
}

.book-item:hover {
    background-color: #f8f9fa;
    padding-left: 0.5rem;
    border-radius: 6px;
}

.book-item:last-child {
    border-bottom: none;
}

.book-title, .book-title a {
    font-weight: 600;
    color: #4D4D4D;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.book-author {
    font-size: 0.9rem;
    color: #5f6368;
    margin-bottom: 0.25rem;
}

.book-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #80868b;
}

.badge-new {
    background-color: #ea4335;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: 500;
}

.m-datalist .pagination-info {
    color: #4D4D4D;
    font-size: 1.2rem;
}

.m-datalist .pagination-info b {
    font-weight: 600;
}

.m-datalist .card-views {
    font-size: 1rem;
    transition: all 0.6s;
}

.m-datalist .card-views:hover {
    padding: 1rem 0.2rem;
    border-radius: 8px;
}

.m-datalist .card-views .zhaiyao {
    margin: 1rem 0;
    font-size: 1.1rem;
}

.m-datalist .card-views p {
    margin-bottom: 0.2rem;
}

.m-datalist .card-views label {
    margin-bottom: 0;
}

.m-datalist .no-records-found {
    font-size: 1.5rem;
    font-weight: 600;
}

.page-searchbook-cate  main{
    padding: 20px 0;
}

.page-searchbook-cate  main .m-slide{
    flex: 0 0 30%;
}

.page-searchbook-cate  main .m-slide form{
    padding: 20px 20px 40px 20px;
    margin-right: 20px;
    border-radius: 10px;
    background-color: #FFFFFF;
    font-size: 1.1rem;
}

.page-searchbook-cate  main .m-slide form a{
    font-size: 1.25rem;
}

.page-searchbook-cate  main .m-datalist{
    flex: 0 0 70%;
}

@media (max-width: 480px) {
    .page-searchbook-cate  main .m-slide{
        display: block;
        flex: 0 0 100%;
    }

    .page-searchbook-cate  main .m-datalist{
        flex: 0 0 100%;
    }
}

.page{
    height: 100%;
    min-height: 100%;
}

.page #content-wrapper{
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.page #content-wrapper nav {
    flex: 0 0 56px;
}

.page #content-wrapper header {
    flex: 0 0 137px;
}

.page #content-wrapper main{
    flex: 1 0 auto;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.page #content-wrapper footer {
    flex: 0 0 68px;
}