/**
 * 通用css样式布局处理
 * Copyright (c) 2019 ruoyi
 */

/** 删除二次确认（$.operate.remove / removeAll） */
.ruoyi-delete-confirm {
	text-align: left;
	line-height: 1.65;
	font-size: 13px;
	padding: 4px 2px 0;
	max-height: min(60vh, calc(100vh - 200px));
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	box-sizing: border-box;
}
.ruoyi-delete-confirm .ruoyi-delete-warn {
	color: #c9302c;
	font-weight: bold;
	margin: 0 0 10px;
	padding: 8px 10px;
	background: #fdf2f2;
	border: 1px solid #f5c6cb;
	border-radius: 4px;
}
.ruoyi-delete-confirm table {
	width: 100%;
	border-collapse: collapse;
}
.ruoyi-delete-confirm td {
	padding: 4px 6px;
	vertical-align: top;
	border-bottom: 1px dashed #eee;
}
.ruoyi-delete-confirm td.lbl {
	width: 7.5em;
	color: #888;
	white-space: nowrap;
}
.ruoyi-delete-confirm td.val {
	color: #333;
	font-weight: 500;
}
.ruoyi-delete-confirm .ruoyi-delete-note {
	margin-top: 10px;
	color: #666;
	font-size: 12px;
}
.ruoyi-delete-confirm .ruoyi-delete-batch-hint {
	margin: 0 0 8px;
	color: #666;
	font-size: 12px;
}

/** 语音播报 / 备注 · 常用语快捷条 */
.remark-snippet-quick-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-top: 6px;
	max-height: 140px;
	overflow-y: auto;
}
.remark-snippet-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	max-width: 100%;
}
.remark-snippet-chip .btn {
	max-width: 200px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.remark-snippet-chip .remark-snippet-del {
	font-size: 15px;
	line-height: 1;
	padding: 0 2px;
	cursor: pointer;
}
.remark-snippet-chip .remark-snippet-edit {
	padding: 0 2px;
	cursor: pointer;
	color: #888;
}
.remark-snippet-chip .remark-snippet-edit:hover {
	color: #1ab394;
}
.voice-snippet-manage {
	margin-top: 6px;
}
.voice-snippet-manage .input-group {
	width: 100%;
}
.voice-snippet-label {
	font-size: 11px;
	color: #888;
	margin: 0 0 4px;
}
.navbar-top-links #voicePanel.voice-panel-menu > li.voice-panel-store-wrap,
#voicePanel .voice-panel-store-wrap {
	list-style: none;
	padding: 10px 14px;
	border-bottom: 1px solid #e8ecf0;
	background: #fff;
	box-sizing: border-box;
}
#voicePanel .voice-panel-store-label {
	font-size: 11px;
	color: #888;
	margin: 0 0 4px;
	display: block;
	font-weight: normal;
}
#voicePanel .voice-panel-store-wrap select {
	width: 100%;
	box-sizing: border-box;
}
#voicePanel .voice-panel-schedule-status {
	list-style: none;
	padding: 8px 14px;
	background: #ecfdf5;
	border-bottom: 1px solid #d1fae5;
	font-size: 12px;
	line-height: 1.45;
	color: #115e59;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
#voicePanel .voice-panel-schedule-status--clickable {
	cursor: pointer;
	transition: background .15s ease;
}
#voicePanel .voice-panel-schedule-status--clickable:hover {
	background: #d1fae5;
}
#voicePanel .voice-schedule-active-arrow {
	flex: 0 0 auto;
	color: #0d9488;
	font-size: 14px;
	opacity: 0.85;
}
#voicePanel .voice-schedule-active-text .fa-clock-o {
	margin-right: 4px;
	color: #0d9488;
}
#voicePanel .voice-schedule-active-num {
	color: #0f766e;
	font-size: 14px;
}
#voicePanel .voice-panel-schedule-status.is-empty {
	background: #f8fafc;
	color: #64748b;
}

/* 语音播报面板：输入/聚焦时保持展开；消除 toggle 与菜单间 hover 空隙 */
#voiceDropdown.open > .dropdown-menu.voice-panel-menu,
#voiceDropdown.voice-panel-pinned > .dropdown-menu.voice-panel-menu {
	display: block !important;
}
/* 未显式展开时强制隐藏，避免 .nav>li:hover 导致点击跳转后面板仍悬停 */
#voiceDropdown:not(.open):not(.voice-panel-pinned) > .dropdown-menu.voice-panel-menu {
	display: none !important;
}
#voiceDropdown > .dropdown-menu.voice-panel-menu {
	margin-top: 0;
}
#voiceDropdown > .dropdown-menu.voice-panel-menu::before {
	content: "";
	display: block;
	height: 6px;
	margin: -6px 0 0;
}

/* 顶部公告详情侧滑层 */
.notice-preview-layer {
	overflow: visible !important;
}
.notice-preview-layer #noticeCloseBtn {
	position: absolute;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
	cursor: pointer;
	font-size: 13px;
	color: #718096;
	line-height: 1;
	z-index: 1;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.notice-preview-layer #noticeCloseBtn:hover,
.notice-preview-layer #noticeCloseBtn:focus {
	background: #f7fafc;
	color: #2d3748;
	border-color: #cbd5e0;
	outline: none;
}
.notice-preview-layer #noticeCloseBtn.notice-close-outside {
	top: 20px;
	left: -42px;
}
.notice-preview-layer #noticeCloseBtn.notice-close-inside {
	top: 12px;
	right: 12px;
}

/* 顶栏右侧：50px 行高内垂直居中（头像 27px，若仍用 padding:15px 内容区仅 20px 会溢出错位） */
.navbar-top-links.welcome-message > li {
	vertical-align: middle;
}
.navbar-top-links.welcome-message > li > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	padding: 0 12px !important;
	line-height: normal;
	box-sizing: border-box;
}
.navbar-top-links.welcome-message > li.user-menu > a.dropdown-toggle {
	gap: 8px;
}
.navbar-top-links.welcome-message > li.user-menu .user-image {
	float: none !important;
	display: block;
	width: 27px;
	height: 27px;
	margin: 0 !important;
	flex-shrink: 0;
	border-radius: 50%;
}
.navbar-top-links.welcome-message > li.dropdown.open > a.dropdown-toggle,
.navbar-top-links.welcome-message > li.dropdown.open > a.dropdown-toggle:hover,
.navbar-top-links.welcome-message > li.dropdown.open > a.dropdown-toggle:focus {
	background-color: #367fa9 !important;
	color: #fff !important;
}
/* 头像菜单：仅 .open 时展开，禁用 hover 自动弹出（覆盖 style.css .nav>li:hover） */
.navbar-top-links.welcome-message > li.user-menu:not(.open) > .dropdown-menu,
.navbar-top-links.welcome-message > li.user-menu:not(.open):hover > .dropdown-menu {
	display: none !important;
}
.navbar-top-links.welcome-message > li.user-menu.open > .dropdown-menu {
	display: block !important;
}

