/**
 * 后台排版统一优化（只覆盖样式，不改模板结构与业务逻辑）
 * 在 common/meta.html 中于 backend.css 之后引入，优先级高于框架默认样式
 */

/* ============ 1. 字体与基础 ============ */
body.inside-header,
body.inside-header input,
body.inside-header select,
body.inside-header textarea,
body.inside-header button,
body.inside-header .btn {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
}

body.inside-header {
    font-size: 13px;
    color: #333b4a;
    background: #f5f7fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============ 2. 内容容器 ============ */
.content {
    padding: 14px 16px 22px;
}

/* ============ 3. 面板 / 卡片 ============ */
.panel.panel-intro {
    border: 1px solid #e9edf3;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    background: #fff;
    margin-bottom: 0;
}

.panel.panel-intro > .panel-heading {
    background: #fff;
    border-bottom: 1px solid #eef1f6;
    border-radius: 8px 8px 0 0;
    padding: 0 16px;
}

.panel.panel-intro > .panel-heading .nav-tabs {
    border-bottom: 0;
}

.panel.panel-intro > .panel-heading .nav-tabs > li > a {
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #5b6675;
    font-size: 14px;
    padding: 13px 14px;
    margin-right: 4px;
}

.panel.panel-intro > .panel-heading .nav-tabs > li.active > a,
.panel.panel-intro > .panel-heading .nav-tabs > li.active > a:hover,
.panel.panel-intro > .panel-heading .nav-tabs > li.active > a:focus {
    background: transparent;
    border-bottom-color: #2f6fed;
    color: #1f2a3d;
    font-weight: 600;
}

.panel.panel-intro > .panel-body {
    padding: 16px;
}

/* ============ 4. 顶部筛选区 ============ */
.commonsearch-table {
    background: #f8fafc;
    border: 1px solid #eef1f6;
    border-radius: 8px;
    padding: 12px 14px 0;
    margin-bottom: 14px;
}

.commonsearch-table .form-group {
    margin-bottom: 10px;
    margin-left: 0;
    margin-right: 0;
}

.commonsearch-table .control-label {
    font-size: 13px;
    font-weight: 500;
    color: #5b6675;
    text-align: right;
    padding-top: 8px;
    padding-right: 10px;
}

.commonsearch-table .form-control {
    height: 32px;
    font-size: 13px;
    border-radius: 5px;
    border-color: #dfe5ee;
    box-shadow: none;
}

.commonsearch-table .btn {
    height: 32px;
    line-height: 18px;
    padding: 6px 18px;
    border-radius: 5px;
    font-size: 13px;
}

/* 提交/重置靠右对齐。
   注意：这里不能再写 float:none + width:100%——那样这一块会变成普通块级盒子，
   而前面的字段是浮动元素，块级盒子不会给浮动让位，会直接压在输入框上面把点击吃掉。
   保持它自己的栅格列（col-lg-3）即可，宽度自适应，最后一个字段之后自然落在右侧。 */
.commonsearch-table .row > .form-group:has(> div > button[type="submit"]) {
    padding-right: 0;
}

.commonsearch-table .row > .form-group:has(> div > button[type="submit"]) > div {
    float: none;
    width: 100%;
    margin-left: 0;
    text-align: right;
}

/* ============ 5. 工具栏 ============ */
.content .toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    min-height: 32px;
}

.content .toolbar > .pull-right,
.content .toolbar > .btn-group.pull-right {
    margin-left: auto;
}

.content .toolbar .btn {
    height: 32px;
    line-height: 19px;
    padding: 6px 13px;
    border-radius: 5px;
    font-size: 13px;
}

.content .toolbar .form-control {
    height: 32px;
    font-size: 13px;
    border-radius: 5px;
}

/* ============ 6. 表格 ============ */
.bootstrap-table .fixed-table-container {
    border: 0;
    border-radius: 6px;
}

.bootstrap-table .table {
    margin-bottom: 0;
    border: 0;
}

.bootstrap-table .table > thead > tr > th {
    background: #f7f9fc;
    color: #5b6675;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 12px;
    border-bottom: 1px solid #e9edf3;
    border-top: 0;
    vertical-align: middle;
    white-space: nowrap;
}

