/* 科研成果页面专用样式 */

/* 标签导航 */
.tabs-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.tab-btn {
    background: white;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn i {
    font-size: 1.1rem;
}

.tab-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.tab-btn.active {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* 标签内容 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 筛选栏区域 */
.filter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px 0;
}

/* 科研成果页面容器 - 最大化利用屏幕宽度 */
.publications-section .container {
    max-width: 96%;
    width: 100%;
}

/* 年份分组 */
.year-group {
    margin-bottom: 50px;
    width: 100%;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 0 35px;
    text-align: center;
}

/* 横幅内的筛选栏 */
.header-filter-bar {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 18px 25px;
    border-radius: 12px;
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.header-filter-bar .filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-filter-bar .filter-group label {
    font-weight: 500;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.header-filter-bar .filter-group select {
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.header-filter-bar .filter-group select:hover,
.header-filter-bar .filter-group select:focus {
    background: white;
    border-color: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.header-filter-bar .search-box {
    flex: 1;
    min-width: 320px;
    max-width: 450px;
    position: relative;
}

.header-filter-bar .search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
}

.header-filter-bar .search-box input {
    width: 100%;
    padding: 10px 15px 10px 45px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.header-filter-bar .search-box input:focus {
    background: white;
    border-color: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.header-filter-bar .search-box input::placeholder {
    color: #a0aec0;
}

.year-title {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
    display: flex;
    align-items: center;
    gap: 15px;
}

.year-title i {
    color: #667eea;
}

.year-count {
    font-size: 1.1rem;
    color: #718096;
    font-weight: 400;
}

/* 论文列表 - 三栏布局 */
.publications-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* 响应式：中等屏幕改为双列 */
@media (max-width: 1400px) {
    .publications-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 响应式：小屏幕改为单列 */
@media (max-width: 900px) {
    .publications-list {
        grid-template-columns: 1fr;
    }
}

/* 论文条目 */
.publication-item {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.publication-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-left-color: #667eea;
    transform: translateY(-3px);
}

.pub-content {
    flex: 1;
}

.pub-title {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.7;
    font-weight: 600;
}

.journal-inline {
    font-style: italic;
    color: #667eea;
    font-weight: 500;
    font-size: 0.95rem;
}

.pub-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.pub-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 6px 12px;
    border: 1px solid #667eea;
    border-radius: 6px;
}

.pub-link:hover {
    background: #667eea;
    color: white;
}

/* 显示更多按钮 */
.show-more-container {
    text-align: center;
    margin: 30px 0;
}

.show-more-btn {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.show-more-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.show-more-btn i {
    transition: transform 0.3s ease;
}

.show-more-btn:hover i {
    transform: translateY(3px);
}

/* 空状态 */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #a0aec0;
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.no-results p {
    font-size: 1.1rem;
}

/* 专著样式 */
.section-title {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title i {
    color: #667eea;
}

.book-item {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.book-cover {
    font-size: 4rem;
    color: #667eea;
    min-width: 80px;
}

.book-info h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 12px;
}

.book-authors {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 8px;
}

.book-publisher {
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 15px;
}

/* 专利样式 */
.patents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 25px;
}

.patent-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
}

.patent-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.patent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.patent-number {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #718096;
    font-weight: 600;
}

.patent-badge {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.patent-title {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.5;
}

.patent-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.patent-info i {
    color: var(--accent-color);
    margin-top: 2px;
}

/* 项目样式 */
.projects-timeline {
    max-width: 1200px;
    margin: 0 auto;
}

.project-category {
    margin-bottom: 50px;
}

.category-title {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
}

.category-title i {
    color: var(--accent-color);
}

.project-item {
    background: white;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border-left: 5px solid var(--accent-color);
}

.project-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateX(5px);
}

.project-badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
}

.project-badge.national {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.project-badge.provincial {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.project-badge.municipal {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.project-badge.horizontal {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.project-title {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.5;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-meta i {
    color: var(--accent-color);
}

.role-tag {
    background: var(--bg-light);
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid var(--accent-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .publication-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .publication-item {
        flex-direction: column;
        padding: 20px;
    }
    
    .pub-number {
        min-width: auto;
    }
    
    .book-item {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .publication-stats {
        grid-template-columns: 1fr;
    }
    
    .pub-journal {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

