
/* 遮罩样式 */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* 半透明背景 */
    z-index: 1000;
}
 /* 提示 */
#status {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    background-color: #fff;
    border: 1px solid #fff;
}
/* 加载动画样式 */
#loader {
    border: 10px solid #f3f3f3;
    border-radius: 50%;
    border-top: 10px solid #3498db;
    width: 60px;
    height: 60px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.title-txt {
    font-size: 20px;
}

/* 列表表格的基本样式 */
.list-table {
    width: 100%;               /* 表格宽度 */
    border-collapse: collapse; /* 使表格边框合并为一个单一的边框 */
    margin: 0px 0;            /* 表格上下的外边距 */
    font-size: 16px;           /* 字体大小 */
    text-align: left;          /* 文本对齐方式 */
     background-color: #f2f2f2; /*表格背景色 */
}

/* 针对此类，重置或覆盖其他背景属性(用于确保数据条显示) */
.list-table .data-bar-cell .data-bar-content {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
}

.list-table tbody {
    display: block;
    overflow-x: auto;  /* 如果表格宽度大于容器宽度，添加水平滚动 */
    height: 700px;  /* 你可以根据需要调整 */
    overflow-y: auto;  /* 允许表格垂直滚动 */
}

/* 固定表头 */
.list-table thead, .list-table tbody tr {
    display: table;
    width: 99.5%;
    table-layout: fixed;  /* 使表格宽度固定 */
}

.list-table thead {
    width: calc(99.5% - 1em);  /* 为滚动条留出空间 */
}

.list-table thead tr {
    background-color: white;  /* 设置背景色，确保滚动时看起来是固定的 */
    position: sticky;
    top: 0;
    z-index: 1;  /* 提高层级，确保其他内容在其下方 */
}

/* 表头样式 */
.list-table th {
    background-color: #5B9BD5;  /* 背景色 */
    color: white;               /* 文本颜色 */
    padding: 10px 15px;         /* 内边距 */
    border: 1px solid #ddd;     /* 边框 */
}

/* 表格内容的单元格样式 */
.list-table td {
    padding: 8px 15px;          /* 内边距 */
    border: 1px solid #ddd;     /* 边框 */
}

.list-table .right-align {
    text-align: right;
}

.list-table .center-align {
    text-align: center;
}

/* 奇数行的颜色 */
.list-table tr:nth-child(odd) {
    background-color: #f8f8f8;
}

/* 偶数行的颜色 */
.list-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* 鼠标悬停在行上时的样式 */
.list-table tr:hover {
    background-color: #FFE699;
}


/* 参数表格样式 */
.option {
    width: 100%;               /* 表格宽度 */
    margin: 5px 0;            /* 表格上下的外边距 */
    font-size: 16px;           /* 字体大小 */
    text-align: left;          /* 文本对齐方式 */
    background-color: #f2f2f2; /* 表格背景色 */
}
.option td {
    border: none;
    padding: 5px 10px;          /* 内边距 */

}

/* 按钮选中与未选中的样式 */
.btn {
    padding: 3px 10px;
    border: 1px solid #C9C9C9;
    color: #C9C9C9;
    cursor: pointer;
    margin: 2px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s, color 0.2s;  /* 为背景色和文字色添加过渡效果 */
    border-radius: 5px;  /* 圆角矩形效果 */
}
.btn:hover {
    background-color: #FFFAEB;  /* 悬停时的背景色 */
    border: 1px solid #EEB500;
    color: #EEB500;
}
.btn.selected {
    background-color: #EEB500;
    border: 1px solid #FFD966;
    color: white;
}

/* 超链接 */
a {
    color: blue;
    text-decoration: underline;
}
.title-link {
    color: white;
    text-decoration: none;
}
a.title-link:hover {
    color: yellow;
}
a.title-link:active  {
    color: white;
}