* {margin: 0;padding: 0;box-sizing: border-box;font-family: "微软雅黑", sans-serif;}
body {width: 100%;max-width: 1200px;margin: 0 auto;background-color: #f5f5f5;}
.header {width: 100%;background-color: #fff;padding: 15px 0;border-bottom: 2px solid #333;}

.header-top {display: flex;justify-content: space-between;align-items: center;padding: 0 20px;margin-bottom: 10px;}
.logo a{text-decoration: none;}
.logo img{width: 70px;height:70px;}

.search-box {flex: 1;  max-width: 500px; margin: 0 auto;  display: flex;}
.search-box input {width: calc(100% - 80px); height: 38px;padding: 0 15px;border: 2px solid #d93025;border-right: none;border-radius: 4px 0 0 4px;
    font-size: 14px;outline: none;}
.search-box input::placeholder { color: #999;}
.search-btn {width: 80px;height: 38px;background-color: #d93025;color: #fff;border: none;border-radius: 0 4px 4px 0;cursor: pointer;font-size: 14px;
    display: flex;align-items: center;justify-content: center;gap: 4px;}
.search-btn:hover {background-color: #c5281e;}

.login-register {width: 150px; text-align: right;}
.login-register a {color: #666;text-decoration: none;margin: 0 5px;font-size: 14px;}
.login-register a:hover {color: #d93025;}

.nav-bar {background-color: #333;}
.nav-bar ul {display: flex;list-style: none;padding: 0 20px;justify-content: center; }
.nav-bar ul li a {display: block;color: #fff;text-decoration: none;padding: 12px 25px;font-size: 14px;}
.nav-bar ul li a.active,.nav-bar ul li a:hover {background-color: #d93025;}

.main-container { display: flex; justify-content: space-between; margin: 15px 0; gap: 15px;}

.left-sidebar {width: 20%;background-color: #fff;padding: 15px;border: 1px solid #e0e0e0;}
.middle-content {width: 50%;background-color: #fff;padding: 15px;border: 1px solid #e0e0e0;}
.right-sidebar { width: 25%; display: flex; flex-direction: column; gap: 15px;}

.footer {width: 100%;background-color: #333;padding: 15px 0;margin-top: 20px;color: #ccc;}
.footer-nav {display: flex;justify-content: center;gap: 20px;margin-bottom: 15px;}
.footer-nav a {color: #ccc;text-decoration: none;font-size: 14px;}
.footer-nav a:hover {color: #fff;}
.contact-info {text-align: center;font-size: 14px;line-height: 1.6;}

.collect-filter h3 {font-size: 16px;margin-bottom: 15px;padding-bottom: 5px;border-bottom: 1px solid #e0e0e0;}
.filter-item {margin-bottom: 20px;}
.filter-title {font-size: 14px;font-weight: bold;margin-bottom: 8px;color: #333;}
.filter-list {list-style: none;}
.filter-list li {margin-bottom: 6px;}
.filter-list li a {text-decoration: none;color: #666;font-size: 13px;display: block;padding: 4px 0;}
.filter-list li a:hover,.filter-list li a.active {color: #d93025;}

.collect-header {margin-bottom: 20px;padding-bottom: 10px;border-bottom: 1px solid #e0e0e0;}
.collect-header h2 {font-size: 18px;color: #333;margin-bottom: 5px;}
.collect-header p {font-size: 14px;color: #666;}
.collect-count {color: #d93025;font-weight: bold;}

.collect-list {margin-bottom: 20px;}
.collect-item {display: flex;gap: 15px;padding: 15px 0;border-bottom: 1px dashed #eee;}
.collect-item:last-child {border-bottom: none;}

.collect-img {width: 80px;height: 110px;flex-shrink: 0;}
.collect-img img {width: 100%;height: 100%;object-fit: cover;border-radius: 4px;}

.collect-info {flex: 1;}
.collect-bookname {font-size: 16px;margin-bottom: 6px;}
.collect-bookname a {color: #333;text-decoration: none;}
.collect-bookname a:hover {color: #d93025;}
.collect-author,.collect-type,.collect-status,.collect-update,.collect-time {font-size: 12px;color: #666;margin-bottom: 4px;}

.collect-operate {display: flex;flex-direction: column;justify-content: center;gap: 8px;}
.read-btn {padding: 6px 12px;background-color: #d93025;color: #fff;border: none;border-radius: 4px;cursor: pointer;font-size: 13px;}
.read-btn:hover {background-color: #c5281e;}
.cancel-btn {padding: 6px 12px;background-color: #f5f5f5;color: #666;border: 1px solid #ddd;border-radius: 4px;cursor: pointer;font-size: 13px;}
.cancel-btn:hover {background-color: #eee;}

.page-nav {display: flex;justify-content: center;align-items: center;gap: 8px;}
.page-btn {padding: 6px 12px;background-color: #f5f5f5;color: #666;border: 1px solid #ddd;border-radius: 4px;text-decoration: none;font-size: 13px;}
.page-btn:hover {background-color: #eee;}
.page-num {padding: 6px 12px;background-color: #fff;color: #666;border: 1px solid #ddd;border-radius: 4px;text-decoration: none;font-size: 13px;}
.page-num.active {background-color: #d93025;color: #fff;border-color: #d93025;}

.recommend-section {background-color: #fff;padding: 15px;border: 1px solid #e0e0e0;}
.recommend-section h3 {font-size: 16px;margin-bottom: 15px;padding-bottom: 5px;border-bottom: 1px solid #e0e0e0;}
.recommend-list {display: flex;flex-direction: column;gap: 12px;}
.recommend-item {display: flex;gap: 10px;}
.recommend-img {width: 50px;height: 70px;flex-shrink: 0;object-fit: cover;border-radius: 4px;}
.recommend-info {flex: 1;display: flex;flex-direction: column;justify-content: center;}
.recommend-name {font-size: 13px;margin-bottom: 3px;}
.recommend-name a {color: #333;text-decoration: none;}
.recommend-name a:hover {color: #d93025;}
.recommend-type {font-size: 11px;color: #999;}
