/* TF Regulatory Network页面样式 */

/* 主容器样式 */
.content_container {
    padding: 20px 20px 20px 20px;
    min-height: calc(100vh - 160px);
}

/* ==================== 模块选择板块样式 ==================== */
.module_selection_container {
    background-color: hsla(0, 0%, 100%, 0.95);
    border: 2px solid #4fb479;
    border-radius: 15px;
    padding: 0;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 4px 15px rgba(79, 180, 121, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.module_selection_container:hover {
    border-color: #3a9b63;
    box-shadow: 0 6px 20px rgba(79, 180, 121, 0.15);
}

/* 板块标题头部 */
.section_header {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.section_header:hover {
    background: linear-gradient(135deg, #3a9b63, #2d7a4f);
}

.section_title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.section_icon {
    font-size: 28px;
}

.collapse_button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.collapse_button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.collapse_icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.collapse_button[data-collapsed="true"] .collapse_icon {
    transform: rotate(-90deg);
}

/* 模块选择内容区域 */
.module_selection_content {
    padding: 30px;
    transition: all 0.3s ease;
    max-height: 1000px;
    overflow: hidden;
}

.module_selection_content.collapsed {
    max-height: 0;
    padding: 0 30px;
}

/* 模块信息头部 */
.module_info_header {
    margin-bottom: 25px;
}

.module_description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    padding: 20px;
    background-color: #fafff2;
    border-radius: 10px;
    border-left: 4px solid #4fb479;
}

.module_description strong {
    color: #4fb479;
    font-weight: 600;
}

.module_stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.stat_item {
    background: linear-gradient(135deg, #f8fff2, #eaf7ea);
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #e0f4e8;
    text-align: center;
    min-width: 140px;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-in;
}

.stat_item:hover {
    border-color: #4fb479;
    box-shadow: 0 4px 12px rgba(79, 180, 121, 0.15);
}

.stat_label {
    display: block;
    color: #488a63;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat_value {
    display: block;
    color: #2d5a3d;
    font-size: 20px;
    font-weight: 700;
}

/* 选中模块的详细统计信息样式 */
#selected_module_nodes_container,
#selected_module_edges_container {
    background: linear-gradient(135deg, #e8f8ed, #d4f1db);
    border: 2px solid #4fb479;
    transform: scale(1.02);
}

#selected_module_nodes_container:hover,
#selected_module_edges_container:hover {
    background: linear-gradient(135deg, #d4f1db, #c1ebc9);
    border-color: #3a9b63;
    transform: scale(1.05);
}

#selected_module_nodes_count,
#selected_module_edges_count {
    color: #1e4a2a;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(79, 180, 121, 0.1);
}

/* 模块列表容器 */
.module_list_container {
    background-color: white;
    border-radius: 12px;
    border: 1px solid #e0f4e8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* 模块列表头部工具栏 */
.module_list_header {
    background-color: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.search_filter_container {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.module_search_input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.module_search_input:focus {
    border-color: #4fb479;
    outline: none;
    box-shadow: 0 0 10px rgba(79, 180, 121, 0.2);
}

.clear_search_button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.module_search_input:not(:placeholder-shown) ~ .clear_search_button {
    opacity: 1;
}

.clear_search_button:hover {
    color: #666;
}

.sort_container {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.sort_container label {
    font-weight: 500;
}

.module_sort_select {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.sort_order_button {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sort_order_button:hover {
    background: linear-gradient(135deg, #3a9b63, #2d7a4f);
    transform: translateY(-1px);
}

.sort_order_button[data-order="desc"] {
    transform: rotate(180deg);
}

.sort_order_button[data-order="desc"]:hover {
    transform: rotate(180deg) translateY(1px);
}

/* 模块网格滚动容器 */
.module_grid_scroll_container {
    max-height: 500px;
    overflow-y: auto;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(250, 255, 242, 0.5), rgba(255, 255, 255, 0.5));
}

/* 自定义滚动条 */
.module_grid_scroll_container::-webkit-scrollbar {
    width: 8px;
}

.module_grid_scroll_container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.module_grid_scroll_container::-webkit-scrollbar-thumb {
    background: #4fb479;
    border-radius: 4px;
}

.module_grid_scroll_container::-webkit-scrollbar-thumb:hover {
    background: #3a9b63;
}

/* 模块网格布局 */
.module_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    min-height: 200px;
}

/* 加载占位符 */
.loading_placeholder {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #488a63;
}

.loading_spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e0f4e8;
    border-top: 3px solid #4fb479;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading_placeholder p {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

/* 模块卡片样式 */
.module_card {
    background: linear-gradient(135deg, #ffffff, #fafff2);
    border: 2px solid #e0f4e8;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.module_card:hover {
    border-color: #4fb479;
    box-shadow: 0 6px 20px rgba(79, 180, 121, 0.15);
    transform: translateY(-2px);
}

.module_card.selected {
    border-color: #4fb479;
    background: linear-gradient(135deg, #f0fff4, #e8f8ed);
    box-shadow: 0 8px 25px rgba(79, 180, 121, 0.25);
    transform: translateY(-3px);
}

.module_card.selected::before {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    background: #4fb479;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.module_id {
    font-size: 18px;
    font-weight: 700;
    color: #2d5a3d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.module_id_badge {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.module_stats_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.module_stat {
    text-align: center;
    padding: 12px;
    background: rgba(79, 180, 121, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(79, 180, 121, 0.1);
}

.module_stat_label {
    display: block;
    font-size: 12px;
    color: #666;
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.module_stat_value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #2d5a3d;
}

/* 无结果状态 */
.no_modules_found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no_modules_found img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.no_modules_found p {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content_container {
        padding: 20px 10px 10px 10px;
    }
    
    .module_selection_container {
        margin-bottom: 20px;
    }
    
    .section_header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .section_title {
        font-size: 20px;
    }
    
    .module_selection_content {
        padding: 20px;
    }
    
    .module_stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        justify-items: center;
    }
    
    .stat_item {
        min-width: auto;
        width: 100%;
        max-width: 200px;
    }
    
    .module_list_header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .search_filter_container {
        min-width: auto;
    }
    
    .sort_container {
        justify-content: space-between;
    }
    
    .module_grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .module_grid_scroll_container {
        max-height: 400px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .section_title {
        font-size: 18px;
    }
    
    .section_icon {
        font-size: 20px;
    }
    
    .module_card {
        padding: 15px;
    }
    
    .module_stats_grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    /* 在小屏幕上统计信息单列显示 */
    .module_stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .stat_item {
        max-width: 100%;
        padding: 12px 15px;
    }
    
    .stat_label {
        font-size: 13px;
    }
    
    .stat_value {
        font-size: 18px;
    }
}

/* 动画效果 */
.fade_in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide_up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==================== 功能注释信息板块样式 ==================== */
.functional_annotation_container {
    background-color: hsla(0, 0%, 100%, 0.95);
    border: 2px solid #4fb479;
    border-radius: 15px;
    padding: 0;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 4px 15px rgba(79, 180, 121, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.functional_annotation_container:hover {
    border-color: #3a9b63;
    box-shadow: 0 6px 20px rgba(79, 180, 121, 0.15);
}

/* 功能注释内容区域 */
.functional_annotation_content {
    padding: 30px;
    transition: all 0.3s ease;
    max-height: 2000px;
    overflow: hidden;
}

.functional_annotation_content.collapsed {
    max-height: 0;
    padding: 0 30px;
}

/* 注释信息头部 */
.annotation_info_header {
    margin-bottom: 25px;
}

.annotation_description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    padding: 20px;
    background-color: #fafff2;
    border-radius: 10px;
    border-left: 4px solid #4fb479;
}

.annotation_description strong {
    color: #4fb479;
    font-weight: 600;
}

.annotation_stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

/* Tab导航样式 */
.annotation_tabs_container {
    margin-bottom: 25px;
}

.annotation_tabs {
    display: flex;
    background: linear-gradient(135deg, #f8fff2, #eaf7ea);
    border-radius: 12px;
    padding: 8px;
    gap: 8px;
    border: 1px solid #e0f4e8;
    box-shadow: 0 2px 8px rgba(79, 180, 121, 0.1);
}

.annotation_tab {
    flex: 1;
    background: white;
    border: 1px solid #e0f4e8;
    color: #666;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.annotation_tab:hover {
    background: linear-gradient(135deg, #f0f8f3, #e8f5ec);
    border-color: #4fb479;
    color: #4fb479;
    transform: translateY(-1px);
}

.annotation_tab.active {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    border-color: #3a9b63;
    color: white;
    box-shadow: 0 4px 12px rgba(79, 180, 121, 0.3);
    transform: translateY(-2px);
}

.tab_icon {
    font-size: 16px;
}

.tab_count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.annotation_tab.active .tab_count {
    background: rgba(255, 255, 255, 0.3);
}

/* 表格容器样式 */
.annotation_table_container {
    background-color: white;
    border-radius: 12px;
    border: 1px solid #e0f4e8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* 工具栏样式 */
.annotation_toolbar {
    background-color: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.annotation_search_input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.annotation_search_input:focus {
    border-color: #4fb479;
    outline: none;
    box-shadow: 0 0 10px rgba(79, 180, 121, 0.2);
}

.annotation_controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.annotation_sort_select {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.download_button {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download_button:hover {
    background: linear-gradient(135deg, #3a9b63, #2d7a4f);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 180, 121, 0.3);
}

.download_icon {
    font-size: 16px;
}

/* 表格样式 */
.annotation_table_scroll_container {
    max-height: 600px;
    overflow-y: auto;
    overflow-x: auto;
}

.annotation_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.annotation_table th {
    background: linear-gradient(135deg, #f8fff2, #eaf7ea);
    color: #2d5a3d;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e0f4e8;
    position: sticky;
    top: 0;
    z-index: 10;
}

.annotation_table th.sortable {
    cursor: pointer;
    user-select: none;
    position: sticky;
    top: 0;
    z-index: 10;
    transition: all 0.3s ease;
}

.annotation_table th.sortable:hover {
    background: linear-gradient(135deg, #eaf7ea, #d4f1db);
    color: #1e4a2a;
}

.sort_indicator {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
    font-size: 12px;
}

.annotation_table th.sorted .sort_indicator {
    opacity: 1;
    color: #4fb479;
}

.annotation_table th.sort_asc,
.annotation_table th.sort_desc {
    background: linear-gradient(135deg, #eaf7ea, #d4f1db);
    color: #1e4a2a;
    font-weight: 600;
}

.annotation_table th.sort_asc .sort_indicator,
.annotation_table th.sort_desc .sort_indicator {
    opacity: 1;
    color: #2e8b57;
    font-weight: bold;
}

.annotation_table th.no_sort {
    position: sticky;
    top: 0;
    z-index: 10;
}

.annotation_table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

.annotation_table tr:hover {
    background-color: #fafff2;
}

/* 表格中的特殊元素样式 */
.go_accession_link {
    color: #4fb479;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.go_accession_link:hover {
    color: #3a9b63;
    text-decoration: underline;
}

.id_count_badge {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    display: inline-block;
}

.id_list_button {
    background: linear-gradient(135deg, #f0f8f3, #e8f5ec);
    color: #4fb479;
    border: 1px solid #4fb479;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.id_list_button:hover {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(79, 180, 121, 0.3);
}

/* 分页控件样式 */
.annotation_pagination_container {
    background-color: #f8f9fa;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.pagination_info {
    color: #666;
    font-size: 14px;
}

.pagination_controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page_size_container {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.page_size_select {
    padding: 6px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.page_navigation {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav_button {
    background: white;
    border: 1px solid #e0e0e0;
    color: #666;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 36px;
    text-align: center;
}

.nav_button:hover:not(:disabled) {
    background: linear-gradient(135deg, #f0f8f3, #e8f5ec);
    border-color: #4fb479;
    color: #4fb479;
}

.nav_button:disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

.page_numbers {
    display: flex;
    gap: 3px;
}

.page_number_button {
    background: white;
    border: 1px solid #e0e0e0;
    color: #666;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 36px;
    text-align: center;
}

.page_number_button:hover {
    background: linear-gradient(135deg, #f0f8f3, #e8f5ec);
    border-color: #4fb479;
    color: #4fb479;
}

.page_number_button.active {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    border-color: #3a9b63;
    color: white;
}

.page_jump_container {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.page_jump_input {
    width: 60px;
    padding: 6px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
}

.jump_button {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.jump_button:hover {
    background: linear-gradient(135deg, #3a9b63, #2d7a4f);
    transform: translateY(-1px);
}

/* 加载和空状态样式 */
.loading_row td {
    text-align: center;
    padding: 40px;
}

.no_data_row td {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* ==================== 弹窗样式 ==================== */
.modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal_overlay.active {
    opacity: 1;
    visibility: visible;
}

.id_list_modal {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.modal_overlay.active .id_list_modal {
    transform: translateY(0);
}

.modal_header {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal_title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal_icon {
    font-size: 22px;
}

.modal_close_button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal_close_button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.modal_content {
    padding: 30px;
    max-height: calc(80vh - 80px);
    overflow-y: auto;
}

/* GO term信息样式 */
.go_term_info {
    background: linear-gradient(135deg, #fafff2, #f0f8f3);
    border: 1px solid #e0f4e8;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.go_term_accession,
.go_term_description {
    margin-bottom: 10px;
}

.go_term_accession:last-child,
.go_term_description:last-child {
    margin-bottom: 0;
}

.go_term_info .label {
    font-weight: 600;
    color: #2d5a3d;
    margin-right: 10px;
}

.go_link {
    color: #4fb479;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.go_link:hover {
    color: #3a9b63;
    text-decoration: underline;
}

/* ID列表容器样式 */
.id_lists_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.id_list_section {
    background: white;
    border: 1px solid #e0f4e8;
    border-radius: 10px;
    overflow: hidden;
}

.list_title {
    background: linear-gradient(135deg, #f8fff2, #eaf7ea);
    color: #2d5a3d;
    padding: 15px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #e0f4e8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.list_icon {
    font-size: 18px;
}

.id_list_scroll {
    max-height: 200px;
    overflow-y: auto;
    padding: 15px 20px;
}

.id_item {
    background: linear-gradient(135deg, #f8fff2, #f0f8f3);
    border: 1px solid #e0f4e8;
    color: #4fb479;
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
}

.id_item:hover {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(79, 180, 121, 0.3);
}

.id_item.selected {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    border-color: #3a9b63;
}

/* 选中ID详细信息样式 */
.selected_id_details {
    background: linear-gradient(135deg, #fafff2, #f0f8f3);
    border: 2px solid #4fb479;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    animation: slideUp 0.5s ease-out;
}

.details_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.details_title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #2d5a3d;
    display: flex;
    align-items: center;
    gap: 8px;
}

.details_icon {
    font-size: 18px;
}

.draw_network_button {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.draw_network_button:hover {
    background: linear-gradient(135deg, #3a9b63, #2d7a4f);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 180, 121, 0.3);
}

.network_icon {
    font-size: 16px;
}

.id_annotations_content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.annotation_category {
    background: white;
    border: 1px solid #e0f4e8;
    border-radius: 8px;
    overflow: hidden;
}

.category_header {
    background: linear-gradient(135deg, #eaf7ea, #d4f1db);
    color: #2d5a3d;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #e0f4e8;
}

.category_items {
    padding: 15px;
}

.annotation_item {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f4f0;
}

.annotation_item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.annotation_accession {
    color: #4fb479;
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 4px;
}

.annotation_description {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .functional_annotation_content {
        padding: 20px;
    }
    
    .annotation_tabs {
        flex-direction: column;
        gap: 5px;
    }
    
    .annotation_toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .annotation_controls {
        justify-content: space-between;
    }
    
    .annotation_pagination_container {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .pagination_controls {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .id_lists_container {
        grid-template-columns: 1fr;
    }
    
    .details_header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .id_list_modal {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal_content {
        padding: 20px;
    }
}

/* ==================== 模块中的节点ID板块样式 ==================== */
.module_nodes_container {
    background-color: hsla(0, 0%, 100%, 0.95);
    border: 2px solid #4fb479;
    border-radius: 15px;
    padding: 0;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 4px 15px rgba(79, 180, 121, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.module_nodes_container:hover {
    border-color: #3a9b63;
    box-shadow: 0 6px 20px rgba(79, 180, 121, 0.15);
}

/* 节点信息内容区域 */
.module_nodes_content {
    padding: 30px;
    transition: all 0.3s ease;
    max-height: 2000px;
    overflow: hidden;
}

.module_nodes_content.collapsed {
    max-height: 0;
    padding: 0 30px;
}

/* 节点信息头部 */
.nodes_info_header {
    margin-bottom: 25px;
}

.nodes_description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    padding: 20px;
    background-color: #fafff2;
    border-radius: 10px;
    border-left: 4px solid #4fb479;
}

.nodes_description strong {
    color: #4fb479;
    font-weight: 600;
}

.nodes_stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

/* 节点表格容器样式 */
.nodes_table_container {
    background-color: white;
    border-radius: 12px;
    border: 1px solid #e0f4e8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* 节点工具栏样式 */
.nodes_toolbar {
    background-color: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nodes_search_input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.nodes_search_input:focus {
    border-color: #4fb479;
    outline: none;
    box-shadow: 0 0 10px rgba(79, 180, 121, 0.2);
}

.nodes_controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.nodes_sort_select {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

/* 节点表格样式 */
.nodes_table_scroll_container {
    max-height: 600px;
    overflow-y: auto;
    overflow-x: auto;
}

.nodes_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.nodes_table th {
    background: linear-gradient(135deg, #f8fff2, #eaf7ea);
    color: #2d5a3d;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e0f4e8;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nodes_table th.sortable {
    cursor: pointer;
    user-select: none;
    position: sticky;
    top: 0;
    z-index: 10;
    transition: all 0.3s ease;
}

.nodes_table th.sortable:hover {
    background: linear-gradient(135deg, #eaf7ea, #d4f1db);
    color: #1e4a2a;
}

.nodes_table th.sorted .sort_indicator {
    opacity: 1;
    color: #4fb479;
}

.nodes_table th.no_sort {
    position: sticky;
    top: 0;
    z-index: 10;
}

.nodes_table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

.nodes_table tr:hover {
    background-color: #fafff2;
}

/* 节点ID样式 */
.node_id_link {
    color: #4fb479;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.node_id_link:hover {
    color: #3a9b63;
    text-decoration: underline;
}

.node_id_link::after {
    content: " 🕸️";
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-left: 5px;
}

.node_id_link:hover::after {
    opacity: 1;
}

/* 节点类型徽章 */
.node_type_badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.node_type_badge.tf {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
}

.node_type_badge.gene {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
}

/* GO注释缩略展示 */
.go_annotation_summary {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.go_annotation_summary:hover {
    color: #4fb479;
    background-color: rgba(79, 180, 121, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    margin: -4px -8px;
}

.go_annotation_summary::after {
    content: " 🔍";
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-left: 5px;
}

.go_annotation_summary:hover::after {
    opacity: 1;
}

/* 节点分页控件样式 */
.nodes_pagination_container {
    background-color: #f8f9fa;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==================== GO注释详情弹窗样式 ==================== */
.go_annotation_modal {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.node_info_section {
    background: linear-gradient(135deg, #fafff2, #f0f8f3);
    border: 1px solid #e0f4e8;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.node_id_info,
.node_type_info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.node_id_value {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #4fb479;
    font-size: 16px;
}

.go_annotations_container {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 25px;
}

.annotations_section {
    margin-bottom: 20px;
}

.annotation_category_title {
    color: #2d5a3d;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 2px solid #e0f4e8;
}

.annotation_list {
    display: grid;
    gap: 8px;
}

.modal_actions {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0f4e8;
}

/* 响应式设计 - 节点板块 */
@media (max-width: 768px) {
    .module_nodes_content {
        padding: 20px;
    }
    
    .nodes_toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .nodes_controls {
        justify-content: space-between;
    }
    
    .nodes_pagination_container {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .node_info_section {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .go_annotation_modal {
        width: 95%;
        max-height: 90vh;
    }
}

/* ==================== 网络图绘制板块样式 ==================== */
.network_visualization_container {
    background-color: hsla(0, 0%, 100%, 0.95);
    border: 2px solid #4fb479;
    border-radius: 15px;
    padding: 0;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 4px 15px rgba(79, 180, 121, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.network_visualization_container:hover {
    border-color: #3a9b63;
    box-shadow: 0 6px 20px rgba(79, 180, 121, 0.15);
}

/* 网络图内容区域 */
.network_visualization_content {
    padding: 30px;
    transition: all 0.3s ease;
    max-height: 2000px;
    overflow: hidden;
}

.network_visualization_content.collapsed {
    max-height: 0;
    padding: 0 30px;
}

/* 网络图信息头部 */
.network_info_header {
    margin-bottom: 25px;
}

.network_description {
    color: #2d7a4f;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(79, 180, 121, 0.05), rgba(58, 155, 99, 0.05));
    border-left: 4px solid #4fb479;
    border-radius: 8px;
}

.network_stats {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(79, 180, 121, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(79, 180, 121, 0.1);
}

/* 网络图容器 */
.network_chart_container {
    background: white;
    border: 2px solid #e8f5ee;
    border-radius: 12px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(79, 180, 121, 0.08);
}

/* 网络图控制工具栏 */
.network_controls_toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8fbfa, #e8f5ee);
    border-bottom: 1px solid #e8f5ee;
    flex-wrap: wrap;
    gap: 15px;
}

.network_controls_left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.network_controls_right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* 过滤控制 */
.filter_control_container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #d1e7dd;
}

.filter_label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: #2d7a4f;
    font-size: 14px;
    white-space: nowrap;
}

.filter_icon {
    font-size: 16px;
}

.edge_filter_slider {
    width: 120px;
    height: 6px;
    background: #e8f5ee;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.edge_filter_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #4fb479;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(79, 180, 121, 0.3);
    transition: all 0.2s ease;
}

.edge_filter_slider::-webkit-slider-thumb:hover {
    background: #3a9b63;
    transform: scale(1.1);
}

.edge_filter_slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #4fb479;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(79, 180, 121, 0.3);
}

.filter_value {
    font-weight: 600;
    color: #2d7a4f;
    min-width: 30px;
    text-align: center;
    font-size: 14px;
}

/* 下载图表按钮 */
.download_chart_button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.download_chart_button:hover {
    background: linear-gradient(135deg, #3a9b63, #2d7a4f);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(79, 180, 121, 0.3);
}

.download_icon {
    font-size: 16px;
}

/* 图表包装器 */
.network_chart_wrapper {
    position: relative;
    background: white;
    width: 100%;
    overflow: hidden;
}

.network_chart {
    position: relative;
    width: 100%;
    height: 600px;
    min-height: 400px;
    background: white;
    display: block;
}

/* 图表加载占位符 */
.chart_loading_placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    color: #4fb479;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(2px);
    transition: opacity 0.3s ease;
    border-radius: 8px;
    opacity: 1;
    visibility: visible;
}

/* 当loading动画隐藏时的样式变化 */
.chart_loading_placeholder.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.chart_loading_placeholder p {
    margin-top: 15px;
    font-size: 16px;
    color: #4fb479;
    text-align: center;
    font-weight: 500;
}

/* 节点详情弹窗 */
.network_node_popup {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 300px;
    max-height: 300px;
    background: white;
    border: 2px solid #4fb479;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(79, 180, 121, 0.2);
    z-index: 1000;
    overflow: hidden;
}

.popup_header {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup_title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.popup_icon {
    font-size: 18px;
}

.popup_close_button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup_close_button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.popup_content {
    padding: 15px;
    max-height: 220px;
    overflow-y: auto;
}

/* 弹窗中的绘制核心网络按钮 */
.draw_core_network_button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.draw_core_network_button:hover {
    background: linear-gradient(135deg, #3a9b63, #2d7a4f);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(79, 180, 121, 0.3);
}

.draw_core_network_button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.draw_core_network_button .network_icon {
    font-size: 16px;
}

/* 弹窗内容样式 */
.node_basic_info {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8f5ee;
}

.node_id_section, .node_type_section {
    margin-bottom: 8px;
    font-size: 14px;
}

.node_annotations_section h5 {
    margin: 0 0 10px 0;
    color: #2d7a4f;
    font-size: 14px;
    font-weight: 600;
}

.annotation_item {
    margin-bottom: 8px;
    padding: 8px;
    background: rgba(79, 180, 121, 0.05);
    border-radius: 6px;
    border-left: 3px solid #4fb479;
}

.annotation_accession {
    margin-bottom: 4px;
}

.annotation_accession .go_link {
    color: #4fb479;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
}

.annotation_accession .go_link:hover {
    text-decoration: underline;
    color: #3a9b63;
}

.annotation_description {
    font-size: 13px;
    color: #2d7a4f;
    margin-bottom: 4px;
    line-height: 1.3;
}

.annotation_ontology {
    text-align: right;
}

.ontology_badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.ontology_badge.bp {
    background: rgba(255, 193, 7, 0.2);
    color: #856404;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.ontology_badge.mf {
    background: rgba(220, 53, 69, 0.2);
    color: #721c24;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.ontology_badge.cc {
    background: rgba(13, 110, 253, 0.2);
    color: #0a3d91;
    border: 1px solid rgba(13, 110, 253, 0.3);
}

.no_annotations {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    margin: 15px 0;
}

.popup_actions {
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid #e8f5ee;
    border-bottom: 1px solid #e8f5ee;
}

/* 网络边信息表格容器 */
.network_edges_table_container {
    background: white;
    border: 2px solid #e8f5ee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(79, 180, 121, 0.08);
}

.table_section_header {
    background: linear-gradient(135deg, #f8fbfa, #e8f5ee);
    padding: 15px 20px;
    border-bottom: 1px solid #e8f5ee;
}

.table_section_title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2d7a4f;
}

.table_icon {
    font-size: 20px;
}

/* 边表格工具栏 */
.edges_toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8fbfa;
    border-bottom: 1px solid #e8f5ee;
    flex-wrap: wrap;
    gap: 15px;
}

.edges_controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.edges_search_input {
    padding: 8px 12px;
    border: 1px solid #d1e7dd;
    border-radius: 6px;
    font-size: 14px;
    width: 250px;
    transition: all 0.3s ease;
}

.edges_search_input:focus {
    outline: none;
    border-color: #4fb479;
    box-shadow: 0 0 0 2px rgba(79, 180, 121, 0.1);
}

.edges_sort_select {
    padding: 6px 10px;
    border: 1px solid #d1e7dd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

/* 边表格样式 */
.edges_table_scroll_container {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: auto;
}

.edges_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.edges_table thead {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.edges_table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.edges_table th:hover {
    background: rgba(255, 255, 255, 0.1);
}

.edges_table th.sortable {
    cursor: pointer;
}

.edges_table th.no_sort {
    cursor: default;
}

.edges_table td {
    padding: 10px 15px;
    border-bottom: 1px solid #e8f5ee;
    vertical-align: middle;
}

.edges_table tbody tr {
    transition: background-color 0.2s ease;
}

.edges_table tbody tr:hover {
    background: rgba(79, 180, 121, 0.05);
}

.edges_table tbody tr:nth-child(even) {
    background: rgba(79, 180, 121, 0.02);
}

.edges_table tbody tr:nth-child(even):hover {
    background: rgba(79, 180, 121, 0.08);
}

/* 节点类型徽章 */
.node_type_badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.node_type_badge.tf {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.node_type_badge.gene {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    border: 1px solid rgba(13, 110, 253, 0.2);
}

/* 权重值样式 */
.weight_value {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #2d7a4f;
}

/* 边分页容器 */
.edges_pagination_container {
    padding: 15px 20px;
    background: #f8fbfa;
    border-top: 1px solid #e8f5ee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .network_controls_toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .network_controls_left {
        justify-content: center;
    }
    
    .network_controls_right {
        align-self: center;
    }
    
    .network_node_popup {
        width: 280px;
        max-height: 250px;
    }
}

@media (max-width: 768px) {
    .network_visualization_content {
        padding: 20px;
    }
    
    .network_chart {
        height: 400px;
    }
    
    .chart_loading_placeholder {
        height: 400px;
    }
    
    .filter_control_container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .edge_filter_slider {
        width: 150px;
    }
    
    .network_node_popup {
        position: relative;
        width: 100%;
        top: 0;
        right: 0;
        margin-top: 15px;
    }
    
    .edges_toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .edges_controls {
        justify-content: center;
    }
    
    .edges_search_input {
        width: 100%;
        max-width: 300px;
    }
    
    .edges_pagination_container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .network_stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .network_controls_left {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter_control_container {
        padding: 12px;
    }
    
    .download_chart_button {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== 多功能搜索区样式 ==================== */
.multi_search_container {
    background-color: hsla(0, 0%, 100%, 0.95);
    border: 2px solid #4fb479;
    border-radius: 15px;
    padding: 0;
    margin: 140px 20px 30px 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(79, 180, 121, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.multi_search_container:hover {
    border-color: #3a9b63;
    box-shadow: 0 6px 20px rgba(79, 180, 121, 0.15);
}

/* 多功能搜索内容区域 */
.multi_search_content {
    padding: 30px;
    transition: all 0.3s ease;
    overflow: visible;
}

.multi_search_content.collapsed {
    max-height: 0;
    padding: 0 30px;
    overflow: hidden;
}

/* 功能选择区域 */
.search_function_selection {
    margin-bottom: 25px;
}

.function_tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #4fb479 #f1f5f9;
}

.function_tabs::-webkit-scrollbar {
    height: 4px;
}

.function_tabs::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 2px;
}

.function_tabs::-webkit-scrollbar-thumb {
    background: #4fb479;
    border-radius: 2px;
}

.function_tab {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    min-width: fit-content;
}

.function_tab:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.function_tab.active {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    border-color: #3a9b63;
    color: white;
    box-shadow: 0 2px 8px rgba(79, 180, 121, 0.3);
}

.function_tab .tab_icon {
    font-size: 16px;
}

.function_tab .tab_text {
    font-weight: 600;
}

/* 搜索输入区域 */
.search_input_container {
    margin-bottom: 25px;
}

.search_input_section {
    display: none;
}

.search_input_section[style*="block"] {
    display: block;
}

.search_input_header {
    margin-bottom: 20px;
}

.input_section_title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.title_icon {
    font-size: 20px;
}

.input_section_description {
    margin: 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.4;
}

.search_input_group {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.search_input_group.two_inputs {
    flex-direction: column;
    align-items: stretch;
}

.search_input_group.two_inputs .search_input {
    flex: 1;
    margin-bottom: 12px;
}

.search_input_group.two_inputs .search_input:last-of-type {
    margin-bottom: 0;
}

/* 最短路径搜索输入对容器 */
.input_pair_container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.input_pair_container .search_input {
    flex: 1;
    margin-bottom: 0;
    max-width: 300px;
}

/* 交换按钮样式 */
.swap_button {
    background: linear-gradient(135deg, #4fb479, #3d8b60);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 48px;
    font-size: 16px;
}

.swap_button:hover {
    background: linear-gradient(135deg, #45a66b, #357a56);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 180, 121, 0.3);
}

.swap_button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(79, 180, 121, 0.2);
}

.swap_icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.swap_button:hover .swap_icon {
    transform: rotate(180deg);
}

/* 路径搜索控制按钮容器 */
.path_search_controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* 示例填充按钮 */
.example_fill_button {
    background: linear-gradient(135deg, #3182ce, #2c5aa0);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.example_fill_button:hover {
    background: linear-gradient(135deg, #2c5aa0, #285e8a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}

/* 最短路径搜索结果样式 */
.shortest_path_results {
    margin-top: 20px;
}

.path_search_info {
    background: #f8fffe;
    border: 1px solid #d4edda;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.path_search_summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.path_summary_item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
}

.path_summary_label {
    font-size: 12px;
    color: #718096;
    margin-bottom: 4px;
}

.path_summary_value {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
}

/* 共同模块列表样式 */
.common_modules_list {
    margin-top: 16px;
}

.common_modules_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.common_module_button {
    background: linear-gradient(135deg, #4fb479, #3d8b60);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.common_module_button:hover {
    background: linear-gradient(135deg, #45a66b, #357a56);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(79, 180, 121, 0.3);
}

/* 最短路径可视化容器 */
.paths_visualization_container {
    margin-top: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
}

.paths_viz_header {
    background: #f8f9fa;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px;
    border-radius: 8px 8px 0 0;
}

.paths_viz_title {
    margin: 0;
    font-size: 18px;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 8px;
}

.paths_viz_controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.path_navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.path_nav_button {
    background: #4fb479;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.path_nav_button:hover:not(:disabled) {
    background: #45a66b;
}

.path_nav_button:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
}

.path_info {
    font-size: 14px;
    color: #4a5568;
}

.path_download_button {
    background: linear-gradient(135deg, #4fb479, #3d8b60);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.path_download_button:hover {
    background: linear-gradient(135deg, #45a66b, #357a56);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 180, 121, 0.3);
}

/* 路径概要信息 */
.paths_summary_info {
    background: #f8f9fa;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.paths_summary_item {
    text-align: center;
}

.paths_summary_label {
    font-size: 12px;
    color: #718096;
    margin-bottom: 2px;
}

.paths_summary_value {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
}

/* 路径可视化画布 */
.path_canvas_container {
    padding: 20px;
    overflow-x: auto;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.path_canvas {
    min-width: 100%;
    min-height: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 路径导航控件（在画布下方） */
.paths_navigation_bottom {
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
    padding: 12px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

/* 路径节点样式 */
.path_node {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 0 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.path_node:hover {
    transform: translateY(-2px);
}

.path_node_circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.path_node_circle.tf_node {
    background: linear-gradient(135deg, #e53e3e, #c53030);
}

.path_node_circle.gene_node {
    background: linear-gradient(135deg, #3182ce, #2c5aa0);
}

.path_node:hover .path_node_circle {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.path_node_id {
    font-size: 12px;
    color: #4a5568;
    text-align: center;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

/* 路径箭头 */
.path_arrow {
    display: inline-flex;
    align-items: center;
    margin: 0 10px;
    font-size: 20px;
    color: #4a5568;
}

/* 节点详情弹窗（在路径可视化中） */
.path_node_details {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 200px;
    margin-bottom: 8px;
}

.path_node_details::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: white;
}

.path_node_details h5 {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #2d3748;
}

.path_node_details p {
    margin: 4px 0;
    font-size: 12px;
    color: #4a5568;
}

/* GO注释信息优雅风格 */
.go_annotations_elegant {
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.go_annotations_header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.go_annotations_title {
    margin: 0;
    color: #2d3748;
    font-size: 18px;
    font-weight: 600;
}

.go_annotations_badge {
    background: linear-gradient(135deg, #4fb479, #3d8b60);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.go_annotations_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.go_annotation_category {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.go_annotation_category:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.go_category_header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.go_category_icon {
    font-size: 18px;
}

.go_category_title {
    margin: 0;
    color: #4a5568;
    font-size: 16px;
    font-weight: 600;
}

.go_category_count {
    background: #f1f5f9;
    color: #4a5568;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.go_annotation_item {
    margin-bottom: 12px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 3px solid #4fb479;
    transition: all 0.2s ease;
}

.go_annotation_item:hover {
    background: #f1f5f9;
    border-left-color: #3d8b60;
}

.go_annotation_item:last-child {
    margin-bottom: 0;
}

.go_annotation_accession {
    display: inline-block;
    color: #4fb479;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.go_annotation_accession:hover {
    color: #3d8b60;
    text-decoration: underline;
}

.go_annotation_description {
    color: #718096;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.go_no_annotations {
    text-align: center;
    color: #a0aec0;
    font-style: italic;
    padding: 40px 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 2px dashed #e2e8f0;
}

/* 没有路径时的信息显示 */
.no_paths_info {
    padding: 30px 20px;
    text-align: center;
}

.no_paths_message {
    margin-bottom: 24px;
}

.no_paths_icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.no_paths_title {
    margin: 0 0 12px 0;
    color: #e53e3e;
    font-size: 18px;
    font-weight: 600;
}

.no_paths_description {
    margin: 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
}

.no_paths_actions {
    margin-top: 20px;
}

.swap_and_retry_button {
    background: linear-gradient(135deg, #3182ce, #2c5aa0);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(49, 130, 206, 0.2);
}

.swap_and_retry_button:hover:not(:disabled) {
    background: linear-gradient(135deg, #2c5aa0, #285e8a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}

.swap_and_retry_button:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.swap_and_retry_button .swap_icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.swap_and_retry_button:hover:not(:disabled) .swap_icon {
    transform: rotate(180deg);
}

/* 最短路径搜索加载遮罩 */
.path_search_loading_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(2px);
}

.path_search_loading_content {
    background: white;
    border-radius: 12px;
    padding: 30px 40px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    min-width: 300px;
}

.path_search_loading_spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px auto;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #4fb479;
    border-radius: 50%;
    animation: pathSearchSpin 1s linear infinite;
}

@keyframes pathSearchSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.path_search_loading_title {
    margin: 0 0 10px 0;
    color: #2d3748;
    font-size: 18px;
    font-weight: 600;
}

.path_search_loading_message {
    margin: 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
}

.path_search_loading_details {
    margin: 15px 0 0 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 13px;
    color: #4a5568;
    border-left: 3px solid #4fb479;
}

/* 禁用状态的搜索控件 */
.search_controls_disabled {
    pointer-events: none;
    opacity: 0.6;
    user-select: none;
}

.search_controls_disabled * {
    cursor: not-allowed !important;
}

/* 最短路径搜索响应式设计 */
@media (max-width: 768px) {
    .input_pair_container {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .input_pair_container .search_input {
        max-width: none;
    }
    
    .swap_button {
        align-self: center;
        transform: rotate(90deg);
        min-width: 48px;
        height: 40px;
    }
    
    .path_search_controls {
        justify-content: center;
        flex-direction: column;
    }
    
    .path_search_summary {
        grid-template-columns: 1fr;
    }
    
    .common_modules_grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .paths_viz_controls {
        flex-direction: column;
        gap: 16px;
        justify-content: center;
    }
    
    .path_navigation {
        order: 1;
    }
    
    .path_download_button {
        order: 2;
        align-self: center;
    }
    
    .path_canvas_container {
        padding: 12px;
    }
    
    .path_node {
        margin: 0 10px;
    }
    
    .path_node_circle {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
    
    .path_node_id {
        font-size: 10px;
        max-width: 80px;
    }
    
    .path_arrow {
        font-size: 16px;
        margin: 0 5px;
    }
}

@media (max-width: 480px) {
    .example_fill_button {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .path_nav_button {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .path_info {
        font-size: 12px;
        text-align: center;
    }
    
    .paths_summary_info {
        flex-direction: column;
        gap: 12px;
    }
    
    .paths_navigation_bottom {
        flex-direction: column;
        gap: 8px;
    }
    
    .go_annotations_grid {
        grid-template-columns: 1fr;
    }
    
    .go_annotations_elegant {
        padding: 16px;
    }
    
    .go_annotations_header {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .go_annotations_title {
        font-size: 16px;
    }
    
    .no_paths_info {
        padding: 20px 16px;
    }
    
    .no_paths_icon {
        font-size: 36px;
    }
    
    .no_paths_title {
        font-size: 16px;
    }
    
    .no_paths_description {
        font-size: 13px;
    }
    
    .swap_and_retry_button {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .path_search_loading_content {
        margin: 20px;
        padding: 20px 24px;
        min-width: 250px;
        max-width: 320px;
    }
    
    .path_search_loading_spinner {
        width: 40px;
        height: 40px;
        margin: 0 auto 16px auto;
    }
    
    .path_search_loading_title {
        font-size: 16px;
    }
    
    .path_search_loading_message {
        font-size: 13px;
    }
    
    .path_search_loading_details {
        font-size: 12px;
        padding: 8px;
    }
}

.search_input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #2d3748;
    transition: all 0.3s ease;
    background: white;
    min-width: 250px;
}

.search_input:focus {
    outline: none;
    border-color: #4fb479;
    box-shadow: 0 0 0 3px rgba(79, 180, 121, 0.1);
}

.search_input::placeholder {
    color: #a0aec0;
}

.search_textarea {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #2d3748;
    transition: all 0.3s ease;
    background: white;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.search_textarea:focus {
    outline: none;
    border-color: #4fb479;
    box-shadow: 0 0 0 3px rgba(79, 180, 121, 0.1);
}

.search_textarea::placeholder {
    color: #a0aec0;
}

.search_submit_button {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.search_submit_button:hover {
    background: linear-gradient(135deg, #3a9b63, #2d7a4f);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 180, 121, 0.3);
}

.search_submit_button:active {
    transform: translateY(0);
}

.search_clear_button {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.search_clear_button:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.search_icon,
.clear_icon,
.upload_icon {
    font-size: 16px;
}

/* ID集合搜索特殊样式 */
.id_set_controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.file_upload_section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file_upload_input {
    display: none;
}

.file_upload_button {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.file_upload_button:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.search_controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* 注释搜索示例功能样式 */
.annotation_example_section {
    margin-top: 15px;
}

.annotation_example_section .example_ids {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.annotation_example_section .example_title {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-right: 8px;
}

.annotation_example_section .example_keyword {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    white-space: nowrap;
}

.annotation_example_section .example_keyword:hover {
    background: linear-gradient(135deg, #3a9b63, #2d7a4f);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 180, 121, 0.3);
}

.annotation_example_section .example_keyword:active {
    transform: translateY(0);
}

/* 节点ID搜索示例功能样式 */
.node_id_example_section {
    margin-top: 15px;
}

.node_id_example_section .example_ids {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.node_id_example_section .example_title {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-right: 8px;
}

.node_id_example_section .example_node_id {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.node_id_example_section .example_node_id:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.node_id_example_section .example_node_id:active {
    transform: translateY(0);
}

/* 搜索结果区域 */
.search_results_container {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    margin-top: 25px;
}

.search_results_header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.search_results_title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.search_results_info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.search_result_stat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.stat_label {
    color: #718096;
    font-size: 13px;
    font-weight: 500;
}

.stat_value {
    color: #2d3748;
    font-size: 14px;
    font-weight: 600;
}

/* 搜索结果表格样式 */
.search_results_table_container {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.search_results_toolbar {
    background: #f8fafc;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.search_results_table_scroll_container {
    max-height: 600px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #4fb479 #f1f5f9;
}

.search_results_table_scroll_container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.search_results_table_scroll_container::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.search_results_table_scroll_container::-webkit-scrollbar-thumb {
    background: #4fb479;
    border-radius: 4px;
}

.search_results_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.search_results_table th {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    font-weight: 600;
    text-align: left;
    padding: 15px 12px;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 2px solid #3a9b63;
    white-space: nowrap;
}

.search_results_table th.sortable {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.search_results_table th.sortable:hover {
    background: linear-gradient(135deg, #3a9b63, #2d7a4f);
}

.search_results_table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
    color: #2d3748;
    line-height: 1.4;
}

.search_results_table tr:nth-child(even) {
    background-color: #f8fafc;
}

.search_results_table tr:hover {
    background-color: #f1f5f9;
}

.sort_indicator {
    margin-left: 8px;
    font-size: 12px;
    opacity: 0.7;
}

.sort_indicator.asc:after {
    content: "↑";
}

.sort_indicator.desc:after {
    content: "↓";
}

/* 表格特殊样式 */
.go_accession_link {
    color: #4fb479;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.go_accession_link:hover {
    color: #3a9b63;
    text-decoration: underline;
}

.ontology_badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 30px;
}

.ontology_badge.BP {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.ontology_badge.MF {
    background: #f3e5f5;
    color: #7b1fa2;
    border: 1px solid #e1bee7;
}

.ontology_badge.CC {
    background: #e8f5e8;
    color: #388e3c;
    border: 1px solid #c8e6c9;
}

.modules_list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 200px;
}

.module_pill {
    background: #4fb479;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.module_pill.clickable {
    cursor: pointer;
    transition: all 0.2s ease;
}

.module_pill.clickable:hover {
    background: #45a069;
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(79, 180, 121, 0.3);
}

.modules_more_button {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modules_more_button:hover {
    background: #e2e8f0;
    color: #475569;
}

/* 搜索结果排序选择框样式 */
.search_results_sort_select {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27currentColor%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpolyline points=%276,9 12,15 18,9%27%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 32px;
}

.search_results_sort_select:hover {
    border-color: #4fb479;
    box-shadow: 0 0 0 3px rgba(79, 180, 121, 0.1);
}

.search_results_sort_select:focus {
    outline: none;
    border-color: #4fb479;
    box-shadow: 0 0 0 3px rgba(79, 180, 121, 0.1);
}

/* 搜索结果分页样式 - 复用现有的分页样式 */
.search_results_pagination_container {
    background: #f8fafc;
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 模块选择弹窗样式 */
.module_selection_modal {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.module_selection_info {
    padding: 20px;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.search_context_info,
.available_modules_info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search_context_value,
.module_count_value {
    color: #2d3748;
    font-weight: 600;
}

.module_buttons_container {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #4fb479 #f1f5f9;
}

.module_buttons_container::-webkit-scrollbar {
    width: 8px;
}

.module_buttons_container::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.module_buttons_container::-webkit-scrollbar-thumb {
    background: #4fb479;
    border-radius: 4px;
}

.module_buttons_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.module_button {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.module_button:hover {
    background: #f1f5f9;
    border-color: #4fb479;
    color: #4fb479;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(79, 180, 121, 0.2);
}

.module_button:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .multi_search_container {
        margin: 140px 10px 20px 10px;
    }
    
    .multi_search_content {
        padding: 20px;
    }
    
    .function_tabs {
        flex-direction: column;
        gap: 8px;
    }
    
    .function_tab {
        justify-content: center;
    }
    
    .search_input_group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search_input {
        min-width: unset;
    }
    
    .id_set_controls {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .search_controls {
        justify-content: center;
    }
    
    .search_results_toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .search_results_info {
        justify-content: center;
    }
    
    .module_selection_info {
        flex-direction: column;
        gap: 10px;
    }
    
    .module_buttons_grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .search_results_sort_select {
        padding-right: 28px;
        background-size: 14px;
    }
    
    .annotation_example_section .example_ids {
        justify-content: center;
        gap: 8px;
    }
    
    .annotation_example_section .example_title {
        font-size: 13px;
        margin-right: 6px;
    }
    
    .annotation_example_section .example_keyword {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .node_id_example_section .example_ids {
        justify-content: center;
        gap: 8px;
    }
    
    .node_id_example_section .example_title {
        font-size: 13px;
        margin-right: 6px;
    }
    
    .node_id_example_section .example_node_id {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* ==================== 节点ID搜索结果样式 ==================== */

/* 节点ID搜索结果主容器 */
.node_id_search_results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 节点信息卡片 */
.node_info_card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.node_info_card:hover {
    border-color: #4fb479;
    box-shadow: 0 4px 12px rgba(79, 180, 121, 0.1);
}

.node_info_header {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    padding: 16px 20px;
}

.node_info_title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.node_icon {
    font-size: 18px;
}

.node_info_content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.node_info_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.info_label {
    font-weight: 600;
    color: #64748b;
    font-size: 14px;
    min-width: 120px;
}

.info_value {
    color: #2d3748;
    font-size: 14px;
    font-weight: 500;
}

.node_id_value {
    font-family: 'Courier New', monospace;
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
}

.module_count_value {
    color: #4fb479;
    font-weight: 700;
}

/* 模块结果卡片 */
.modules_results_card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.modules_results_card:hover {
    border-color: #4fb479;
    box-shadow: 0 4px 12px rgba(79, 180, 121, 0.1);
}

.modules_results_header {
    background: linear-gradient(135deg, #4fb479, #3a9b63);
    color: white;
    padding: 16px 20px;
}

.modules_results_title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.modules_icon {
    font-size: 18px;
}

.modules_results_description {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.modules_grid_container {
    padding: 20px;
}

.modules_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

/* 单个模块结果项 */
.module_result_card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.module_result_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4fb479, #3a9b63);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.module_result_card:hover {
    background: white;
    border-color: #4fb479;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 180, 121, 0.15);
}

.module_result_card:hover::before {
    transform: translateX(0);
}

.module_result_card:active {
    transform: translateY(-1px);
}

.module_result_header {
    margin-bottom: 12px;
}

.module_result_id {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    display: block;
}

.module_result_action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.module_result_card:hover .module_result_action {
    color: #4fb479;
}

.action_icon {
    font-size: 16px;
}

.action_text {
    font-weight: 600;
}

/* 无结果占位符 */
.no_results_placeholder {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.no_results_icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.no_results_placeholder h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
    color: #4a5568;
}

.no_results_placeholder p {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #718096;
}

.no_results_placeholder p:last-child {
    margin-bottom: 0;
}

/* 节点类型徽章 */
.node_type_badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.node_type_badge.tf {
    background: #fecaca;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.node_type_badge.gene {
    background: #bee3f8;
    color: #2563eb;
    border: 1px solid #93c5fd;
}

/* 节点ID搜索响应式设计 */
@media (max-width: 768px) {
    .node_info_content {
        padding: 16px;
    }
    
    .node_info_item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .info_label {
        min-width: unset;
        font-size: 13px;
    }
    
    .info_value {
        font-size: 13px;
    }
    
    .modules_grid_container {
        padding: 16px;
    }
    
    .modules_grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
    
    .module_result_card {
        padding: 12px;
    }
    
    .module_result_id {
        font-size: 14px;
    }
    
    .module_result_action {
        font-size: 12px;
        gap: 6px;
    }
    
    .action_icon {
        font-size: 14px;
    }
    
    .no_results_placeholder {
        padding: 30px 16px;
    }
    
    .no_results_icon {
        font-size: 36px;
    }
    
    .no_results_placeholder h3 {
        font-size: 18px;
    }
    
    .no_results_placeholder p {
        font-size: 13px;
    }
}

/* ===============================
   ID Set Search Centered Layout
   =============================== */

/* Centered Layout Container */
.id_set_centered_layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Input Wrapper */
.id_set_input_wrapper {
    width: 100%;
    max-width: 480px;
}

/* Centered Textarea */
.search_textarea_centered {
    width: 100%;
    min-height: 120px;
    max-height: 160px;
    padding: 16px;
    border: 2px solid #e8f5e8;
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    line-height: 1.5;
    resize: vertical;
    background: #fafffe;
    color: #2d2d2d;
    box-shadow: 0 2px 8px rgba(79, 180, 121, 0.1);
    transition: all 0.3s ease;
}

.search_textarea_centered:focus {
    outline: none;
    border-color: #4fb479;
    box-shadow: 0 4px 16px rgba(79, 180, 121, 0.2);
    background: #ffffff;
}

.search_textarea_centered::placeholder {
    color: #9ca3af;
    font-style: italic;
}

/* Buttons Row */
.id_set_buttons_row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 480px;
}

/* File Upload Section Inline */
.file_upload_section_inline {
    display: inline-block;
}

.file_upload_input {
    display: none;
}

/* Unified Button Styles */
.id_set_button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 100px;
    justify-content: center;
    text-decoration: none;
}

.id_set_button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.button_icon {
    font-size: 16px;
}

/* Individual Button Colors */
.example_button {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.example_button:hover:not(:disabled) {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.upload_button {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.upload_button:hover:not(:disabled) {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.search_button {
    background: linear-gradient(135deg, #4fb479 0%, #2d7a4f 100%);
    color: white;
}

.search_button:hover:not(:disabled) {
    background: linear-gradient(135deg, #47a86b 0%, #2d7a4f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 180, 121, 0.4);
}

.clear_button {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
}

.clear_button:hover:not(:disabled) {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.4);
}

/* ===============================
   ID Set Search Results Styles
   =============================== */

/* ID Set Search Results Section */
.search_results_section .modules_results_section {
    margin-top: 24px;
}

/* Enlarged title for ID Set Classification Results */
.search_results_section .results_title {
    font-size: 22px;
    font-weight: 700;
    color: #2d7a4f;
    margin-bottom: 16px;
}

.search_results_section .section_subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #2d7a4f;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f5e8;
}

.search_results_section .subtitle_icon {
    font-size: 18px;
}

/* Not Found Section */
.not_found_section {
    margin-bottom: 24px;
    padding: 16px;
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 8px;
}

.not_found_ids {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.not_found_id {
    display: inline-block;
    padding: 4px 8px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    border: 1px solid #fecaca;
}

/* Modules Grid Container with Scroll */
.modules_grid_container {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #e8f5e8;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
    background: #fafffe;
}

/* Modules Grid for ID Set Results */
.modules_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* Module Result Cards */
.module_result_card {
    background: white;
    border: 2px solid #e8f5e8;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.module_result_card:hover {
    border-color: #4fb479;
    box-shadow: 0 8px 25px rgba(79, 180, 121, 0.15);
    transform: translateY(-2px);
}

.module_card_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f9f0;
}

.module_card_title {
    font-size: 18px;
    font-weight: 700;
    color: #2d7a4f;
    margin: 0;
}

.module_card_count {
    background: #e8f5e8;
    color: #2d7a4f;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.module_card_content {
    margin-bottom: 20px;
}

.module_nodes_preview_container {
    max-height: 120px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f9fafb;
}

.module_nodes_preview_scroll {
    max-height: 120px;
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: flex-start;
}

.module_nodes_preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.node_preview {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-family: 'Courier New', monospace;
    font-weight: 500;
    border: 1px solid;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: help;
}

.node_preview.tf_node {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.node_preview.gene_node {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}



.module_card_actions {
    display: flex;
    justify-content: center;
}

.module_select_button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #4fb479 0%, #2d7a4f 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: center;
}

.module_select_button:hover {
    background: linear-gradient(135deg, #47a86b 0%, #2d7a4f 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 180, 121, 0.3);
}

.module_select_button:active {
    transform: translateY(0);
}

.module_select_button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.module_select_button .action_icon {
    font-size: 16px;
}

/* Results Summary */
.results_summary {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.summary_item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #f0f9f0;
    border: 1px solid #d1e7dd;
    border-radius: 20px;
    font-size: 13px;
    color: #2d7a4f;
}

/* Responsive Design for ID Set Search */
@media (max-width: 768px) {
    .id_set_centered_layout {
        padding: 0 16px;
        gap: 16px;
    }
    
    .id_set_input_wrapper {
        max-width: 100%;
    }
    
    .search_textarea_centered {
        min-height: 100px;
        max-height: 140px;
        padding: 12px;
        font-size: 13px;
    }
    
    .id_set_buttons_row {
        gap: 8px;
        max-width: 100%;
    }
    
    .id_set_button {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 80px;
    }
    
    .modules_grid_container {
        max-height: 400px;
        padding: 12px;
    }
    
    .modules_grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .module_result_card {
        padding: 16px;
    }
    
    .module_card_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .module_card_title {
        font-size: 16px;
    }
    
    .module_nodes_preview_container {
        max-height: 100px;
    }
    
    .module_nodes_preview_scroll {
        max-height: 100px;
        padding: 6px;
        gap: 4px;
    }
    
    .node_preview {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    .module_select_button {
        width: 100%;
        padding: 14px 20px;
    }
    
    .results_summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .search_results_section .results_title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .id_set_centered_layout {
        padding: 0 12px;
        gap: 12px;
    }
    
    .search_textarea_centered {
        min-height: 80px;
        max-height: 120px;
        padding: 10px;
        font-size: 12px;
    }
    
    .id_set_buttons_row {
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }
    
    .id_set_button {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 70px;
        width: 180px;
    }
    
    .search_results_section .section_subtitle {
        font-size: 14px;
        flex-wrap: wrap;
    }
    
    .search_results_section .results_title {
        font-size: 16px;
    }
    
    .modules_grid_container {
        max-height: 300px;
        padding: 8px;
    }
    
    .module_card_count {
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .module_nodes_preview_container {
        max-height: 80px;
    }
    
    .module_nodes_preview_scroll {
        max-height: 80px;
        padding: 4px;
        gap: 3px;
    }
    
    .node_preview {
        font-size: 8px;
        padding: 2px 4px;
    }
    
    .not_found_id {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .summary_item {
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* ==================== 错误界面样式 ==================== */

/* 节点ID搜索错误界面 */
.node_id_error_container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    min-height: 300px;
}

.node_id_error_card {
    background: linear-gradient(135deg, #fff5f5, #fef2f2);
    border: 2px solid #fecaca;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(252, 165, 165, 0.2);
    transition: all 0.3s ease;
}

.node_id_error_card:hover {
    box-shadow: 0 15px 40px rgba(252, 165, 165, 0.3);
    transform: translateY(-2px);
}

.error_icon_container {
    margin-bottom: 20px;
}

.error_icon {
    font-size: 64px;
    color: #ef4444;
    filter: drop-shadow(0 4px 8px rgba(239, 68, 68, 0.3));
}

.error_content h3.error_title {
    font-size: 28px;
    color: #dc2626;
    margin: 0 0 16px 0;
    font-weight: 700;
}

.error_content p.error_message {
    font-size: 16px;
    color: #7f1d1d;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.error_suggestions {
    background: #fefefe;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    text-align: left;
}

.suggestions_title {
    font-size: 18px;
    color: #dc2626;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.suggestions_list {
    margin: 0;
    padding-left: 20px;
    color: #7f1d1d;
}

.suggestions_list li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.error_actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.error_action_button {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-width: 140px;
    justify-content: center;
}

.error_action_button:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

.error_action_button.secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.error_action_button.secondary:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    box-shadow: 0 6px 16px rgba(107, 114, 128, 0.3);
}

.action_icon {
    font-size: 16px;
}

/* 最短路径搜索错误界面 */
.shortest_path_error_container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    min-height: 400px;
}

.shortest_path_error_card {
    background: linear-gradient(135deg, #fff5f5, #fef2f2);
    border: 2px solid #fecaca;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(252, 165, 165, 0.2);
    transition: all 0.3s ease;
}

.shortest_path_error_card:hover {
    box-shadow: 0 15px 40px rgba(252, 165, 165, 0.3);
    transform: translateY(-2px);
}

.invalid_ids_list {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    text-align: left;
    list-style: none;
}

.invalid_ids_list li {
    color: #7f1d1d;
    margin-bottom: 8px;
    padding: 4px 0;
}

.path_search_summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
    text-align: left;
}

.path_summary_item {
    background: #fefefe;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
}

.path_summary_item.invalid {
    border-color: #fecaca;
    background: #fef2f2;
}

.path_summary_item.valid {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.path_summary_label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.path_summary_value {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    word-break: break-all;
}

.path_summary_status {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.path_summary_status.error {
    color: #dc2626;
}

.path_summary_status.valid {
    color: #059669;
}

/* 响应式设计 - 错误界面 */
@media (max-width: 768px) {
    .node_id_error_card,
    .shortest_path_error_card {
        padding: 24px;
        margin: 20px;
    }
    
    .error_icon {
        font-size: 48px;
    }
    
    .error_content h3.error_title {
        font-size: 22px;
    }
    
    .error_content p.error_message {
        font-size: 14px;
    }
    
    .error_actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error_action_button {
        width: 100%;
        max-width: 200px;
    }
    
    .path_search_summary {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .path_summary_item {
        padding: 12px;
    }
}

