.beg-login-bg {
	background: url(../Images/login-bg-1.jpg) no-repeat center center fixed;
	background-color: #393D49;
}

.beg-login-box {
	width: 90%;
	max-width: 450px;
	height: auto;
	min-height: 330px;
	margin: 10% auto;
	background-color: rgba(255, 255, 255, 0.407843);
	border-radius: 10px;
	color: aliceblue;
	padding: 20px;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
	.beg-login-box {
		width: 95%;
		margin: 20% auto;
		padding: 15px;
	}

	.beg-login-box .beg-login-main {
		padding: 20px 20px 0;
	}

	.slider-container {
		height: 40px;
	}

	.slider-mask {
		width: 45px;
	}

	.login-button-container .layui-btn {
		width: 90%;
	}
}

@media screen and (max-width: 480px) {
	.beg-login-box {
		margin: 30% auto;
	}

	.beg-login-box header h1 {
		font-size: 20px;
	}

	.slider-text {
		font-size: 13px;
	}
}

.beg-login-box header {
	height: 39px;
	padding: 10px;
	border-bottom: 1px solid aliceblue;
}

.beg-login-box header h1 {
	text-align: center;
	font-size: 25px;
	line-height: 40px;
}

.beg-login-box .beg-login-main {
	height: auto;
	min-height: 185px;
	padding: 30px 90px 0;
}

.beg-login-main .layui-form-item {
	position: relative;
}

.beg-login-main .layui-form-item .beg-login-icon {
	position: absolute;
	color: #cccccc;
	top: 10px;
	left: 10px;
}

.beg-login-main .layui-form-item input {
	padding-left: 34px;
}

.beg-login-box footer {
	height: 35px;
	padding: 10px 10px 0 10px;
}

.beg-login-box footer p {
	line-height: 35px;
	text-align: center;
}

.beg-pull-left {
	float: left !important;
}

.beg-pull-right {
	float: right !important;
}

.beg-clear {
	clear: both;
}

.beg-login-remember {
	line-height: 38px;
}

.beg-login-remember .layui-form-switch {
	margin-top: 0px;
}

.beg-login-code-box {
	position: relative;
	padding: 10px;
}

.beg-login-code-box input {
	position: absolute;
	width: 100px;
}

.beg-login-code-box img {
	cursor: pointer;
	position: absolute;
	left: 115px;
	height: 38px;
}

/* 滑块验证样式 */
.slider-captcha {
	width: 100%;
	margin-top: 15px;
}

.slider-container {
	position: relative;
	width: 100%;
	height: 38px;
	background-color: #f0f2f5;
	border-radius: 2px;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	transition: all 0.3s ease;
}

.slider-bg {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 0;
	background: rgb(6, 42, 100);
	transition: width 0.3s ease;
}

.slider-mask {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 40px;
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 2px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 3;
	user-select: none;
}

.slider-mask:hover {
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
	transform: translateY(-1px);
}

.slider-icon {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	color: #667eea;
	font-size: 18px;
	transition: all 0.3s ease;
	z-index: 4;
	pointer-events: none;
}

.slider-text {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	line-height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #666;
	font-size: 14px;
	font-weight: 500;
	z-index: 1;
	transition: color 0.3s ease;
}

.slider-container.success {
	background-color: #f0fff4;
}

.slider-container.success .slider-bg {
	background: rgb(6, 42, 100);
}

.slider-container.success .slider-icon {
	color: #52c41a;
	transform: translate(-50%, -50%) scale(1.2);
}

.slider-container.success .slider-text {
	color: #52c41a;
	font-weight: 600;
}

/* 登录按钮样式 */
.login-button-container {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

.login-button-container .layui-btn {
	width: 80%;
	height: 38px;
	font-size: 14px;
	font-weight: normal;
	border-radius: 0;
	transition: none;
}

.login-button-container .layui-btn:hover {
	transform: none;
	box-shadow: none;
}

.login-button-container .layui-btn-primary {
	background: #fff;
	border: 1px solid #ddd;
	color: #333;
}

.login-button-container .layui-btn-primary:hover {
	background: #f5f5f5;
	border: 1px solid #ddd;
	color: #333;
}