/* +----------------------------------------------------------------------
/* | Static Plugin for ThinkAdmin
/* +----------------------------------------------------------------------
/* | 官方网站: https://thinkadmin.top
/* +----------------------------------------------------------------------
/* | 版权所有 2014~2025 ThinkAdmin [ thinkadmin.top ]
/* +----------------------------------------------------------------------
/* | 开源协议 ( https://mit-license.org )
/* | 免责声明 ( https://thinkadmin.top/disclaimer )
/* +----------------------------------------------------------------------
/* | gitee 代码仓库：https://gitee.com/zoujingli/think-plugs-static
/* | github 代码仓库：https://github.com/zoujingli/think-plugs-static
/* +----------------------------------------------------------------------
/* | 自定义后台扩展样式，需要在加载 console.css 后载入
/* | 使用 composer require zoujingli/think-plugs-static 时不会更新此文件
/* +---------------------------------------------------------------------- */

[v-cloak] {
    display: none;
}

.layui-table-hover {
    background-color: rgb(22, 186, 170, 0.4) !important;
}

.layui-card-header {
    min-height: 35px;
}

.layui-layer-btn1{
    border-color: transparent !important;
    background-color: #1e9fff !important;
    color: #fff !important;
}

.layui-layer-btn2{
    border-color: transparent !important;
    background-color: #1e9fff !important;
    color: #fff !important;
}

.layui-layer-btn3{
    border-color: transparent !important;
    background-color: #1e9fff !important;
    color: #fff !important;
}

.layui-layer-btn4{
    border-color: transparent !important;
    background-color: #1e9fff !important;
    color: #fff !important;
}

/* ========== 全局滚动条样式 ========== */
* {
  scrollbar-width: thin;
  scrollbar-color: #ccc #f5f5f5;
}

/* 滚动条整体 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/* 竖向轨道 */
::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 4px;
}

/* 横向轨道 */
::-webkit-scrollbar-track:horizontal {
  background: #f5f5f5;
  border-radius: 4px;
}

/* 滑块 */
::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

/* 横向滑块 */
::-webkit-scrollbar-thumb:horizontal {
  background: #ccc;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #999;
}

::-webkit-scrollbar-thumb:active {
  background: #666;
}

/* 横竖滚动交汇角落 */
::-webkit-scrollbar-corner {
  background: #f5f5f5;
}


body {
    font: 14px PingFang SC, Tahoma, Arial, sans-serif;
}

.uploadimage {
    background-image: url('./images/upimg.jpg');
}

.uploadimage>span[data-file-top] {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    z-index: 2;
}

/* 去除thinkadmin阴影效果 START */
.layui-layout>.layui-body>.think-page-body>.layui-card>.layui-card-line {
    box-shadow: none !important;
}

.layui-layout>.layui-body>.think-page-body>.layui-card>.layui-card-body>.layui-card-table>form.layui-form.layui-card {
    box-shadow: none !important;
}

.layui-layout>.layui-side {
    box-shadow: none !important;
}

.layui-layout>.layui-body {
    background-color: #f5f7f9;
}

.layui-tab-card {
    box-shadow: none !important;
}

.layui-layout>.layui-body>.think-page-body>.layui-card>.layui-card-body>div>.layui-tab.layui-tab-card {
    box-shadow: none !important;
}

.think-box-shadow {
    box-shadow: none !important;
}

.think-box-notify {
    box-shadow: none !important;
}

.shadow {
    box-shadow: none !important;
}

.layui-layout-admin>.layui-body>.think-page-body>.layui-card:before {
    box-shadow: none !important;
}

.layui-layout>.layui-body>.think-page-body>.layui-card>.layui-card-body>.layui-card-html>form.layui-form.layui-card {
    box-shadow: none !important;
}

/* 去除thinkadmin阴影效果 END */

.help-label {
    padding-bottom: 5px;
}

/* 字体大小 */
.chnxu-text-xs {
    font-size: 10px;
}

.chnxu-text-sm {
    font-size: 12px;
}

.chnxu-text-md {
    font-size: 14px;
}

.chnxu-text-lg {
    font-size: 16px;
}

.chnxu-text-xl {
    font-size: 18px;
}

.chnxu-text-xxl {
    font-size: 20px;
}

.chnxu-text-xl-xxl {
    font-size: 24px;
}

