@charset "utf-8";

/* ====================
   模态框基础样式
==================== */
.modal {
	border-radius: 4px !important;
}

.modal.right.fade .b-drawer-wrap {
	right: -320px;
	-webkit-transition: opacity .3s linear, right .3s ease-out;
	-moz-transition: opacity .3s linear, right .3s ease-out;
	-o-transition: opacity .3s linear, right .3s ease-out;
	transition: opacity .3s linear, right .3s ease-out;
}

.modal.right.fade.in .b-drawer-wrap {
	right: 0;
}

/* ====================
   抽屉遮罩层
==================== */
.b-drawer-mask {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(89, 89, 89, .6);
	height: 100%;
	z-index: 1000;
}

/* ====================
   抽屉容器
==================== */
.b-drawer-wrap {
	position: fixed;
	overflow: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1000;
	-webkit-overflow-scrolling: touch;
	outline: 0;
}

.b-drawer-wrap * {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

.b-drawer {
	width: auto;
	position: absolute;
	outline: 0;
	background-color: #fff;
}

.b-drawer-right {
	right: 0;
}

.b-drawer-left, .b-drawer-right {
	height: 100%;
	bottom: 0;
	top: 0;
}

.b-drawer-no-footer .b-drawer-body {
	bottom: 0;
}

/* ====================
   抽屉头部
==================== */
.b-drawer-header {
	border-bottom: 1px solid #ced4db;
	padding: 16px 24px;
	line-height: 1;
}

.b-drawer-header-inner {
	display: inline-block;
	width: 100%;
	height: 24px;
	line-height: 24px;
	font-size: 16px;
	color: #3f464f;
	font-family: PingFangSC-Medium, PingFang SC;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ====================
   抽屉关闭按钮
==================== */
.b-drawer-close {
	z-index: 1;
	font-size: 12px;
	position: absolute;
	right: 24px;
	top: 16px;
	overflow: hidden;
	cursor: pointer;
}

.b-drawer-close .b-icon {
	font-size: 16px !important;
	color: #919fb5;
	-o-transition: color .2s ease;
	-moz-transition: color .2s ease;
	transition: color .2s ease;
	position: relative;
	top: 2px;
}

.b-drawer-close .b-icon:hover {
	color: #687282;
}

/* ====================
   抽屉主体
==================== */
.b-drawer-body {
	padding: 24px 24px 0;
	font-size: 14px;
	line-height: 1.5;
	color: #687282;
	width: 100%;
	overflow: auto;
	position: absolute;
	top: 59px;
	margin-bottom: 80px;
	bottom: 65px;
}

.b-drawer-body:after {
	display: block;
	height: 24px;
	content: " ";
	visibility: hidden;
}

/* ====================
   抽屉底部
==================== */
.b-drawer-footer {
	border-top: 1px solid #ced4db;
	background-color: #f5f8fa;
	position: absolute;
	bottom: 0;
	padding: 16px 24px;
	font-size: 0;
	width: 100%;
}

.b-drawer-footer button + button {
	margin-left: 16px;
	margin-bottom: 0;
}

/* ====================
   表单样式
==================== */
.b-form {
	margin: 0;
	padding: 0;
}

.b-form-label-left .b-form-item {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -moz-box;
	display: flex;
	-ms-flex-direction: row;
	-webkit-flex-direction: row;
	-moz-box-orient: horizontal;
	-moz-box-direction: normal;
	flex-direction: row;
	-ms-flex-flow: row nowrap;
	-webkit-flex-flow: row nowrap;
	-moz-box-orient: horizontal;
	-moz-box-direction: normal;
	flex-flow: row nowrap;
	-ms-flex-pack: justify;
	-webkit-justify-content: space-between;
	-moz-box-pack: justify;
	justify-content: space-between;
	-ms-flex-align: center;
	-webkit-align-items: center;
	-moz-box-align: center;
	align-items: center;
	margin-bottom: 16px;
	vertical-align: top;
	min-height: 32px;
}

.b-form .b-form-item-label {
	vertical-align: middle;
	font-size: 14px;
	color: #687282;
	line-height: 1;
	padding: 10px 16px 10px 0;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
	min-width: 120px;
	max-width: 50%;
	max-height: 64px;
	text-overflow: ellipsis;
	overflow: hidden;
	-ms-flex-order: 0;
	-webkit-order: 0;
	-moz-box-ordinal-group: 1;
	order: 0;
	-ms-flex-positive: 0;
	-webkit-flex-grow: 0;
	-moz-box-flex: 0;
	flex-grow: 0;
}

.b-form .b-form-item-label-required {
	color: #e83550;
}

.b-form-item-content {
	-ms-flex-order: 1;
	-webkit-order: 1;
	-moz-box-ordinal-group: 2;
	order: 1;
	-ms-flex: 2 1 auto;
	-webkit-flex: 2 1 auto;
	-moz-box-flex: 2;
	flex: 2 1 auto;
	position: relative;
	line-height: 32px;
	font-size: 14px;
	min-width: 200px;
}

/* ====================
   输入框样式
==================== */
.b-input-wrapper {
	position: relative;
	display: inline-block;
	width: 100%;
}

.b-input {
	width: 100%;
	height: 32px;
	padding: 4px 11px;
	font-size: 14px;
	line-height: 1.5;
	color: #687282;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ced4db;
	border-radius: 2px;
	transition: all .3s;
	outline: none;
}

.b-input:focus {
	border-color: #61a0ff;
	outline: 0;
	-moz-box-shadow: 0 0 0 2px rgba(97, 160, 255, .2);
	box-shadow: 0 0 0 2px rgba(97, 160, 255, .2);
}

.b-input::-webkit-input-placeholder {
	color: #b6bbc2;
}

.b-input:-moz-placeholder {
	color: #b6bbc2;
}

.b-input::-moz-placeholder {
	color: #b6bbc2;
}

.b-input:-ms-input-placeholder {
	color: #b6bbc2;
}

/* ====================
   按钮样式 - 与主页面风格统一
==================== */
.b-button {
	margin-bottom: 0;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	background-image: none;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	vertical-align: middle;
	border: none;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 500;
	transition: all 0.3s;
	line-height: 1;
}

.b-button-normal {
	height: 40px;
	padding: 0 28px;
	font-size: 15px;
}

.b-button-primary {
	background: linear-gradient(90deg, #ff0050, #ff3366);
	color: #fff;
	box-shadow: 0 4px 12px rgba(255, 0, 80, 0.25);
}

.b-button-primary:not([disabled]):hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(255, 0, 80, 0.35);
	color: #fff;
}

.b-button-primary:not([disabled]):focus {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(255, 0, 80, 0.35);
	color: #fff;
}

.b-button-secondary {
	background: #fff;
	border: 1px solid #ced4db;
	color: #687282;
	box-shadow: none;
}

.b-button-secondary:not([disabled]):hover {
	border-color: #ff0050;
	color: #ff0050;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 0, 80, 0.15);
}

.b-button-secondary:not([disabled]):focus {
	border-color: #ff0050;
	color: #ff0050;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 0, 80, 0.15);
}
/* ====================
   管理员ID输入行样式
==================== */
.admin-id-row {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
	align-items: center;
	animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.admin-id-row .b-input-wrapper {
	flex: 1;
}

.admin-id-row .admin-id-input {
	width: 100%;
	background: #fff;
	border: 1px solid #ced4db;
	border-radius: 12px;
	padding: 8px 14px;
	font-size: 14px;
	color: #687282;
	transition: all 0.3s ease;
	height: 40px;
	line-height: 1.5;
}

.admin-id-row .admin-id-input:focus {
	border-color: #ff0050;
	outline: none;
	box-shadow: 0 0 10px rgba(255, 0, 80, 0.2);
}

.btn-remove-admin {
	padding: 0 16px;
	background: linear-gradient(90deg, #ff4444, #ff6666);
	color: #fff;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	white-space: nowrap;
	height: 40px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(255, 68, 68, 0.25);
}

.btn-remove-admin:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(255, 68, 68, 0.35);
}

.btn-add-admin {
	margin-top: 8px;
	padding: 0 20px;
	background: linear-gradient(90deg, #ff0050, #ff3366);
	color: #fff;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(255, 0, 80, 0.25);
	height: 40px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.btn-add-admin:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(255, 0, 80, 0.35);
}

.btn-add-admin:active {
	transform: translateY(0);
}
