button {
    font-size: 0.9rem;
    background-color: #f2855d;
    color: white;
    border: none;
    /* padding: 3px; */
    width: 70px;
    height: 26px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
}

button:hover {
    background-color: #f9c2a0;
    /* 鼠标悬停时颜色可微调为稍浅的颜色 */
    transform: scale(1.05);
}

button:active {
    background-color: #f9c2a0;
    /* 鼠标悬停时颜色可微调为稍浅的颜色 */
    transform: scale(0.95);
}

button:focus {
    outline: none;
    /* box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.5); */
    /* 修改 box-shadow 颜色为 #f59b7b 的半透明版本 */
    box-shadow: 0 0 0 3px rgba(245, 155, 123, 0.5);
}

.menu {
    width: 90vw;
    height: 25vh;
    max-width: 1560px;
    min-width: 720px;
    min-height: 180px;
    margin: 0 auto 20px;
}

.menu-labels {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    align-content: space-between;
    justify-content: space-between;
    flex-wrap: wrap;
}

.menu-label-card {
    width: 18%;
    height: 46%;
    background-color: white;
    border-radius: 5px;
    /* box-shadow: 1px 1px 1px 1px #fde0c5; */
    box-shadow: 1px 1px 1px 1px rgba(235, 235, 235);
    /* box-shadow: 1px 1px 1px 1px lightgray; */
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    font-size: 1rem;
}

.menu-label-card-none {
    width: 18%;
    height: 45%;
}

.menu-label-card a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-label-card img {
    width: 1.6rem;
    height: auto;
    padding-right: 15px;
}

