.rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.btn-favorite {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.btn-favorite .glyphicon {
    font-size: 16px;
}

.btn-favorite-active {
    background: linear-gradient(135deg, #a62c36 0%, #8a252d 100%);
    color: #fff !important;
    border-color: #a62c36;
    box-shadow: 0 2px 8px rgba(166, 44, 54, 0.3);
}

.btn-favorite-active:hover {
    background: linear-gradient(135deg, #8a252d 0%, #6e1e24 100%);
    box-shadow: 0 4px 12px rgba(166, 44, 54, 0.4);
    transform: translateY(-2px);
}

.btn-favorite-active:active {
    transform: translateY(0);
}

.btn-favorite-inactive {
    background: #f8f9fa;
    color: #666;
    border-color: #e0e0e0;
}

.btn-favorite-inactive:hover {
    background: #fff;
    color: #a62c36;
    border-color: #a62c36;
    box-shadow: 0 2px 8px rgba(166, 44, 54, 0.15);
    transform: translateY(-2px);
}

.btn-favorite-inactive:active {
    transform: translateY(0);
}

.borderless-bottom {
    border-bottom: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.borderless-top {
    border-top: none !important;
}

.table-header-card {
    background: #fff;
    overflow: hidden;
    padding: 12px 20px;
    border-top: 1px solid #a62c36;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.table-header-card .table-title {
    font-size: 16px;
    padding-left: 10px;
    color: #333;
    font-weight: 500;
}

.table-header-card .view-all-link {
    color: #a62c36;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.table-header-card .view-all-link:hover {
    color: #8a252d;
}

.table-header-card .view-all-link .glyphicon {
    font-size: 12px;
}

.rank-list li {
    display: flex;
    align-items: center;
    padding: 2px 4px;
    margin-bottom: 8px;
    background: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.rank-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(32, 96, 170, 0.15);
    border-color: #2060AA;
}

.rank-list li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    margin-right: 12px;
    font-size: 14px;
    background: #f5f5f5;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rank-list li:nth-child(1) span {
    color: #90232c;
    box-shadow: 0 2px 6px rgba(144, 35, 44, 0.2);
}

.rank-list li:nth-child(2) span {
    color: #a62c36;
    box-shadow: 0 2px 6px rgba(192, 192, 192, 0.2);
}

.rank-list li:nth-child(3) span {
    color: #CD7F32;
    box-shadow: 0 2px 6px rgba(205, 127, 50, 0.2);
}

.rank-list li a {
    flex: 1;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.rank-list li:hover a {
    color: #2060AA;
}

.rank-list li a:hover {
    color: #2060AA;
    text-decoration: none;
}

.td-bg {
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1.0), rgba(255, 255, 255, 0.8));
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1);
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
}

.table-title {
    font-size: 16px;
    padding-left: 1rem;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: #2060AA;
    text-decoration: none;
}

.view-all-link .glyphicon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.view-all-link:hover .glyphicon {
    transform: translateX(3px);
}

.footer-container {
    background: #f8f9fa;
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
}

.footer-container .tac {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.footer-container .tac a {
    color: #666 !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-container .tac a:hover {
    color: #8a1f28;
    text-decoration: underline;
}

.footer-container .tac span {
    color: #a62c36;
    font-weight: 600;
    padding: 0 4px;
}

/* ==================== 图书详情页信息卡片样式 ==================== */
.info-card {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
}

.info-card-header {
    padding: 12px 20px;
    border-top: 1px solid #a62c36;
}

.info-card-title {
    font-size: 16px;
    display: inline-block;
    padding-left: 10px;
}

.info-card-body {
    padding: 20px;
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}

.info-card-body p {
    margin: 0;
    text-indent: 2em;
}

.catalog-content {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

.catalog-content::-webkit-scrollbar {
    width: 6px;
}

.catalog-content::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}

.catalog-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.catalog-content::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* 空状态样式 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #999;
}

.empty-state .glyphicon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state p {
    margin: 0;
    font-size: 14px;
    color: #999;
    text-indent: 0 !important;
}

/* 表格滚动区域样式 */
.table-wrapper {
    max-height: 400px;
    overflow-y: auto;
}

.table-wrapper::-webkit-scrollbar {
    width: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* 馆藏信息 Tab 标签美化 */
.info-card .nav-tabs {
    background: #fff;
    border: none;
    border-bottom: 1px solid #a62c36;
    padding: 0 20px;
    margin-bottom: 0;
}

.info-card .nav-tabs>li {
    margin-bottom: 0;
}

.info-card .nav-tabs>li>a {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 20px;
    border: none;
    border-radius: 0;
    background: transparent;
    transition: all 0.3s ease;
}

.info-card .nav-tabs>li>a:hover {
    background: #f5f5f5;
    color: #333;
    border: none;
}

.info-card .nav-tabs>li.active>a,
.info-card .nav-tabs>li.active>a:hover,
.info-card .nav-tabs>li.active>a:focus {
    background: #fff;
    color: #a62c36;
    font-weight: 600;
    border: none;
    border-radius: 4px 4px 0 0;
    margin-top: 0;
}

/* 馆藏信息 Tab 标签美化（nav-tab-thr） */
.info-card .nav-tab-thr {
    background: #fff;
    border: none;
    border-bottom: 2px solid #e8e8e8;
    padding: 0 20px;
    margin-bottom: 0;
}

.info-card .nav-tab-thr>li {
    margin-bottom: 0;
}

.info-card .nav-tab-thr>li>a {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 20px;
    border: none;
    border-radius: 0;
    background: transparent;
    transition: all 0.3s ease;
}

.info-card .nav-tab-thr>li>a:hover {
    background: #f5f5f5;
    color: #333;
    border: none;
}

.info-card .nav-tab-thr>li.active>a,
.info-card .nav-tab-thr>li.active>a:hover,
.info-card .nav-tab-thr>li.active>a:focus {
    background: #fff;
    color: #a62c36;
    font-weight: 600;
    border: none;
    border-radius: 4px 4px 0 0;
    margin-top: 0;
}

/* ==================== search_full_result.jsp 页面美化 ==================== */

.navbar-er {
    border-bottom: 1px solid #e8e8e8;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.navbar-er .nav {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-er .nav>li {
    display: inline-flex;
    align-items: center;
}

.navbar-er .labelA {
    color: #333;
    font-weight: 600;
    font-size: 15px;
}

.navbar-er .labelB {
    color: #999;
    margin: 0;
    font-size: 14px;
}

.navbar-er .labelC {
    color: #333;
    font-weight: 600;
    font-size: 15px;
}

.navbar-er .form-group.options .dropdown {
    height: 35px;
    line-height: 35px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    padding: 0 12px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s ease;
    position: relative;
    z-index: 10;
}

.navbar-er .form-group.options .dropdown:hover {
    border-color: #999;
}

.navbar-er .form-group.options .dropdown div {
    background: #fff;
    border: 1px solid #ddd;
    border-top: 1px solid #eee;
    border-radius: 0 0 4px 4px;
    opacity: 1;
    z-index: 1000;
    position: absolute;
    top: 100%;
    left: -1px;
    right: -1px;
    min-height: auto;
    height: auto;
}

.navbar-er .form-group.options .dropdown li {
    padding: 8px 12px;
    color: #333;
}

.navbar-er .form-group.options .dropdown li:hover,
.navbar-er .form-group.options .dropdown li.focus {
    background: #2060AA;
    color: #fff;
}

.navbar-er .input-group {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    background: #fff;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}

.navbar-er .input-group .input-group-addon {
    border-radius: 0;
    border: none;
    background: transparent;
}

.navbar-er .input-group .input-group-addon:first-child {
    border-radius: 4px 0 0 4px;
}

.navbar-er .input-group .input-group-addon:last-child {
    border-radius: 0 4px 4px 0;
}

.search-select {
    height: 35px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease;
    outline: none;
}

.search-select:hover {
    border-color: #999;
}

.search-select:focus {
    border-color: #2060AA;
    box-shadow: 0 0 0 2px rgba(32, 96, 170, 0.1);
}
/* 
.navbar-er #keyword {
    height: 35px;
    font-size: 14px;
    border: none;
    border-radius: 0;
    padding: 0 15px;
    box-shadow: none;
    background: transparent;
} */

.navbar-er #keyword:focus {
    box-shadow: none;
    outline: none;
}

.navbar-er .search {
    height: 35px;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    background-color: #2060AA;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border: none;
    transition: background-color 0.2s ease;
}

.navbar-er .search:hover {
    background-color: #1a5090;
}

.navbar-er .dp {
    position: relative;
    cursor: pointer;
    padding: 0;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.navbar-er .dp:hover {
    background: #e8e8e8;
}

.navbar-right .dp .dropdown-toggle {
    margin-left: 0;
    padding: 6px;
}

.navbar-er .dp img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

.navbar-er .dp #shelf_num {
    font-weight: 600;
}

.navbar-er .dropdown-menu.imprt {
    padding: 8px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-er .dropdown-menu.imprt li {
    padding: 8px 15px;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.navbar-er .dropdown-menu.imprt li:hover {
    background: #f5f5f5;
}

.navbar-er .dropdown-menu.imprt#bookshelf {
    max-height: 400px;
    overflow-y: auto;
}

.navbar-er .dropdown-menu.imprt#bookshelf li {
    padding: 12px 15px;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-er .dropdown-menu.imprt#bookshelf li:last-child {
    border-bottom: none;
}

.navbar-er .dropdown-menu.imprt#bookshelf li:hover {
    background: #f0f0f0;
    color: #2060AA;
}

.navbar-er .dropdown-menu.imprt#bookshelf .delete {
    color: #999;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.navbar-er .dropdown-menu.imprt#bookshelf .delete:hover {
    color: #a62c36;
    background: rgba(166, 44, 54, 0.1);
}