/* 顶栏左侧：汉堡旁首页按钮 */
.navbar-header .topnav-home-btn {
	float: left;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	padding: 0 12px;
	margin: 0 0 0 2px;
	color: #fff;
	font-size: 14px;
	line-height: normal;
	text-decoration: none;
	box-sizing: border-box;
}
.navbar-header .topnav-home-btn:hover,
.navbar-header .topnav-home-btn:focus {
	color: #fff;
	background-color: #367fa9;
	text-decoration: none;
	outline: none;
}
@media (max-width: 1000px) {
	.navbar-header .topnav-home-btn {
		float: none;
		padding: 0 10px;
		margin: 0;
	}
	.navbar-header .topnav-home-text {
		display: none;
	}
}

/* 小屏：保留右上角消息等入口（覆盖旧版整栏 .welcome-message{display:none}） */
@media (max-width: 1000px) {
	.navbar.navbar-static-top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 50px;
		flex-wrap: nowrap;
	}
	.navbar.navbar-static-top .navbar-header {
		float: none;
		display: flex;
		align-items: center;
		flex: 0 0 auto;
		height: 50px;
	}
	.navbar.navbar-static-top .minimalize-styl-2 {
		float: none;
		display: flex;
		align-items: center;
		height: 50px;
		margin-top: 0;
		margin-bottom: 0;
	}
	.navbar-top-links.welcome-message {
		display: flex !important;
		float: none !important;
		align-items: center;
		flex: 0 0 auto;
		margin-left: auto;
		margin-right: 0;
		white-space: nowrap;
	}
	.navbar-top-links.welcome-message > li {
		display: flex;
		align-items: center;
	}
	.navbar-top-links.welcome-message > li.topnav-hide-narrow {
		display: none !important;
	}
	.navbar-top-links.welcome-message > li > a {
		font-size: 13px;
		padding: 0 10px !important;
	}
	.navbar-top-links.welcome-message .topnav-link-text {
		display: none;
	}
	.navbar-top-links.welcome-message #noticeDropdown > a {
		position: relative;
		min-width: 36px;
	}
	.navbar-top-links.welcome-message #noticeBadge {
		top: 10px !important;
		right: 4px !important;
	}
}
@media (max-width: 576px) {
	.navbar-top-links.welcome-message > li.topnav-hide-xs {
		display: none !important;
	}
}

/* 小屏顶栏下拉：右对齐 + 点击展开（避免 hover 与触屏冲突、菜单被裁切） */
@media (max-width: 1000px) {
	.row.border-bottom,
	.navbar-static-top {
		overflow: visible !important;
	}
	.navbar-top-links.welcome-message {
		position: relative;
		z-index: 1002;
	}
	.navbar-top-links.welcome-message > li.dropdown {
		position: relative;
	}
	.navbar-top-links.welcome-message > li.dropdown:hover:not(.open) > .dropdown-menu {
		display: none !important;
	}
	.navbar-top-links.welcome-message > li.dropdown.open > .dropdown-menu {
		display: block !important;
	}
	.navbar-top-links.welcome-message #noticeDropdown > .dropdown-menu {
		right: 0;
		left: auto;
		max-width: min(320px, calc(100vw - 16px));
	}
	.navbar-right > .user-menu > .dropdown-menu {
		right: 0;
		left: auto;
		min-width: 138px;
	}
	.navbar-right > .user-menu > .dropdown-menu > li > a {
		color: #333 !important;
		background-color: #fff;
	}
}

/* 顶部语音播报悬浮窗：常用语并排，编辑/删除紧贴文案（覆盖顶栏 dropdown li a 大 padding） */
#voicePanel .remark-snippet-quick-wrap,
#voicePanel .voice-snippet-quick {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	align-items: center;
	align-content: flex-start;
	margin-top: 6px;
	max-height: 140px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
#voicePanel .remark-snippet-chip {
	display: inline-flex;
	flex: 0 1 auto;
	align-items: center;
	gap: 2px;
	max-width: 100%;
	margin: 0;
	padding: 1px 4px 1px 1px;
	background: #f5f7fa;
	border: 1px solid #e4e7ed;
	border-radius: 4px;
	vertical-align: middle;
}
#voicePanel .remark-snippet-chip .btn {
	flex: 0 1 auto;
	max-width: 168px;
	margin: 0;
	padding: 2px 8px;
	font-size: 12px;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
#voicePanel .remark-snippet-chip a.remark-snippet-edit,
#voicePanel .remark-snippet-chip a.remark-snippet-del {
	display: inline-block;
	flex: 0 0 auto;
	padding: 0 3px !important;
	min-height: 0 !important;
	line-height: 1.2;
	white-space: nowrap;
}
#voicePanel .remark-snippet-chip .remark-snippet-edit {
	color: #888;
	font-size: 12px;
}
#voicePanel .remark-snippet-chip .remark-snippet-edit:hover {
	color: #1ab394;
}
#voicePanel .remark-snippet-chip .remark-snippet-del {
	font-size: 14px;
	color: #c9302c;
}

/** 基础通用 **/
.pt5 {
	padding-top: 5px;
}
.pr5 {
	padding-right: 5px;
}
.pb5 {
	padding-bottom: 5px;
}
.mt5 {
	margin-top: 5px;
}
.mr5 {
	margin-right: 5px;
}
.mb5 {
	margin-bottom: 5px;
}
.ml5 {
	margin-left: 5px;
}
.mt10 {
	margin-top: 10px;
}
.mr10 {
	margin-right: 10px;
}
.mb10 {
	margin-bottom: 10px;
}
.ml0 {
	margin-left: 10px;
}
.mt20 {
	margin-top: 20px;
}
.mr20 {
	margin-right: 20px;
}
.mb20 {
	margin-bottom: 20px;
}
.m20 {
	margin-left: 20px;
}
.m50 {
	margin-left: 50px;
}
.img-xs {
  width: 32px;
  height: 32px;
}
.img-sm {
  width: 64px;
  height: 64px;
}
.img-md {
  width: 96px;
  height: 96px;
}
.img-lg {
  width: 120px;
  height: 120px;
}
.section-content {
    min-height: 250px;
    margin-right: auto;
    margin-left: auto;
    padding: 5px 5px 5px 5px;
    width: 100%;
    height: 100%;
    position: absolute;
}

