.content_container {
    width: calc(100% - 40px);
    /* 保证内容不溢出 */
    /* height: 1130px; */
    /* 由内容自动撑起 */
    padding: 40px 20px;
}


.content_container .haplotype_result_container,
.content_container .transcript_result_container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

}

.content_container .result_details_container {
    /* width: 345px; */
    margin: 20px;
    background: linear-gradient(to right, #C0DDE4, #F6EDD3);
    border-radius: 10px;
    /* 防止margin塌陷 */
    overflow: hidden;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.1);
}



.content_container .result_details_container .content_box {

    background: rgba(255, 255, 255, 0.8);
    border-radius: 5px;

    /* 垂直方向出现滚动条 */
    overflow-y: auto;

    /* 让出背景的渐变使其成为其渐变色的border */
    margin: 10px;
}

.content_container #haplotype_SNP_result_details_container .content_box {
    max-height: 850px;
}

.content_container #transcript_result_details_container .content_box {
    max-height: 1040px;
}

.content_container .result_details_container .content_box .result_details {
    padding: 10px;
    text-align: left;
    /* 文本内容两端对齐 */
    font-size: 18px;
    /* color: #dce6d7; */
}

.content_container .result_details_container .content_box .main_title {
    font-size: 16px;
    font-weight: bold;
    margin: 10px;
    display: block;
    background-color: #bcdfec;
    border-bottom: 1px solid #b3cdd6;
    text-align: center;
    border-radius: 5px;
}

.content_container .result_details_container .content_box .item_container {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.content_container .result_details_container .content_box .item_container .item_title {
    font-weight: bold;
    margin-right: 10px;
    font-size: 15px;
    background-color: #eae7e7;
    border-bottom: 1px solid #929191;
    padding: 5px;
    border-radius: 5px;
}

.content_container .result_details_container .content_box .item_container .item_content {
    font-size: 15px;
}

.content_container .result_details_container .content_box .sequence_item_container .sequence_container_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #eae7e7;
    border-radius: 5px;
    border-bottom: 1px solid #929191;
}

.content_container .result_details_container .content_box .sequence_item_container .sequence_container_header .item_title {
    font-weight: bold;
    /* margin-right: 10px; */
    font-size: 15px;
    padding: 5px;
}

.content_container .result_details_container .content_box .sequence_item_container .sequence_container {
    margin: 15px 0;
    padding: 10px;
    font-size: 14px;
    height: auto;
    max-height: 320px;
    word-wrap: break-word;
    /* 允许在长单词或URL内部进行换行 */
    /* white-space: pre-wrap; */
    /* 保持空白符的处理，同时允许文本自动换行 */
    background-color: white;
    overflow-y: auto;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.content_container .result_details_container .content_box .sequence_item_container .sequence_container .highlight_transcript_range {
    background-color: #ffceae;
    color: #333;
}

.content_container .result_details_container .table_item_container .table_header_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 10px; */
    background: #eae7e7;
    border-radius: 5px;
    border-bottom: 1px solid #929191;
}



.content_container .result_details_container .table_item_container .table_header_container .item_title {
    font-weight: bold;
    font-size: 18px;
    padding: 5px;
}

.content_container .result_details_container .table_item_container .table_content_container {
    margin-top: 10px;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.content_container .result_details_container .table_item_container .table_content_container .table_header table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #bbe1bb;
    border-radius: 5px 5px 0 0;
    border-width: 0;
}

.content_container .result_details_container .table_item_container .table_content_container .table_header table th {

    padding: 10px 5px;
    text-align: left;
    font-size: 18px;
    border-width: 0;
}

.content_container .result_details_container .table_item_container .table_content_container .table_header table th:nth-child(2) {
    padding-right: 30px;
}

.content_container .result_details_container .table_item_container .table_content_container .table_content {
    height: auto;
    max-height: 280px;
    overflow-y: auto;
    overflow-x: scroll;
}

.content_container .result_details_container .table_item_container .table_content_container .table_content table {
    width: 100%;
    table-layout: fixed;
    /* 固定布局，防止自动换行 */
    border-collapse: collapse;
    /* 使表格边框重叠，更整洁 */
    border-width: 0;

}

.content_container .result_details_container .table_item_container .table_content_container .table_content table tr:nth-child(even) {
    background-color: #e4f6e4;
}

.content_container .result_details_container .table_item_container .table_content_container .table_content table tr:hover {
    background-color: #8bc2d0;
    color: #fff;
}

.content_container .result_details_container .table_item_container .table_content_container .table_content table td {
    border: 1px solid #ccc;
    padding: 10px 5px;
    text-align: left;
    font-size: 18px;
    white-space: nowrap;
    border-width: 1px 0;
    width: 200px;

}

