.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    text-align: center;
    padding: 2rem;
}

.main-logo {
    font-size: 3.5rem;
    font-weight: bold;
    color: #e53e3e;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 3rem;
}

.search-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 600px;
}

.search-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.search-button {
    padding: 0.8rem 2rem;
    background-color: #e53e3e;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
}

.search-button:hover {
    background-color: #c53030;
}

.search-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #666;
}

.search-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.action-buttons {
    display: flex;
    gap: 1.5rem;
}

/* 新增的样式 */
.content-container {
    display: flex;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.left-sidebar {
    flex: 0 0 300px;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.main-area {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.checkbox-list {
    list-style: none;
}

.checkbox-list li {
    margin-bottom: 1rem;
}

.checkbox-list label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    cursor: pointer;
}

.page-title {
    font-size: 2rem;
    color: #e53e3e;
    text-align: center;
    margin: 2rem 0;
}

.database-intro {
    color: #333;
    line-height: 1.6;
}

.database-intro h2 {
    margin-bottom: 1rem;
}

.database-intro p {
    margin-bottom: 1rem;
}

/* 搜索结果样式 */
.search-results {
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.results-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.total-count {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    padding: 10px 0;
}

.result-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.result-content {
    margin-bottom: 10px;
    display: block;
}

.preview-text {
    margin: 0;
    line-height: 1.6;
    color: #333;
    font-size: 14px;
    display: inline;
}

.result-meta {
    font-size: 12px;
    color: #666;
}

.source {
    font-weight: bold;
    margin-bottom: 5px;
}

.meta-info {
    display: flex;
    gap: 20px;
    color: #666;
}

.meta-info span {
    margin-right: 15px;
}

.pagination {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.page-btn {
    padding: 5px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    text-decoration: none;
}

.page-btn:hover {
    background: #f5f5f5;
}

.page-jump {
    margin-left: 20px;
}

.page-input {
    width: 50px;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.jump-btn {
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.jump-btn:hover {
    background: #f5f5f5;
}

.highlight {
    color: #ff0000;
    font-weight: bold;
    display: inline;
    padding: 0;
    background: none;
    border-radius: 0;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.no-results p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* 书名搜索结果样式 */
.book-result {
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.book-result:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.book-result .book-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: bold;
}

.book-result .book-meta {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
}

.book-result .meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #666;
}

.book-result .meta-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.book-result .meta-info i {
    color: #e53e3e;
    font-size: 1.1rem;
}

/* 确保图标正确加载 */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css'); 