.bootstrap-table .table > tbody > tr > td {
    padding: 10px 12px;
    font-size: 13px;
    color: #333b4a;
    border-bottom: 1px solid #f2f5f9;
    height: auto;
    vertical-align: middle;
}

.bootstrap-table .table > tbody > tr:last-child > td {
    border-bottom: 0;
}

.bootstrap-table .table.table-striped > tbody > tr:nth-of-type(odd) {
    background: #fbfcfe;
}

.bootstrap-table .table-hover > tbody > tr:hover {
    background: #f3f7ff;
}

.bootstrap-table .table-hover > tbody > tr:hover > td {
    background: #f3f7ff;
}

.bootstrap-table .table > tbody > tr.selected > td,
.bootstrap-table .table > tbody > tr.active > td {
    background: #eef4ff;
}

/* 表格里的操作按钮更紧凑 */
.bootstrap-table .table .btn {
    padding: 3px 9px;
    font-size: 12px;
    border-radius: 4px;
}

/* 列表里的缩略图/头像统一圆角，去掉生硬的方块感 */
.bootstrap-table .table td img.img-sm,
.bootstrap-table .table td img.img-center {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
    background: #f2f5f9;
}

/* ============ 7. 分页 ============ */
.bootstrap-table .pagination > li > a,
.bootstrap-table .pagination > li > span,
.pagination > li > a,
.pagination > li > span {
    padding: 5px 11px;
    font-size: 13px;
    color: #5b6675;
    border: 1px solid #e6ebf2;
    border-radius: 5px;
    margin: 0 2px;
    line-height: 20px;
}

.pagination > li > a:hover,
.pagination > li > span:hover {
    background: #f2f6ff;
    border-color: #cfdcf5;
    color: #2f6fed;
}

.pagination > li.active > a,
.pagination > li.active > span,
.pagination > li.active > a:hover {
    background: #2f6fed;
    border-color: #2f6fed;
    color: #fff;
}

.pagination > li.disabled > a,
.pagination > li.disabled > span {
    color: #b6bfcc;
    background: #fafbfc;
}

/* ============ 8. 按钮 ============ */
.btn {
    border-radius: 5px;
    font-size: 13px;
    box-shadow: none;
}

.btn-primary {
    background-color: #2f6fed;
    border-color: #2f6fed;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #245fd6;
    border-color: #245fd6;
}

.btn-default {
    border-color: #dfe5ee;
    color: #4a5566;
}

.btn-default:hover {
    background: #f6f8fb;
    border-color: #cfd8e6;
}

/* ============ 9. 表单控件 ============ */
.form-horizontal .control-label {
    font-size: 13px;
    font-weight: 500;
    color: #5b6675;
    padding-top: 9px;
}

.form-control {
    height: 34px;
    font-size: 13px;
    border-radius: 5px;
    border-color: #dfe5ee;
    box-shadow: none;
    color: #333b4a;
}

.form-control:focus {
    border-color: #9dbcf8;
    box-shadow: 0 0 0 3px rgba(47, 111, 237, .08);
}

textarea.form-control {
    height: auto;
    min-height: 80px;
}

.help-block {
    font-size: 12px;
    color: #98a2b3;
    margin-top: 4px;
}

/* 表单分组标题 */
.form-horizontal .panel-heading {
    font-weight: 600;
    color: #1f2a3d;
}

/* ============ 10. 面包屑 / 标签栏 ============ */
#ribbon {
    background: transparent;
    padding: 0 0 8px;
    min-height: 0;
}

#ribbon .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

#ribbon .breadcrumb > li > a {
    color: #6b7686;
}

#ribbon .breadcrumb > .active {
    color: #98a2b3;
}

/* ============ 11. 下拉菜单 / 弹层 ============ */
.dropdown-menu {
    border: 1px solid #e9edf3;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .10);
    padding: 6px;
}

.dropdown-menu > li > a {
    border-radius: 5px;
    font-size: 13px;
    color: #4a5566;
    padding: 7px 12px;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background: #f2f6ff;
    color: #2f6fed;
}

.modal-content {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 16px 48px rgba(16, 24, 40, .18);
}