.container-fluid.box {
    padding: 0 15px;
    background: #f9f9f9;
    min-height: 600px;
}

.container-fluid.box .row {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.container-fluid.box .search-sidebar .table-bordered {
    border: none;
    margin: 0;
}

.container-fluid.box .search-sidebar .table-bordered>thead>tr>th {
    background: #fff;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 15px;
    border: none;
}

.container-fluid.box .search-sidebar .table-bordered>tbody>tr>td {
    padding: 15px;
    border: none;
    border-bottom: 1px solid #f0f0f0;
}

.container-fluid.box .search-sidebar .table-bordered>tbody>tr:last-child>td {
    border-bottom: none;
}

.container-fluid.box .search-sidebar .search-range {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container-fluid.box .search-sidebar .search-range li {
    padding: 8px 12px;
    margin-bottom: 6px;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    position: relative;
    overflow: hidden;
}

.container-fluid.box .search-sidebar .search-range li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, #a62c36 0%, #8a252d 100%);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container-fluid.box .search-sidebar .search-range li:hover {
    background: linear-gradient(135deg, rgba(166, 44, 54, 0.08) 0%, rgba(138, 37, 45, 0.05) 100%);
    color: #a62c36;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(166, 44, 54, 0.15);
}

.container-fluid.box .search-sidebar .search-range li:hover::before {
    transform: scaleY(1);
}

.container-fluid.box .search-sidebar .search-range li a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    transition: color 0.3s ease;
}

