@charset "utf-8";
/* ==========================================================================
   登录 / 注册页（深色主题，顶部导航与全站统一）
   ========================================================================== */

.lg-page {
	min-height: 100vh;
	box-sizing: border-box;
	/* 顶部留出 60px 固定导航 + 24px 间距，剩余空间内整体垂直+水平居中 */
	padding: 84px 24px 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(ellipse 55% 45% at 50% 6%, rgba(109, 92, 255, 0.26), transparent 62%),
		radial-gradient(ellipse 42% 36% at 88% 92%, rgba(34, 211, 238, 0.10), transparent 60%),
		#0a0a18;
}

.lg-card {
	width: 872px;
	max-width: 100%;
	margin: 0 auto;
	display: flex;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(140, 130, 255, 0.24);
	background: linear-gradient(180deg, #16143a 0%, #100e28 60%, #0c0b1e 100%);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ---------- 左侧主视觉 ---------- */
.lg-left { width: 436px; flex: none; position: relative; min-height: 492px; }
.lg-left img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lg-left::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 58%, #ffffff 100%);
}

/* ---------- 右侧表单（白底 + 深色文字，与左侧深色主视觉形成对比） ---------- */
.lg-right {
	flex: 1; min-width: 0; padding: 20px 0 28px; text-align: center;
	background: #fff; color: #333;
}
.lg-logo { padding: 8px 0 2px; }
.lg-logo img { height: 52px; }

.lg-way { margin: 12px 0 6px; }
.lg-way span {
	display: inline-block; font-size: 16px; color: #333;
	padding-bottom: 8px; position: relative; letter-spacing: 1px;
}
.lg-way span::after {
	content: ''; position: absolute; left: 50%; bottom: 0; width: 36px; height: 3px;
	margin-left: -18px; border-radius: 3px;
	background: linear-gradient(90deg, #6d5cff, #22d3ee);
}

/* font-size:0 消除 inline-block 之间的空白字符，保证验证码与输入框同行 */
.lg-form-item { width: 300px; margin: 0 auto; padding: 7px 0; text-align: left; font-size: 0; }
.lg-input {
	width: 100%; height: 40px; box-sizing: border-box; padding: 0 12px;
	border-radius: 10px; border: 1px solid #ddd;
	background: #fff; color: #333;
	font-size: 14px; transition: border-color .2s ease, box-shadow .2s ease;
}
.lg-input::placeholder { color: #999; }
.lg-input:hover { border-color: #186AF2; }
.lg-input:focus { outline: 0; border-color: #186AF2; box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.18); }
input.lg-input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px #fff inset;
	-webkit-text-fill-color: #333;
	caret-color: #333;
}

/* 验证码：输入框在左，验证码图片在输入框右侧同一行 */
.lg-captcha { width: 130px; display: inline-block; vertical-align: top; }
.lg-captcha .lg-input { width: 100%; }
.lg-captcha-img {
	width: 152px; height: 40px; box-sizing: border-box;
	display: inline-block; vertical-align: top; margin-left: 12px;
	border: 1px solid #ddd; border-radius: 10px; overflow: hidden;
	background: #fff;
}
.lg-captcha-img img { width: 100%; height: 38px; display: block; cursor: pointer; }

.lg-btn {
	width: 100%; height: 44px; border: 0; border-radius: 10px; cursor: pointer;
	font-size: 15px; font-weight: 600; color: #fff; letter-spacing: 2px;
	background: linear-gradient(135deg, #6d5cff, #22d3ee);
	box-shadow: 0 10px 24px rgba(109, 92, 255, 0.32);
	transition: transform .2s ease, opacity .2s ease;
}
.lg-btn:hover { opacity: .92; transform: translateY(-1px); }
.lg-btn:focus { outline: 0; }

/* 白底下的辅助文字与链接：统一深色，避免看不清 */
.lg-ops { width: 300px; margin: 0 auto; padding: 8px 0 0; font-size: 13px; line-height: 2.2; color: #999; }
.lg-ops p { margin: 0; }
.lg-ops a { color: #333; text-decoration: none; transition: color .2s ease; }
.lg-ops a:hover { color: #186AF2; }

.lg-copy { text-align: center; padding: 22px 0 0; font-size: 12px; color: #6d6a92; }
.lg-copy a { color: #8f8bb8; text-decoration: none; margin-left: 10px; }
.lg-copy a:hover { color: #c9c6e8; }

/* 注册页提示：注册后需审核 */
.lg-tip { color: #d97706; font-size: 12px; padding-top: 2px; }

@media (max-width: 900px) {
	.lg-page { padding: 92px 14px 30px; }
	.lg-card { flex-direction: column; }
	/* 移动端：主视觉定高，img 同步定高，避免按固有比例溢出盖住表单 */
	.lg-left { width: 100%; height: 190px; min-height: 0; max-height: none; overflow: hidden; }
	.lg-left img { height: 190px; }
	.lg-left::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 45%, #ffffff 100%); }
}
