*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
	width: 100%;
	height: 100%;
	font-family: "Microsoft YaHei", Arial, sans-serif;
	font-size: 14px;
	color: #363636;
	background-color: #eef3f8;
	background-image:
		radial-gradient(circle at 25% 25%, rgba(33, 97, 179, 0.04) 0%, transparent 50%),
		radial-gradient(circle at 75% 75%, rgba(33, 97, 179, 0.03) 0%, transparent 50%),
		linear-gradient(180deg, #f5f8fc 0%, #e8eef5 100%);
}

input { outline: none; font-family: inherit; }
input:-webkit-autofill,
input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px #fff inset !important;
	box-shadow: 0 0 0 1000px #fff inset !important;
}

.login-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 24px;
}

.login-box {
	width: 100%;
	max-width: 400px;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 2px 12px rgba(33, 97, 179, 0.12), 0 8px 32px rgba(0, 0, 0, 0.06);
	overflow: hidden;
}

.login-head {
	padding: 22px 28px 18px;
	text-align: center;
	border-bottom: 3px solid #2161b3;
	background: linear-gradient(180deg, #fff 0%, #f8fafd 100%);
}

.login-head h1 {
	font-size: 20px;
	font-weight: 700;
	color: #2161b3;
}

.login-body {
	padding: 22px 28px 28px;
}

.form-item {
	margin-bottom: 16px;
	border: 1px solid #ccc;
	border-radius: 3px;
	overflow: hidden;
	display: flex;
	background: #fff;
}

.form-item label {
	flex: 0 0 72px;
	line-height: 46px;
	text-align: center;
	font-size: 14px;
	color: #2161b3;
	background: #f5f8fc;
	border-right: 1px solid #ddd;
}

.form-item input {
	flex: 1;
	height: 46px;
	padding: 0 12px;
	font-size: 14px;
	border: none;
	background: #fff;
}

.form-item input:focus {
	background: #fff9eb;
	box-shadow: inset 0 0 3px rgba(160, 185, 235, 0.5);
}

.form-captcha {
	display: flex;
	gap: 10px;
	align-items: stretch;
}

.form-captcha .form-item {
	flex: 1;
	margin-bottom: 0;
}

.captcha-img {
	flex-shrink: 0;
	height: 48px;
	border: 1px solid #ccc;
	border-radius: 3px;
	cursor: pointer;
	display: block;
}

.btn-submit {
	display: block;
	width: 100%;
	height: 48px;
	margin-top: 22px;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(180deg, #3a7bd5 0%, #2161b3 100%);
	border: 1px solid #1a5299;
	border-radius: 3px;
	cursor: pointer;
	letter-spacing: 4px;
}

.btn-submit:hover {
	background: #2a6bbe;
}

@media screen and (max-width: 440px) {
	.login-head, .login-body { padding-left: 20px; padding-right: 20px; }
	.form-captcha { flex-direction: column; }
	.captcha-img { width: 100%; object-fit: contain; background: #f5f8fc; }
}
