/* gistic结果子页面 */
/* 标签按钮样式 */
.tab-btn {
    padding: 10px 20px; border: none; background: #ffffff; cursor: pointer; font-size: 16px; color: #666;
    border-radius: 6px 6px 0 0; transition: all 0.2s ease;
}
.tab-btn.active {
    color: #1f77b4; font-weight: bold; border-bottom: 3px solid #1f77b4;
    background-color: #f0f8ff; /* 新增：浅蓝背景，突出选中态 */
    box-shadow: 0 -2px 8px rgba(31, 119, 180, 0.1); /* 新增：轻微阴影，增强层次感 */
}

/* 左右分栏布局的核心 */
.gistic-split-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.layout-left {
    flex: 3; /* 左侧表格占3份宽度 */
    max-height: 650px; /* 限制高度，超出滚动 */
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 6px;
    background-color: #ffffff; /* 纯白底色 */
}
.layout-right {
    flex: 1; /* 右侧详情占 1 份宽度 */
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    position: sticky; /* 吸顶效果，表格向下滚动时右侧面板不动 */
    top: 20px; 
    max-height: 75vh; /* 【新增】：也给右侧限制一个最大高度 */
    display: flex;
    flex-direction: column;
}
.gene-tag-container {
    overflow-y: auto;
    flex: 1; /* 【新增】：让基因列表自动占满右侧剩余的高度 */
}
/* 表格交互样式 */
.custom-table th { background: #f1f3f5; position: sticky; top: 0; padding: 10px; text-align: left;}
.custom-table td { padding: 10px; border-bottom: 1px solid #eee; cursor: pointer;}
.custom-table tr:hover { background-color: #e6f2ff; }
.custom-table tr.selected-row { background-color: #d0e8ff; border-left: 4px solid #1f77b4; }


/* gistic主页面 */
/* 限制最大宽度，阅读体验最佳 */
.portal-container {
    width: 100%;
    padding: 40px 60px;
    text-align: left;
    font-family: Arial, sans-serif; /* 学术网站最稳妥的字体 */
    color: #333;
}
/* 每一块内容区 */
.portal-section {
    margin-bottom: 60px;
}
/* 经典的学术风标题：黑字 + 粗底线 */
.portal-title {
    font-size: 24px;
    font-weight: bold;
    color: #222;
    padding-bottom: 12px;
    border-bottom: 2px solid #ccc; /* 经典的底部分割线 */
    margin-bottom: 26px;
}
/* 正文文字 */
.portal-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    max-width: 100%;
}
/* 列表样式 */
.portal-section ol {
    font-size: 16px;
    line-height: 1.8;
    padding-left: 20px;
    margin-bottom: 20px;
}
/* 底部操作区（放链接的地方） */
.portal-actions {
    margin-top: 25px;
}
/* 极简风跳转链接 */
.portal-link {
    display: inline-block;
    color: #1f77b4;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    margin-right: 30px;
    transition: color 0.2s;
}
.portal-link:hover {
    color: #0d47a1;
    text-decoration: underline;
}