/* 后台管理系统全局样式 */
body {
    background-color: #f2f2f2;
}

/* 仪表盘数字 */
.dashboard-number {
    font-size: 32px;
    font-weight: bold;
    color: #1E9FFF;
    line-height: 1.2;
    margin-bottom: 5px;
}

.dashboard-desc {
    font-size: 12px;
    color: #888;
}

/* 表格操作栏 */
.layui-table-tool {
    background-color: #fff;
}

/* 左侧菜单图标间距 */
.layui-nav .layui-icon {
    margin-right: 8px;
}

/* 弹窗内滚动 */
.layui-layer-page .layui-layer-content {
    overflow-y: auto;
}

/* 卡片间距 */
.layui-card {
    margin-bottom: 15px;
}

/* 搜索栏间距 */
.layui-form.layui-inline {
    margin-bottom: 10px;
}

/* 文件图片预览 */
.layui-upload-img {
    max-width: 100px;
    max-height: 100px;
    margin-top: 10px;
}
/*----------------------*/
/* 主体内容区自动拉伸 */
.layui-body {
    position: absolute;
    top: 60px;      /* 顶部导航栏高度 */
    bottom: 44px;   /* 底部footer高度，留出底部空间 */
    left: 200px;    /* 左侧菜单宽度 */
    right: 0;
    overflow: hidden;
}

.layui-body .layui-tab {
    height: 100%;
    margin: 0;
}

.layui-body .layui-tab-content {
    height: calc(100% - 40px);  /* 减去tab标题栏高度 */
    padding: 0;
}

.layui-body .layui-tab-item {
    height: 100%;
}

.layui-body .layui-tab-item iframe {
    width: 100%;
    height: 100%;
    border: none;
}