* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background: #f5f7fa;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 主容器 */
.login-main-container {
	display: flex;
	width: 100%;
	max-width: 1200px;
	height: 80vh;
	max-height: 700px;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	background: white;
}

/* 左侧背景图区域 */
.login-bg-section {
	flex: 1;
	background: url('/assets/Images/banner-bg.jpg') center/cover no-repeat;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: white;
	text-align: center;
	padding: 40px;
}

/* 背景图遮罩 */
.login-bg-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
	z-index: 1;
}

.login-bg-content {
	position: relative;
	z-index: 2;
}

.login-bg-icon {
	font-size: 64px;
	margin-bottom: 20px;
	animation: float 3s ease-in-out infinite;
}

.login-bg-title {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 15px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.login-bg-description {
	font-size: 16px;
	line-height: 1.6;
	opacity: 0.9;
	max-width: 400px;
}

/* 右侧登录表单区域 */
.login-form-section {
	flex: 1;
	background: white;
	display: flex;
	flex-direction: column;
	padding: 40px 80px;
	overflow-y: auto;
}

/* 登录方式切换 */
.login-tabs {
	display: flex;
	border-bottom: 1px solid #e8e8e8;
	margin-bottom: 20px;
}

.login-tab {
	padding: 10px 0;
	margin-right: 40px;
	font-size: 16px;
	font-weight: 500;
	color: #666;
	cursor: pointer;
	position: relative;
	border-bottom: 2px solid transparent;
	transition: all 0.3s ease;
}

.login-tab.active {
	color: #1890ff;
	border-bottom-color: #1890ff;
}

/* 错误提示 */
.error-alert {
	display: flex;
	align-items: center;
	background: #fff2f0;
	border: 1px solid #ffccc7;
	color: #f5222d;
	padding: 10px 15px;
	border-radius: 4px;
	margin-bottom: 20px;
	font-size: 14px;
}

.error-alert.hide {
	display: none;
}

.error-alert i {
	margin-right: 8px;
	font-size: 16px;
}

.login-content {
	display: none;
}

.login-content.active {
	display: block;
}

/* 登录表单 */
.login-form {
	display: flex;
	flex-direction: column;
	align-items: unset;
	gap: 15px;
	margin-bottom: 20px;
	
}

.form-group {
	position: relative;
	input {
		padding: 7px 10px !important;
	}
}

.form-input::placeholder {
	color: #999;
}

/* 协议勾选 */
.agreement {
	display: flex;
	align-items: center;
	font-size: 12px;
	color: #666;
	margin-bottom: 20px;
}

/* 辅助链接 */
.helper-links {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 20px;
	font-size: 12px;
}

.helper-links a {
	color: #1890ff;
	text-decoration: none;
}

.helper-links a:hover {
	text-decoration: underline;
}

/* 底部链接 */
.bottom-links {
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: #666;
}

.bottom-links a {
	color: #1890ff;
	text-decoration: none;
	margin: 0 5px;
}

.bottom-links a:hover {
	text-decoration: underline;
}

/* 扫码登录区域 */
.qrcode-login {
	display: none;
	flex-direction: column;
	align-items: center;
	padding: 40px 0;
}

.qrcode-login.active {
	display: flex;
}

.qrcode-container {
	width: 200px;
	height: 200px;
	border: 1px solid #e8e8e8;
	padding: 20px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.qrcode-image {
	width: 100%;
	height: 100%;
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 12px;
}

.qrcode-hint {
	text-align: center;
	font-size: 14px;
	color: #666;
}

/* 加载动画 */
.loading {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, .3);
	border-radius: 50%;
	border-top-color: #fff;
	animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* 响应式设计 */
@media (max-width: 992px) {
	.login-main-container {
		flex-direction: column;
		height: auto;
		max-height: none;
	}

	.login-bg-section {
		height: 250px;
	}

	.login-bg-title {
		font-size: 28px;
	}
}

@media (max-width: 480px) {
	.login-main-container {
		margin: 10px;
		border-radius: 8px;
	}

	.login-bg-section,
	.login-form-section {
		padding: 20px;
	}

	.login-bg-icon {
		font-size: 48px;
	}

	.login-bg-title {
		font-size: 24px;
	}

	.login-tabs {
		flex-direction: column;
		gap: 10px;
	}

	.login-tab {
		margin-right: 0;
	}
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-20px);
	}
}