@charset "utf-8";
/* 荃润东方 · 商户后台登录页
   视觉：墨蓝底 + 朱砂印章 + 米金细线（品牌印章取自 material/logo） */

:root {
	--qr-ink: #0b1424;
	--qr-ink-2: #16233a;
	--qr-seal: #c0412f;
	--qr-seal-deep: #8e2a1c;
	--qr-gold: #c9a96a;
	--qr-text: #1b2434;
	--qr-muted: #8a93a4;
	--qr-border: #e3e7ee;
	--qr-serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", "SimSun", serif;
}

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

body {
	background: #f6f7f9;
	-webkit-font-smoothing: antialiased;
}

.login-page {
	display: flex;
	width: 100%;
	min-height: 100vh;
	box-sizing: border-box;
}

/* ============ 左侧品牌区 ============ */
.brand-panel {
	position: relative;
	flex: 0 0 53%;
	display: flex;
	align-items: center;
	overflow: hidden;
	box-sizing: border-box;
	padding: 64px 72px;
	color: #fff;
	background: linear-gradient(155deg, #0a1220 0%, #122036 46%, #182a45 100%);
}

/* 左区内侧暗角：压住背景杂色，同时把文字区域的对比度抬起来 */
.brand-panel::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 34% 44%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.38) 100%);
	pointer-events: none;
}

.brand-glow {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.brand-glow-red {
	width: 520px;
	height: 520px;
	left: -160px;
	top: -140px;
	background: radial-gradient(circle, rgba(196, 62, 44, 0.55) 0%, rgba(196, 62, 44, 0) 68%);
	filter: blur(72px);
}

.brand-glow-blue {
	width: 560px;
	height: 560px;
	right: -200px;
	bottom: -200px;
	background: radial-gradient(circle, rgba(16, 92, 251, 0.3) 0%, rgba(16, 92, 251, 0) 68%);
	filter: blur(88px);
}

.brand-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 58px 58px;
	-webkit-mask-image: radial-gradient(circle at 32% 42%, #000 0%, transparent 76%);
	mask-image: radial-gradient(circle at 32% 42%, #000 0%, transparent 76%);
	pointer-events: none;
}

.brand-inner {
	position: relative;
	z-index: 2;
	max-width: 520px;
}

.brand-mark {
	width: 88px;
	height: 88px;
	border-radius: 18px;
	background: #fbf4e8;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.brand-mark img {
	width: 68px;
	height: 68px;
	display: block;
}

.brand-name {
	font-family: var(--qr-serif);
	font-size: 44px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.22em;
	color: #f7f3ec;
	margin: 34px 0 0;
}

.brand-sub {
	margin: 16px 0 0;
	font-size: 14px;
	letter-spacing: 0.28em;
	color: rgba(255, 255, 255, 0.56);
}

.brand-line {
	width: 78px;
	height: 2px;
	margin: 30px 0;
	background: linear-gradient(90deg, var(--qr-gold) 0%, rgba(201, 169, 106, 0) 100%);
}

.brand-points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.brand-points li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.74);
}

.brand-points .dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--qr-gold);
	box-shadow: 0 0 0 4px rgba(201, 169, 106, 0.14);
	flex: none;
}

.brand-foot {
	position: absolute;
	left: 72px;
	bottom: 34px;
	z-index: 2;
	font-size: 11px;
	letter-spacing: 0.2em;
	color: rgba(255, 255, 255, 0.32);
}

/* ============ 右侧表单区 ============ */
.form-panel {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 48px 32px;
	background: radial-gradient(circle at 78% 8%, #fdfdfb 0%, #f6f6f4 46%, #f3f3f1 100%);
}

/* 与品牌区之间的细分割线 */
.form-panel::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 1px;
	background: linear-gradient(180deg, rgba(15, 27, 45, 0) 0%, rgba(15, 27, 45, 0.07) 50%, rgba(15, 27, 45, 0) 100%);
	pointer-events: none;
}

.form-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 62%);
	pointer-events: none;
}

.form-card {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 432px;
	box-sizing: border-box;
	padding: 46px 44px 34px;
	background: #fff;
	border: 1px solid rgba(15, 27, 45, 0.045);
	border-radius: 22px;
	box-shadow: 0 28px 72px rgba(15, 27, 45, 0.11), 0 2px 6px rgba(15, 27, 45, 0.04);
}

/* 卡片顶部一道朱砂到米金的渐变细线 */
.form-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 46px;
	right: 46px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, rgba(192, 65, 47, 0) 0%, rgba(192, 65, 47, 0.55) 32%, rgba(201, 169, 106, 0.55) 68%, rgba(201, 169, 106, 0) 100%);
}

.form-head {
	margin-bottom: 30px;
}

.form-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12px;
	letter-spacing: 0.14em;
	color: var(--qr-seal-deep);
	background: rgba(192, 65, 47, 0.08);
}

.form-card .login-title {
	font-family: var(--qr-serif);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.14em;
	color: #111927;
	text-align: left;
	margin: 18px 0 10px;
}

.form-tip {
	margin: 0;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--qr-muted);
}