.modal-header {
    border-bottom: 1px solid #eef1f6;
    padding: 14px 18px;
}

.modal-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2a3d;
}

.modal-body {
    padding: 16px 18px;
}

.modal-footer {
    border-top: 1px solid #eef1f6;
    padding: 12px 18px;
}

/* ============ 12. 滚动条 ============ */
body.inside-header ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

body.inside-header ::-webkit-scrollbar-thumb {
    background: #d5dbe5;
    border-radius: 4px;
}

body.inside-header ::-webkit-scrollbar-thumb:hover {
    background: #c2cad6;
}

body.inside-header ::-webkit-scrollbar-track {
    background: transparent;
}

/* ============ 13. 空状态提示 ============ */
.bootstrap-table .no-records-found td {
    color: #98a2b3;
    padding: 40px 12px !important;
    font-size: 13px;
}

/* ============ 14. 弹窗（layui layer） ============ */
.layui-layer {
    border-radius: 10px !important;
    overflow: hidden;
    border: 0 !important;
    box-shadow: 0 16px 48px rgba(16, 24, 40, .18) !important;
}

.layui-layer-title {
    height: 46px !important;
    line-height: 46px !important;
    padding: 0 92px 0 18px !important;
    font-size: 14px !important;
    font-weight: 600;
    background: #2c3e50 !important;
    border-radius: 10px 10px 0 0 !important;
}

.layui-layer-setwin {
    top: 16px !important;
    right: 14px !important;
}

.layui-layer-content {
    border-radius: 0 0 10px 10px;
}

.layui-layer-btn {
    padding: 10px 16px !important;
    border-top: 1px solid #eef1f6;
}

.layui-layer-btn a {
    height: 32px !important;
    line-height: 30px !important;
    padding: 0 18px !important;
    border-radius: 5px !important;
    font-size: 13px !important;
}

/* ============ 15. 左侧栏目栏（对齐登录页视觉 + three.js 背景） ============ */
/* 登录页用的是 #02083a 深蓝底 + #1a90fe 主蓝 + #5ec8ff 高光，这里沿用同一套色板 */

body .main-sidebar {
    /* 皮肤里的 .skin-black-blue .main-sidebar 优先级更高，这里是刻意的主题覆盖 */
    background-color: #13264c !important;
    background-image:
        radial-gradient(circle at 28% 8%, rgba(52, 108, 196, .38), rgba(19, 38, 76, 0) 62%),
        radial-gradient(circle at 82% 78%, rgba(36, 84, 172, .30), rgba(19, 38, 76, 0) 58%),
        linear-gradient(180deg, #1b3159 0%, #13264c 52%, #0f1f3f 100%) !important;
    /* 两处用同一个尺寸坐标系（230 x 100vh），Logo 条与侧栏取的渐变位置一致，接缝才看不出来 */
    background-size: 230px 100vh !important;
    background-position: 0 0 !important;
    background-repeat: no-repeat !important;
    /* 注意：这里不能设 overflow:hidden。
       .sidebar 的内联样式是 overflow:inherit，会继承成 hidden 导致菜单滚不动 */
}

/* three.js 画布层，不拦截鼠标事件 */
.fx-menu-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.fx-menu-bg canvas {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.fx-menu-bg.is-ready canvas {
    /* 背景动效只做质感，压低到不干扰文字阅读 */
    opacity: .42;
}

/* WebGL 不可用时的纯 CSS 兜底：一团缓慢呼吸的蓝色辉光 */
.fx-menu-bg.no-webgl::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 68%;
    width: 260px;
    height: 260px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 42% 38%, rgba(90, 190, 255, .22), rgba(10, 40, 120, .12) 58%, rgba(2, 8, 58, 0) 72%);
    box-shadow: inset 0 0 70px rgba(30, 120, 255, .22), 0 0 100px rgba(20, 90, 220, .18);
    animation: menu-glow 9s ease-in-out infinite;
}

@keyframes menu-glow {
    0%, 100% { opacity: .65; }
    50% { opacity: 1; }
}

/* 内容层压在画布之上 */
body .main-sidebar > .sidebar {
    position: relative;
    z-index: 2;
}

