/* ==========================================================================
 * custom.less — 全局自定义样式
 *
 * 目录:
 *   1.  全局重置 & 基础元素      (*, body, html, input, ul, clearfix ...)
 *   2.  排版 & 按钮 & 表单控件   (label, .btn-*, text-*, .form-control ...)
 *   3.  工具类                   (.rel, .abs, .start, .right, .panel_center_footer ...)
 *   4.  页面布局框架             (.page-container, .main-wrapper, .panel ...)
 *   5.  表单页面                 (.form-horizontal)
 *   6.  表格系统                 (table, .table-bordered, compact/moderate/loose)
 *   7.  弹窗 & 浮层             (.modal, .layui-layer, .iframePopSelect, .jstree)
 *   8.  提示 & 帮助组件          (.helpGuideBtn, .tooltip, .question-signTip)
 *   9.  搜索栏 Grid             (.main-search-grid, .left-item, .searchBox)
 *  10.  独立组件                 (.detail-table-btn, .gantt-btn-box)
 *  11.  响应式                   (@media)
 *  12.  工具栏 & 展开按钮        (.more-icon-wrapper, expand-btn, .fold)
 *  13.  Uppy 上传组件            (.custom-uppy-buttons, .custom-icon-btn)
 * ========================================================================== */
/* ========== 1. 全局重置 & 基础元素 ========== */
* {
  font-family: var(--font-family-base) !important;
}
html.popupHtml {
  -webkit-tap-highlight-color: #000000 !important;
}
body {
  height: 100vh !important;
  background-color: #ffffff;
}
.pagination > .active > a {
  border-color: var(--color-primary) !important;
}
.modal {
  z-index: 5050;
}
.modal-backdrop {
  z-index: 5000;
}
.collect-icon-box {
  height: 28px;
  margin-left: 5px;
  z-index: 100;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.collect-icon-box .icon {
  height: 18px;
  width: 18px;
}
.collect-icon-box .icon-hollow {
  fill: #bfbfbf;
}
.collect-icon-box .icon-filled {
  display: none;
  fill: #ffaf45;
}
.collect-icon-box.isCollect .icon-hollow {
  display: none;
}
.collect-icon-box.isCollect .icon-filled {
  display: inline;
}
.collect-icon-box:not(.isCollect):hover .icon-hollow {
  fill: #62a3fc;
}
.forbid-click {
  pointer-events: none !important;
  /*禁止触发点击事件*/
  filter: alpha(opacity=80);
  /*IE滤镜，透明度80%*/
  -moz-opacity: 0.8;
  /*Firefox私有，透明度80%*/
  opacity: 0.8;
  /*其他，透明度80%*/
}
/* checkbox美化成switch */
.switch-div .switch {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  border-radius: 3rem;
  padding: 0 0.1rem;
  outline: none;
  border: none;
  height: 18px !important;
  width: 32px !important;
  outline: none !important;
  /* background-color: #999; */
  background-color: #fff;
  box-shadow: #dfdfdf 0px 0px 1px 1px inset;
}
.switch-div .switch:checked {
  background-color: var(--color-primary);
  box-shadow: var(--color-primary) 0 0 1px 1px inset;
}
.switch-div .switch:checked::after {
  transform: translateX(15px);
  box-shadow: var(--color-primary) 0px 0px 0px 0px inset;
}
.switch-div .switch::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 16px;
  height: 16px;
  background-color: #fff;
  border-radius: inherit;
  transition: -webkit-transform 80ms;
  transition: transform 80ms;
  box-shadow: #dfdfdf 0px 0px 1px 1px inset;
}
.btn-default.active.focus,
.btn-default.active:focus,
.btn-default.active:hover,
.btn-default.focus,
.btn-default:active.focus,
.btn-default:active:focus,
.btn-default:active:hover,
.btn-default:focus,
.btn-default:hover,
.open > .dropdown-toggle.btn-default.focus,
.open > .dropdown-toggle.btn-default:focus,
.open > .dropdown-toggle.btn-default:hover {
  border-color: var(--color-primary) !important;
  background-color: #f5f8ff;
}
/*bootstrap内置字体选中颜色*/
.glyphicon:hover,
.glyphicon:focus {
  color: var(--color-primary);
}
/*awesome内置字体选中颜色*/
.fa[class*="fa-"]:hover,
.fa[class*="fa-"]:focus {
  color: var(--color-primary);
}
.blue-bar {
  float: left;
  width: 4px;
  height: 30px;
  margin-top: -2px;
  margin-right: 10px;
  background-color: #b4c6f4;
}
/* Write your custom CSS here */
/*页面初始化*/
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
a,
span,
text {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-family: var(--font-family-base);
  font-weight: 400;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
input[type="number"] {
  -moz-appearance: textfield;
  border-color: #d5d5d5;
}
input {
  border-color: #d5d5d5 !important;
}
ul,
li {
  list-style: none;
}
.clearfix::after {
  content: "";
  display: block;
  height: 0;
  clear: both;
}
/* ========== 2. 排版 & 按钮 & 表单控件 ========== */
.label,
label {
  font-weight: 400 !important;
  font-size: 14px !important;
}
.label,
.label-default {
  background: none !important;
  color: #707070;
  height: 28px;
  line-height: 28px;
}
.btn {
  margin: 0 8px 0 0;
  border-radius: 2px !important;
  box-sizing: border-box;
  text-align: center;
  line-height: 14px;
  outline: none !important;
}
/*默认按钮的颜色样式*/
.btn-default {
  color: #707070 !important;
  border: 1px solid #e2e2e2;
  background-color: #ffffff;
}
/*主按钮颜色*/
.btn-primary {
  border-color: var(--color-primary) !important;
  background-color: var(--color-primary) !important;
}
.btn-primary:focus {
  outline: none !important;
  color: #ffffff !important;
}
.btn-danger {
  background-color: rgba(250, 250, 250, 0) !important;
  color: #ff1578;
  border: 1px solid #ff1578;
}
/*字体颜色*/
.text-muted {
  color: #6A7C8F;
}
.text-primary {
  color: var(--color-primary);
}
.text-primary:hover {
  color: var(--color-primary);
}
.text-danger {
  color: #ff1578 !important;
}
span.text-danger {
  color: #ff1578;
  display: inline-block;
  width: auto;
  min-width: 1em;
  text-indent: 0 !important;
}
select[readonly] {
  background: #eee;
  cursor: no-drop;
}
select[readonly] option {
  display: none;
}
select.form-control {
  padding-top: 2px;
}
.form-control {
  display: inline-block;
  width: auto;
  height: 28px;
  line-height: 28px;
  border-color: #d5d5d5 !important;
}
.form-control .select2-hidden-accessible {
  overflow: hidden;
}
.form-control[type=checkbox] {
  margin-top: 0;
}
.form-control:focus {
  border-color: var(--color-primary);
}
.form-control .label {
  padding: 0;
}
.form-group {
  padding-bottom: 5px;
}
/* ========== 3. 工具类 ========== */
.rel {
  position: relative;
}
.abs {
  position: absolute;
}
.btn-group:after {
  content: '';
  display: block;
  clear: both;
}
.start {
  text-align: start !important;
}
.right {
  text-align: right !important;
}
.panel_center_footer {
  width: 98%;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  position: fixed;
  bottom: 0;
  box-sizing: border-box;
  font-family: 'Arial Regular', 'Arial', sans-serif;
  color: #333333;
  box-shadow: 0px -2px 5px 0px rgba(0, 0, 0, 0.1);
  z-index: 999;
}
.btn-filter {
  border: 0;
  color: var(--color-primary);
  background-color: transparent;
}
/* ========== 4. 页面布局框架 ========== */
.page-container {
  background-color: #ffffff;
  height: 100%;
  width: 100%;
}
.page-container .page-content {
  width: 100%;
  background-color: #f2f2f2;
}
.page-container .page-content .page-inner {
  padding: 0 !important;
  background-color: #f2f2f2;
}
.page-container .page-content .page-inner .page-title .breadcrumb-header {
  height: 30px;
  padding-left: 13px;
  margin-bottom: 20px;
  background-color: white;
  font-size: 13px;
  line-height: 30px;
  color: #707070;
}
.main-wrapper {
  width: calc(100% - 24px);
  min-height: calc(100vh - 24px) !important;
  margin: 20px auto 0;
  background-color: #ffffff;
}
.main-wrapper .nav-tabs > li > a {
  border: 0;
  color: #333333;
  margin: 0;
  padding: 10px 15px;
  white-space: nowrap;
}
.main-wrapper .nav-tabs > li.active > a,
.main-wrapper .nav-tabs > li.active > a:focus,
.main-wrapper .nav-tabs > li.active > a:hover {
  color: #000000;
}
.main-wrapper .head-nav-tabs {
  border: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: fit-content;
  height: 40px;
}
.main-wrapper .panel {
  padding: 0 !important;
  margin-bottom: 0;
  border: 0px !important;
}
.main-wrapper .panel.panel-scroll {
  width: 100%;
  height: calc(100vh - 185px) !important;
  overflow-y: hidden;
  overflow-x: hidden;
  margin: 0 auto;
}
.main-wrapper .panel.panel-scroll > .panel-body {
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
}
.main-wrapper .panel.panel-scroll > .panel-body::-webkit-scrollbar {
  width: 0 !important;
}
.main-wrapper .panel .panel-header {
  width: 98%;
  height: 59px;
  border-bottom: 1px solid #f9f9f9;
  margin: 0 auto 20px auto;
}
.main-wrapper .panel .panel-header > .goback-header {
  float: left;
  width: 50%;
  margin-top: 20px;
}
.main-wrapper .panel .panel-header > .goback-header > button {
  width: 58px;
  height: 28px;
  top: 20px;
  left: 20px;
  border-radius: 2px;
  border: 1px solid #eeeeee;
  background-color: rgba(0, 0, 0, 0);
  color: #333333;
}
.main-wrapper .panel .panel-header > .goback-header > button:hover {
  border: 1px solid #0070e0;
  background-color: #ebf4fd;
}
.main-wrapper .panel .panel-header > .goback-header > span:nth-child(2) {
  display: inline-block;
  margin-left: 15px;
  color: #707070;
}
.main-wrapper .panel .panel-body {
  width: 100%;
  margin: 0 auto;
  padding: 0px !important;
}
.main-wrapper .panel .panel-body.b-b {
  margin: 0;
  width: 100%;
  border-color: #f9f9f9;
}
.main-wrapper .panel .panel-body .main-search {
  float: left;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  padding: 0 20px;
}
.main-wrapper .panel .panel-body .main-search .left-operation {
  float: left;
  padding-bottom: 8px;
  width: 100%;
}
.main-wrapper .panel .panel-body .main-search .left-operation .form-group {
  margin-bottom: 0;
}
.main-wrapper .panel .panel-body .main-search .right-operation {
  float: right;
  min-height: 0;
}
.main-wrapper .panel .panel-body .main-search .right-operation .form-group {
  margin-bottom: 0px;
  display: inline-block;
}
.main-wrapper .panel .panel-body .main-search .right-operation .form-group select {
  display: inline-block;
  width: 120px;
  height: 28px;
  padding-top: 2px;
  border-radius: 2px;
  border: 1px solid #eeeeee;
  background-color: #ffffff;
  box-sizing: border-box;
  color: #707070;
}
.main-wrapper .panel .panel-body .tab-content .tab-pane .tab-toolbar {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #EEEEEE;
  padding-top: 8px;
  padding-bottom: 8px;
  position: relative;
  margin: 0 0 5px;
}
.main-wrapper .panel .panel-body .tab-content .tab-pane .tab-toolbar .tab-toolbar-buttons {
  width: 100%;
  float: left;
}
.main-wrapper .panel .panel-body .tab-content .tab-pane .tab-toolbar .tab-toolbar-buttons .toolbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: nowrap;
  gap: 8px;
}
.main-wrapper .panel .panel-body .tab-content .tab-pane .tab-toolbar .tab-toolbar-buttons .toolbar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex: 1 1 auto;
  min-width: 0;
}
.main-wrapper .panel .panel-body .tab-content .tab-pane .tab-toolbar .tab-toolbar-buttons .toolbar-right {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}
.main-wrapper .panel .panel-body .tab-content .tab-pane .tab-toolbar .tab-toolbar-buttons .toolbar-flex .operation-log,
.main-wrapper .panel .panel-body .tab-content .tab-pane .tab-toolbar .tab-toolbar-buttons .toolbar-flex .more-icon-wrapper,
.main-wrapper .panel .panel-body .tab-content .tab-pane .tab-toolbar .tab-toolbar-buttons .toolbar-flex .dropdown-viewStyle {
  float: none;
}
.main-wrapper .panel .panel-body .tab-content .tab-pane .tab-toolbar .operation-log {
  float: right;
}
.main-wrapper .panel .panel-body .tab-content .tab-pane .tablebtn_filter {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding-top: 8px;
  padding-bottom: 8px;
  position: relative;
  margin: 0 0 5px;
}
.main-wrapper .panel .panel-body .tab-content .tab-pane .tablebtn_filter .dt-buttons {
  width: 100%;
  float: left;
}
.main-wrapper .panel .panel-body .tab-content .tab-pane .tablebtn_filter .dt-buttons .operation-log {
  float: right;
}
.main-wrapper .panel .panel-body .tab-content .tab-pane .tablebtn_filter .dt-buttons .btn-group-box.btn-open .dt-button-collection {
  display: block !important;
}
.main-wrapper .panel .panel-body .tab-content .tab-pane .btn-group-box {
  position: relative;
  display: inline-block;
}
.main-wrapper .panel .panel-body .tab-content .tab-pane .btn-group-box.btn-open .tab-toolbar-button-collection,
.main-wrapper .panel .panel-body .tab-content .tab-pane .btn-group-box.btn-open .dt-button-collection {
  display: block !important;
}
.main-wrapper .panel .panel-body .tab-content .tab-pane .btn-group-box ul.dt-button-collection,
.main-wrapper .panel .panel-body .tab-content .tab-pane .btn-group-box ul.tab-toolbar-button-collection {
  display: none !important;
  width: auto;
  padding: 4px 0;
  border: 1px solid #f2f2f2;
  border-radius: 0;
  position: absolute;
  margin-top: 3px;
  top: 100% !important;
  left: -10px !important;
  background-color: white;
  overflow: hidden;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  z-index: 2002;
}
.main-wrapper .panel .panel-body .tab-content .tab-pane .btn-group-box ul.dt-button-collection li.dt-button,
.main-wrapper .panel .panel-body .tab-content .tab-pane .btn-group-box ul.tab-toolbar-button-collection li.dt-button,
.main-wrapper .panel .panel-body .tab-content .tab-pane .btn-group-box ul.dt-button-collection li.tab-toolbar-button,
.main-wrapper .panel .panel-body .tab-content .tab-pane .btn-group-box ul.tab-toolbar-button-collection li.tab-toolbar-button {
  position: relative;
  display: block;
  float: none;
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0 20px;
  height: 24px;
  line-height: 24px;
  font-size: 14px;
}
.main-wrapper .panel .panel-body .tab-content .tab-pane .btn-group-box ul.dt-button-collection li.dt-button:hover,
.main-wrapper .panel .panel-body .tab-content .tab-pane .btn-group-box ul.tab-toolbar-button-collection li.dt-button:hover,
.main-wrapper .panel .panel-body .tab-content .tab-pane .btn-group-box ul.dt-button-collection li.tab-toolbar-button:hover,
.main-wrapper .panel .panel-body .tab-content .tab-pane .btn-group-box ul.tab-toolbar-button-collection li.tab-toolbar-button:hover {
  color: #707070 !important;
  background-color: #e1e9fc;
}
.main-wrapper .panel .panel-body .tab-content .tab-pane .btn-group-box ul.dt-button-collection li.dt-button.active:not(.disabled),
.main-wrapper .panel .panel-body .tab-content .tab-pane .btn-group-box ul.tab-toolbar-button-collection li.dt-button.active:not(.disabled),
.main-wrapper .panel .panel-body .tab-content .tab-pane .btn-group-box ul.dt-button-collection li.tab-toolbar-button.active:not(.disabled),
.main-wrapper .panel .panel-body .tab-content .tab-pane .btn-group-box ul.tab-toolbar-button-collection li.tab-toolbar-button.active:not(.disabled) {
  background-color: #dadada;
  background-image: -webkit-linear-gradient(top, #f0f0f0 0%, #dadada 100%);
  background-image: -moz-linear-gradient(top, #f0f0f0 0%, #dadada 100%);
  background-image: -ms-linear-gradient(top, #f0f0f0 0%, #dadada 100%);
  background-image: -o-linear-gradient(top, #f0f0f0 0%, #dadada 100%);
  background-image: linear-gradient(to bottom, #f0f0f0 0%, #dadada 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, StartColorStr='#f0f0f0', EndColorStr='#dadada');
  box-shadow: inset 1px 1px 3px #666;
}
.main-wrapper .panel .panel-body .sub-panel-header {
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
}
.main-wrapper .panel .panel-body .sub-panel-body {
  max-width: 100%;
  margin-left: 30px;
}
.main-wrapper .table-total-items {
  width: 100%;
  margin-bottom: 0 !important;
  padding-top: 10px;
  text-align: right;
}
.main-wrapper .table-total-items .table-total-items_title {
  width: 60px;
  float: left;
  display: inline-block;
  height: 28px;
  line-height: 28px;
  color: #333333;
  padding-left: 14px;
}
.main-wrapper .table-total-items .table-total-item_info {
  color: #333333;
  float: left;
  height: 28px;
  line-height: 28px;
  padding-left: 5px;
}
.main-wrapper .table-total-items .table-total-item_info > span {
  display: inline-block;
  height: 28px;
  line-height: 28px;
  float: left;
}
.main-wrapper .table-total-items .table-total-item_info > input {
  padding: 4px 6px;
  float: left;
}
.main-wrapper .table-total-items .form-control {
  border: 0;
}
.main-wrapper .table-total-items > input {
  padding: 4px 6px;
  float: left;
}
.main-wrapper .form-panel-footer {
  padding: 0;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  display: flex;
  z-index: 10;
}
.main-wrapper .form-panel-footer .form-panel-footer-button_group {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  height: 100%;
  min-height: 55px;
  box-shadow: 0px -2px 5px 0px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}
.main-wrapper .form-group-list_header {
  color: #333333;
  font-size: 20px;
  height: auto;
  padding-bottom: 20px;
  border-bottom: 1px solid #f5f5f5;
  margin-bottom: 20px;
}
.main-wrapper .form-group-list_header:after {
  content: '';
  clear: both;
  height: 0;
  overflow: hidden;
  display: block;
  visibility: hidden;
}
.main-wrapper .form-group-list_header .img {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
  bottom: -3px;
  margin-right: 10px;
  background-image: url("../images/set_icon_type_default.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.main-wrapper .form-group-list_body {
  /* 单选框&复选框 */
  /* 只读状态 */
}
.main-wrapper .form-group-list_body .form-group {
  margin-top: 0px;
  margin-bottom: 0px;
}
.main-wrapper .form-group-list_body .row {
  padding-bottom: 20px;
}
.main-wrapper .form-group-list_body input[type='radio'],
.main-wrapper .form-group-list_body input[type='checkbox'] {
  width: 14px;
  height: 14px;
  min-width: unset !important;
  vertical-align: middle;
  margin: 0 4px 0 0;
  padding-top: 7px;
  outline: none;
}
.main-wrapper .form-group-list_body .form-control[readonly] {
  background-color: #ffffff;
}
.layer-main-wrapper {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}
.layer-main-wrapper .form-view-group-list_body {
  height: calc(100vh - 20px) !important;
}
.layer-main-wrapper .form-view-group-list_body .itemBox {
  margin-top: 5px;
}
.layer-main-wrapper .form-view-group-list_body .itemBox .col-sm-8 {
  margin-top: 5px;
}
/* ========== 5. 表单页面 ========== */
.form-horizontal {
  margin: 0 20px;
  padding: 20px 46px 20px;
}
/* ========== 6. 表格系统 ========== */
table.table-bordered > thead > tr > th,
table.table-bordered > thead > tr > td {
  min-height: 26px;
}
table.table-bordered > tbody > tr > th,
table.table-bordered > tbody > tr > td {
  min-height: 45px;
}
table.table-bordered > tfoot > tr > td,
table.table-bordered > tfoot > tr > th {
  border: 0;
}
table.table-bordered > thead > tr > th,
table.table-bordered > thead > tr > td {
  background-color: #F5F5F6;
}
table > thead > tr > th {
  white-space: nowrap !important;
}
table > tbody > tr > td {
  /*table内a标签按键样式*/
}
table > tbody > tr > td > a:hover,
table > tbody > tr > td > a:focus {
  color: var(--color-primary);
  cursor: pointer;
}
table th {
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-family: var(--font-family-base);
  font-weight: 600 !important;
}
table th > .fa-sort,
table th > .fa-sort-up,
table th > .fa-sort-down {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
}
table th .iconfont {
  font-weight: 400 !important;
}
table td {
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-family: var(--font-family-base);
  font-weight: 400 !important;
}
table td .iconfont {
  font-weight: 400 !important;
}
table > tbody > tr {
  /*鼠标滑过的颜色*/
}
table > tbody > tr.selected > td,
table > tbody > tr.selected > th {
  color: unset !important;
  background-color: #ebf0fd !important;
  box-shadow: none !important;
}
table > tbody > tr.hover td,
table > tbody > tr.hover th {
  background-color: #f4f7ff !important;
}
table .compact {
  /* 表格紧凑 */
  /* 表头紧凑 */
}
table .compact > tbody > tr > td {
  line-height: 32px !important;
}
table .compact > thead > tr > th {
  padding: 5px 20px 5px 10px !important;
}
table .moderate {
  /* 表格适中 */
  /* 表头适中 */
}
table .moderate > tbody > tr > td {
  line-height: 40px !important;
}
table .moderate > thead > tr > th {
  padding: 9px 20px 9px 10px !important;
}
table .loose {
  /* 表格宽松 */
}
table .loose > tbody > tr > td {
  line-height: 48px !important;
}
table .loose > thead > tr > th {
  padding: 13px 20px 13px 10px !important;
}
table .childTrTable .content-item-table-hidden {
  height: 0;
  margin: 0px;
  z-index: -1;
  overflow: hidden;
  position: relative;
  border: 0;
}
.modal > .modal-dialog > .modal-content > .modal-footer {
  padding: 15px 3px;
}
/* ========== 7. 弹窗 & 浮层 ========== */
.layui-layer-content .more-layer-tip-item > a.take-order {
  display: block;
  width: 100%;
  text-align: center;
}
.jstree-default.jstree-grid-column {
  border-right: 1px solid #f2f2f2;
}
.jstree-default.jstree-grid-column:last-child {
  border-color: transparent;
}
.iframePopSelect > .layui-layer-title {
  height: 40px !important;
  line-height: 40px !important;
  border-bottom: 1px solid #f3f3f3;
}
.iframePopSelect > .layui-layer-setwin {
  top: 12px !important;
}
.iframePopSelect > .layui-layer-setwin .layui-icon-close:before,
.iframePopSelect > .layui-layer-setwin .layui-icon-close:after {
  top: 8px;
}
.iframePopSelect > .layui-layer-btn {
  border-top: 1px solid #f3f3f3;
  height: 45px !important;
  padding: 8px 16px;
}
.iframePopSelect > .layui-layer-btn > a {
  margin-top: 0px !important;
}
/* ---- 7.2 drawForm 表单控件现代化 ---- */
.drawForm .col-lg-6,
.drawForm .col-lg-12 {
  margin-bottom: calc(var(--space-xs) + var(--space-xxs) + 1px) !important;
}
.drawForm .form-control:not(textarea) {
  height: var(--control-height-lg) !important;
  line-height: calc(var(--control-height-lg) - 2px) !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--color-border) !important;
  transition: border-color var(--duration-fast) var(--ease-default), box-shadow var(--duration-fast) var(--ease-default);
}
.drawForm textarea.form-control {
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--color-border) !important;
  min-height: var(--control-height-lg) !important;
  transition: border-color var(--duration-fast) var(--ease-default), box-shadow var(--duration-fast) var(--ease-default);
}
.drawForm .form-control:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(55, 106, 234, 0.1) !important;
}
.drawForm .label-default {
  color: var(--color-text-secondary) !important;
  font-size: var(--font-size-md) !important;
  line-height: var(--control-height-lg) !important;
  height: var(--control-height-lg) !important;
}
.drawForm .select2-container--default .select2-selection--single {
  height: var(--control-height-lg) !important;
  border-radius: var(--radius-md) !important;
  border-color: var(--color-border) !important;
}
.drawForm .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: var(--control-height-lg) !important;
}
.drawForm .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: var(--control-height-lg) !important;
}
.drawForm input[type="radio"],
.drawForm input[type="checkbox"] {
  margin-top: 0 !important;
  vertical-align: middle;
}
.drawForm .required-star {
  color: var(--color-danger);
}
.drawForm .groupTitle {
  margin-bottom: var(--space-sm) !important;
  margin-top: var(--space-sm) !important;
}
/* ========== 8. 提示 & 帮助组件 ========== */
.helpGuideBtn {
  position: relative;
  float: right;
  color: #707070 !important;
  border: 1px solid #eeeeee;
  background-color: #ffffff;
  margin: 0 8px 0 0;
  border-radius: 2px !important;
  box-sizing: border-box;
  text-align: center;
  line-height: 16px;
  transition: all 0.2s ease-in-out;
  padding: 5px 16px 5px 32px;
  box-shadow: none !important;
  display: inline-block;
  font-size: 14px;
  white-space: nowrap;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  user-select: none;
  background-image: none;
  font-family: var(--font-family-base);
  font-weight: 400 !important;
  text-decoration: none;
}
.helpGuideBtn:hover {
  border: 1px solid var(--color-primary) !important;
  background-color: rgba(0, 112, 224, 0.08);
  outline: none !important;
  text-decoration: none !important;
  color: #707070 !important;
}
.helpGuideBtn .helpGuideBtn_icon {
  width: 11px;
  height: 14px;
  position: absolute;
  top: 6px;
  left: 16px;
}
.tooltip-options {
  display: inline-flex;
}
.tooltip-options > a {
  display: inline-flex;
  height: 12px;
}
.tooltip-options > a > .warningIcon {
  height: 12px;
  width: auto;
}
.tooltip-options > a > .glyphicon-question-sign {
  color: #959595;
  top: 0px;
  width: 14px;
  font-weight: 600 !important;
}
.tooltip-options > a > .glyphicon-question-sign:hover {
  color: #2182e2;
}
.tooltip-options > a > .glyphicon-question-sign::before {
  content: "\e085";
  position: absolute;
  left: 0;
  font-size: 13px;
}
.tooltip-options > .tooltip > .tooltip-inner {
  white-space: pre-line !important;
}
.tooltip {
  z-index: 4070;
  white-space: pre-wrap;
}
.stock-thumbnail-cell {
  text-align: center;
  vertical-align: middle !important;
  width: 50px;
}
.stock-thumbnail-cell .stock-thumbnail-wrap {
  position: relative;
  display: inline-block;
  cursor: zoom-in;
}
.stock-thumbnail-cell .stock-thumbnail-wrap .stock-thumbnail {
  border-radius: 3px;
  border: 1px solid #e5e5e5;
  object-fit: cover;
  display: block;
}
.stock-thumbnail-cell .stock-thumbnail-wrap .stock-thumbnail-tip {
  display: none;
  position: fixed;
  z-index: 4080;
  padding: 4px;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}
.stock-thumbnail-cell .stock-thumbnail-wrap .stock-thumbnail-tip img {
  display: block;
  object-fit: contain;
}
.stock-thumbnail-cell .stock-thumbnail-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px dashed #d1d5db;
  border-radius: 3px;
  background-color: #fafafa;
  cursor: default;
}
.question-signTip {
  display: inline-block;
  width: 15px;
  height: 15px;
  text-indent: 0px !important;
  transform: translateY(3px);
}
.question-signTip > a {
  height: 100%;
  display: inline-flex;
}
.question-signTip > a > .question-sign {
  width: 15px;
  height: 15px;
  border: 1px solid #C3CBCE;
  border-radius: 50%;
  font-size: 12px;
  text-align: center;
  line-height: 14px;
  color: #C3CBCE;
}
.question-signTip > a > .question-sign:hover {
  background-color: #AEAEAE;
  color: white;
}
.question-signTip > a > .question-sign > div {
  position: relative;
}
.question-signTip > a > .question-sign > div::before {
  content: "?";
  position: absolute;
  left: 3px;
  top: 0px;
  transform: scale(0.8);
  font-weight: 500 !important;
}
/* ========== 9. 搜索栏 Grid ========== */
.form_searchForm .main-search-grid {
  /*表格按钮和筛选框固定*/
  width: 100% !important;
  height: auto !important;
  box-sizing: border-box !important;
  padding: 8px !important;
  gap: 8px 10px !important;
  display: grid;
  grid-template-columns: repeat(auto-fill, 285px);
}
.form_searchForm .main-search-grid .form-group {
  display: inline-block;
  margin-bottom: 0;
  vertical-align: middle;
}
.form_searchForm .main-search-grid .left-item {
  height: auto !important;
  width: 100% !important;
  padding-bottom: 0 !important;
  margin-right: 0 !important;
}
.form_searchForm .main-search-grid .left-item .col-sm-3 {
  padding: 0 !important;
  margin: 0 !important;
  min-width: 100px !important;
  max-width: 100px !important;
  text-align: right;
  height: 100%;
  line-height: 22px;
  white-space: pre-line;
}
.form_searchForm .main-search-grid .left-item .col-sm-8 {
  min-width: 185px !important;
  max-width: 185px !important;
  padding-left: 0;
}
.form_searchForm .main-search-grid .left-item .col-sm-8 select,
.form_searchForm .main-search-grid .left-item .col-sm-8 input:not([type="checkbox"]):not([type="radio"]) {
  width: 100%;
}
.form_searchForm .main-search-grid .left-item .col-sm-8 > input:not([type="checkbox"]):not([type="radio"]):focus {
  background-color: #ffffe1;
}
.form_searchForm .main-search-grid .left-item .col-sm-8 .select2-selection__choice {
  max-width: 167px;
}
.form_searchForm .main-search-grid .left-item .col-sm-8 .select2-selection__choice:nth-of-type(1) {
  max-width: 148px;
}
.form_searchForm .main-search-grid .left-item.searchBox {
  width: auto !important;
  height: 30px !important;
  line-height: 30px;
  grid-column-end: -1;
  grid-row-start: 1;
  display: flex !important;
  justify-content: flex-end;
}
.form_searchForm .main-search-grid .left-item.searchBox .col-sm-3 {
  min-width: 0 !important;
  max-width: 0 !important;
}
.form_searchForm .main-search-grid .left-item.searchBox .form-group {
  padding-bottom: 0 !important;
}
.form_searchForm .main-search-grid .left-item.searchBox .form-group .btn {
  display: block;
}
.form_searchForm .main-search-grid .left-item.searchBox .btn-filter {
  display: flex;
  align-items: center;
}
.form_searchForm .main-search-grid .left-item.searchBox .btn-filter img {
  margin-right: 3px;
  width: 16px;
  height: 16px;
}
.form_searchForm .main-search-grid .left-item.searchBox .right-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex;
}
.form_searchForm .main-search-grid .left-item.grid-col-span-2 {
  grid-column: span 2;
  display: flex;
}
.form_searchForm .main-search-grid .left-item.grid-col-span-2 .col-sm-8 {
  max-width: unset !important;
  width: 100% !important;
  display: flex;
  align-items: center;
}
.form_searchForm .main-search-grid .left-item.searchType-16 {
  grid-column: span 2;
  display: flex;
  align-items: center;
}
.form_searchForm .main-search-grid .left-item.searchType-16 .col-sm-8 {
  border: 1px solid #D5D5D5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  max-width: unset !important;
  width: 100% !important;
}
.form_searchForm .main-search-grid .left-item.searchType-16 .col-sm-8:focus-within {
  border: 1px solid var(--color-primary) !important;
}
.form_searchForm .main-search-grid .left-item.searchType-16 .col-sm-8 .dateTimeSelect {
  border: none !important;
  font-size: 13px;
}
.form_searchForm .main-search-grid .left-item.searchType-16 .col-sm-8 .dateTimeSelect:nth-of-type(3) {
  padding-right: 0;
}
.form_searchForm .main-search-grid .left-item.searchType-16 .col-sm-8 .dateTimeSelect:nth-of-type(4) {
  padding-left: 0;
}
.form_searchForm .main-search-grid .left-item.pickerDaterange-hhmmss .daterangepicker-daterange {
  width: 295px !important;
}
.form_searchForm .main-search-grid .more-filter .form-group {
  margin-bottom: 3px;
}
.form_searchForm .main-search-grid .more-filter .row {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.form_searchForm .main-search-grid .searchBox .right-content {
  text-align: right;
}
/* ========== 10. 独立组件 ========== */
/*明细表按钮样式*/
.detail-table-btn {
  display: inline-flex;
  align-items: center;
  border-radius: 2px;
  background-color: #ffffff;
  border: 1px solid var(--color-primary);
  color: #007BFF !important;
  font-size: 12px;
  padding: 0 16px;
  height: 26px;
  cursor: pointer;
  transition: background-color 0.4s ease, color 0.4s ease;
  position: relative;
  text-align: center;
  box-sizing: border-box;
  outline: none !important;
  white-space: nowrap;
  min-width: 60px;
  margin: 0 8px 0 0;
  text-shadow: none !important;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
}
.detail-table-btn:hover {
  background-color: #007BFF;
  color: #ffffff !important;
}
.detail-table-btn:hover span {
  transform: translateX(-7px);
}
.detail-table-btn:hover span:after {
  opacity: 1;
  right: -15px;
}
.detail-table-btn span {
  position: relative;
  z-index: 1;
  transition: color 0.4s ease, transform 0.4s ease;
  display: inline-block;
}
.detail-table-btn span:after {
  content: '»';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -15px;
  transition: 0.3s ease;
  color: #ffffff;
  width: 15px;
  text-align: center;
  line-height: 18px;
}
.gantt-btn-box {
  display: flex;
  float: right;
  margin-right: 8px;
}
.gantt-btn-box .gantt-btn {
  color: #4186d6;
  cursor: pointer;
  background: #fff;
  border: 1px solid #eeeeee;
  padding: 5px 10px;
  font-size: 14px;
  box-sizing: border-box;
  text-align: center;
  line-height: 16px;
  box-shadow: none !important;
  white-space: nowrap;
  vertical-align: middle;
  touch-action: manipulation;
  user-select: none;
  background-image: none;
  text-decoration: none;
  transition: background-color 0.3s;
}
.gantt-btn-box .gantt-btn:first-child {
  border-right: none;
  border-radius: 2px 0 0 2px;
}
.gantt-btn-box .gantt-btn:last-child {
  border-radius: 0 2px 2px 0;
}
.gantt-btn-box .gantt-btn:hover {
  background: #f4f7fb;
}
.gantt-btn-box .gantt-btn.active {
  background: #e8f0f9;
  font-weight: bold;
}
/* ========== 11. 响应式 ========== */
@media screen and (max-width: 767px) {
  .table-responsive {
    border: none;
  }
}
/* ========== 12. 工具栏 & 展开按钮 ========== */
.layui-layer-msg .layui-layer-content .layui-layer-face {
  top: 3px;
}
.more-icon-wrapper {
  float: right;
  display: flex !important;
  align-items: center;
}
.more-icon-wrapper .more-icon {
  cursor: pointer;
  display: flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}
.more-icon-wrapper .more-icon:hover div {
  background-color: var(--color-primary);
}
.more-icon-wrapper .more-icon:hover div::before,
.more-icon-wrapper .more-icon:hover div::after {
  background-color: var(--color-primary) !important;
}
.more-icon-wrapper .more-icon > span {
  width: 13px;
  height: 3px;
  display: block;
}
.more-icon-wrapper .more-icon > span > div {
  width: 3px;
  height: 3px;
  background-color: #9ca3af;
  border-radius: 50%;
  position: relative;
}
.more-icon-wrapper .more-icon > span > div.more-icon-div::before,
.more-icon-wrapper .more-icon > span > div.more-icon-div::after {
  content: '';
  width: 3px;
  height: 3px;
  background-color: #9ca3af;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 5px;
  display: block;
}
.more-icon-wrapper .more-icon > span > div.more-icon-div::after {
  left: 10px;
}
.main-table-expand-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #2c4b8a;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  margin: 0 !important;
  z-index: 1;
}
.main-table-expand-btn:hover {
  background: #c5d4fa;
  border-color: #5a7bb5;
  color: #4a7df5;
}
.detail-table-expand-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #4a6aa8;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.detail-table-expand-btn:hover {
  background: #e8efff;
  border-color: #94b0d8;
  color: #2a5cd9;
}
.dtfh-floatingparenthead .detail-table-expand-btn {
  display: none !important;
}
.tabs-container.fold {
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  position: relative !important;
  overflow: hidden !important;
}
/* ========== 13. Uppy 上传组件 ========== */
/* 上传按钮容器 — 默认隐藏, hover 时显示 */
.custom-uppy-buttons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 16px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}
/* 图标按钮基础样式 */
.custom-icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(223, 223, 223, 0.8);
  /* 浅灰色背景，80%不透明度 */
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease;
}
/* 图标按钮 hover 样式 */
.custom-icon-btn:hover {
  background: rgba(208, 208, 208, 0.9);
  /* hover 时稍微深一点的浅灰色，90%不透明度 */
  transform: translateY(-3px);
}
/* 图标样式 - 支持 SVG/IMG/i 标签 */
.custom-icon-btn img {
  width: 50%;
  height: auto;
  pointer-events: none;
}
.custom-icon-btn svg {
  width: 60%;
  height: auto;
  pointer-events: none;
}
.custom-icon-btn i {
  font-size: 20px;
  color: #fff;
}
/* 文字样式 */
.custom-icon-btn span {
  font-size: 12px;
  color: #fff;
  white-space: nowrap;
}
/* 图标按钮激活状态 */
.custom-icon-btn:active {
  transform: translateY(-1px) !important;
}
/* Uppy 特定样式 */
/* 隐藏原始的文字按钮 - 仅对启用高拍仪的控件生效 */
.uppy-container-scanner .uppy-Dashboard-AddFiles-title {
  display: none !important;
}
/* 鼠标移入 Dashboard 时显示图标按钮 */
.uppy-Dashboard-inner:hover .custom-uppy-buttons {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* 图标禁止选中和点击事件穿透 */
.custom-icon-btn svg,
.custom-icon-btn img {
  user-select: none;
}
/* @description 流程任务列表：合并列排版 + 待办行底色 @date 2026-04-29 */
.flow-merged-cell { line-height: 1.5; }
.flow-merged-cell .primary-row { color: #333; margin: 0; }
.flow-merged-cell .secondary-row { color: #999; font-size: 12px; margin: 1px 0 0; }
.flow-merged-cell .remark-row { color: #666; font-size: 12px; margin: 2px 0 0; font-style: italic; }
tr.flow-row-need-action td { background: #fff8f0 !important; }
