/* 教学成果页面专用样式 */

/* 大学Logo展示区域 */
.university-logos {
    background-color: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.logos-row img {
    height: 60px;
    object-fit: contain;
}

/* 主内容区域 */
.main-content {
    padding-bottom: 50px;
}

/* 左侧Tab菜单 */
.tab-menu {
    /* border-right: 1px solid #e0e0e0; */
    padding-right: 15px;
}

.tab-item {
    padding: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
    letter-spacing: 2px;
    border-right: 1px solid #e0e0e0;

}

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

.tab-item:hover {
    color: #1e6db5;
}

.tab-item.active {
    color: #1e6db5;
    font-weight: bold;
    border-right: 1px solid #1e6db5;
}

/* 右侧内容区域 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.content-box {
    background-color: #fff;
    min-height: 400px;
}

/* 最新成果图片 */
.result-images {
    width: 100%;
}

.main-result-img {
    width: 100%;
    border-radius: 4px;
}

/* 年份选择器 */
.year-selector {
    margin-bottom: 20px;
    padding: 10px 0;
}

.year-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.year-item {
    font-size: 18px;
    
    color: #666;
    cursor: pointer;
    padding: 5px 10px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.year-item-icon {
    width: 30px;
    /* height: 20px; */
    margin-bottom: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.year-item:hover {
    color: #f5a623;
}

.year-item.active {
    color: #f5a623;
    /* font-weight: bold; */
}

.year-item.active .year-item-icon {
    opacity: 1;
}

.year-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 2px;
    background-color: #f5a623;
}

/* 表格标题 */
.table-header {
    background: linear-gradient(135deg, #1e6db5 0%, #2980b9 100%);
    background: url(../img/p2/4.jpg);
    background-size: cover;
    padding: 10px 20px;
    margin-bottom: 0;
}

.table-header h3 {
    color: #fff;
    font-size: 18px;
    font-weight: normal;
    margin: 0;
}

/* 表格区域 */
.table-wrapper {
    /* border: 1px solid #e0e0e0; */
    border-top: none;
    overflow-x: auto;
    padding: 20px;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: #fff;
}

.result-table thead {
    background-color: #fff;
}

.result-table th,
.result-table td {
    /* padding: 2px 15px; */
    text-align: center;
    border: 1px solid #333;
}

.result-table th {
    font-weight: bold;
    color: #333;
    background-color: #fff;
}

.result-table tbody tr:hover {
    background-color: #f5f8fc;
}

/* 无数据提示 */
.no-data {
    text-align: center;
    padding: 50px 0;
    color: #999;
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 991px) {
    .logos-row img {
        height: 45px;
    }
    
    .tab-menu {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding-right: 0;
        padding-bottom: 0;
        margin-bottom: 20px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }
    
    .tab-item {
        border-bottom: none;
        border-right: none;
        padding: 10px 0;
        font-size: 16px;
        letter-spacing: 4px;
    }
    
    .tab-item.active {
        border-right: none;
        border-bottom: 2px solid #1e6db5;
    }
    
    .year-list {
        gap: 0;
        justify-content: space-between;
    }
    
    .year-item {
        font-size: 13px;
        padding: 4px 5px;
    }
    
    .year-item-icon {
        width: 24px;
        margin-bottom: 4px;
    }
    
    .table-wrapper {
        padding: 10px 0;
        overflow-x: auto;
    }
    
    .result-table {
        font-size: 13px;
        /* min-width: 500px; */
    }
    
    .result-table th,
    .result-table td {
        padding: 8px 6px;
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    .logos-row {
        gap: 15px;
    }
    
    .logos-row img {
        height: 35px;
    }
    
    .tab-menu {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .year-selector {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .result-table {
        font-size: 14px;
    }
    
    .result-table th,
    .result-table td {
        padding: 0;
    }
    
    .table-title {
        font-size: 14px;
        padding: 8px 12px;
    }
}