/* 顶部用户区 */
body .main-sidebar .user-panel {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(94, 200, 255, .10);
    /* 不再叠蓝色底：Logo 条和侧栏共用一套背景，这层色块会在 50px 处造成明显割裂 */
    background: transparent;
}

body .main-sidebar .user-panel > .image img {
    border: 1px solid rgba(94, 200, 255, .45);
    box-shadow: 0 0 12px rgba(26, 144, 254, .45);
}

body .main-sidebar .user-panel > .info > p {
    color: #eaf4ff;
    font-weight: 600;
}

body .main-sidebar .user-panel > .info > a {
    color: rgba(160, 200, 240, .75);
    font-size: 12px;
}

/* 菜单搜索框 */
body .main-sidebar .sidebar-form {
    margin: 12px 10px;
    border: 1px solid rgba(94, 200, 255, .16);
    border-radius: 6px;
    background: rgba(6, 22, 66, .55);
    transition: border-color .3s ease, box-shadow .3s ease;
}

body .main-sidebar .sidebar-form:focus-within {
    border-color: rgba(94, 200, 255, .55);
    box-shadow: 0 0 0 3px rgba(26, 144, 254, .12);
}

body .main-sidebar .sidebar-form input[type="text"] {
    height: 34px;
    background: transparent;
    border: 0;
    color: #d6e9ff;
    font-size: 13px;
}

body .main-sidebar .sidebar-form input[type="text"]::placeholder {
    color: rgba(150, 195, 240, .55);
}

body .main-sidebar .sidebar-form input[type="text"]:focus,
body .main-sidebar .sidebar-form input[type="text"]:focus + .input-group-btn .btn {
    background: transparent;
    color: #d6e9ff;
}

body .main-sidebar .sidebar-form .btn {
    height: 34px;
    background: transparent;
    border: 0;
    color: #7cc8ff;
}

