.center-block {
    display: table;
    margin: 1% auto;
}

/* 表格内容样式 */
.table, th, td {
    text-align: center; /* 使内容居中 */
    word-wrap: break-word; /* 自动换行 */
    white-space: normal; /* 允许换行 */
    padding: 8px; /* 增加单元格的内边距，让内容看起来不那么拥挤 */
}

/* 表格响应式设计，超出屏幕宽度时启用水平滚动 */
.table-responsive {
    overflow-x: auto; /* 启用水平滚动 */
    -webkit-overflow-scrolling: touch; /* 增强滚动体验 */
}

/* 表格边框和样式 */
.table-bordered {
    border: 1px solid #ddd;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9; /* 奇数行的背景色 */
}

.table-hover tbody tr:hover {
    background-color: #f1f1f1; /* 鼠标悬停时的背景色 */
}

/* 表格标题样式 */
th {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

/* 设置表格列宽，防止某些列过宽 */
th, td {
    max-width: 200px; /* 设置最大列宽 */
    word-wrap: break-word; /* 自动换行 */
    overflow: hidden; /* 超过最大宽度时隐藏内容 */
    text-overflow: ellipsis; /* 内容溢出时显示省略号 */
}

/* 自适应表格宽度 */
.table {
    width: 100%;
    table-layout: fixed; /* 固定表格布局，确保列宽一致 */
}

/* 可复制文本样式 */
.copyable {
    user-select: text; /* 允许用户选择文本 */
    cursor: pointer; /* 鼠标指针样式 */
}
.thwidth1{
    width: 5%;
}
.thwidth2{
    width: 10%;
}
.thwidth3{
    width: 15%;
}
.thwidth5{
    width: 25%;
}