html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

/* 登录页面整体布局 */
.login-wrapper {
	display: flex;
	width: 100%;
	height: 100%;
	min-height: 600px;
}

/* 全屏模式 - 背景图拉伸撑满，登录表单居中 */
.layui-container.fullscreen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(../img/login/login_bg.jpg) no-repeat center center;
	background-size: 100% 100%;
	background-attachment: fixed;
	background-position: center;
	display: flex;
	justify-content: center;
	align-items: center;
}

.layui-container.fullscreen .layui-form {
	width: 400px;
	padding: 50px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(25px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 8px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* 左右模式 - 左侧背景图区域 */
.login-wrapper.split-layout .login-left {
	width: 60%;
	background: url(../img/login/login_bg.jpg) no-repeat center center;
	background-size: cover;
	position: relative;
}

/* 左侧内容遮罩 */
.login-wrapper.split-layout .login-left::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.3);
}

/* 左右模式 - 右侧登录表单区域 */
.login-wrapper.split-layout .login-right {
	width: 40%;
	background: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

/* 登录表单头部 */
.login-form-header {
	text-align: center;
	margin-bottom: 30px;
}

.login-form-header .logo-box {
	margin-bottom: 20px;
}

.login-form-header h1 {
	color: #333;
	font-size: 22px;
	font-weight: 500;
}

/* 登录表单标题（layui-form-title） */
.layui-form-title {
	text-align: center;
	margin-bottom: 30px;
}

.layui-form-title p {
	margin: 0;
	padding: 20px 0;
}

.layui-form-title h1 {
	color: #333;
	font-size: 22px;
	font-weight: 500;
	margin: 0;
	padding-top: 0;
}

/* 表单样式 */
.login-form {
	width: 100%;
}

.layui-form-item {
	margin-bottom: 24px;
	position: relative;
}

.layui-form-item:last-child {
	margin-bottom: 0;
}

/* 输入框样式 - 适配白色背景 */
.layui-form-item > input {
	width: 100%;
	height: 48px;
	border-radius: 4px;
	padding-left: 45px;
	box-sizing: border-box;
	background-color: #f5f5f5;
	border: 1px solid #e0e0e0;
	color: #333;
	font-size: 14px;
	transition: all 0.3s;
}

.layui-form-item > input:focus {
	background-color: #fff;
	border-color: #1890ff;
	box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

/* 占位符颜色 */
input::-webkit-input-placeholder {
	color: #999;
}

input:-moz-placeholder {
	color: #999;
}

input::-moz-placeholder {
	color: #999;
}

input:-ms-input-placeholder {
	color: #999;
}

/* 输入框图标 */
.ns-input-icon {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
}

/* 登录按钮 */
.ns-login-btn {
	margin-top: 30px;
}

.ns-login-btn .layui-btn {
	height: 48px;
	border-radius: 4px;
	font-size: 16px;
	background: #1890ff;
	border: none;
	box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
	transition: all 0.3s;
}

.ns-login-btn .layui-btn:hover {
	background: #40a9ff;
	box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
}

/* 验证码 */
.verify-code-box input {
	padding-left: 15px;
}

.verify-code-img {
	position: absolute;
	right: 0;
	top: 0;
	width: 120px;
	height: 48px;
	overflow: hidden;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

.verify-code-box .verify-code-img {
	text-align: right;
}

.verify-code-img img {
	height: 100%;
	cursor: pointer;
}

/* 底部版权信息 */
.ns-login-bottom {
	position: absolute;
	bottom: 30px;
	left: 0;
	right: 0;
	text-align: center;
	color: #999;
	font-size: 12px;
	padding: 0 20px;
}

.ns-login-bottom a {
	color: #999;
	text-decoration: none;
}

.ns-login-bottom a:hover {
	color: #666;
}

.ns-login-bottom .gov-box {
	display: inline-flex;
	align-items: center;
	margin-top: 8px;
}

.ns-login-bottom .gov-box img {
	max-width: 16px;
	max-height: 16px;
	margin-right: 4px;
}

/* 响应式适配 */
@media screen and (max-width: 900px) {
	.login-wrapper.split-layout .login-left {
		display: none;
	}
	
	.login-wrapper.split-layout .login-right {
		width: 100%;
	}
}

/* 小屏幕适配 - 表单容器宽度调整 */
@media screen and (max-width: 1200px) {
	.layui-container.fullscreen .layui-form {
		width: 80%;
		max-width: 400px;
	}
}

/* 自动填充样式 */
input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px #f5f5f5 inset !important;
	-webkit-text-fill-color: #333 !important;
	transition: background-color 9999s ease-in-out 0s;
}

input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px #fff inset !important;
}
