.main-panel {
	position: relative;
	width: calc(100% - 300px);
	height: 100vh;
	margin-right: 20px;
	min-height: 100%;
	float: right;
	transition: all .3s;
	overflow: scroll;
}
.custom-template {
	position: fixed;
	/*top: 50%;*/
	/*transform: translateY(-50%);*/
	right: -45px;
	width: 45px;
	/*height: max-content;*/
	height:100vh;
	display: block;
	z-index: 1;
	background: #ffffff;
	/*transition: all .3s;*/
	box-shadow: -1px 1px 20px rgba(69, 65, 78, 0.15);
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	transition: all .5s;
	margin-top:61px;
}

.custom-template.open {
	right: -45px;
}

.custom-template .custom-toggle {
	position: absolute;
	width: 45px;
	height: 100%;
	background: #6861CE ;
	top: 50%;
	left: -45px;
	transform: translateY(-50%);
	display: flex;
	/*align-items: flex-start;*/
	align-items: center;
	justify-content: center;
	text-align: center;
	/*border-top-left-radius: 15px;*/
	/*border-bottom-left-radius: 15px;*/
	/*border-bottom-right-radius: 15px;*/
	/*border-top-right-radius: 15px;*/
	border-right: 1px solid #6861CE ;
	cursor: pointer;
	color: #ffffff;
	padding:20px 0;
	box-shadow: -5px 5px 20px rgba(69, 65, 78, 0.21);
}

.custom-template .custom-toggle i {
	font-size: 20px;
	animation: 1.3s spin linear infinite;
}

.custom-template .title{
    padding: 15px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    border-top-left-radius: 5px;
    border-bottom: 1px solid #ebedf2;
    background: #5867dd;
}

.custom-template .custom-content{
	padding: 20px 15px;
	/*max-height: calc(100vh - 90px);*/
	overflow: auto;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 100%;
	display: flex;
}

.custom-template .switcher {
	padding: 5px 0;
}

.custom-template .switch-block h4 {
	font-size: 13px;
	font-weight: 600;
	color: #444;
	line-height: 1.3;
	margin-bottom: 0;
	text-transform: uppercase;
}

.custom-template .btnSwitch {
	margin-top: 20px;
	margin-bottom: 25px;
}

.custom-template .btnSwitch button {
	border: 0px;
	height: 20px;
	width: 20px;
	outline: 0;
	margin-right: 10px;
	margin-bottom: 10px;
	cursor: pointer;
	padding: 0;
	border-radius: 50%;
	border: 2px solid #eee;
	position: relative;
	transition: all .2s;
}

.custom-template .btnSwitch button:hover{
	border-color: #0bf;
}

.custom-template .btnSwitch button.selected{
	border-color: #0bf;
}

.custom-template .img-pick {
	padding: 4px;
	min-height: 100px;
	border-radius: 5px;
	cursor: pointer;
}

.custom-template .img-pick img {
	height: 100%;
	height: 100px;
	width: 100%;
	border-radius: 5px;
	border: 2px solid transparent;
}

.custom-template .img-pick:hover img, .custom-template .img-pick.active img{
	border-color: #177dff;
}

.demo .btn, .demo .progress{
	margin-bottom: 15px !important;
}

.demo .form-check-label, .demo .form-radio-label{
	margin-right: 15px;
}

.demo .toggle, .demo .btn-group{
	margin-right: 15px;
}

.demo #slider{
	margin-bottom: 15px;
}

.table-typo tbody > tr > td{
	border-color: #fafafa;
}

.table-typo tbody > tr > td:first-child{
	min-width: 200px;
	vertical-align: bottom;
}

.table-typo tbody > tr > td:first-child p{
	font-size: 14px;
	color: #333;
}

.demo-icon {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-bottom: 20px;
	padding: 10px;
	transition: all .2s;
}

.demo-icon:hover{
	background-color: #f4f5f8;
	border-radius: 3px;
}

.demo-icon .icon-preview{
	font-size: 1.8rem;
	margin-right: 10px;
	line-height: 1;
	color: #333439;
}

body[data-background-color="dark"] .demo-icon .icon-preview {
	color: #969696;
}

.demo-icon .icon-class{
	font-weight: 300;
	font-size: 13px;
	color: #777;
}

body[data-background-color="dark"] .demo-icon .icon-class {
	color: #a9a8a8;
}

.form-show-notify .form-control{
	margin-bottom: 15px;
}

.form-show-notify label{
	padding-top: 0.65rem;
}

.map-demo {
	height: 300px;
}

#instructions li{
	padding: 5px 0;
}

.row-demo-grid{
	margin-bottom: 15px;
}

.row-demo-grid [class^="col"]{
	text-align: center;
}

.row-demo-grid [class^="col"] .card-body{
	background: #ddd;
}

