/* 定义字体家族 */
@font-face{
  font-family: 'iconfont';
  src: url('../font/iconfont.woff2') format('woff2'),
       url('../font/iconfont.woff') format('woff'),
       url('../font/iconfont.ttf') format('truetype');
  /* 可以添加其他格式的字体文件以提高兼容性 */
  font-weight: normal; /* 指定字体重量 */
  font-style: normal; /* 指定字体样式 */
  font-display: swap; /* 优化字体加载体验 */
}

:root{
  /* 颜色 */
  --blue-color: #0000FF;
  --red-color: #FF0101;
  --hui-color: #777777;
  --BGDR-color: #800020;
  --IKB-color:#002FA7;
  --primary-color:#16baaa;
}


*{
    font-family:  'iconfont',"Microsoft YaHei",Helvetica,"Hiragino Sans GB",Arial,sans-serif;
    font-size: 13px;
}

/* 隐藏 WebKit 内核浏览器（Chrome/Safari/Opera）滚动条 */
html::-webkit-scrollbar{display: none;}


/* 未访问的链接 */
a:link{color: var(--blue-color);}
/* 已访问的链接 */
a:visited{color: #800080;}
/* 鼠标悬停时的链接 */
a:hover{color:var(--red-color);}


/**************  对layui.css的调整部分  **************/
/* 主体 body table */
body{color: rgba(0, 0, 0, 0.95) !important;}
.layui-body{left: 150px !important;}
.layui-body{left: 150px !important;}
.layui-layout-admin .layui-side{width: 150px !important;}
.layui-nav-tree{width: 140px !important;}
.layui-table{color: #050505 !important;}
.layui-footer{left: 150px !important;}

/* 自定义双色徽章 */
  .layui-badge-half {
    position: relative;
    border-radius: 2px;
    background: linear-gradient(to right, #ffb800 50%, #8b8b8b 50%);
    color: white;
    /* text-shadow: 0 1px 1px rgba(0,0,0,0.3); */
}

/* layer.open弹窗时间重置 */
.layer-anim{
  -webkit-animation-duration: 0.5s !important; /* 0.5秒 */
  animation-duration: 0.5s !important; /* 0.5秒 */
}
/* table选中行设置背景颜色 */
.layui_table_selected{
  background-color: #efefef !important;
  color: #000000;
}
/* 自定义主题 (layer.open) */
.class-layer-ss .layui-layer-title{background-color: #EDEFF2;}
.class-layer-ss .layui-layer-btn{padding: 5px 10px 10px;}
.class-layer-ss .layui-layer-btn a{background: #fff; border-color: #E9E7E7; color: #333;}
.class-layer-ss .layui-layer-btn .layui-layer-btn0{border-color: #FA584D; background-color: #FA584D; color: #fff;}

/* 轮播的指示器（小圆点）颜色, 当前活跃的圆点 */
.layui-carousel-ind  .layui-this { background-color: #16baaa !important;}
.layui-carousel-ind  { background-color: #ffffff;}


/* select下拉选项高度 */
.color-select + .layui-form-select dl {
  max-height: 160px;
  overflow-y: auto;
}






/* **** */





/**************  自定义：字体颜色  **************/
.font-CHNR{color: var(--red-color);} /*中国红*/
.font-BGDR{color: var(--BGDR-color);} /*勃艮第红*/
.font-IKB{color: var(--IKB-color);} /*克莱因蓝*/
.font-BL{color: var(--blue-color);}
.font-hui{color:var(--hui-color);}


/* 字体加粗 */
.font-Bold{font-weight: bold;}

/**************  自定义：框架   **************/
/* 第一层DIV的padding边距, bottom：避免foot挡住 */
.fdiv-pd{padding: 0px 10px 50px 10px;}

.pd-tb-xs{padding-top: 5px !important; padding-bottom: 5px !important;}
.pd-lr-xs{padding-left: 2px !important; padding-right: 2px !important;}
.pd-t-xs{padding-top: 6px;} /*已引用*/

.pd-l-s{padding-left: 20px;}
.pd-t-s{padding-top: 20px;}
.pd-r-s{padding-right: 20px;}
.pd-b-s{padding-bottom: 20px;}

.pd-s{padding: 20px !important;}
.pd-xs{padding: 6px !important;}

/* margin */
.mg-t-xs{margin-top: 5px;}
.mg-b-xs{margin-bottom: 2px;}


.mg-t-s{margin-top: 10px;}
.mg-b-s{margin-bottom: 10px;}
.mg-l-s{margin-left: 10px;}
.mg-r-s{margin-right: 10px;}

.mg-t-m{margin-top: 20px;}


/* 隐藏 显示 */
.hide{display: none;}
.show{display: block;}

/******** input ********/
/* 无边框 */
.ipt-b-n{border: none !important; outline: none !important; box-shadow: none !important;}
.ipt-b-n:focus{border: none !important; outline: none !important; box-shadow: none !important;}



/******** 打印按钮 ********/
/* 固定定位fixed */
.print-btn {position: fixed; top: 10px; right: 10px; z-index: 1000;}


/******** 红色的星号(*)作为必填项的标记 ********/
.star:after {
  content: "*"; 
  color: var(--red-color);
  font-weight: 100;
  position: relative;
  top: 3px;
  left: 3px;

}

/* 排成一行 */
.div-inline{
  display: flex; align-items: center; flex-wrap: wrap; gap: 5px;
}


/**************  页面样式   **************/
/********* 首页  *********/
/* 导航链接字往右距离 */
.layui-nav-child > dd a{
  padding-left: 38px !important;
}
/* 导航菜单选中样式 */
.layui-nav-tree .layui-this{
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
}
.layui-nav-tree .layui-this > a{
  color: #ffffff !important;
}
/* tabs选中时 */
.layui-tab-title .layui-this{
  color: var(--primary-color) !important;
  background-color: #ffffff !important;
  font-weight: 500;
}



/********* 新增订单  *********/
/* 多行文本，默认为2行 */
.layui-textarea[rows="2"]{
  height: 60px;
  min-height: 60px;
  line-height: 1.5; 
}


/********* 产品管理  *********/
/* 产品图片 */
.userImg{
    width: auto;
    height: 80px;
    object-fit: contain;
    background: white;
    border: 0px solid #eee;
    padding: 2px;
}

/* tabs标签样式 */
#productTabsHeader .layui-btn.layui-this{
  border-color: #009688; 
  color: #009688; 
  background: none;
}
#productTabsBody .item{display: none;}
#productTabsBody .layui-show{display: block;}

#orderTabsHeader .layui-btn.layui-this{
  border-color: #009688; 
  color: #009688; 
  background: none;
}

#orderTabsBody .item{display: none;}
#orderTabsBody .layui-show{display: block;}


/* 今日发货 */
.product-table-container{
  margin-top: 20px;
  background-color: #f2f2f2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 5px;
  border-radius: 0px;
  border: 2px solid #16baaa;
}


/********* 销售日报  *********/
.stat-number {
  font-size: 24px;
  font-weight: bold;
  color: #1E9FFF;
  line-height: 1.5;
}


/********* 发货看板  *********/
.order-page {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}
.order-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-around;
  height: 100%;
}
.order-card {
  background-color: #fff;
  border: 1px solid #16baaa;
  border-radius: 0px;
  flex: 0 0 calc(33.33% - 10px);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* 产品列表样式 */
.product-item {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 5px;
  align-items: center;
  background: #16baaa;
  color: #FFFFFF;
}
.cardheader {
  background-color: #f8f8f8;
  padding: 8px 12px;
  border-bottom: 1px solid #e0e0e0;
}
.cardbody {
  flex: 1;
  padding: 8px 12px;
  overflow-y: auto;
}
















/* 不知道有没用 */
.text-action-group{
    display: inline-flex;
    gap: 15px; /* 控制文字间距 */
}
.text-action{
    cursor: pointer;
    color: #049dcc; /* 蓝色文字，类似原按钮风格 */
    text-decoration: none !important; 
}
.text-action:hover{
    text-decoration: none !important;

}

/* 全屏布局 */
.x-div{
  width: 100%;
  padding: 0px;
  box-sizing: border-box;
}

.container{
  display: flex;
  justify-content: center; /* 水平居中 */
  align-items: center;     /* 垂直居中 */
  height: 100vh;           /* 容器高度 = 整个视口高度 */
  min-height: 100vh;
  padding: 5px;
  background: #FFFFFF;

}

/* 登录区域居中 */
.login-card{
  display: flex;
  align-items: center;     /* 垂直居中 */
  height: 400px;           /* 容器高度 = 整个视口高度 */
  width: 400px;
  background-color: #FFFFFF;
  border: 1px solid #d6d6d6;
  border-radius: 1px;
}

/* 登录文字描述 */
.b-lab{
  display: block;
  margin-bottom: 5px;
  padding-left: 2px;
}

/* 登录输入框 */
.b-row{
  display: block;
  padding: 0px 10px;
  width: 380px;
  margin: 15px 0px;
}

/* 登录品牌 */
.brand{
  text-align: center;
  height: 100px;
}