.content_container details {
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.1);

}

.content_container details summary {
    font-size: 16px;
    font-weight: bold;
    background: #8bc2d0;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}

.content_container details .table_footer_pagination_container .table_container {
    margin-top: 20px;
    width: 100%;
    overflow-x: auto;
}

.content_container details .table_footer_pagination_container .table_container table {
    width: 100%;
    border-collapse: collapse;
    border: none;
    border-radius: 10px 10px 0 0;
    /* 设置表格的左上和右上圆角为10px */
    overflow: hidden;
    /* 保持圆角，隐藏溢出的子元素 */
    table-layout: auto;
    /* 允许列宽自适应内容宽度 */

}

.content_container details .table_footer_pagination_container .table_container table thead {
    background-color: #bbe1bb;
}

.content_container details .table_footer_pagination_container .table_container table th {
    text-align: center;
    /* 标题和单元格内容居中对齐 */
    font-size: 16px;
    /* 字号设置为18px */
    padding: 15px 30px;
    /* 设置单元格的上下padding为15px, 左右padding为30px */
    font-weight: bold;
    /* 标题字体加粗 */
    border: none;
    /* 去除所有边线 */
}

.content_container details .table_footer_pagination_container .table_container table td {
    text-align: center;
    /* 单元格内容居中对齐 */
    font-size: 16px;
    /* 字号设置为18px */
    padding: 15px 30px;
    /* 设置单元格的上下padding为10px, 左右padding为30px */
    border: none;
    /* 去除所有边线 */
    /* border-top: 1px solid #ccc; */
    /* 添加上边框，不添加更清爽一点，并且避免了色块td的上下边框错位的问题 */
}

/* SNP表格的IsoSeqEvidence、RNASeqEvidence 两列数据项的内容长度不一，并且存在空格，可能导致换行 */
.content_container details #SNP_table_container table td:nth-child(4),
.content_container details #SNP_table_container table td:nth-child(5) {
    white-space: nowrap;
    /* 防止内容换行 */
}

/* SNP表格的 haplotypeSNP 这一列数据过长，使用左对齐方式，并放置在一行之内*/
.content_container details #SNP_table_container table td:nth-child(6),
.content_container details #SNP_table_container table th:nth-child(6) {
    white-space: nowrap;
    /* 防止内容换行 */
    text-align: left;
    /* 设置文本左对齐 */
    min-width: max-content;
    /* 列宽至少与内容宽度相同 */
}

/* 为SNP表格中放置颜色点的div容器设置为水平竖直居中 */
.content_container details #SNP_table_container table tbody tr td:last-child {
    display: flex;
    justify-content: center;
    align-items: center;

}

.content_container details .table_footer_pagination_container .table_container table tbody tr:nth-child(even) {
    background-color: #e4f6e4;
    /* 为tbody中所有奇数行设置浅绿色背景 */
}

.content_container details .table_footer_pagination_container .table_container table tbody tr:hover {
    background-color: #c7e3ed;
    /* color: #525252; */
    /* 鼠标悬停时，背景颜色变为深蓝色，字体颜色变为白色 */
}

.content_container details .table_footer_pagination_container .footer_pagination_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 0 0 10px 10px;
}

.content_container details .table_footer_pagination_container .footer_pagination_container .footer_notes {
    font-size: 15px;
    margin-left: 10px;
}

.content_container details .table_footer_pagination_container .footer_pagination_container .footer_notes .count {
    font-weight: bold;
    margin: 0 5px;
}

.content_container details .table_footer_pagination_container .footer_pagination_container .pagination_container {
    display: flex;
    justify-content: center;
    align-items: center;
}



.content_container details .table_footer_pagination_container .footer_pagination_container .download_button,
.content_container .result_details_container .download_button,
.content_container .result_details_container .copy_button,
.content_container details .table_footer_pagination_container .table_container .copy_button,
.content_container details .table_footer_pagination_container .footer_pagination_container .pagination_container a {
    margin: 10px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #333;
    background: #f0f0f0;
    cursor: pointer;
    font-size: 14px;
}

.content_container details .table_footer_pagination_container .footer_pagination_container .download_button:hover,
.content_container .result_details_container .download_button:hover,
.content_container .result_details_container .copy_button:hover,
.content_container details .table_footer_pagination_container .table_container .copy_button:hover,
.content_container details .table_footer_pagination_container .footer_pagination_container .pagination_container a:hover,
.content_container details .table_footer_pagination_container .footer_pagination_container .pagination_container .active {
    background: #8bc2d0;
    color: #fff;
}