.container-fluid.box .search-sidebar .search-range li:hover a {
    color: #a62c36;
}

.container-fluid.box .search-sidebar #class-map {
    padding: 10px;
}

.container-fluid.box .search-sidebar #class-map ul.search-range {
    display: inline;
    padding: 0;
    margin: 0;
}

.class-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-top: 12px;
    padding-bottom: 5px;
    border-image-slice: 1;
    position: relative;
    display: inline-block;
}

.container-fluid.box .search-sidebar #class-map ul.search-range li {
    display: inline-block;
    padding: 4px 8px;
    margin: 0 4px;
    width: auto;
    background: transparent;
}

.container-fluid.box .search-sidebar #class-map ul.search-range li:hover {
    background: linear-gradient(135deg, rgba(166, 44, 54, 0.08) 0%, rgba(138, 37, 45, 0.05) 100%);
}

.container-fluid.box .search-main .hd {
    padding: 20px 25px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-top: none;
}

.pic {
    border-right: 1px solid #e8e8e8;
    border-left: 1px solid #e8e8e8;
}

.container-fluid.box .search-main .hd .list-inline {
    margin: 0;
    padding: 0;
    text-align: left;
}

.container-fluid.box .search-main .hd .list-inline>li {
    font-size: 14px;
    line-height: 1.8;
}