.ibox {
    margin-bottom: 25px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 100%;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.list-group-striped > .list-group-item {
	border-left: 0;
	border-right: 0;
	border-radius: 0;
	padding-left: 0;
	padding-right: 0
}

.ibox-title-gray {
    height: 41px;
    background-color: #f0f3f4;
    color: #333;
    font-weight: 700;
    border-radius: 2px 2px 0 0;
    padding: 13px !important;
    border-bottom: 1px solid #eee;
    display: block;
    clear: both;
}

.dashboard-header h5 {
    padding: 8px 0 0 0;
    display: inline-block;
    font-size: 14px;
    text-overflow: ellipsis;
    float: left;
    font-weight: 400;
}

.ibox-title-gray h5 {
    display: inline-block;
    font-size: 14px;
    margin: 0 0 7px;
    padding: 0;
    text-overflow: ellipsis;
    float: left;
}

/* 导航页签 */
.nav-tabs-custom {
	margin-bottom: 20px;
	background: #fff;
	box-shadow: 0 1px 1px rgba(0,0,0,0.1);
	border-radius: 3px
}

.nav-tabs-custom>.nav-tabs {
	margin: 0;
	border-bottom-color: #f4f4f4;
	border-top-right-radius: 3px;
	border-top-left-radius: 3px
}

.nav-tabs-custom>.nav-tabs>li {
	border-top: 3px solid transparent;
	margin-bottom: -2px;
	margin-right: 5px
}

.nav-tabs-custom>.nav-tabs>li.header {
	padding-left: 5px;
	font-size: 16px;
	line-height: 30px;
}

.nav-tabs-custom>.nav-tabs>li.disabled>a {
	color: #777
}

.nav-tabs-custom>.nav-tabs>li>a {
	color: #444;
	font-weight: normal;
	border-radius: 0
}

.nav-tabs-custom>.nav-tabs>li>a,.nav-tabs-custom>.nav-tabs>li>a:hover {
	background: transparent;
	margin: 0
}

.nav-tabs-custom>.nav-tabs>li>a:hover {
	color: #999
}

.nav-tabs-custom>.nav-tabs>li:not(.active)>a:hover,.nav-tabs-custom>.nav-tabs>li:not(.active)>a:focus,.nav-tabs-custom>.nav-tabs>li:not(.active)>a:active {
	border-color: transparent
}

.nav-tabs-custom>.nav-tabs>li.active {
	border-top-color: #1890ff
}

.nav-tabs-custom>.nav-tabs>li.active>a,.nav-tabs-custom>.nav-tabs>li.active:hover>a {
	background-color: #fff;
	color: #444
}

.nav-tabs-custom>.nav-tabs>li.active>a {
	border-top-color: transparent;
	border-bottom-color: transparent;
	border-left-color: #f4f4f4;
	border-right-color: #f4f4f4
}

.nav-tabs-custom>.tab-content {
	background: #fff;
	padding: 10px;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px
}

/** 弹层组件 禁用样式 **/
.layer-disabled {
	border: 1px #dedede solid !important;
	background-color: #f1f1f1 !important;
	color: #333 !important;
	pointer-events: none;
}

/** 用户管理 样式布局 **/
.box {
	position: relative;
	border-radius: 3px;
	background: #ffffff;
	border-top: 3px solid #d2d6de;
	margin-bottom: 20px;
	width: 100%;
	box-shadow: 0 1px 1px rgba(0,0,0,0.1)
}

.box-header:before,.box-body:before,.box-footer:before,.box-header:after,.box-body:after,.box-footer:after {
	content: " ";
	display: table
}

.box-header:after,.box-body:after,.box-footer:after {
	clear: both
}

.btn-box-tool {
	padding: 5px;
	font-size: 12px;
	background: transparent;
	color: #97a0b3;
}

.open .btn-box-tool,
.btn-box-tool:hover {
	color: #606c84;
}

.box-main {
	margin: 0;
	border: 0;
	padding-top: 2px;
	border-radius: 0;
	box-shadow: none
}

.box-main>.box-header {
	border-bottom: 1px solid #eee;
	padding: 12px 10px 2px 15px
}

.box-header .box-title {
	display: inline-block;
	font-size: 18px;
	margin: 0;
	line-height: 1;
}

.box-main>.box-header .box-title {
	font-size: 16px;
	margin-bottom: 13px;
	float: left
}

.box-main>.box-header .box-title .fa {
	font-size: 14px;
	padding-right: 3px;
	margin-top: -2px
}

.box-main>.box-header .box-tools {
	position: relative;
	top: -5px;
	right: 0
}

.box-main>.box-header .box-tools .btn {
	padding: 3px 10px 5px 10px;
	font-size: 14px;
	margin-bottom: 2px
}

.box-main>.box-header .box-tools .btn-box-tool {
	padding: 4px 2px
}

.box-main form>.box-footer,.nav-main form>.box-footer {
	background: #fafafa
}

.box-main form>.box-footer .row,.nav-main form>.box-footer .row {
	margin: 5px 0 5px -25px
}

@media ( min-width : 768px) {
	.section-content .about {
		padding-left: 0px
	}
}

/** select2 样式修改 **/
.select2-container--default .select2-selection--multiple .select2-selection__choice {
	background-color: #1AB394;
	border-color: #1AB394;
	padding: 1px 10px;
	color: #fff
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	margin-right: 5px;
	color: rgba(255,255,255,0.7)
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
	color: #fff
}

.select2-container .select2-selection--single .select2-selection__rendered {
	padding-right: 10px
}

/** 弹层/表单内单选框选项区（与桌台绑定空闲桌多选同套视觉） */
.board-radio-pick,
.biz-item-category-radios {
	box-sizing: border-box;
	width: 100%;
	line-height: 1.9;
	max-height: 160px;
	overflow-y: auto;
	border: 1px solid #e8e8e8;
	padding: 8px 10px;
	border-radius: 4px;
	background: #fafafa;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: flex-start;
	gap: 6px 14px;
	row-gap: 8px;
}
.board-radio-pick .radio-inline,
.biz-item-category-radios .radio-inline {
	float: none;
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding-left: 20px;
	font-weight: normal;
	white-space: nowrap;
	flex: 0 0 auto;
	cursor: pointer;
}

/** 表单验证 样式布局 **/
.control-label.is-required:before {
  content: '* ';
  color: red;
}

label.error {
	position: absolute;
	right: 18px;
	top: 6px;
	color: #ef392b;
	font-size: 12px;
	z-index:99;
}

.input-group label.error {
	z-index:99;
	right: 42px;
}

.input-group input.error + label.error + .input-group-addon>i {
	color: #ed5565;
}

.input-group.date label.error {
	z-index:99;
	right: 42px;
}

.select2-hidden-accessible + label.error, select.error + label.error {
	right: 38px;
}

.Validform_error,input.error,textarea.error,select.error,select.error+label.error+.select2-container--bootstrap .select2-selection--single {
	background-color: #fbe2e2;
	border-color: #c66161;
	color: #c00
}

.Validform_wrong,.Validform_right,.Validform_warning {
	display: inline-block;
	height: 20px;
	font-size: 12px;
	vertical-align: middle;
	padding-left: 25px
}

.i-checks label.error, .check-box label.error, .radio-box label.error {
	right: auto;
	width: 150px;
	left: 210px;
	top: 1px;
	max-width: none;
}

/** 复选框&单选框  **/
.check-box,.radio-box {
	display: inline-block;
	box-sizing: border-box;
	cursor: pointer;
	position: relative;
	padding-left: 25px;
	padding-right: 15px;
	padding-top: 7px;
}

.icheckbox, .icheckbox-blue, .iradio, .iradio-blue, .iradio-purple {
	position: absolute;
	top: 7px;
	left: 0
}

/** iCheck **/
.icheckbox-blue,.iradio-blue {
	display: block;
	margin: 0;
	padding: 0;
	width: 18px;
	height: 18px;
	background: url(../../img/blue.png) no-repeat;
	border: none;
	cursor: pointer
}

.icheckbox-blue,.icheckbox-blue.static:hover {
	background-position: 0 0
}

.icheckbox-blue.hover,.icheckbox-blue:hover {
	background-position: -20px 0
}

.icheckbox-blue.checked {
	background-position: -40px 0
}

.icheckbox-blue.disabled {
	background-position: -60px 0;
	cursor: default
}

.icheckbox-blue.checked.disabled {
	background-position: -80px 0
}

.iradio-blue,.iradio-blue.static:hover {
	background-position: -100px 0
}

.iradio-blue.hover,.iradio-blue:hover {
	background-position: -120px 0
}

.iradio-blue.checked {
	background-position: -140px 0
}

.iradio-blue.disabled {
	background-position: -160px 0;
	cursor: default
}

.iradio-blue.checked.disabled {
	background-position: -180px 0
}

/* ztree */
div.ztree-border {
    margin-top: 10px;
    border: 1px solid #e5e6e7;
    background: #FFFFFF none;
    border-radius:4px;
}

/* 切换开关 */
.toggle-switch {
	display: -webkit-inline-box;
	display: -webkit-inline-flex;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	margin-bottom: 0;
	padding-top: 8px;
}
.toggle-switch input {
    height: 0;
    width: 0;
    position: absolute;
    opacity: 0;
}
.toggle-switch span {
	display: inline-block;
	position: relative;
	width: 40px;
	height: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	background-color: #ebebeb;
	border: 2px solid #ebebeb;
	cursor: pointer;
	-webkit-transition: all .1s ease;
	-o-transition: all .1s ease;
	transition: all .1s ease
}
.toggle-switch span:after {
	content: '';
	height: 20px;
	width: 20px;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	position: absolute;
	left: 1px;
	top: -7px;
	color: #aaa;
	-webkit-transition: all .1s ease;
	-o-transition: all .1s ease;
	transition: all .1s ease;
	text-align: center;
	font-size: 13px;
	background-color: #fff;
	-webkit-box-shadow: rgba(0,0,0,.12) 0 1px 6px,rgba(0,0,0,.12) 0 1px 4px;
	box-shadow: rgba(0,0,0,.12) 0 1px 6px,rgba(0,0,0,.12) 0 1px 4px
}
.toggle-switch input:checked~span:after {
	left: -webkit-calc(100% - 20px);
	left: calc(100% - 20px);
	background-color: #33cabb
}

.toggle-switch.switch-solid span  {
    height: 20px;
}
.toggle-switch.switch-solid span:after {
    top: -2px;
}
.switch-solid input:checked~span {
	background-color: #33cabb;
	border-color: #33cabb
}
.switch-solid input:checked~span:after {
	background-color: #fff;
	color: #33cabb
}

/** 遮罩层 **/
.loaderbox {
	display: inline-block;
	min-width: 125px;
	padding: 10px;
	margin: 0 auto;
	color: #000 !important;
	font-size: 13px;
	font-weight: 400;
	text-align: center;
	vertical-align: middle;
	border: 1px solid #ddd;
	background-color: #eee;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	-ms-border-radius: 2px;
	-o-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.loaderbox .loading-activity {
	float: left;
	width: 18px;
	height: 18px;
	border: solid 2px transparent;
	border-top-color: #000;
	border-left-color: #000;
	border-radius: 10px;
	-webkit-animation: pace-spinner 400ms linear infinite;
	-moz-animation: pace-spinner 400ms linear infinite;
	-ms-animation: pace-spinner 400ms linear infinite;
	-o-animation: pace-spinner 400ms linear infinite;
	animation: pace-spinner 400ms linear infinite;
}

@media (max-width: 767px) {
	.loading-activity {
		width: 18px;
		height: 18px;
	}
}

@-ms-keyframes pace-spinner {
	0% {
		-ms-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	100% {
		-ms-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes pace-spinner {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/** 表单查询条件  **/
.select-list ul, .layui-layer-content ul {
	margin: 0;
	padding: 0;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

.select-list li, .layui-layer-content li {
	list-style: none;
}

.select-time .time-input {
	display: block;
	width: 100%;
	padding-left: 10px;
}

label {
	font-weight: normal;
}

.container-div {
	padding: 0px 28px;
	height: 100%;
}

.container-div .row {
	height: 100%;
}

.search-collapse,.select-table {
	width: 100%;
	background: #fff;
	border-radius: 6px;
	margin-top: 10px;
	padding-top: 5px;
	padding-bottom: 13px;
	box-shadow: 1px 1px 3px rgba(0,0,0,.2);
}

.search-collapse {
	position: relative;
}

.search-collapse .col-sm-6 .control-label {
	color: #333;
}

@media ( max-width : 768px) {
	.search-collapse {
		display: none;
	}
	/* 桌台看板顶栏筛选需常驻（含店铺选择） */
	.search-collapse.board-toolbar-wrap,
	.board-toolbar-wrap {
		display: block !important;
	}
}

@media ( min-width : 768px) {
	.select-list li {
		float: left;
	}
}

.select-list li {
	color: #333;
	margin: 5px 15px 5px 0px;
}

.select-list li p, .select-list li label:not(.radio-box){
	float: left;
	width: 65px;
	margin: 5px 0px 0px 0px;
	text-align:right;
}

.select-list li input {
	border: 1px solid #ddd;
	border-radius: 4px;
	background: transparent;
	outline: none;
	height: 30px;
	width: 200px;
	padding-left: 5px;
}

.select-list li .submit-btn {
	border: 0px;
	border-radius: 4px;
	background: transparent;
	outline: none;
	width: 40px;
	height: 23px;
}

.select-list li select {
	border: 1px solid #ddd;
	border-radius: 4px;
	background: transparent;
	outline: none;
	height: 30px;
    width: 200px;
}

.bootstrap-select.form-control .btn-default {
    color: inherit;
    padding: 4px 6px 4px;
    border-radius: 4px;
    border: 1px solid #e5e6e7;
	outline: none;
	height: 31px;
	background: #FFFFFF none
}

.file-input .btn-default {
    color: inherit;
    background: white;
    border: 1px solid #e7eaec;
}

.select-list .btn-default {
    color: #555;
    padding: 5px 5px;
    border: 1px solid #ddd;
	border-radius: 4px;
	background: transparent;
	outline: none;
	height: 30px;
	width: 200px;
}

.select-list .btn-default:hover,.select-list .btn-default:focus,.select-list .btn-default:active,.select-list .btn-default.active,.open .dropdown-toggle.btn-default {
	color: #555;
	background-color: #e4e4e4;
	border-color: #b2b2b2
}

.select-list .bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
  height: 30px;
  width: 200px;
}

.select-list .bootstrap-select > .dropdown-toggle.bs-placeholder,
.select-list .bootstrap-select > .dropdown-toggle.bs-placeholder:hover,
.select-list .bootstrap-select > .dropdown-toggle.bs-placeholder:focus,
.select-list .bootstrap-select > .dropdown-toggle.bs-placeholder:active {
  color: inherit;
  font-size: 13px;
}

.select-list .bootstrap-select .dropdown-toggle .caret {
  position: inherit;
}

.select-list .select-selectpicker li {
	float: none;
}

.select-list .dropdown-menu>li>a,.bootstrap-select.form-control .dropdown-menu>li>a {
    line-height: inherit;
}

.select-list .dropdown-menu li>a:hover,.dropdown-menu li>a:focus,.dropdown-submenu:hover>a,.bootstrap-select.form-control .dropdown-menu li>a:hover,.dropdown-menu li>a:focus,.dropdown-submenu:hover>a{
	color: #fff;
	text-decoration: none;
	background-color: #12889a
}

.select-list .select2-container--bootstrap {
	width: 200px!important;
	display: inline-block;
}

.select-list .select2-container--bootstrap .select2-selection {
	border-radius: 6px;
}

.select-list .select2-container--bootstrap .select2-selection--single {
	height: 30px!important;
	padding: 5px 10px;
}

.select-list .select-time input {
	width: 93px;
}

.select-time label,.select-time span,.select-time input {
	float: left;
}

@media (max-width:767px) {
    .select-time label,.select-time span,.select-time input {
	    float: none;
    }
    .select-list .select-time input {
	    width: 200px;
    }
}

.select-time label {
	margin-top: 5px;
}

.select-time span {
	display: block;
	margin: 5px 5px;
}

.search-btn {
	background-color: #1ab394;
	border-color: #1ab394;
	color: #FFF;
	margin-bottom: 5px;
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	border-radius: 3px;
	vertical-align: middle;
	cursor: pointer;
}

/** 列表工具栏：小屏换行时保持行/列间距（bootstrap-table 会把 #toolbar 移入 .fixed-table-toolbar > .bs-bars） */
@media (max-width: 767px) {
	.bootstrap-table .fixed-table-toolbar {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		align-content: flex-start;
		row-gap: 6px;
		column-gap: 8px;
		width: 100%;
		box-sizing: border-box;
	}
	.bootstrap-table .fixed-table-toolbar::after {
		display: none;
	}
	.bootstrap-table .fixed-table-toolbar .bs-bars,
	.bootstrap-table .fixed-table-toolbar .columns,
	.bootstrap-table .fixed-table-toolbar .search {
		float: none !important;
		margin: 0 !important;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	.bootstrap-table .fixed-table-toolbar .columns {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		row-gap: 6px;
		column-gap: 8px;
	}
	.bootstrap-table .fixed-table-toolbar .columns > .btn-group {
		float: none !important;
		display: inline-flex;
		margin: 0 !important;
	}
	.bootstrap-table .fixed-table-toolbar .columns .btn {
		float: none !important;
		margin: 0 !important;
		border-radius: 3px;
	}
	#toolbar.btn-group-sm,
	.bootstrap-table .fixed-table-toolbar #toolbar.btn-group-sm {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		align-content: flex-start;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		margin: -3px;
	}
	#toolbar.btn-group-sm > .btn,
	.bootstrap-table .fixed-table-toolbar #toolbar.btn-group-sm > .btn {
		float: none !important;
		flex: 0 0 auto;
		margin: 3px !important;
		border-radius: 3px;
	}
	#toolbar.btn-group-sm > .btn + .btn,
	.bootstrap-table .fixed-table-toolbar #toolbar.btn-group-sm > .btn + .btn {
		margin-left: 3px !important;
	}
}

.select-title{
	color:#3d5266;
	font-size:15px;
	padding:10px 0px;
	font-weight: normal;
}

/** 表格查询数据 **/
.table-striped {
	min-height: 75%;
}

.table-striped .bootstrap-table, .table-striped .table-bordered {
	border: 0px!important;
}

.table-bordered .table>thead>tr>th, .table-bordered .table>tbody>tr>th {
	font-weight: normal;
	font-size: 13px
}

.table-striped table>thead>tr>th, .table-striped table>tbody>tr>th, .table-striped table>tfoot>tr>th, .table-striped table>thead>tr>td, .table-striped table>tbody>tr>td, .table-striped table>tfoot>tr>td {
	border-bottom: 1px solid #e7eaec!important;
	background-color: transparent;
	border: 0px;
}

.table-bordered table>thead>tr>th:first-child, .table-bordered table>tbody>tr>td:first-child {
    border-left: 1px solid #ddd;
}

.table-bordered table>thead>tr>th:last-child, .table-bordered table>tbody>tr>td:last-child {
	border-right: 1px solid #ddd;
}

.table-bordered table>thead>tr>th, .table-bordered table>tbody>tr>td {
    border-top: 1px solid #ddd!important;
    border-bottom: 1px solid #ddd;
}

.fixed-table-footer {
	border-top: 0px solid #ddd;
}

.fixed-table-container {
	border: 0px solid #ddd;
}

.table-striped .table>thead>tr>th, .table-striped .table>tbody>tr>th {
	border-bottom: 1px solid #ccc!important;
	border-top: 0px!important;
	font-weight: normal;
	font-size: 13px
}

.table-striped table thead {
    background-color: #eff3f8;
}

.fixed-table-container thead th  >.both{
    display: inline-block
}

.editable-input .input-sm {
	height: 32px!important;
}

/** 表格列宽拖动样式 **/
.rc-handle-container {
  position: relative;
}
.rc-handle {
  position: absolute;
  width: 7px;
  cursor: ew-resize;
  margin-left: -3px;
  z-index: 2;
}
table.rc-table-resizing {
  cursor: ew-resize;
}
table.rc-table-resizing thead,
table.rc-table-resizing thead > th,
table.rc-table-resizing thead > th > a {
  cursor: ew-resize;
}

/** 表格冻结列样式 **/
.fixed-columns, .fixed-columns-right {
  position: absolute;
  top: 0;
  height: 100%;
  background-color: #fff;
  box-sizing: border-box;
  z-index: 1;
  border-width: 0 0 0 1px;
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,.12);
  box-shadow: 0 0 10px rgba(0,0,0,.12);
}

.fixed-columns {
  left: 0;
}

.fixed-columns .fixed-table-body {
  overflow: hidden !important;
}

.fixed-columns-right {
  right: 0;
}

.fixed-columns-right .fixed-table-body {
  overflow-x: hidden !important;
}

.bootstrap-table .table-hover > tbody > tr.hover > td {
    background-color: #f5f5f5;
}

/** 表格树样式 **/
.bootstrap-tree-table .treetable-indent {width:16px; height: 16px; display: inline-block; position: relative;}
.bootstrap-tree-table .treetable-expander {width:16px; height: 16px; display: inline-block; position: relative; cursor: pointer;}
.bootstrap-tree-table .treetable-selected{background: #f5f5f5 !important;}
.bootstrap-tree-table .treetable-table{border:0 !important;margin-bottom:0}
.bootstrap-tree-table .treetable-table tbody {display:block;height:auto;overflow-y:auto;}
.bootstrap-tree-table .treetable-table thead, .treetable-table tbody tr {display:table;width:100%;table-layout:fixed;}
.bootstrap-tree-table .treetable-thead th{line-height:24px;border: 0 !important;border-radius: 4px;border-left:0px solid #e7eaec !important;border-bottom:1px solid #ccc!important;text-align: left;}
.bootstrap-tree-table .treetable-thead tr :first-child{border-left:0 !important}
.bootstrap-tree-table .treetable-tbody td{border: 0 !important;border-left:0px solid #e7eaec !important;border-bottom:1px solid #e7eaec!important;white-space: nowrap; text-overflow: ellipsis;}
.bootstrap-tree-table .treetable-tbody tr :first-child{border-left:0 !important}
.bootstrap-tree-table .treetable-bars .tool-left, .bootstrap-tree-table .treetable-bars .tool-right{margin-top: 10px; margin-bottom: 10px;}
.bootstrap-tree-table .treetable-bars .tool-left{float: left;}
.bootstrap-tree-table .treetable-bars .tool-right{float: right;}
.bootstrap-tree-table .treetable-bars .columns li label{display: block;padding: 3px 20px;clear: both;font-weight: 400;line-height: 1.428571429;max-width: 100%;margin-bottom: 5px;cursor:pointer;}
.bootstrap-tree-table .table{border-bottom: 0px solid #e7eaec!important;}
.bootstrap-tree-table .table-bordered .treetable-thead th {border-left: 1px solid #e7eaec!important;}
.bootstrap-tree-table .table-bordered .treetable-tbody td {border-right: 1px solid #e7eaec!important;}
.bootstrap-tree-table .fixed-table-pagination .pagination-detail {margin-top: 10px;margin-bottom: 10px;}

/** 首页样式 **/
.ax_close_max {
	position: fixed;
	top: 5px;
	left: 5px;
	z-index: 9999;
	display: none;
	color: #ccc;
}
.navbar-right > .user-menu > .dropdown-menu {
	border-top-right-radius:0;
	border-top-left-radius:0;
	padding:1px 0 0 0;
	border-top-width:0;
	width:138px;
	right:0;
	left:auto;
}
.navbar-right > .user-menu .user-image {
	float:left;
	width:27px;
	height:27px;
	border-radius:50%;
	margin-right:8px;
	margin-top:-3px;
}
.navbar-top-links.welcome-message > li.user-menu .user-image {
	float: none !important;
	margin: 0 !important;
}.dropdown-menu > li > a > .glyphicon,.dropdown-menu > li > a > .fa,.dropdown-menu > li > a > .ion {
	margin-right:10px;
}
.dropdown-menu > li > a:hover {
	background-color:#e1e3e9;
	color:#333;
}
.dropdown-menu > .divider {
	background-color:#eee;
}

/** 表单布局 **/
.form-header {
    font-size:15px;
	color:#6379bb;
	border-bottom:1px solid #ddd;
	margin:8px 10px 25px 10px;
	padding-bottom:5px
}

.form-control-plaintext {
    display: block;
    width: 100%;
    padding-top: .286rem;
    padding-bottom: .286rem;
    margin-bottom: 0;
    line-height: 1.57142857;
    color: #212529;
    background-color: transparent;
    border: solid transparent;
    border-width: 1px 0;
    font-weight: 500;
    border-bottom: 1px dashed #ccd5db;
    min-height: 25px
}

.form-control-plaintext-no-content {
    display: block;
    width: 100%;
    padding-top: .286rem;
    padding-bottom: .286rem;
    margin-bottom: 0;
    line-height: 1.57142857;
    color: #ddd !important;
    background-color: transparent;
    border: solid transparent;
    border-width: 1px 0;
    border-bottom: 1px dashed #ccd5db;
    min-height: 25px
}

.main-content {
    background-color: #ffffff;
    color: inherit;
    padding: 10px 15px 15px 15px;
    border-color: #e7eaec;
    -webkit-border-image: none;
    -o-border-image: none;
    border-image: none;
    border-width: 1px 0px;
}

/** 表格跳转样式 **/
.pageGo input {
    height: 32px;
    width: 50px;
    margin-left: 5px;
    margin-right: 5px;
    text-align: center;
    display: block;
    float:left;
}
.pageGo button {
    height: 32px;
    display: block;
    float:left;
}

/** 表格行拖拽样式 **/
.reorder-rows-on-drag-class td {
    color:yellow!important;
	background-color:#999!important;
	text-shadow:0 0 10px black,0 0 10px black,0 0 8px black,0 0 6px black,0 0 6px black;
	box-shadow:0 12px 14px -12px #111 inset,0 -2px 2px -1px #333 inset
}

/** 表格列拖拽样式 **/
.dragtable-sortable {
    list-style-type: none; margin: 0; padding: 0; -moz-user-select: none;
}

.dragtable-sortable li {
    margin: 0; padding: 0; float: left; font-size: 1em; background: white;
}

.dragtable-sortable th, .dragtable-sortable td{
    border-left: 0px;
}

.dragtable-sortable li:first-child th, .dragtable-sortable li:first-child td {
    border-left: 1px solid #CCC;
}

.ui-sortable-helper {
    opacity: 0.7;filter: alpha(opacity=70);
}

.ui-sortable-placeholder {
    -moz-box-shadow: 4px 5px 4px #C6C6C6 inset;
    -webkit-box-shadow: 4px 5px 4px #C6C6C6 inset;
    box-shadow: 4px 5px 4px #C6C6C6 inset;
    border-bottom: 1px solid #CCCCCC;
    border-top: 1px solid #CCCCCC;
    visibility: visible !important;
    background: #EFEFEF !important;
    visibility: visible !important;
}

.ui-sortable-placeholder * {
    opacity: 0.0; visibility: hidden;
}

/** 表格选中样式 **/
.bootstrap-table .fixed-table-container .table tbody tr.selected td {
    background-color: #E8F7FD;
    color: #1890ff;
}

/** 滚动条样式 **/
::-webkit-scrollbar-track {
    background-color: #F5F5F5;
}

/** 气泡弹出框样式 **/
.popover {
	font-size: 13px;
	max-width: unset;
}

.popover-title {
	padding: 8px 14px;
	margin: 0 !important;
	font-size: 14px;
	background-color: #f7f7f7;
	border-bottom: 1px solid #ebebeb;
	border-radius: 5px 5px 0 0;
}

.popover-content {
	padding: 5px;
}

/** 向上滚动样式 **/
#scroll-up {
	border-width: 0;
	position: fixed;
	right: 2px;
	z-index: 99;
	-webkit-transition-duration: .3s;
	transition-duration: .3s;
	opacity: 0;
	filter: alpha(opacity=0);
	bottom: -24px;
	visibility: hidden;
	background-color: #aaa;
	color: #fff;
	font-size: 14px;
	display: none;
}

#scroll-up.display {
	opacity: .7;
	filter: alpha(opacity=70);
	bottom: 2px;
	visibility: visible;
}

/* 设置菜单样式 */
.menu-content {
	padding: 10px 10px 10px 25px !important;
}

.tab-content > .tab-pane {
    display: none;
}

.tab-content > .active {
    display: block;
}

.height-full {
    height: 100% !important;
}

/* 设置详细样式 */
.detail-wrap {
    max-width: 860px;
    margin: 20px auto;
    padding: 0 16px 32px;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 13px;
    color: #333;
}

/* 详细分组卡片 */
.detail-card {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 6px;
    margin-bottom: 14px;
    overflow: hidden;
}
.detail-card-title {
    padding: 10px 18px;
    background: #f7f9fb;
    border-bottom: 1px solid #e8ecf0;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}
.detail-card-title i {
    margin-right: 6px;
    color: #888;
}

/* 详细表格行 */
.detail-table {
    width: 100%;
    border-collapse: collapse;
}
.detail-table tr {
    border-bottom: 1px solid #f0f2f5;
}
.detail-table tr:last-child {
    border-bottom: none;
}
.detail-table th {
    width: 110px;
    padding: 11px 18px;
    text-align: right;
    color: #888;
    font-weight: normal;
    vertical-align: top;
    white-space: nowrap;
}
.detail-table td {
    padding: 11px 18px 11px 0;
    color: #333;
    vertical-align: top;
    word-break: break-all;
}

.detail-table tr td+th {
    border-left:1px solid #f0f2f5;
    padding-left:18px
}

/* 详细状态标签 */
.tag-ok {
    display: inline-block;
    padding: 2px 10px;
    background: #f0faf4;
    color: #27ae60;
    border: 1px solid #b7dfca;
    border-radius: 3px;
    font-size: 12px;
}
.tag-err {
    display: inline-block;
    padding: 2px 10px;
    background: #fff5f5;
    color: #e74c3c;
    border: 1px solid #f5c6c6;
    border-radius: 3px;
    font-size: 12px;
}

/* 设置滚动条样式 */
::-webkit-scrollbar {
   width:10px!important;
   height:10px!important;
   -webkit-appearance:none;
   background:#f1f1f1
}

::-webkit-scrollbar-thumb {
    height:5px;
    border:1px solid transparent;
    border-top:0;
    border-bottom:0;
    border-radius:6px;
    background-color:#ccc;
    background-clip:padding-box
}

/* 设置placeholder样式 */
::-webkit-input-placeholder {
	color: #b3b3b3!important;
}

:-moz-placeholder {
	color: #b3b3b3!important;
}

::-moz-placeholder {
	color: #b3b3b3!important;
}

:-ms-input-placeholder {
	color: #b3b3b3!important;
}

/* 列表表头冻结：不设置 height，页面垂直滚动；须取消 .fixed-table-body 的 overflow:auto */
.select-table .bootstrap-table .fixed-table-container:not(.fixed-height) .fixed-table-body {
	overflow: visible !important;
	height: auto !important;
}
.select-table .bootstrap-table .fixed-table-container:not(.fixed-height) {
	overflow-x: auto;
	overflow-y: clip;
}
.select-table .bootstrap-table .fixed-table-container:not(.fixed-height) .fixed-table-body table.table {
	border-collapse: separate !important;
	border-spacing: 0 !important;
	width: max-content;
	min-width: 100%;
}
.select-table .bootstrap-table:not(.ruoyi-no-sticky-thead) .fixed-table-container:not(.fixed-height) .fixed-table-body table > thead > tr > th,
.select-table .bootstrap-table:not(.ruoyi-no-sticky-thead) .fixed-table-container:not(.fixed-height) .fixed-table-header table > thead > tr > th {
	position: sticky;
	top: 0;
	z-index: 10;
	background-color: #eff3f8;
	box-shadow: 0 1px 0 #ddd;
}
.select-table .bootstrap-table:not(.ruoyi-no-sticky-thead) .fixed-table-container:not(.fixed-height) thead th .th-inner {
	background-color: #eff3f8;
}
/* 表头（含吸顶克隆）一律单行；字号略小于数据行（13px → 12px） */
.select-table .bootstrap-table thead th,
.select-table .bootstrap-table thead th .th-inner,
.ruoyi-sticky-thead-bar thead th,
.ruoyi-sticky-thead-bar thead th .th-inner {
	white-space: nowrap !important;
	word-break: keep-all;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 12px;
	line-height: 1.35;
}
/* 克隆吸顶表头显示时隐藏原表头，避免重影 */
.select-table .bootstrap-table.ruoyi-thead-floating .fixed-table-body > table > thead {
	visibility: hidden;
}
.ruoyi-sticky-thead-bar {
	position: fixed;
	top: 0;
	z-index: 200;
	display: none;
	overflow: hidden;
	pointer-events: none;
	background-color: #eff3f8;
	box-shadow: 0 1px 0 #ddd;
	box-sizing: border-box;
}
.ruoyi-sticky-thead-inner {
	display: block;
}
.ruoyi-sticky-thead-bar table {
	margin-bottom: 0;
	background-color: #eff3f8;
	border-collapse: separate;
	border-spacing: 0;
}
.ruoyi-sticky-thead-bar thead th {
	background-color: #eff3f8 !important;
}
.select-table .bootstrap-tree-table:not(.ruoyi-no-sticky-thead) .treetable-table {
	border-collapse: separate;
	border-spacing: 0;
}
.select-table .bootstrap-tree-table:not(.ruoyi-no-sticky-thead) .treetable-thead th {
	position: sticky;
	top: 0;
	z-index: 8;
	background-color: #eff3f8 !important;
	box-shadow: 0 1px 0 #ddd;
	white-space: nowrap !important;
	word-break: keep-all;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* bootstrap-table 列表：横向滚动 + 表格顶部/底部粘性滚动条（table-x-scroll.js） */
.table-x-scroll-track {
	position: sticky;
	top: 0;
	z-index: 15;
	overflow-x: scroll;
	overflow-y: hidden;
	height: 16px;
	margin-bottom: 2px;
	background: linear-gradient(to bottom, #f0f2f5 70%, rgba(240, 242, 245, 0));
	border-bottom: 1px solid #e7eaec;
	-webkit-overflow-scrolling: touch;
}
.table-x-scroll-track--bottom {
	top: auto;
	bottom: 0;
	margin-bottom: 0;
	margin-top: 2px;
	border-bottom: none;
	border-top: 1px solid #e7eaec;
	background: linear-gradient(to top, #f0f2f5 70%, rgba(240, 242, 245, 0));
}
.table-x-scroll-track.is-pinned {
	position: fixed;
	top: 0;
	margin-bottom: 0;
}
.table-x-scroll-track--bottom.is-pinned {
	top: auto;
	bottom: 0;
	margin-top: 0;
}
.table-x-scroll-placeholder {
	display: none;
}
.table-x-scroll-placeholder.is-active {
	display: block;
}
.select-table.has-table-x-scroll.is-x-scroll-pinned .bootstrap-table:not(.ruoyi-no-sticky-thead) .fixed-table-container:not(.fixed-height) .fixed-table-body table > thead > tr > th,
.select-table.has-table-x-scroll.is-x-scroll-pinned .bootstrap-table:not(.ruoyi-no-sticky-thead) .fixed-table-container:not(.fixed-height) .fixed-table-header table > thead > tr > th {
	top: 16px;
}
.select-table.has-table-x-scroll.is-x-scroll-pinned .bootstrap-tree-table:not(.ruoyi-no-sticky-thead) .treetable-thead th {
	top: 16px;
}
.table-x-scroll-inner {
	height: 1px;
	pointer-events: none;
}

/* 列表单元格默认单行不换行；列多时在表格区域横向滚动 */
.select-table .bootstrap-table .fixed-table-container .table > thead > tr > th,
.select-table .bootstrap-table .fixed-table-container .table > tbody > tr > td,
.select-table .bootstrap-table .table > thead > tr > th,
.select-table .bootstrap-table .table > tbody > tr > td {
	white-space: nowrap;
	vertical-align: middle;
	word-break: keep-all;
}
/* 操作列数据行 / 含按钮单元格：允许多行换行以完整展示按钮（表头见上方 thead 单行规则） */
.select-table .bootstrap-table td.ruoyi-col-actions,
.select-table .bootstrap-table td.ruoyi-col-sticky-right,
.select-table .bootstrap-table td:has(.btn),
.select-table .bootstrap-table td:has(a.btn) {
	white-space: normal !important;
	word-break: break-word;
	overflow-wrap: anywhere;
	vertical-align: middle;
}

/* 最右列操作列：主表 CSS sticky 右侧冻结（勿与 fixedColumns 插件同时使用） */
.select-table .bootstrap-table td.ruoyi-col-sticky-right {
	vertical-align: middle;
	width: 1%;
	min-width: 11em;
	max-width: 22em;
	padding-left: 6px !important;
	padding-right: 6px !important;
}
.select-table .bootstrap-table .fixed-table-body .table > thead > tr > th.ruoyi-col-sticky-right,
.select-table .bootstrap-table .fixed-table-body .table > tbody > tr > td.ruoyi-col-sticky-right {
	position: sticky;
	right: 0;
	z-index: 4;
	background-color: #fff;
	box-shadow: -6px 0 10px -4px rgba(0, 0, 0, 0.12);
}
.select-table .bootstrap-table .fixed-table-body .table > thead > tr > th.ruoyi-col-sticky-right {
	top: 0;
	z-index: 12;
	background-color: #eff3f8;
}
.select-table .bootstrap-table .table-striped > tbody > tr:nth-of-type(odd) > td.ruoyi-col-sticky-right {
	background-color: #f9f9f9;
}
.select-table .bootstrap-table .table-hover > tbody > tr:hover > td.ruoyi-col-sticky-right,
.select-table .bootstrap-table tbody tr.hover > td.ruoyi-col-sticky-right {
	background-color: #f5f5f5;
}
.select-table .bootstrap-table .fixed-table-container .table tbody tr.selected td.ruoyi-col-sticky-right {
	background-color: #E8F7FD;
}
.select-table .bootstrap-tree-table .treetable-tbody td.ruoyi-col-sticky-right {
	white-space: normal !important;
	word-break: break-word;
	overflow-wrap: anywhere;
	vertical-align: middle;
	position: sticky;
	right: 0;
	z-index: 4;
	background-color: #fff;
	box-shadow: -6px 0 10px -4px rgba(0, 0, 0, 0.12);
	min-width: 11em;
	max-width: 22em;
}
.select-table .bootstrap-tree-table .treetable-thead th.ruoyi-col-sticky-right {
	z-index: 5;
	background-color: #f5f5f6;
}
.select-table .bootstrap-tree-table .treetable-selected td.ruoyi-col-sticky-right {
	background-color: #f5f5f5 !important;
}
.select-table .bootstrap-tree-table .treetable-tbody td.ruoyi-col-actions {
	white-space: normal !important;
	word-break: break-word;
	overflow-wrap: anywhere;
	vertical-align: middle;
}

/* 列表纯文本单元格：超长单行省略，点击查看（table-cell-clamp.js） */
.select-table .bootstrap-table td.table-cell-clamp-col {
	white-space: nowrap !important;
	vertical-align: middle !important;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 28em;
}
.table-cell-clamp-wrap {
	display: inline-block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: middle;
	line-height: 1.45;
	cursor: pointer;
}
.table-cell-clamp-wrap:hover {
	color: #337ab7;
}
.table-cell-clamp-truncated {
	text-decoration: none;
}
.table-cell-clamp-truncated:hover {
	text-decoration: underline;
}
.table-cell-full-pop {
	padding: 16px 18px;
	max-height: 70vh;
	overflow: auto;
	white-space: pre-wrap;
	word-break: break-all;
	line-height: 1.6;
	font-size: 14px;
}

/* 全站列表：金额、会员、抵扣强调（ry-ui.js applyListEmphasisFormatters） */
.bootstrap-table .ruoyi-list-amount,
.select-table .bootstrap-table .ruoyi-list-amount,
.bootstrap-tree-table .ruoyi-list-amount {
	font-weight: 700;
	color: #c05621;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}
.bootstrap-table .ruoyi-list-member,
.select-table .bootstrap-table .ruoyi-list-member,
.bootstrap-tree-table .ruoyi-list-member {
	font-weight: 600;
	color: #1a56a8;
	letter-spacing: 0.01em;
}
.bootstrap-table .ruoyi-list-deduct,
.select-table .bootstrap-table .ruoyi-list-deduct,
.bootstrap-tree-table .ruoyi-list-deduct {
	font-weight: 600;
	color: #7c3aed;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
}
.select-table .bootstrap-table td.ruoyi-col-amount,
.select-table .bootstrap-table td.ruoyi-col-member,
.select-table .bootstrap-table td.ruoyi-col-deduct,
.select-table .bootstrap-table td.ruoyi-col-channel {
	vertical-align: middle;
}

/* 全站列表：渠道来源色块（ry-ui.js applyListChannelFormatters） */
.bootstrap-table .ruoyi-channel-badge,
.select-table .bootstrap-table .ruoyi-channel-badge,
.bootstrap-tree-table .ruoyi-channel-badge {
	display: inline-block;
	padding: 3px 10px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 10px;
	line-height: 1.35;
	white-space: nowrap;
}
.bootstrap-table .ruoyi-channel-in-store,
.select-table .bootstrap-table .ruoyi-channel-in-store { background: #3498db; color: #fff; }
.bootstrap-table .ruoyi-channel-meituan,
.select-table .bootstrap-table .ruoyi-channel-meituan { background: #f39c12; color: #fff; }
.bootstrap-table .ruoyi-channel-douyin,
.select-table .bootstrap-table .ruoyi-channel-douyin { background: #2c3e50; color: #fff; }
.bootstrap-table .ruoyi-channel-other,
.select-table .bootstrap-table .ruoyi-channel-other { background: #95a5a6; color: #fff; }
