/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #2c3e50, #4a6491);
    color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 筛选区域样式 */
.filter-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .filter-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

.filter-group, .search-group {
    display: flex;
    flex-direction: column;
}

.filter-group label, .search-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-select {
    padding: 12px 15px;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    transition: all 0.3s;
    cursor: pointer;
}

.filter-select:hover, .filter-select:focus {
    border-color: #4a6491;
    outline: none;
}

.search-box {
    display: flex;
    gap: 10px;
}

#search-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

#search-input:focus {
    border-color: #4a6491;
    outline: none;
}

#search-btn {
    padding: 12px 20px;
    background-color: #4a6491;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1rem;
}

#search-btn:hover {
    background-color: #2c3e50;
}

.search-results {
    position: absolute;
    background: white;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    width: calc(100% - 70px);
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
}

.search-result-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.search-result-item:hover {
    background-color: #f5f7fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

/* 信息展示区域样式 */
.info-section {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-header {
    background: linear-gradient(135deg, #4a6491, #5a74a1);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.info-header h2 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-stats {
    font-size: 0.9rem;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
}

.info-content {
    padding: 25px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (min-width: 992px) {
    .info-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-card:last-child {
        grid-column: span 2;
    }
}

.info-card {
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-card-header {
    background-color: #f8fafc;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e6ed;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card-header h3 {
    font-size: 1.3rem;
    color: #2c3e50;
}

.info-card-body {
    padding: 20px;
    min-height: 150px;
    max-height: 300px;
    overflow-y: auto;
}

.info-card-body p {
    color: #555;
    line-height: 1.8;
}

/* 页脚样式 */
footer {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #e0e6ed;
}

.footer-note {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #888;
}

/* 移动端优化 */
@media (max-width: 767px) {
    header h1 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-section {
        padding: 20px;
    }
    
    .info-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .info-content {
        padding: 15px;
    }
    
    .info-card-body {
        min-height: 120px;
        max-height: 250px;
    }
}

/* 平板优化 */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        padding: 15px;
    }
    
    .info-content {
        grid-template-columns: 1fr;
    }
    
    .info-card:last-child {
        grid-column: span 1;
    }
}
/* 在现有的CSS文件末尾添加以下样式 */

/* 重置按钮样式 */
.reset-btn {
    background-color: #f0f0f0;
    color: #666;
    border: 1px solid #ddd;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
    margin-left: 10px;
}

.reset-btn:hover {
    background-color: #e0e0e0;
    color: #333;
}

/* 筛选器禁用状态 */
.filter-select:disabled {
    background-color: #f8f8f8;
    color: #999;
    cursor: not-allowed;
}

/* 调整筛选区域布局 */
@media (min-width: 768px) {
    .filter-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .filter-section {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 移动端调整 */
@media (max-width: 767px) {
    .info-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .reset-btn {
        margin-left: 0;
    }
}