.container-fluid.box .search-main .hd .list-inline>li:first-child {
    margin-right: 40px;
}

.container-fluid.box .search-main .hd .list-inline>li select {
    height: 32px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
    margin-left: 8px;
}

.container-fluid.box .search-main .hd .list-inline>li select:focus {
    outline: none;
    border-color: #2060AA;
    box-shadow: 0 0 0 2px rgba(32, 96, 170, 0.1);
}

.container-fluid.box .search-main .hd #sid-text {
    color: #2060AA;
    font-weight: 600;
    font-size: 14px;
}

.container-fluid.box .search-main .hd .keyword {
    color: #333;
    font-weight: 600;
    font-size: 15px;
    margin: 0 4px;
}

.container-fluid.box .search-main .hd #total_result {
    color: #2060AA;
    font-weight: 700;
    font-size: 18px;
    margin: 0 4px;
}

.container-fluid.box .search-main .hd #total_result0 {
    color: #999;
    font-size: 13px;
    margin-left: 10px;
    font-weight: 400;
}

.container-fluid.box .search-main .hd #changelist {
    cursor: pointer;
    transition: opacity 0.2s ease;
    vertical-align: middle;
}

.container-fluid.box .search-main .hd #changelist:hover {
    opacity: 0.8;
}

.container-fluid.box .search-main .hd .col-md-4 {
    text-align: right;
    font-size: 14px;
    color: #666;
    padding-top: 5px;
}

.container-fluid.box .search-main .pic {
    padding: 20px;
}

.container-fluid.box .search-main .book-list {
    border: none;
    margin: 0;
}

.container-fluid.box .search-main .book-list>tbody>tr>td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.container-fluid.box .search-main .book-list>tbody>tr:last-child>td {
    border-bottom: none;
}

.container-fluid.box .search-info .book-menu-hd {
    padding: 12px 15px;
    background: #f5f5f5;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
}

.container-fluid.box .search-info .book-menu-hd img {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.container-fluid.box .search-info .book-recommend-hd,
.book-recommend-hd {
    padding: 10px 15px;
    background: #fff;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    border-bottom: none;
    margin-top: 15px;
}

.container-fluid.box .search-info .book-recommend,
.book-recommend {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container-fluid.box .search-info .book-recommend li,
.book-recommend li {
    padding: 8px 0;
    color: #333;
    font-size: 13px;
    border-bottom: 1px solid #f5f5f5;
}

.container-fluid.box .search-info .book-recommend li:last-child,
.book-recommend li:last-child {
    border-bottom: none;
}

.container-fluid.box .search-info .book-recommend li a,
.book-recommend li a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.container-fluid.box .search-info .book-recommend li a:hover,
.book-recommend li a:hover {
    color: #2060AA;
}

.container-fluid.box .search-info #jylist-ul {
    list-style: none;
    padding: 10px 15px;
    margin: 0;
}

.container-fluid.box .search-info #jylist-ul li {
    padding: 8px 0;
    color: #333;
    font-size: 13px;
    border-bottom: 1px solid #f5f5f5;
}