.chnxu-text-xxl-xxl {
    font-size: 28px;
}

.chnxu-text-xxxl {
    font-size: 32px;
}

.chnxu-text-xxxl-xl {
    font-size: 36px;
}

.chnxu-text-xxxl-xxl {
    font-size: 38px;
}

.chnxu-text-xxxl-xxxl {
    font-size: 42px;
}

.chnxu-main-gradient-blue {
    color: #fff;
    background: repeating-linear-gradient(45deg, #3d7eff, #31c9e8);
}


/* 白色 */
.chnxu-color-white {
    color: #ffffff !important;
}

.chnxu-bg-white {
    background-color: #ffffff !important;
}

/* 黑色 */
.chnxu-color-black {
    color: #303133 !important;
}

.chnxu-bg-black {
    background-color: #303133 !important;
}

/* 灰色 */
.chnxu-color-gray {
    color: #999999 !important;
}

.chnxu-bg-gray {
    background-color: #999999 !important;
}

/* 黄色 */
.chnxu-color-yellow {
    color: #ffa726 !important;
}

.chnxu-bg-yellow {
    background-color: #ffa726 !important;
}

/* 橙色 */
.chnxu-color-orange {
    color: #ff7043 !important;
}

.chnxu-bg-orange {
    background-color: #ff7043 !important;
}

/* 灰色 */
.chnxu-color-grey {
    color: #78909c !important;
}

.chnxu-bg-grey {
    background-color: #78909c !important;
}

.chnxu-color-grey-light {
    color: #f5f7fa !important;
}

.chnxu-bg-grey-light {
    background-color: #f5f7fa !important;
}

/* 蓝色 */
.chnxu-color-blue {
    color: #3D7EFF !important;
}

.chnxu-bg-blue {
    background-color: #3D7EFF !important;
}

/* 绿色 */
.chnxu-color-green {
    color: #31E749 !important;
}

.chnxu-bg-green {
    background-color: #31E749 !important;
}

/* 青色 */
.chnxu-color-cyan {
    color: #2DE88D !important;
}

.chnxu-bg-cyan {
    background-color: #2DE88D !important;
}

/* 红色 */
.chnxu-color-red {
    color: #e83a30 !important;
}

.chnxu-bg-red {
    background-color: #e83a30 !important;
}


/* 全部大写 */
.chnxu-text-upper {
    text-transform: uppercase;
}

/* 首字母大写 */
.chnxu-text-cap {
    text-transform: capitalize;
}

/* 全部小写 */
.chnxu-text-lower {
    text-transform: lowercase;
}

/* 加粗 */
.chnxu-text-bold {
    font-weight: bold;
}

/* 字体对齐方式 */
.chnxu-text-center {
    text-align: center;
}

.chnxu-text-left {
    text-align: left;
}

.chnxu-text-right {
    text-align: right;
}

/* 显示一行 */
.chnxu-text-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 显示两行 */
.chnxu-text-ellipsis-2 {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal !important;
    text-overflow: ellipsis;
    word-wrap: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Flex布局 */
.chnxu-flex {
    display: -webkit-flex;
    display: flex;
}

/* 换行 */
.chnxu-flex-wrap {
    flex-wrap: wrap;
}

/* 不换行 */
.chnxu-flex-nowrap {
    flex-wrap: nowrap;
}

/* 垂直布局 */
.chnxu-flex-direction-column {
    flex-direction: column;
}

/* 水平布局 */
.chnxu-flex-direction-row {
    flex-direction: row;
}

/* 反向垂直布局 */
.chnxu-flex-direction-column-reverse {
    flex-direction: column-reverse;
}

/* 反向水平布局 */
.chnxu-flex-direction-row-reverse {
    flex-direction: row-reverse;
}

.chnxu-flex-center {
    align-self: center;
}

.chnxu-flex-top {
    align-self: flex-start;
}

.chnxu-flex-end {
    align-self: flex-end;
}

.chnxu-flex-stretch {
    align-self: stretch;
}

.chnxu-flex-col-center {
    align-items: center;
}

.chnxu-flex-col-top {
    align-items: flex-start;
}

.chnxu-flex-col-bottom {
    align-items: flex-end;
}

.chnxu-flex-row-center {
    justify-content: center;
}

.chnxu-flex-row-left {
    justify-content: flex-start;
}

.chnxu-flex-row-right {
    justify-content: flex-end;
}

.chnxu-flex-row-between {
    justify-content: space-between;
}

.chnxu-flex-row-around {
    justify-content: space-around;
}

.chnxu-flex-1 {
    flex: 1;
}

.chnxu-flex-2 {
    flex: 2;
}

.chnxu-flex-3 {
    flex: 3;
}

.chnxu-flex-4 {
    flex: 4;
}

.chnxu-flex-5 {
    flex: 5;
}

.chnxu-flex-6 {
    flex: 6;
}

.chnxu-flex-7 {
    flex: 7;
}

.chnxu-flex-8 {
    flex: 8;
}

.chnxu-flex-9 {
    flex: 9;
}

.chnxu-flex-10 {
    flex: 10;
}

.chnxu-flex-11 {
    flex: 11;
}

.chnxu-flex-12 {
    flex: 12;
}

.chnxu-flex-basic-xs {
    flex-basis: 20%;
}

.chnxu-flex-basic-sm {
    flex-basis: 40%;
}

.chnxu-flex-basic-md {
    flex-basis: 50%;
}

.chnxu-flex-basic-lg {
    flex-basis: 60%;
}

.chnxu-flex-basic-xl {
    flex-basis: 80%;
}

.chnxu-flex-basic-full {
    flex-basis: 100%;
}

.chnxu-flex-gap-5 {
    gap: 5px
}

.chnxu-flex-gap-10 {
    gap: 10px
}

.chnxu-flex-gap-20 {
    gap: 20px
}

.chnxu-flex-gap-30 {
    gap: 30px
}


/* 渐变背景 */
.chnxu-main-gradient-blue--reverse {
    background-image: repeating-linear-gradient(-45deg, #3d7eff, #31c9e8);
    color: #fff;
}

.chnxu-main-gradient-blue {
    background-image: repeating-linear-gradient(45deg, #3d7eff, #31c9e8);
    color: #fff;
}

.chnxu-main-gradient-indigo {
    background-image: repeating-linear-gradient(45deg, #31c9e8, #2de88d);
    color: #fff;
}

.chnxu-main-gradient-cyan {
    background-image: repeating-linear-gradient(45deg, #2de88d, #24f083);
    color: #fff;
}

.chnxu-main-gradient-teal {
    background-image: repeating-linear-gradient(45deg, #24f083, #31e749);
    color: #fff;
}

.chnxu-main-gradient-green {
    background-image: repeating-linear-gradient(45deg, #31e749, #a4e82f);
    color: #fff;
}

/* 圆角 */
.chnxu-round {
    border-radius: 1000px !important;
}

.chnxu-radius-lg {
    border-radius: 20px;
}

.chnxu-radius {
    border-radius: 10px;
}

.chnxu-radius-sx {
    border-radius: 5px;
}


/* 内边距 */
.chnxu-no-margin {
    margin: 0;
}

.chnxu-margin-xs {
    margin: 5px;
}

.chnxu-margin-sm {
    margin: 10px;
}

.chnxu-margin {
    margin: 15px;
}

.chnxu-margin-lg {
    margin: 20px;
}

.chnxu-margin-xl {
    margin: 25px;
}

.chnxu-no-margin-top {
    margin-top: 0;
}

.chnxu-margin-top-xs {
    margin-top: 5px;
}

.chnxu-margin-top-sm {
    margin-top: 10px;
}

.chnxu-margin-top {
    margin-top: 15px;
}

.chnxu-margin-top-lg {
    margin-top: 20px;
}

.chnxu-margin-top-xl {
    margin-top: 25px;
}

.chnxu-no-margin-right {
    margin-right: 0;
}

.chnxu-margin-right-xs {
    margin-right: 5px;
}

.chnxu-margin-right-sm {
    margin-right: 10px;
}

.chnxu-margin-right {
    margin-right: 15px;
}

.chnxu-margin-right-lg {
    margin-right: 20px;
}

.chnxu-margin-right-xl {
    margin-right: 25px;
}

.chnxu-no-margin-bottom {
    margin-bottom: 0;
}

.chnxu-margin-bottom-xs {
    margin-bottom: 5px;
}

.chnxu-margin-bottom-sm {
    margin-bottom: 10px;
}

.chnxu-margin-bottom {
    margin-bottom: 15px;
}

.chnxu-margin-bottom-lg {
    margin-bottom: 20px;
}

.chnxu-margin-bottom-xl {
    margin-bottom: 25px;
}

.chnxu-no-margin-left {
    margin-left: 0;
}

.chnxu-margin-left-xs {
    margin-left: 5px;
}

.chnxu-margin-left-sm {
    margin-left: 10px;
}

.chnxu-margin-left {
    margin-left: 15px;
}

.chnxu-margin-left-lg {
    margin-left: 20px;
}

.chnxu-margin-left-xl {
    margin-left: 25px;
}

/* 外边距 */
.chnxu-no-padding {
    padding: 0px !important;
}

.chnxu-padding-xs {
    padding: 5px !important;
}

.chnxu-padding-sm {
    padding: 10px !important;
}

.chnxu-padding {
    padding: 15px !important;
}

.chnxu-padding-lg {
    padding: 20px !important;
}

.chnxu-padding-xl {
    padding: 25px !important;
}

.chnxu-no-padding-top {
    padding-top: 0px !important;
}

.chnxu-padding-top-xs {
    padding-top: 5px !important;
}

.chnxu-padding-top-sm {
    padding-top: 10px !important;
}

.chnxu-padding-top {
    padding-top: 15px !important;
}

.chnxu-padding-top-lg {
    padding-top: 20px !important;
}

.chnxu-padding-top-xl {
    padding-top: 25px !important;
}

.chnxu-no-padding-right {
    padding-right: 0px !important;
}

.chnxu-padding-right-xs {
    padding-right: 5px !important;
}

.chnxu-padding-right-sm {
    padding-right: 10px !important;
}

.chnxu-padding-right {
    padding-right: 15px !important;
}

.chnxu-padding-right-lg {
    padding-right: 20px !important;
}

.chnxu-padding-right-xl {
    padding-right: 25px !important;
}

.chnxu-no-padding-bottom {
    padding-bottom: 0px !important;
}

.chnxu-padding-bottom-xs {
    padding-bottom: 5px !important;
}

.chnxu-padding-bottom-sm {
    padding-bottom: 10px !important;
}

.chnxu-padding-bottom {
    padding-bottom: 15px !important;
}

.chnxu-padding-bottom-lg {
    padding-bottom: 20px !important;
}

.chnxu-padding-bottom-xl {
    padding-bottom: 25px !important;
}

.chnxu-no-padding-left {
    padding-left: 0px !important;
}

.chnxu-padding-left-xs {
    padding-left: 5px !important;
}

.chnxu-padding-left-sm {
    padding-left: 10px !important;
}

.chnxu-padding-left {
    padding-left: 15px !important;
}

.chnxu-padding-left-lg {
    padding-left: 20px !important;
}

.chnxu-padding-left-xl {
    padding-left: 25px !important;
}

/* 浮动 */
.chnxu-float-left {
    float: left !important;
}

.chnxu-float-right {
    float: right !important;
}

.chnxu-clear-float {
    clear: both !important;
}

.chnxu-main-gradient-blue--reverse {
    background-image: repeating-linear-gradient(-45deg, #3d7eff, #31c9e8);
    color: #fff;
}

.chnxu-fieldset-title {
    position: relative;
    display: inline-block;
    padding: 0 6px;
    font-size: 14px;
    text-align: center;
    color: #fff;
    border-radius: 2px;

    height: 30px;
    line-height: 30px;
    border-width: 1px;
    border-style: solid;
}

/* 分隔线 */
.chnxu-divider {
    background-color: #e5eeff;
    margin: 0 0 12px 0;
    display: block;
    height: 1px;
    width: 100%;
}

.chnxu-select-input {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.chnxu-select-input-btn {
    margin: 0px;
    padding-right: 0px;
}

/* 图片 */

.chnxu-images:not(td) .uploadimage {
    margin: 0 5px 0 0 !important;
}

.chnxu-images- .uploadimage {
    width: 76px;
    height: 76px;
}

.chnxu-images-35 .uploadimage {
    width: 35px;
    height: 35px;
}

.chnxu-images-45 .uploadimage {
    width: 45px;
    height: 45px;
}

.chnxu-images-55 .uploadimage {
    width: 55px;
    height: 55px;
}

.chnxu-images-100 .uploadimage {
    width: 100px;
    height: 100px;
}

.chnxu-images-170 .uploadimage {
    width: 170px;
    height: 170px;
}

.chnxu-images-35:not(td) .uploadimage {
    margin: 0 3px 0 0 !important;
}

.chnxu-images-35 .uploadimagemtl>div {
    top: -4px !important;
    margin-left: -17px !important;
}

.chnxu-images-35 .uploadimagemtl>div a {
    width: 11px !important;
    height: 10px !important;
    line-height: 10px !important;
    font-size: 9px !important;
}

.chnxu-images-35 .uploadimage>span:first-child {
    height: 11px !important;
    bottom: 0px !important;
    margin-left: -13px !important;
}

.chnxu-images-35 .uploadimage>span:first-child .layui-icon {
    width: 11px !important;
    line-height: 10px !important;
    height: 10px !important;
}

.chnxu-images-35 .layui-icon {
    font-size: 9px !important;
}


.chnxu-base-status {
    padding: 2px 10px;
    border-radius: 15px;
    height: 18px;
    line-height: 18px;
}

.chnxu-tag {
    background-color: rgba(51, 51, 51, 0.1);
    color: rgb(51, 51, 51);
    margin-right: 0px;
    border-radius: 13px;
    max-width: 100%;
    text-overflow: ellipsis;
    vertical-align: middle;
    font-size: 13px;
    line-height: 20px;
    display: inline-block;
    overflow: hidden;
    padding: 0 10px;
}

.chnxu-tag-success {
    background-color: rgba(2, 185, 128, 0.1);
    color: rgb(2, 185, 128);
    margin: 0px;
    border-radius: 13px;
    max-width: 100%;
    text-overflow: ellipsis;
    vertical-align: middle;
    font-size: 13px;
    line-height: 20px;
    display: inline-block;
    overflow: hidden;
    padding: 0 10px;
}

.chnxu-tag-primary {
    background-color: rgb(218, 236, 255);
    color: rgb(23, 144, 255);
    margin: 0px;
    border-radius: 13px;
    max-width: 100%;
    text-overflow: ellipsis;
    vertical-align: middle;
    font-size: 13px;
    line-height: 20px;
    display: inline-block;
    overflow: hidden;
    padding: 0 10px;
}

.chnxu-tag-warning {
    background-color: #fdf6ec;
    color: #f9ae3d;
    margin: 0px;
    border-radius: 13px;
    max-width: 100%;
    text-overflow: ellipsis;
    vertical-align: middle;
    font-size: 13px;
    line-height: 20px;
    display: inline-block;
    overflow: hidden;
    padding: 0 10px;
}

.chnxu-more-body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 5px;
}

.chnxu-more-body .chnxu-more-line-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #333;
    background: linear-gradient(-125deg, #efefef, #f0f0f0) !important;
    padding: 4px;
    border-radius: 4px;
}

.chnxu-more-body .chnxu-more-line-title .chnxu-more-line-title-item {
    padding: 2px;
    line-height: 12px;
}

.chnxu-table-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}

/* 带彩色方块前缀的标题样式 */
.chnxu-title-with-block {
    position: relative;
    padding-left: 10px !important;
    /* 给方块留出空间 */
    margin: 15px 0;
}

.chnxu-title-with-block::before {
    content: '';
    /* 方块尺寸：宽度2px，高度自适应 */
    width: 4px;
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;

    /* 方块颜色 - 可根据需要修改 */
    background-color: #3b82f6;
    /* 蓝色 */

    /* 可选：添加一点圆角 */
    border-radius: 2px;
}

/* 可以定义不同颜色的变体 */
.chnxu-title-with-block.red::before {
    background-color: #ef4444;
}

.chnxu-title-with-block.blue::before {
    background-color: #3D7EFF;
}

.chnxu-title-with-block.green::before {
    background-color: #10b981;
}

.chnxu-attr-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-start;
}

.chnxu-attr-list .chnxu-attr-list-item {
    cursor: pointer;
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #29f;
    border-color: #29f;
}

.chnxu-attr-empty {
    padding-top: 10%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chnxu-headimg-xxl {
    width: 120px;
    height: 80px
}