.form-card .input-wrap {
	display: flex;
	align-items: center;
	width: 100%;
	height: 52px;
	box-sizing: border-box;
	margin-bottom: 16px;
	background: #fafbfc;
	border: 1px solid var(--qr-border);
	border-radius: 12px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-card .input-wrap:focus-within {
	background: #fff;
	border-color: rgba(192, 65, 47, 0.5);
	box-shadow: 0 0 0 4px rgba(192, 65, 47, 0.08);
}

.form-card .input-wrap .icon {
	width: 46px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.form-card .input-wrap .iconfont {
	font-size: 18px;
	color: #a3abba;
	transition: color 0.2s ease;
}

.form-card .input-wrap:focus-within .iconfont {
	color: var(--qr-seal);
}

.form-card .input-wrap .input {
	flex: 1;
	width: 0;
	height: 100%;
	padding: 0 16px 0 0;
	line-height: 50px;
	font-size: 14px;
	color: var(--qr-text);
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

.form-card .input-wrap .input:focus {
	border: none;
	box-shadow: none;
}

.form-card .input-wrap .input::-webkit-input-placeholder {
	color: #b4bbc7;
	letter-spacing: 0.04em;
}

.form-card .input-wrap .input::-moz-placeholder {
	color: #b4bbc7;
	letter-spacing: 0.04em;
}

.form-card .input-wrap .captcha {
	height: 34px;
	margin-right: 9px;
	border: 1px solid #e9edf3;
	border-radius: 8px;
	cursor: pointer;
}

.form-card .login-btn {
	width: 100%;
	height: 52px;
	margin-top: 10px;
	line-height: 52px;
	font-size: 16px;
	letter-spacing: 0.3em;
	text-indent: 0.3em;
	color: #fff;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, #c0412f 0%, #8e2a1c 100%);
	box-shadow: 0 12px 26px rgba(142, 42, 28, 0.26);
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.form-card .login-btn:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
	box-shadow: 0 16px 32px rgba(142, 42, 28, 0.32);
}

.form-card .login-btn:active {
	transform: translateY(0);
}

.form-foot {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 26px;
	font-size: 12px;
	letter-spacing: 0.04em;
	color: #aab1bd;
}

.form-foot-dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: #d3d8e0;
	flex: none;
}

/* ============ 手机管理端入口（保留原二维码 hover 结构） ============ */
.login-iph {
	position: absolute;
	top: 28px;
	right: 36px;
	z-index: 5;
}

.login-iph .show {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 16px;
	box-sizing: border-box;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: #4a5568;
	background: #fff;
	border: 1px solid #e7ebf1;
	border-radius: 999px;
	box-shadow: 0 6px 18px rgba(15, 27, 45, 0.06);
}

.login-iph .show .iconfont {
	font-size: 15px;
	color: #a3abba;
}

.login-iph .log-type {
	display: none;
	position: absolute;
	top: 46px;
	right: 0;
}

.login-iph:hover .log-type {
	display: block;
}

.login-iph .type-wrap {
	display: flex;
	gap: 18px;
	padding: 18px;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #eef1f6;
	border-radius: 14px;
	box-shadow: 0 18px 44px rgba(15, 27, 45, 0.16);
}

.login-iph .type-item {
	text-align: center;
}

.login-iph .type-item .item-img {
	width: 132px;
	height: 132px;
	overflow: hidden;
	background: #f7f8fa;
	border-radius: 10px;
}

.login-iph .type-item span {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	color: #5a6474;
}

/* ============ 响应式 ============ */
@media (max-width: 1100px) {
	.brand-panel {
		padding: 48px 44px;
	}

	.brand-name {
		font-size: 38px;
	}

	.form-card {
		padding: 38px 34px 30px;
	}
}

@media (max-width: 992px) {
	.login-page {
		flex-direction: column;
	}

	.brand-panel {
		flex: none;
		align-items: flex-start;
		padding: 34px 28px 32px;
	}

	.brand-mark {
		width: 62px;
		height: 62px;
		border-radius: 14px;
	}

	.brand-mark img {
		width: 48px;
		height: 48px;
	}

	.brand-name {
		font-size: 30px;
		margin-top: 20px;
	}

	.brand-sub {
		font-size: 13px;
		letter-spacing: 0.18em;
	}

	.brand-line {
		margin: 20px 0;
	}

	.brand-points {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 10px 20px;
	}

	.brand-foot {
		display: none;
	}

	.form-panel {
		flex: 1;
		padding: 28px 20px 44px;
	}

	.form-card {
		max-width: 460px;
		padding: 30px 24px 26px;
	}

	.login-iph {
		top: 16px;
		right: 16px;
	}

	.login-iph .show {
		height: 34px;
		padding: 0 12px;
		font-size: 12px;
	}

	.login-iph .item-img {
		width: 116px;
		height: 116px;
	}
}

@media (max-width: 520px) {
	.brand-points {
		display: none;
	}

	.form-card .login-title {
		font-size: 24px;
		letter-spacing: 0.1em;
	}

	.form-card {
		border-radius: 16px;
	}
}
