body {
	/* 加载背景图 */
	background-image: url('../../images/login_bg_new.svg');
	/* 背景图垂直、水平均居中 */
	background-position: center center;
	/* 背景图不平铺 */
	background-repeat: no-repeat;
	/* 当内容高度大于图片高度时，背景图像的位置相对于viewport固定 */
	background-attachment: fixed;
	/* 让背景图基于容器大小伸缩 */
	background-size: cover;
	/* 设置背景颜色，背景图加载过程中会显示背景色 */
	background-color: #1a1a2e;
}

.layui-form {
	width: 420px !important;
	margin: auto !important;
	margin-top: 11% !important;
	background: rgba(106, 113, 211, 0.95);
	padding-right: 80px;
	padding-left: 80px;
	border-radius: 15px;
	backdrop-filter: blur(10px);
	box-shadow: 0 8px 32px rgba(45, 28, 182, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.layui-form button {
	width: 100% !important;
	height: 44px !important;
	line-height: 44px !important;
	font-size: 16px !important;
	background: linear-gradient(135deg, #FFFFFF 0%, #f8f9ff 100%) !important;
	color: #2d1cb6 !important;
	font-weight: 600 !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	border-radius: 8px !important;
	transition: all 0.3s ease !important;
	box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2) !important;
}

.layui-form button:hover {
	background: linear-gradient(135deg, #f0f1ff 0%, #e8eaff 100%) !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3) !important;
}

.layui-form-checked[lay-skin=primary] i {
	border-color: #2d1cb6 !important;
	background-color: #2d1cb6 !important;
	color: #fff !important;
}

.layui-tab-content {
	margin-top: 15px !important;
	padding-left: 0px !important;
	padding-right: 0px !important;
}

.layui-form-item {
	margin-top: 20px !important;
}

.layui-input {
	height: 44px !important;
	line-height: 44px !important;
	padding-left: 15px !important;
	border-radius: 8px !important;
	background: rgba(255, 255, 255, 0.9) !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	backdrop-filter: blur(5px) !important;
}

.layui-input:focus {
	box-shadow: 0px 0px 8px 2px rgba(45, 28, 182, 0.4) !important;
	border-color: #2d1cb6 !important;
}

.logo {
	width: 60px !important;
	height: 60px !important;
	margin-top: 10px !important;
	margin-bottom: 10px !important;
	margin-left: 20px !important;
	background: rgba(255, 255, 255, 0.95) !important;
	border-radius: 50% !important;
	padding: 8px !important;
	box-shadow: 0 4px 15px rgba(45, 28, 182, 0.2) !important;
	border: 2px solid rgba(255, 255, 255, 0.3) !important;
	transition: all 0.3s ease !important;
}

.logo:hover {
	transform: scale(1.05) !important;
	box-shadow: 0 6px 20px rgba(45, 28, 182, 0.3) !important;
}

.header-section {
	text-align: center !important;
	margin-bottom: 25px !important;
}

.header-content {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 15px !important;
}

.title {
	font-size: 28px !important;
	font-weight: 600 !important;
	color: #2d1cb6 !important;
	text-shadow: 0 2px 4px rgba(45, 28, 182, 0.2) !important;
	white-space: nowrap !important;
}

.desc {
	width: 100% !important;
	text-align: center !important;
	color: whitesmoke !important;
	height: 40px !important;
	line-height: 40px !important;
}

body {
	background-color: whitesmoke;
	height: 100%;
}

.captcha-section {
	margin-bottom: 25px !important;
}

.captcha-container {
	display: flex !important;
	gap: 12px !important;
	align-items: center !important;
}

.captcha-input {
	flex: 1 !important;
	min-width: 0 !important;
}

.captcha-image {
	height: 44px !important;
	width: 120px !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	backdrop-filter: blur(5px) !important;
	background: rgba(255, 255, 255, 0.1) !important;
}

.captcha-image:hover {
	transform: scale(1.02) !important;
	border-color: #2d1cb6 !important;
	box-shadow: 0 2px 8px rgba(45, 28, 182, 0.3) !important;
}

.protocol-section {
	margin-top: 25px !important;
	margin-bottom: 20px !important;
}

.protocol-content {
	display: flex !important;
	align-items: flex-start !important;
	gap: 12px !important;
}

.protocol-checkbox {
	height: 18px !important;
	width: 18px !important;
	margin-top: 3px !important;
	flex-shrink: 0 !important;
}

.protocol-text {
	color: rgba(255, 255, 255, 0.9) !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 6px !important;
}

.protocol-label {
	color: rgba(255, 255, 255, 0.8) !important;
}

.protocol-separator {
	color: rgba(255, 255, 255, 0.8) !important;
}

.protocol-link {
	color: #4fc3f7 !important;
	text-decoration: none !important;
	font-weight: 500 !important;
	transition: all 0.3s ease !important;
	border-bottom: 1px solid rgba(79, 195, 247, 0.3) !important;
	padding: 2px 4px !important;
	border-radius: 3px !important;
}

.protocol-link:hover {
	color: #81c784 !important;
	border-bottom-color: #81c784 !important;
	background: rgba(79, 195, 247, 0.1) !important;
	transform: translateY(-1px) !important;
}

/* 通用链接样式 */
a:not(.protocol-link) {
	color: #ffffff !important;
	text-decoration: none !important;
	font-weight: 500 !important;
	transition: all 0.3s ease !important;
}

a:not(.protocol-link):hover {
	color: #4fc3f7 !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.layui-form {
		width: 90% !important;
		margin-top: 8% !important;
		padding-left: 30px !important;
		padding-right: 30px !important;
	}
	
	.title {
		font-size: 24px !important;
	}
	
	.header-content {
		flex-direction: column !important;
		gap: 10px !important;
	}
	
	.logo {
		width: 50px !important;
		height: 50px !important;
	}
	
	.captcha-container {
		flex-direction: column !important;
		gap: 10px !important;
	}
	
	.captcha-input {
		width: 100% !important;
	}
	
	.captcha-image {
		width: 100% !important;
		max-width: 200px !important;
		align-self: center !important;
	}
	
	.protocol-text {
		font-size: 13px !important;
	}
}

@media (max-width: 480px) {
	.layui-form {
		width: 95% !important;
		margin-top: 5% !important;
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
	
	.title {
		font-size: 20px !important;
	}
	
	.protocol-text {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 4px !important;
	}
}

/* 增强焦点状态 */
.layui-input:focus,
.captcha-input:focus {
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(45, 28, 182, 0.2), 0px 0px 8px 2px rgba(45, 28, 182, 0.4) !important;
}

/* 改进按钮样式 */
.layui-form button:active {
	transform: translateY(0) !important;
	box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2) !important;
}
