html,
body {
    width: 100vw;
    /* height: 100vh; */
    height: auto;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    /* 隐藏横向滚动条 */
    overflow-x: hidden;
    scrollbar-color: #d3d3d3 #f5f5f5;
    /* 滑块颜色 轨道颜色 */
    scrollbar-width: thin;
    padding: 20px 0 0;
    background-color: #f5f5f5;
}

/* 颈部状态栏通用样式 */
.neck {
    width: 90vw;
    height: 1.5rem;
    max-width: 1560px;
    font-size: 0.9rem;
    line-height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto 0;
    padding: 5px;
}

/* 表格通用样式 */
.mytable {
    width: 90vw;
    max-width: 1560px;
    margin: 0 auto;
    border-radius: 5px;
    box-sizing: border-box;
}

.mytable-header {
    width: 100%;
    height: 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: left;
    line-height: 2.5rem;
    border-left: 5px solid #f7af8d;
    background-color: #f5f5f5;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mytable-header-title {
    padding-left: 0.5rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.mytable table {
    width: 100%;
    /* border-radius: 5px; */
    /* 设置表格为固定布局 */
    table-layout: fixed;
    background-color: white;
    padding-bottom: 1rem;
    box-sizing: border-box;
}

.mytable th {
    width: 100%;
    height: 2rem;
    font-size: 1.1rem;
    text-align: center;
    line-height: 2rem;
    border-bottom: 1px solid lightgray;
}

.mytable tr {
    height: 2rem;
    font-size: 0.9rem;
    line-height: 2rem;
}

.mytable td {
    color: #666666;
    text-align: right;
    padding-right: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.mytable th,
.mytable td {
    /* width: calc(100% / 10); */
    /* 平均分配列宽，表格有 10 列 */
    overflow: hidden;
    /* 隐藏溢出内容 */
    text-overflow: ellipsis;
    /* 溢出内容用省略号表示 */
    white-space: nowrap;
    /* 不换行 */
}

/* 显示表头排序样式 */
th.sorted-asc::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 6px solid #666666;
    margin-left: 0.3rem;
    vertical-align: middle;
}

th.sorted-desc::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #666666;
    margin-left: 0.3rem;
    vertical-align: middle;
}

.memo {
    width: 90vw;
    max-width: 1560px;
    min-height: 2rem;
    box-sizing: border-box;
    margin: 0.5rem auto;
    color: #666666;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    line-height: 1.5rem;
}

.memo pre span {
    white-space: pre-wrap;
    overflow-wrap: break-word;
    min-height: 2rem;
    font-family: Arial, Helvetica, sans-serif;
    padding-top: 0.5rem;
}

/* 页脚通用样式 */
footer {
    width: 100vw;
    height: 3rem;
    line-height: 3rem;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 2rem;
    background-color: lightgray;
}

.input-dropdown {
    position: relative;
    display: inline-block;
}

.input-dropdown-content {
    font-size: 0.9rem;
    display: none;
    position: relative;
    left: 0;
    right: auto;
    background-color: #f5f5f5;
    min-width: 80px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.input-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.input-dropdown-content a:hover {
    background-color: #fee0c6;
}

/* 为日期输入框设置字体和字号 */
.chart-input[type="date"] {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
}

.mytable button,
.chart2 button {
    font-size: 0.9rem;
    background-color: #f5f5f5;
    color: #f2855d;
    border: 1px solid #f2855d;
    width: 70px;
    height: 26px;
    border-radius: 5px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.mytable button:hover,
.chart2 button:hover {
    background-color: #f9c2a0;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    outline: none;
}

/* 鼠标悬停样式 */
a:hover {
    background-color: #fee0c6;
    /* 鼠标悬停时背景颜色 */
}

/* 选中样式 */
a:active {
    background-color: #f69f75;
    /* 链接被选中时的背景颜色 */
}

/* 以下是simAcct.html专属样式 在mytable基础上略有修改 */
.simtable {
    width: 90vw;
    max-width: 1560px;
    margin: 0 auto 0;
    border-radius: 5px;
}

.simtable-header {
    width: 100%;
    height: 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: left;
    line-height: 2.5rem;
    border-left: 5px solid #f7af8d;
    background-color: #f5f5f5;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.simtable-indicators {
    width: 100%;
    height: 3.5rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background-color: white;
}

.simtable-indicator {
    width: 8%;
    min-width: 100px;
    height: 100%;
    box-sizing: border-box;
    margin: 0 10px;
    font-family: Open Sans, sans-serif;
    color: #808284;
}

.simtable-indicator-label {
    width: 100%;
    height: 50%;
    box-sizing: border-box;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simtable-indicator-value {
    width: 100%;
    height: 50%;
    box-sizing: border-box;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simtable-content {
    width: 100%;
    margin-bottom: 2rem;
    min-height: 10.5rem;
    display: flex;
    align-items: top;
    justify-content: space-between;
}

.content-left {
    width: 49.5%;
}

.content-right {
    width: 49.5%;
}

.table-holding-plan {
    width: 100%;
    /* height: 100%; */
    /* min-height: 8.5rem; */
    /* max-height: 22.5rem; */
    background-color: white;
}

.table-details {
    width: 100%;
    height: 100%;
    background-color: white;
}

.simtable table {
    width: 100%;
    table-layout: fixed;
    background-color: white;
    padding-bottom: 0.5rem;
}

.simtable th {
    width: 100%;
    height: 2rem;
    font-size: 1.1rem;
    text-align: center;
    line-height: 2rem;
    border-bottom: 1px solid lightgray;
}

.simtable tr {
    height: 2rem;
    font-size: 0.9rem;
    line-height: 2rem;
    border-bottom: 1px solid red;
}

.simtable td {
    color: #666666;
    text-align: right;
    padding-right: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.simtable th,
.simtable td {
    overflow: hidden;
    /* 隐藏溢出内容 */
    text-overflow: ellipsis;
    /* 溢出内容用省略号表示 */
    white-space: nowrap;
    /* 不换行 */
}