.label-text {
    width: 90%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.label-text-cell {
    width: 45%;
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    /* border: 1px solid lightgray; */
}

.quantile {
    width: 100%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.progress {
    width: 100%;
    height: 10%;
    /* background-color: #fde0c5; */
    background-color: rgba(235, 235, 235);
    border-radius: 2px;
    overflow: hidden;
    text-align: center;
}

.progress-bar {
    height: 100%;
    /* background-color: #f7af8d; */
    background-color: rgba(225, 225, 225);
    transition: width 0.5s ease;
}

.chart {
    width: 90vw;
    max-width: 1560px;
    height: auto;
    max-height: 1170px;
    border-radius: 5px;
    margin: 0 auto 0;
}

.chart-header {
    width: 100%;
    height: 2.5rem;
    border-left: 5px solid #f7af8c;
    letter-spacing: 1px;
    word-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: start;
}

.chart-header-title {
    width: 40%;
    height: 100%;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 2.5rem;
    text-align: left;
    padding-left: 0.5rem;
    letter-spacing: 1px;
    word-spacing: 2px;
}

.chart-header-label {
    width: 60%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    flex-wrap: wrap;
}

.labels {
    width: 15%;
    max-width: 120px;
    height: 70%;
    margin-left: 10px;
    margin-right: 10px;
    transition: all 0.3s ease;
    position: relative;
}

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

.labels select {
    font-size: 0.9rem;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    width: 100%;
    min-width: 60px;
    height: 100%;
    border: none;
    background-color: transparent;
    padding: 0;
}

.labels select:focus {
    outline: none;
}

.btn {
    width: 100%;
    height: 1.6rem;
    font-size: 0.8rem;
    line-height: 1.6rem;
    text-align: center;
    border-radius: 5px;
    border: 1px solid lightgray;
}

.labels input:checked+.btn {
    border: 1px solid #ef6a4c;
    color: #ef6a4c;
}

.chart-content {
    width: 100%;
    height: 67.5vh;
    display: flex;
    background-color: white;
}

.chart-footer {
    width: 100%;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-footer-label {
    width: 8%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 以下为db33_update.html专属样式 */
.info-main {
    width: 90vw;
    max-width: 1560px;
    min-height: calc(100vh - 9.5rem);
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: top;
    margin: 0 auto;
    border-radius: 5px;
    background-color: white;
}

.info-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    line-height: normal;
    /* border-radius: 5px; */
    /* padding: 0.5rem; */
}

.info-output {
    width: 90vw;
    max-width: 1560px;
    min-height: 1rem;
    line-height: normal;
    margin: 0.5rem auto;
    /* border: 1px dashed #f9c2a0; */
    border-radius: 5px;
    padding: 0.5rem;
}

.info-tb {
    width: 100%;
    height: 98%;
    font-size: 0.9rem;
    line-height: normal;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    /* 设置表格为固定布局 */
}

.info-tb tr {
    /* height: calc(100% / 12);
    min-height: 2rem; */
    height: 3rem;
    /* 平均分配行高，需要根据实际行数修改 */

}

.info-tb th,
.info-tb td {
    /* 平均分布列宽 */
    width: calc(100% / 7);
    /* 确保内容靠上、靠左 */
    border-bottom: 1px solid #f5f5f5;
    /* 给每个单元格添加下边框 */
    text-align: center;
    vertical-align: middle;
}

.info-input {
    font-size: 0.9rem;
    width: 120px;
    height: 26px;
    border: 1px solid lightgray;
    border-radius: 3px;
    background-color: white;
    outline: none;
}

.info-input:focus {
    box-sizing: border-box;
    border: none;
    background-color: #fde3cb;
}

/* 以下db3_chart_rsrs.html专属样式 */
.chart-rsrs-item input {
    font-size: 0.9rem;
    text-align: center;
    height: 26px;
    border: none;
    border-bottom: 1px solid #f7af8c;
    background-color: transparent;
    padding: 0;
    margin-right: 15px;
}

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

.chart-rsrs-item input[type="date"] {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
}

.chart-rsrs {
    width: 90vw;
    /* height: calc(100vh - 120px); */
    max-width: 1560px;
    border-radius: 3px;
    margin: 0 auto 0;
    /* border-bottom: 1px solid #f7af8c; */
    overflow: hidden;

}

.chart-rsrs-header {
    width: 100%;
    height: 2.5rem;
    letter-spacing: 1px;
    word-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: start;
}

.chart-rsrs-header-title {
    width: 100%;
    height: 100%;
    border-left: 5px solid #f7af8c;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 2.5rem;
    text-align: left;
    letter-spacing: 1px;
    word-spacing: 2px;
}

.chart-rsrs-content {
    width: 100%;
    height: calc(100vh - 9.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
}

.chart-rsrs-left {
    width: 80%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-rsrs-right {
    width: 20%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    background-color: white;
}

fieldset {
    width: 85%;
    height: 100%;
    border: 1px dashed #f7af8c;
    border-radius: 5px;
    margin-top: 10px;
}

legend {
    font-size: 1rem;
    font-weight: bold;
    padding: 0 0.4rem;
}

.chart-rsrs-item {
    width: 100%;
    height: calc((100vh - 160px) / 13);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 5px;
}

.chart-rsrs-button {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: space-evenly;
    line-height: 40px;
    margin-top: 10px;
}

/* 以下db33_index.html专属样式 */
.idxCards {
    width: 90vw;
    height: calc(100vh - 120px);
    max-width: 1560px;
    min-width: 720px;
    margin: 0 auto 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: space-between;
    justify-content: space-between;
    color: #666666;
}

.idxCard {
    width: 32%;
    height: 48%;
    background-color: white;
    border-radius: 5px;
    border-right: 2px solid #fde0c5;
    border-bottom: 2px solid #fde0c5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.idxCard-header {
    width: 100%;
    height: 2.5rem;
    /* border-bottom: 1px solid lightgray; */
}

.idxCard-header span {
    width: 90%;
    line-height: 2rem;
    padding-left: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.idxCard-content {
    width: 80%;
    height: 20%;
    min-height: 3.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    justify-items: center;
    /* border-bottom: 1px solid lightgray; */
}

.idxCard-item {
    width: 28%;
    /* background-color: #f7f8fc; */
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    border-radius: 3px;
}

.idxCard-item span {
    width: 100%;
    height: 1.5rem;
    text-align: center;
    line-height: 1.5rem;
}


.idxCard-footer {
    width: 80%;
    /* 让 footer 自动填充剩余空间 */
    flex: 1;
    box-sizing: border-box;
}

.idxCard-qt {
    width: 100%;
    height: calc(100% / 3);
    margin: 0 auto 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qt-item {
    width: 100%;
    height: auto;
    font-size: 0.9rem;
    text-align: left;
    line-height: 1.2rem;
    padding: 5px;
}

.qt-progress {
    width: 100%;
    height: 0.6rem;
    /* background-color: #f7f8fc; */
    background-color: #f5f5f5;
    border-radius: 3px;
    overflow: hidden;
    text-align: center;
}

.qt-progress-bar {
    height: 100%;
    background-color: #f7af8d;
    transition: width 0.5s ease;
}

/* 以下为版本更新信息records.html专属样式 */
.records-container {
    width: 90vw;
    max-width: 1560px;
    height: auto;
    min-height: calc(100vh - 4rem);
    /* max-height: 1170px; */
    border-radius: 5px;
    margin: 0 auto 0;
    background-color: white;
    /* border: 1px dashed #f7af8d; */
}

/* 以下为数据更新data_update.html专属样式 */
.update-info {
    width: 90vw;
    max-width: 1560px;
    min-width: 720px;
    height: auto;
    min-height: 2rem;
    margin: 0 auto 0;
    box-sizing: border-box;
}

.update-container {
    width: 90vw;
    max-width: 1560px;
    min-width: 720px;
    height: auto;
    margin: 0 auto 1rem;
    border: 1px dashed lightgray;
    box-sizing: border-box;
}

.update-title {
    width: 100%;
    height: 2.5rem;
    line-height: 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    padding-left: 0.5rem;
    letter-spacing: 1px;
    word-spacing: 2px;
    border-left: 5px solid #f7af8c;
    box-sizing: border-box;
}

.update-content {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: space-between;
    justify-content: space-between;
}

.update-card {
    width: 22%;
    min-height: 8rem;
    font-size: 0.9rem;
    background-color: white;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.update-card-title {
    width: 100%;
    height: 2rem;
    line-height: 2rem;
    border-bottom: 1px solid lightgray;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.update-card-title span:nth-child(1) {
    width: 50%;
    padding-left: 0.5rem;
}

.update-card-title span:nth-child(2) {
    width: 50%;
    display: flex;
    justify-content: right;
    padding-right: 0.5rem;
}

.update-para {
    width: 100%;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.update-para-left {
    width: 50%;
    height: 100%;
    line-height: 3rem;
    text-align: left;
    padding-left: 0.5rem;
}

.update-para-right {
    width: 50%;
    height: 100%;
    line-height: 3rem;
    text-align: right;
    padding-right: 0.5rem;
}

/* 以下为加载动画样式 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-hidden {
    opacity: 0;
    pointer-events: none;
}

.pulse-loader {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pulse-dot {
    width: 3rem;
    height: 3rem;
    margin: 0 1.5rem;
    background-color: #f59e72;
    border-radius: 50%;
    animation: pulse 1.5s infinite ease-in-out;
}

.pulse-dot:nth-child(2) {
    animation-delay: 0.5s;
}

.pulse-dot:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }
}