.btnSwitch button[data-color="white"] {
	background-color: #fff;
}
.btnSwitch button[data-color="grey"] {
	background-color: #f1f1f1;
}
.btnSwitch button[data-color="black"] {
	background-color: #191919;
}
.btnSwitch button[data-color="dark"] {
	background-color: #1a2035;
}
.btnSwitch button[data-color="blue"] {
	background-color: #1572E8;
}
.btnSwitch button[data-color="purple"] {
	background-color: #6861CE;
}
.btnSwitch button[data-color="light-blue"] {
	background-color: #48ABF7;
}
.btnSwitch button[data-color="green"] {
	background-color: #31CE36;
}
.btnSwitch button[data-color="orange"] {
	background-color: #FFAD46;
}
.btnSwitch button[data-color="red"] {
	background-color: #F25961;
}
.btnSwitch button[data-color="dark2"] {
	background-color: #1f283e;
}
.btnSwitch button[data-color="blue2"] {
	background-color: #1269DB;
}
.btnSwitch button[data-color="purple2"] {
	background-color: #5C55BF;
}
.btnSwitch button[data-color="light-blue2"] {
	background-color: #3697E1;
}
.btnSwitch button[data-color="green2"] {
	background-color: #2BB930;
}
.btnSwitch button[data-color="orange2"] {
	background-color: #FF9E27;
}
.btnSwitch button[data-color="red2"] {
	background-color: #EA4d56;
}
.btnSwitch button[data-color="bg1"] {
	background-color: #fafafa;
}
.btnSwitch button[data-color="bg2"] {
	background-color: #fff;
}
.btnSwitch button[data-color="bg3"] {
	background-color: #f1f1f1;
}

@media screen and (max-width: 550px){
	.table-typo tr td{
		display: flex;
		align-items: center;
		word-break: break-word;
	}

	.table-typo tr td:first-child p{
		margin-bottom: 0px;
	}
}

@media screen and (max-width: 576px){
	.custom-template .custom-content {
		overflow: auto;
	}
	.form-show-notify > .text-right, .form-show-validation > .text-right {
		text-align: left !important;
	}
}

@media screen and (max-width: 400px) {
	.custom-template {
		width: 85% !important;
		right: -85%;
	}
}



.layui-layer-title {
	height: 44px;
	line-height: 44px;
	text-align: left;
}

#modal-desc {
	height: 60px;
	font-size: 16px;
	margin: 5px auto;
	padding-top: 10px;
}

.tanchu {
	width: 400px;
	background: #fff;
	padding: 0 0 20px;
	margin: 0 auto;
	position: relative;
}

.tanchu .tit p {
	padding: 0;
	padding-left: 75px;
}

.tanchu .tittt p {
	padding: 0;
	padding-left: 75px;
}

.tanchu .tit p span {
	color: #e5aa60;
	font-size: 18px;
}

.tanchu .titt {
	color: #e5aa60;
	font-size: 12px;
	padding-left: 75px;
	margin-top: 30px;
}

.tanchu .content {
	clear: both !important;
}

.tanchu .content textarea{
	border: 1px solid #ccc;
	height:120px;
	line-height: 40px;
	padding-left: 10px;
	margin: 0 auto 0;
	width: 100%;
}

.tanchu .content .text_an {
	width: 250px;
	background: #e5aa60;
	border: none;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: 4px;
	color: #fff;
	font-size: 15px;
	margin: 40px auto 0;
	transition: 0.3s;
	display: block
}

.tanchu .content .text_an:hover {
	background: rgba(229, 170, 96, 0.8);
}

.tanchu .tanchu_close {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 30px;
	height: 30px;
	color: #ccc;
	font-size: 25px;
	padding: 0 0 2px 3px;
}

#modal-form {
	width: 220px;
	margin: 0 auto;
}

#modal-form span {
	color: #ffad46;
}

.w-layer .layui-layer-title {
	font-weight: bold;
	color: #000;
	font-size: 22px;
	background: none;
	border: none;
	height: 20px;
	line-height: 20px;
	border-radius: 0 !important;
	letter-spacing: 3px;
	box-sizing: content-box;
	padding: 35px 40px 10px 40px;
}

.tanchu {
	width: 400px;
	background: none;
}

.modal h3 {
	text-align: left !important;
	width: 100%;
	font-size: 16px;
	margin: 0 auto;
	height: 80px;
	color: #858384;
	line-height: 40px;
}

.layui-layer-setwin .layui-layer-close1 {
	background-position: 15px -40px;
	cursor: pointer;
}

.tanchu #modal-tel {
	margin: 10px auto 10px;
	font-size: 16px;

}

.layui-layer-setwin a {
	position: relative;
	width: 30px;
	height: 30px;
	margin-left: 10px;
	font-size: 12px;
	_overflow: hidden;
}

#modal-desc {
	color: #555;
}

#modal-tips {
	font-size: 14px;
	color: #555;
}

