/* chart2.html专属样式 */
/* .tb-button 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;
}

.tb-button button:hover {
    background-color: #f9c2a0;
} */

.nav2 {
    /* 单图全屏模式 */
    width: 100vw;
    height: 2.5rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #f7af8c;
    position: fixed;
    top: 0;
    left: 50%;
    /* 将元素左侧边缘定位到视口水平中心 */
    transform: translateX(-50%);
    /* 向左平移元素自身宽度的一半 */
    background-color: white;
    /* 设置背景颜色，避免内容透出 */
    z-index: 1000;
    /* 设置 z-index，确保元素在最上层 */
}

.nav2-left {
    width: 23%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
}

.nav2-right {
    width: 73%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    flex-wrap: wrap;
}

.nav2-item {
    font-size: 1rem;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav2-item img {
    width: 1.3rem;
    height: 1.3rem;
    margin-right: 0.4rem;
}

.form {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    margin: 0 auto;
}

.form input {
    font-size: 0.9rem;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    height: 26px;
    border: none;
    /* border-bottom: 1px solid #f7af8c; */
    background-color: transparent;
    padding: 0;
    margin-right: 15px;
}

.form input:focus {
    outline: none;
    /* 移除默认的聚焦轮廓 */
    /* 设置被选中时的边框样式 */
    background-color: #fde3cb;
}

.chart2 {
    /* 单图片全屏模式 */
    width: 90vw;
    max-width: 1560px;
    border-radius: 3px;
    box-sizing: border-box;
    margin: 0 auto 0;
}

.chart2-header {
    width: 100%;
    height: 2.5rem;
    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;
}

.chart2-content {
    width: 100%;
    height: calc(100vh - 13rem);
    display: flex;
    box-sizing: border-box;
}

.chart3-content {
    width: 100%;
    height: calc(100vh - 9.5rem);
    display: flex;
    box-sizing: border-box;
}

.chart2-kline-content {
    width: 100%;
    height: calc(100vh - 9.5rem);
    display: flex;
    box-sizing: border-box;
}

.chart2-header-title {
    /* width: 50%; */
    height: 100%;
    /* border-left: 5px solid #f7af8c; */
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 40px;
    text-align: left;
    padding-left: 0.5rem;
    letter-spacing: 1px;
    word-spacing: 2px;
}

.chart2-header-label {
    /* width: 50%; */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    flex-wrap: wrap;
}

.labels {
    width: 8%;
    height: 70%;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
}

.labels input {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.btn {
    width: 100%;
    height: 100%;
    padding: 5px;
    text-align: center;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid lightgray;
}

.labels input:checked+.btn {
    box-sizing: border-box;
    border: 1px solid #ef6a4c;
    /* background-color: #f7af8c; */
    color: #ef6a4c;
}

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

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

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

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