.container-fluid.box .search-info #jylist-ul li:last-child {
    border-bottom: none;
}

.container-fluid.box .search-info #jylist-ul li span {
    color: #2060AA;
    font-weight: 600;
    margin-right: 5px;
}

.pagination-style {
    padding: 20px;
    text-align: center;
}

.pagination-style .pagination>li>a,
.pagination-style .pagination>li>span {
    color: #333;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    margin: 0 3px;
    transition: all 0.2s ease;
}

.pagination-style .pagination>li>a:hover,
.pagination-style .pagination>li>span:hover {
    background: #f5f5f5;
    border-color: #999;
}

.pagination-style .pagination>.active>a,
.pagination-style .pagination>.active>span {
    background: #2060AA;
    border-color: #2060AA;
    color: #fff;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state .glyphicon {
    font-size: 48px;
    color: #ccc;
    display: block;
    margin-bottom: 15px;
}

.empty-state p {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.modal-content {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: none;
}

.modal-header {
    background: #f5f5f5;
    border-bottom: 1px solid #e8e8e8;
    border-radius: 8px 8px 0 0;
}

.modal-title {
    color: #333;
    font-weight: 600;
}

.modal-body {
    padding: 20px;
}

/* ==================== 文本列表样式 (toTxt) ==================== */
.tableList {
    transition: background-color 0.2s ease;
}

.tableList:hover {
    background-color: #f8f9fa;
}

.tableList td {
    padding: 16px 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    font-size: 14px;
    color: #333;
}

.tableList:last-child td {
    border-bottom: none;
}

.tableList td span {
    color: #2060AA;
    font-weight: 600;
    margin-right: 5px;
}

.tableList td a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.tableList td a:hover {
    color: #2060AA;
    text-decoration: underline;
}

/* ==================== 带图片列表样式 (topage) ==================== */

.book-list .book-cover {
    width: 70px !important;
    height: auto !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
}

.book-list .book-hd {
    color: #333 !important;
    text-decoration: none;
    font-size: 16px !important;
    font-weight: 600;
    transition: color 0.2s ease;
}

.book-list .books-icon {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    background: #a62c36;
    margin-left: 8px;
}

.book-list .book-intro {
    margin: 8px 0;
    font-size: 14px !important;
    color: #666;
    line-height: 1.8;
}

.book-list .book-intro .space {
    color: #333;
    font-weight: 500;
    margin-left: 5px;
}

.book-list td.star ul li {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.book-list td.star ul li div {
    padding: 4px 0;
    font-weight: 500;
}

.collectNum {
    display: inline-block;
    color: goldenrod;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.borrowNum {
    display: inline-block;
    color: seagreen;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.collectZero {
    display: inline-block;
    padding: 6px 12px !important;
    background: #f5f5f5;
    color: #999;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

/* 表头样式 */
#thread {
    background: linear-gradient(135deg, #2060AA 0%, #1a5090 100%);
}

#thread tr.active th {
    padding: 12px 15px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    text-align: left;
}

#thread tr.active th:first-child {
    border-radius: 8px 0 0 0;
}

#thread tr.active th:last-child {
    border-radius: 0 8px 0 0;
}

.tab-content-thr {
    font-size: 10px;
    border-top: 1px solid #a62c36;
    border-bottom: none !important;
}

/* ==================== 图书详情页 - bookInfo区域样式 ==================== */

.bookInfo {
    padding: 30px 20px;
}

.bookInfo>div:first-child>img {
    width: 180px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto 15px;
}

.bookInfo>div:first-child>img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.bookInfo>div:first-child>div {
    margin-top: 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    display: block;
    text-align: center;
}

.bookInfo>div:first-child>div>span {
    display: inline-block;
    margin: 0 15px;
    font-size: 13px;
    color: #666;
}

.bookInfo>div:first-child>div>span img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

.bookInfo>div:first-child>div>span span {
    font-weight: 600;
    color: #a62c36;
}

.bookInfo>div:nth-child(2) .list-inline>li>h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 15px 0 0;
    display: inline-block;
    vertical-align: middle;
}

.bookInfo>div:nth-child(2) .list-inline>li {
    vertical-align: middle;
}

.bookInfo>div:nth-child(2) .list-inline>li>img {
    vertical-align: middle;
    margin-right: 5px;
}

.bookInfo>div:nth-child(2) .list-inline>li>a {
    color: #a62c36;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 15px;
    border: 1px solid #a62c36;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.bookInfo>div:nth-child(2) .list-inline>li>a:hover {
    background: #a62c36;
    color: #fff;
}

.bookInfo>div:nth-child(2)>p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 10px 0;
}

