body {
	min-height: 100vh;
	display: flex;
	background-color: #f9f9f9;
}

/* 左侧背景样式 */
.left-panel {
	flex: 1;
	background-color: #ffffff;
	position: relative;
	overflow: hidden;
}

.background-pattern {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: #f5f7fa;
	overflow: hidden;
}

.cube {
	position: absolute;
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* 品牌标题样式 */
.brand-title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	z-index: 10;
}

.brand-title h1 {
	font-size: 48px;
	font-weight: bold;
	background: linear-gradient(135deg, #ff7d00, #ffb800);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: 0 2px 10px rgba(255, 125, 0, 0.2);
	position: relative;
}

/* 右侧登录面板样式 */
.right-panel {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0 50px;
	background-color: #ffffff;
}

.panel-container {
	width: 100%;
	max-width: 80%;
}

.panel-title {
	font-size: 32px;
	font-weight: 600;
	color: #333333;
	/*margin-bottom: 40px;*/
	text-align: center;
}

/* 标签切换样式 */
.tabs {
	display: flex;
	margin-bottom: 30px;
	border-bottom: 1px solid #e0e0e0;
}

.tab {
	padding: 10px 0;
	margin-right: 30px;
	font-size: 18px;
	font-weight: 500;
	color: #999999;
	cursor: pointer;
	position: relative;
	transition: color 0.3s;
}

.tab.active {
	color: #333333;
}

.tab.active::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #4080ff;
}

/* 表单样式 */
.form-group {
	margin-bottom: 20px;
}

.form-control {
	width: 100%;
	height: 50px;
	padding: 0 15px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	font-size: 16px;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
	outline: none;
	border-color: #4080ff;
	box-shadow: 0 0 0 3px rgba(64, 128, 255, 0.1);
}

.input-icon {
	position: relative;
}

.phone {
	width: 100%;
}

.input-icon .form-control {
	padding-left: 40px;
}

.input-icon::before {
	content: '';
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.input-icon.user::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E");
}

.input-icon.lock::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E");
}

.input-icon.phone::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E");
}

.input-icon.code::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E");
}

/* 验证码按钮样式 */
.phone-input-group {
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

.code-input-group .form-control {
	flex: 1;
}

.reg-get-code-btn {
	width: 120px;
	height: 50px;
}

.get-code-btn {
	background-color: #409eff;
	color: #fff;
	border: none;
	padding: 7px 16px;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s;
	margin-left: 10px;
	white-space: nowrap;
}

.get-code-btn:hover {
	background-color: #66b1ff;
}

.get-code-btn:disabled {
	background-color: #a0cfff;
	cursor: not-allowed;
}

/* 登录按钮样式 */
.btn {
	width: 100%;
	height: 50px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s;
}

.btn-primary {
	background-color: #4080ff;
	color: #ffffff;
}

.btn-primary:hover {
	background-color: #3371e3;
	box-shadow: 0 4px 12px rgba(64, 128, 255, 0.2);
}

.navbar {
	position: fixed;
	margin-bottom: 35rem;
	/*width: 36%;*/
	color: white;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.form-errors {
	color: #ef4444;
}

/* 辅助链接样式 */
.forgot-password {
	text-align: right;
	margin-bottom: 30px;
}

.forgot-password a {
	color: #4080ff;
	font-size: 14px;
	text-decoration: none;
	transition: color 0.3s;
}

.forgot-password a:hover {
	color: #3371e3;
	text-decoration: underline;
}

/* 表单面板样式 */
.form-panel {
	display: none;
}

.form-panel.active {
	display: block;
}

/* 响应式设计 */
@media (max-width: 992px) {
	.left-panel {
		display: none;
	}

	.right-panel {
		flex: 100%;
	}
}

@media (max-width: 576px) {
	.right-panel {
		padding: 0 20px;
	}

	.panel-title {
		font-size: 28px;
		margin-bottom: 30px;
	}

	.tab {
		font-size: 16px;
		margin-right: 20px;
	}
}

.agreement-checkbox-container{
	margin-bottom: 1rem;
	float: right;
}