.tanchu .content .text_an {

	letter-spacing: 1px;
	width: 100%;
	background:#ffad46;
	border: none;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: 4px;
	color: #fff;
	font-size: 16px;
	margin: 0 auto 0;
	transition: 0.3s;
	display: block;
	cursor: pointer;
}

.tanchu .content .text_an:hover {
	background: #d70000;
}

.layui-layer-dialog .layui-layer-content {
	line-height: 260px;
	text-align: center;
	color: #333;
	height: auto;
	font-size: 18px;
}

.layui-layer-border {
	border: 0
}

#modal-form {
	width: 400px;
	margin: 0 auto;
}

.ty {
	margin: 10px 0 20px;
	height: 30px;
	line-height: 30px;
}

.sidebar .nav-collapse, .sidebar[data-background-color="white"] .nav-collapse {
	margin-top: 0px;
	margin-bottom: 15px;
	padding-bottom:0px;
	padding-top: 10px; }

.sidebar .nav-collapse li a, .sidebar[data-background-color="white"] .nav-collapse li a {
	margin-bottom: 3px !important;
	padding: 5px 25px !important; }
.sidebar .nav .nav-item a[aria-expanded=true] p{ font-weight: bold;}
.sidebar, .sidebar{
	top: -62px;
	z-index: 2000;
}
.sidebar .user, .sidebar .user {
	margin-top:0;
	padding-top: 11px;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 12.5px;
	border-bottom: 1px solid #f1f1f1;
	display: block;
	margin-left: 0px;
	margin-right: 0px;
	background: #1269DB !important;
}
.sidebar .user .info a > span, .sidebar .user .info a > span {
	color: #fff;
}
.sidebar .user .info .caret, .sidebar .user .info .caret {
	border-top-color: #fff;
}
/*.tc{ position: absolute;z-index: 1000; left: 100%; top: 5px; background: #cccccc; border-radius: 5%; box-shadow: 2px 2px 3px #ddd;padding:10px 0;}*/
.tc{ position: absolute;z-index: 1000; left: 0%; top: 45px; background: #cccccc; border-radius: 5%; box-shadow: 2px 2px 3px #ddd;padding:10px 0;}
.tc2{ top: 100%;left: 0; }
.btn:hover, .btn:focus {
	opacity: 1;
	transition: all .3s;
}

._purchase_item dl dt{ height: 50px; line-height:50px!important; transition: height 0.3s  ease 1s; border-bottom: 1px solid rgb(221, 221, 221);}
._purchase_item dl:hover dt{ height: auto; transition: all;transition-delay: 1000ms;}
.processing-modal {
	display: none; /* 默认隐藏 */
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 300px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	z-index: 9999;
	text-align: center;
	padding: 20px;
}
.processing-modal .title {
	font-size: 16px;
	color: #333;
	margin-bottom: 20px;
}
.processing-modal .progress-container {
	width: 100%;
	height: 6px;
	background-color: #e5e7eb;
	border-radius: 3px;
	overflow: hidden;
}
.processing-modal .progress-bar {
	width: 0%;
	height: 100%;
	background-color: #3b82f6;
	border-radius: 3px;
	transition: width 0.3s ease;
}
.processing-modal .status-text {
	font-size: 14px;
	color: #6b7280;
	margin-top: 15px;
}
.processing-modal .result-btn {
	display: none; /* 默认隐藏结果按钮 */
	margin-top: 20px;
	padding: 8px 16px;
	background-color: #3b82f6;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
}
.processing-modal .result-btn:hover {
	background-color: #2563eb;
}

/* 990px 及以下分辨率强制显示左侧导航 */
@media (max-width: 991px) {
	/* 强制显示侧边栏 - 覆盖默认隐藏样式 */
	.sidebar {

		top: 0px!important;
		display: block !important;
		transform: translate3d(0, 0, 0) !important;
		-webkit-transform: translate3d(0, 0, 0) !important;
		-ms-transform: translate(0, 0) !important;
		left: 0 !important;
		position: relative !important; /* 改为相对定位，脱离固定定位 */
		width: 250px !important; /* 固定侧边栏宽度 */
		min-height: 100vh;
		float: left;
		visibility: visible !important;
		opacity: 1 !important;
		z-index: 2000;
		transition: none !important; /* 禁用动画，避免闪烁 */
		transform: translate3d(-0, 0, 0) !important;
	}

	/* 调整主内容区域宽度，避免被挤压 */
	.main-panel {
		width: calc(100% - 250px) !important;
		float: left;
		margin-left: 0 !important;
		flex: 1;
		max-width: none !important;
	}

	/* 隐藏移动端菜单切换按钮（因为侧边栏已经常显） */
	.navbar-toggler.sidenav-toggler,
	.sidenav-toggler,
	.nav-toggle {
		display: none !important;
	}

	/* 确保外层容器使用 flex 布局 */
	.wrapper {
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: hidden;
	}

	/* 隐藏移动端遮罩层 */
	.sidebar-overlay,
	.modal-backdrop.show {
		display: none !important;
	}





}
