/* 背景遮罩 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* 拟态框容器 */
.modal {
    width: 80%;
    max-height: 80vh;
    /* 限制最大高度为视口的80% */
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow:
        5px 5px 15px rgba(0, 0, 0, 0.2),
        -5px -5px 15px rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 标题区域（靠左） */
.modal-header {
    padding: 15px 20px;
    background-color: #a3aeef;
    border-bottom: 1px solid #d0d0d0;
    text-align: left;
    /* 标题靠左 */
    font-weight: bold;
}

/* 中间内容区域（可滚动，隐藏滚动条） */
.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    /* 占据剩余空间 */
    scrollbar-width: none;
    /* Firefox 隐藏滚动条 */
    -ms-overflow-style: none;
    /* IE/Edge 隐藏滚动条 */
}

/* 隐藏 Chrome/Safari 滚动条 */
.modal-body::-webkit-scrollbar {
    display: none;
}

/* 底部区域（关闭按钮靠右） */
.modal-footer {
    padding: 15px 20px;
    background-color: #e0e0e0;
    border-top: 1px solid #d0d0d0;
    display: flex;
    justify-content: flex-end;
    /* 按钮靠右 */
}

/* 关闭按钮样式 */
.close-btn {
    padding: 8px 16px;
    background-color: #8098e7;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.close-btn:hover {
    background-color: #a985ec;
    transform: translateY(-1px);
}

.modal-body-Content {
    border-radius: 12px;
    /* 圆角 */
    padding: 15px 25px;
    /* 调整内边距，适应按钮大小 */
    margin: 10px 0;
    /* 上下外边距 */
    color: rgb(0, 0, 0);
    /* 文字颜色 */
    border: none;
    /* 移除边框，改用阴影模拟立体感 */
    cursor: pointer;
    /* 鼠标悬停时显示手型 */
    box-shadow:
        5px 5px 10px rgba(0, 0, 0, 0.2),
        /* 右下阴影（立体感） */
        -3px -3px 8px rgba(255, 255, 255, 0.3),
        /* 左上高光（拟态效果） */
        inset 0 0 0 rgba(0, 0, 0, 0);
    /* 初始无内阴影（为 hover 状态预留） */
    transition: all 0.2s ease;
    /* 平滑过渡效果 */
    text-align: center;
    /* 文字居中 */
    min-width: 150px;
    /* 可选：设置最小宽度，避免按钮过窄 */
}

/* 悬停状态：增强阴影和高光 */
.modal-body-Content:hover {
    box-shadow:
        7px 7px 12px rgba(0, 0, 0, 0.3),
        /* 加深阴影 */
        -4px -4px 10px rgba(255, 255, 255, 0.5),
        /* 增强高光 */
        inset 0 0 0 rgba(0, 0, 0, 0);
    /* 保持无内阴影 */
    transform: translateY(-2px);
    /* 轻微上浮，增强立体感 */
}

/* 点击状态：模拟按下效果 */
.modal-body-Content:active {
    box-shadow:
        2px 2px 5px rgba(0, 0, 0, 0.2),
        /* 减弱阴影 */
        -1px -1px 3px rgba(255, 255, 255, 0.3),
        /* 减弱高光 */
        inset 3px 3px 6px rgba(0, 0, 0, 0.2);
    /* 添加内阴影，模拟按下凹陷 */
    transform: translateY(1px);
    /* 轻微下沉，模拟按下效果 */
    color: #d46994; /* 浅蓝色高亮 */

    border-left: 3px solid #007bff; /* 可选：左侧添加高亮边框 */
}

.modal-body-Content td {
    width: 12.5%;               /* 固定宽度为 12.5%（8列均分） */
    word-wrap: break-word;     /* 允许长单词或URL换行 */
    word-break: break-all;     /* 强制换行（更激进，适用于中文） */
    white-space: normal;       /* 允许换行（覆盖可能的 `nowrap`） */
    padding: 2px;              /* 增加内边距，避免文字紧贴边缘 */
    box-sizing: border-box;    /* 确保 padding 不影响宽度计算 */
    border: 1px solid #ddd;   /* 灰色边框（可调整颜色） */
}
.modal-body-Content table {

    width: 100%;

    border-collapse: collapse; /* 合并边框，避免重叠 */

    table-layout: fixed;      /* 固定表格布局，确保宽度生效 */

}


.modal-body-Content tr {

    border: 1px solid #ddd;   /* 灰色边框（可调整颜色） */

}
.modal-body-Content:nth-child(odd) {

    background-color: #7fcff2; /* 浅灰色 */

}

.modal-body-Content:nth-child(even) {

    background-color: #a4afefad; /* 白色 */

}