.bookInfo>div:nth-child(2)>p span {
    color: #333;
    font-weight: 500;
}

.bookInfo>div:nth-child(2) .catogary {
    margin-top: 20px;
}

.bookInfo>div:nth-child(2) .catogary>li {
    padding: 6px 12px;
    margin-right: 8px;
    font-size: 12px;
    color: #a62c36;
    background: #fff5f5;
    border: 1px solid #a62c36;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.bookInfo>div:nth-child(2) .catogary>li:hover {
    background: #a62c36;
    color: #fff;
}

.bookInfo>div:nth-child(2) .list-inline .add>button {
    background: linear-gradient(135deg, #a62c36 0%, #8a242c 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.bookInfo>div:nth-child(2) .list-inline .add>button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(166, 44, 54, 0.3);
}

.bookInfo>div:nth-child(2) .list-inline .add>button img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

/* ==================== 切换显示按钮样式 ==================== */
.view-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.view-toggle-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.view-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(166, 44, 54, 0.3);
    transition: all 0.3s ease;
    padding: 8px;
}

.view-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(166, 44, 54, 0.4);
}

.view-toggle-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(166, 44, 54, 0.3);
}

.view-toggle-btn>img {
    margin-left: 0 !important;
}

.view-toggle-btn .glyphicon {
    font-size: 20px;
    color: #fff;
}

/* 图书列表卡片 */
.book-list-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==================== readerSetting.jsp 页面美化 ==================== */

.navbar-by.navbar-er {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e8e8e8;
    min-height: 50px;
}

.navbar-by.navbar-er .nav>li>a {
    color: #666;
    font-size: 14px;
    padding: 15px 20px;
    transition: color 0.2s ease;
}

.navbar-by.navbar-er .nav>li>a:hover {
    color: #2060AA;
    background: #f5f5f5;
}

.navbar-by.navbar-er .nav>li.active>a {
    color: #2060AA;
    background: #fff;
    font-weight: 600;
}

.box-by{
    margin: 10px;
}

