html,
body {
	height: 100%;
}

body {
	margin: 0;
	color: #1e293b;
	font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
	background:
		radial-gradient(circle at top left, rgba(138, 197, 221, 0.34), transparent 24%),
		radial-gradient(circle at top right, rgba(211, 233, 241, 0.7), transparent 22%),
		linear-gradient(180deg, #edf5f8 0%, #f7fafb 34%, #eef4f6 100%);
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background-image:
		linear-gradient(rgba(15, 91, 120, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(15, 91, 120, 0.045) 1px, transparent 1px);
	background-size: 40px 40px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 92%);
	pointer-events: none;
}

.login-page {
	position: relative;
	z-index: 1;
	width: 100%;
	min-height: 100%;
	padding: 36px 24px 96px;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.layui-row {
	width: min(1180px, 100%);
	min-height: 680px;
	margin: 0;
	overflow: hidden;
	border-radius: 30px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	background: rgba(248, 252, 253, 0.72);
	backdrop-filter: blur(22px);
	box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.login-bg,
.login-form {
	min-height: 680px;
	box-sizing: border-box;
}

.login-bg {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 44px;
	background:
		linear-gradient(145deg, rgba(8, 56, 76, 0.96) 0%, rgba(15, 91, 120, 0.94) 58%, rgba(35, 126, 154, 0.88) 100%);
}

.login-bg::before,
.login-bg::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
}

.login-bg::before {
	width: 360px;
	height: 360px;
	top: -170px;
	right: -110px;
}

.login-bg::after {
	width: 240px;
	height: 240px;
	left: -90px;
	bottom: -100px;
}

.login-bg-img {
	position: relative;
	z-index: 1;
	width: min(100%, 470px);
	display: block;
	margin: 0 auto;
	filter: drop-shadow(0 24px 44px rgba(8, 56, 76, 0.28));
}

.login-form {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 44px 42px;
	background: rgba(248, 252, 253, 0.78);
}

.form-center {
	width: 100%;
	display: flex;
	justify-content: center;
	text-align: left;
	background: transparent;
}

.form-center-box {
	width: min(100%, 420px);
	padding: 34px 34px 30px;
	border-radius: 28px;
	border: 1px solid rgba(148, 163, 184, 0.2);
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
}

.top-log-title {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 16px;
}

.top-log-copy {
	flex: 1;
	min-width: 0;
}

.top-log {
	width: 58px;
	height: 58px;
	border-radius: 18px;
	padding: 8px;
	background: linear-gradient(160deg, rgba(15, 91, 120, 1) 0%, rgba(10, 62, 83, 1) 100%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 14px 28px rgba(8, 56, 76, 0.18);
}

.top-log-title span {
	font-size: 28px;
	line-height: 1.18;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #0f172a;
	display: block;
}

.lang-switch {
	margin-top: 12px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px;
	border-radius: 999px;
	background: rgba(237, 245, 248, 0.96);
	border: 1px solid rgba(148, 163, 184, 0.18);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.lang-chip {
	border: 0;
	background: transparent;
	color: #5f6f82;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.lang-chip.is-active {
	background: linear-gradient(135deg, #0f5b78 0%, #0a445a 100%);
	color: #f8fcfd;
	box-shadow: 0 10px 20px rgba(15, 91, 120, 0.18);
}

.top-desc {
	margin-bottom: 28px;
	padding-left: 74px;
	font-size: 14px;
	line-height: 1.8;
	color: #5f6f82;
	letter-spacing: 0.08em;
	text-align: right;
}

.tab-log-verification {
	width: 100%;
	display: flex;
	gap: 14px;
}

.verification-text {
	flex: 1 1 auto;
	box-sizing: border-box;
	margin-right: 0;
}

.verification-img {
	flex: 0 0 128px;
	width: 128px;
	box-sizing: border-box;
	border: 1px solid rgba(148, 163, 184, 0.24);
	border-radius: 14px;
	height: 46px;
	background: #fff;
	overflow: hidden;
	text-align: center;
	cursor: pointer;
	display: block;
	object-fit: contain;
	object-position: center;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
}

.remember-passsword {
	margin: 18px 0 22px;
	width: 100%;
	display: flex;
	box-sizing: border-box;
}

.remember-cehcked {
	flex: 1;
	text-align: left;
	color: #5f6f82;
}

.login-alert {
	line-height: 1.7;
}

.greenText {
	color: #0f5b78;
	cursor: pointer;
}

.login-btn {
	width: 100%;
	box-sizing: border-box;
}

.login-btn > .layui-btn {
	width: 100%;
	height: 48px;
	border: 0;
	border-radius: 16px;
	background: linear-gradient(135deg, #0f5b78 0%, #0a445a 100%);
	box-shadow: 0 16px 30px rgba(15, 91, 120, 0.24);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.login-btn > .layui-btn:hover {
	opacity: 0.96;
}

.layui-form-item {
	margin-bottom: 18px;
}

.layui-input-wrap {
	border-radius: 16px;
	border: 1px solid rgba(148, 163, 184, 0.24);
	background: rgba(248, 252, 253, 0.9);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.layui-input-prefix {
	color: #0f5b78;
}

.layui-input {
	height: 46px;
	line-height: 46px;
	border-radius: 16px;
	background: transparent;
	color: #1e293b;
}

.layui-input::placeholder {
	color: #8ea0b5;
}

.layui-checkbox[lay-skin=primary] span {
	color: #5f6f82;
}

.layui-checkbox[lay-skin=primary]:hover i,
.layui-form-checked[lay-skin=primary] i {
	border-color: #0f5b78 !important;
}

.layui-form-checked[lay-skin=primary] i {
	background-color: #0f5b78;
}

@media (max-width: 768px) {
	.login-page {
		padding: 18px 16px 32px;
	}

	.layui-row,
	.login-bg,
	.login-form {
		min-height: auto;
	}

	.login-form {
		padding: 24px 18px;
	}

	.form-center-box {
		padding: 24px 20px 22px;
		border-radius: 24px;
	}

	.top-log-title span {
		font-size: 22px;
	}

	.top-desc {
		padding-left: 0;
	}

	.tab-log-verification {
		flex-direction: column;
	}

	.verification-img {
		width: 100%;
		flex-basis: 46px;
	}
}

@media (min-width: 992px) and (max-width: 1200px) {
	.layui-row {
		width: min(1040px, 100%);
	}
}

@media (min-width: 768px) and (max-width: 992px) {
	.layui-row {
		width: 100%;
	}
}

@media (orientation: portrait) and (min-width: 900px) {
	.layui-row {
		width: min(860px, 100%);
	}

	.login-bg {
		display: none;
	}

	.login-form {
		width: 100%;
	}

	.form-center-box {
		width: min(100%, 520px);
	}

	.tab-log-verification {
		align-items: center;
	}

	.verification-img {
		flex-basis: 156px;
		width: 156px;
		height: 56px;
	}
}

@media (max-width: 768px) {
	.login-page {
		padding: 20px 16px 88px;
		align-items: stretch;
	}

	.layui-row {
		width: 100%;
		min-height: auto;
		border-radius: 24px;
	}

	.login-form {
		min-height: auto;
		padding: 22px 18px;
	}

	.form-center-box {
		padding: 24px 20px 22px;
		border-radius: 22px;
	}

	.top-log-title {
		gap: 12px;
	}

	.top-log {
		width: 52px;
		height: 52px;
		border-radius: 16px;
	}

	.top-log-title span {
		font-size: 24px;
	}

	.top-desc {
		padding-left: 64px;
		margin-bottom: 22px;
	}

	.tab-log-verification {
		flex-direction: column;
	}

	.verification-img {
		width: 100%;
		flex-basis: 46px;
	}
}