/* 一级菜单 */
body .main-sidebar .sidebar-menu > li > a {
    color: #e4eefb;
    font-weight: 500;
    border-left: 2px solid transparent;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

body .main-sidebar .sidebar-menu > li > a > i {
    color: #a3bfe4;
    transition: color .25s ease, text-shadow .25s ease;
}

body .main-sidebar .sidebar-menu > li:hover > a {
    background: rgba(255, 255, 255, .07);
    color: #fff;
    border-left-color: rgba(94, 200, 255, .55);
}

body .main-sidebar .sidebar-menu > li:hover > a > i {
    color: #8fd0ff;
}

body .main-sidebar .sidebar-menu > li.active > a {
    background: linear-gradient(90deg, rgba(38, 132, 255, .38), rgba(38, 132, 255, .08));
    color: #fff;
    border-left: 3px solid #5ec8ff;
    box-shadow: inset 0 0 20px rgba(26, 144, 254, .18);
}

body .main-sidebar .sidebar-menu > li.active > a > i {
    color: #5ec8ff;
    text-shadow: 0 0 10px rgba(94, 200, 255, .65);
}

/* 二级 / 三级菜单 */
body .main-sidebar .sidebar-menu .treeview-menu {
    background: rgba(8, 20, 44, .5);
    box-shadow: inset 2px 0 0 rgba(94, 200, 255, .22);
}

/* 展开中的父级菜单（皮肤默认给了 #181f23 深灰，改成蓝色调） */
body .main-sidebar .sidebar-menu li.treeview.active > a,
body .main-sidebar .sidebar-menu li.treeview.treeview-open > a {
    background: rgba(255, 255, 255, .06);
    color: #fff;
    border-left-color: rgba(94, 200, 255, .55);
}

body .main-sidebar .sidebar-menu li.treeview.treeview-open > a > i {
    color: #8fd0ff;
}

body .main-sidebar .sidebar-menu .treeview-menu > li > a {
    color: #b6cbe6;
    font-size: 13px;
    padding-left: 34px;
    border-left: 2px solid transparent;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

body .main-sidebar .sidebar-menu .treeview-menu > li > a:hover {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

body .main-sidebar .sidebar-menu .treeview-menu > li.active > a {
    background: rgba(38, 132, 255, .26);
    color: #fff;
    border-left: 3px solid #5ec8ff;
}

/* 分组标题 */
body .main-sidebar .sidebar-menu > li.header {
    background: transparent;
    color: rgba(175, 205, 240, .62);
    font-size: 12px;
    letter-spacing: 1px;
}

/* 侧边栏滚动条 */
body .main-sidebar .sidebar::-webkit-scrollbar {
    width: 6px;
}

body .main-sidebar .sidebar::-webkit-scrollbar-thumb {
    background: rgba(94, 200, 255, .22);
    border-radius: 3px;
}

body .main-sidebar .sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(94, 200, 255, .38);
}

/* 折叠态：只留图标，背景动画继续但更暗 */
.sidebar-collapse .fx-menu-bg {
    opacity: .55;
}

@media (prefers-reduced-motion: reduce) {
    .fx-menu-bg canvas {
        transition: none;
    }

    .fx-menu-bg.no-webgl::after {
        animation: none;
    }
}

/* 顶部 Logo 区与侧边栏共用同一套背景（含 fixed 定位基准），保证 50px 处没有色差接缝 */
body .main-header .logo {
    background-color: #13264c !important;
    background-image:
        radial-gradient(circle at 28% 8%, rgba(52, 108, 196, .38), rgba(19, 38, 76, 0) 62%),
        radial-gradient(circle at 82% 78%, rgba(36, 84, 172, .30), rgba(19, 38, 76, 0) 58%),
        linear-gradient(180deg, #1b3159 0%, #13264c 52%, #0f1f3f 100%) !important;
    background-size: 230px 100vh !important;
    background-position: 0 0 !important;
    background-repeat: no-repeat !important;
    color: #eaf4ff;
    border-right: 0;
    text-shadow: 0 0 16px rgba(94, 200, 255, .45);
    transition: width .3s ease-in-out, filter .3s ease;
}

body .main-header .logo:hover {
    background-color: #13264c !important;
    filter: brightness(1.12);
    color: #fff;
}

/* 侧边栏右侧的一道细光缝，和内容区隔开 */
body .main-sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(94, 200, 255, .45), rgba(94, 200, 255, .08) 55%, rgba(94, 200, 255, .28));
}

/* 菜单比屏幕高时允许滚动。
   .sidebar 由 JS 写入内联 style="overflow: inherit"，普通规则盖不住，必须 !important；
   折叠态排除在外，避免影响悬浮子菜单的定位与裁切。 */
body:not(.sidebar-collapse) .main-sidebar > .sidebar {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-bottom: 12px;
}

/* 折叠态悬停弹出的二级菜单浮层，配色同步到深蓝 */
body.sidebar-collapse .main-sidebar .sidebar-menu > li:hover > a,
body.sidebar-collapse .main-sidebar .sidebar-menu > li.active > a {
    background: linear-gradient(90deg, #1a90fe, #1467d6);
    color: #fff;
}

body.sidebar-collapse .main-sidebar .sidebar-menu > li:hover > .treeview-menu {
    background: rgba(4, 16, 52, .97);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 0 1px rgba(94, 200, 255, .16);
}

body.sidebar-collapse .main-sidebar .sidebar-menu > li > .treeview-menu > li > a {
    color: #a9c3e0;
}

body.sidebar-collapse .main-sidebar .sidebar-menu > li > .treeview-menu > li > a:hover {
    background: rgba(26, 144, 254, .16);
    color: #fff;
}

body.sidebar-collapse .main-sidebar .sidebar-menu > li > .treeview-menu > li.active > a {
    background: rgba(26, 144, 254, .26);
    color: #fff;
}

/* 折叠态 Logo 只有 50px，"五味教育" 会被裁掉半个字，缩到能完整显示 */
.sidebar-collapse .main-header .logo {
    padding: 0 2px;
}

.sidebar-collapse .main-header .logo .logo-mini {
    display: block;
    width: 46px;
    text-align: center;
    font-size: 11px !important;
    letter-spacing: 0;
    line-height: 50px;
    margin-left: 0 !important; /* 皮肤里给了 -15px 抵消 15px 内边距，这里内边距已改成 2px */
}

/* ============ 16. 隐藏不需要的菜单项 ============ */
/* 会员管理下这几项不再单独出现在侧栏：
   - 会员分组 user/group、会员规则 user/rule：本项目用不到
   - 学生报名 user/sign_up、登录终端 user/terminal、第三方登录 third/index：
     已并入「会员管理」页内 Tab
   仅界面隐藏，权限节点与页面本身未动，需要时删掉对应一行即可恢复。
   彻底移除的做法是在「权限管理 → 菜单规则」里把对应项设为隐藏。 */
.sidebar-menu li:has(> a[href*="/user/group"]),
.sidebar-menu li:has(> a[href*="/user/rule"]),
.sidebar-menu li:has(> a[href*="/user/sign_up"]),
.sidebar-menu li:has(> a[href*="/user/terminal"]),
.sidebar-menu li:has(> a[href*="/third/index"]) {
    display: none !important;
}

/* 侧栏菜单搜索结果里也一并隐藏（搜索结果是 data-url，不是 href） */
.menuresult a[data-url*="/user/group"],
.menuresult a[data-url*="/user/rule"],
.menuresult a[data-url*="/user/sign_up"],
.menuresult a[data-url*="/user/terminal"],
.menuresult a[data-url*="/third/index"],
.menuresult a[href*="/user/group"],
.menuresult a[href*="/user/rule"],
.menuresult a[href*="/user/sign_up"],
.menuresult a[href*="/user/terminal"],
.menuresult a[href*="/third/index"] {
    display: none !important;
}

/* ============ 17. 表格操作列固定 ============ */
/* 列多的列表横向滚动时，操作列始终贴在右侧（用 .table-sticky-op 显式声明，避免影响其它表格） */
.bootstrap-table .fixed-table-body .table-sticky-op th:last-child,
.bootstrap-table .fixed-table-body .table-sticky-op td:last-child {
    position: sticky;
    right: 0;
    z-index: 2;
    background: #fff;
    box-shadow: -8px 0 10px -8px rgba(16, 24, 40, .18);
}

.bootstrap-table .fixed-table-body .table-sticky-op thead th:last-child {
    z-index: 3;
    background: #f7f9fc;
}

.bootstrap-table .fixed-table-body .table-sticky-op.table-striped tbody tr:nth-of-type(odd) td:last-child {
    background: #fbfcfe;
}

.bootstrap-table .fixed-table-body .table-sticky-op tbody tr:hover td:last-child {
    background: #f3f7ff;
}

.bootstrap-table .fixed-table-body .table-sticky-op tbody tr.selected td:last-child,
.bootstrap-table .fixed-table-body .table-sticky-op tbody tr.active td:last-child {
    background: #eef4ff;
}

/* 会员列表：固定表格布局，让上面设的列宽生效，避免列被自动撑开后再横向滚动 */
.bootstrap-table .fixed-table-body .table-sticky-op {
    table-layout: fixed;
    width: 100% !important;
    /* 列宽合计的下限：窄屏时保持列宽并横向滚动，宽屏时铺满 */
    min-width: 1300px;
}

.bootstrap-table .fixed-table-body .table-sticky-op th,
.bootstrap-table .fixed-table-body .table-sticky-op td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============ 18. 弹窗右上角窗口按钮 ============ */
/* FastAdmin 的 layui-layer-fast 皮肤把这三个按钮的命中区做成 16×45 且向下溢出标题栏，
   这里把命中区放大到 38×46、与标题栏垂直居中；不带任何悬停底色。 */
.layui-layer-fast .layui-layer-title ~ .layui-layer-setwin {
    /* 上面 .layui-layer-setwin 那条 top:16px !important 是给无标题弹层用的，这里要压回去 */
    top: 0 !important;
    right: 6px !important;
    height: 46px;
    display: flex;
    align-items: center;
}

.layui-layer-fast .layui-layer-title ~ .layui-layer-setwin > a {
    width: 38px;
    height: 46px;
    margin-left: 0;
    line-height: 46px;
    text-align: center;
    background: none !important;
}

.layui-layer-fast .layui-layer-title ~ .layui-layer-setwin > a::after {
    font-size: 20px;
}