.bodyBox {
    background-color: #fff;
    border: 1px solid #e8e8e8;
    margin: 10px;
    min-height: 700px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.bodyBox .row {
    margin: 0;
}

.bodyBox .row .col-md-3 {
    padding: 30px;
    min-height: 700px;
    border-right: 1px solid #f0f0f0;
}

.bodyBox .row .col-md-3 .col-md-12 {
    margin: 0 auto;
}

.bodyBox .row .col-md-3 .col-md-12 .col-md-4>img {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    margin-right: 15px;
    border: 3px solid #f0f0f0;
}

.bodyBox .row .col-md-3 .col-md-12 .col-md-8 {
    padding-top: 15px;
}

.bodyBox .row .col-md-3 .col-md-12 .col-md-8 h4 {
    color: #333;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
}

.bodyBox .row .col-md-3 .col-md-12 .col-md-8 span {
    color: #666;
    font-size: 14px;
}

.reader-info>tbody>tr>td {
    vertical-align: middle;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.reader-info>tbody>tr:last-child>td {
    border-bottom: none;
}

.reader-info>tbody>tr>td:first-child {
    width: 30px;
}

.reader-info>tbody>tr>td:nth-child(2) {
    color: #666;
    font-size: 14px;
    width: 90px;
}

.reader-info>tbody>tr>td:nth-child(3) {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.reader-info>tbody>tr>td img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.nav-tabs {
    border-bottom: 2px solid #e8e8e8;
}

.nav-tabs>li {
    margin-bottom: -2px;
}

.nav-tabs>li>a {
    color: #666;
    font-size: 15px;
    padding: 12px 25px;
    border: none;
    border-radius: 0;
    transition: all 0.2s ease;
}

.nav-tabs>li>a:hover {
    background: #f5f5f5;
    color: #2060AA;
    border: none;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover {
    color: #2060AA;
    background: #fff;
    border: none;
    border-bottom: 2px solid #2060AA;
    font-weight: 600;
}

.tab-content {
    border-top: none;
    padding: 30px 40px;
}

.person {
    width: 100%;
    margin: 0;
}

.person .form-inline {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.person .form-inline .form-group>img {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.person .form-group {
    margin-bottom: 20px;
}

.person .form-group>label {
    color: #333;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 8px;
}

.person .form-group>input[type="text"],
.person .form-group>input[type="email"],
.person .form-group>input[type="password"] {
    width: 100%;
    max-width: 400px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.person .form-group>input[type="text"]:focus,
.person .form-group>input[type="email"]:focus,
.person .form-group>input[type="password"]:focus {
    outline: none;
    border-color: #2060AA;
    box-shadow: 0 0 0 2px rgba(32, 96, 170, 0.1);
}

.person .form-group .help-block {
    color: #999;
    font-size: 12px;
    margin-top: 8px;
    line-height: 1.6;
}

.person>button {
    margin-top: 10px;
    padding: 10px 30px;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.person>button.btn-primary {
    background-color: #2060AA;
    border-color: #2060AA;
}

.person>button.btn-primary:hover {
    background-color: #1a5090;
    border-color: #1a5090;
}

.person>button.btn-default {
    background-color: #fff;
    border-color: #ddd;
    color: #666;
}

.person>button.btn-default:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.message,
.password {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 20px;
}

.message ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.message ul>li {
    line-height: 1.8;
    color: #333;
    font-size: 14px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.message ul>li>a {
    color: #2060AA;
    text-decoration: underline;
    margin-left: 5px;
    transition: color 0.2s ease;
}

.message ul>li>a:hover {
    color: #1a5090;
}

.message ul>li>label {
    margin-left: 10px;
    margin-bottom: 0;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

.message ul>li>p {
    margin: 8px 0 0 0;
    font-size: 13px;
    color: #999;
    padding-left: 25px;
}

.password .form-group {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
}

.password .form-group>label {
    color: #333;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 8px;
}

.password .form-group>input[type="password"] {
    width: 100%;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.password .form-group>input[type="password"]:focus {
    outline: none;
    border-color: #2060AA;
    box-shadow: 0 0 0 2px rgba(32, 96, 170, 0.1);
}

.password>button {
    margin-top: 10px;
    padding: 10px 30px;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.password>button.btn-primary {
    background-color: #2060AA;
    border-color: #2060AA;
}

.password>button.btn-primary:hover {
    background-color: #1a5090;
    border-color: #1a5090;
}

.password>button.btn-default {
    background-color: #fff;
    border-color: #ddd;
    color: #666;
}

.password>button.btn-default:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.navbar-collapse {
    display: flex;
    justify-content: center;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

/* ==================== 空状态样式 ==================== */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
    text-align: center;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-icon .glyphicon {
    font-size: 64px;
    color: #999;
}

.empty-text {
    color: #999;
    font-size: 16px;
    font-weight: 500;
}

.border-bottom-none {
    border-bottom: none!important;
    box-shadow: none!important;
}

.borderless-top{
    border-top: none!important;
    box-shadow: none!important;
}

