/* 全局样式重置 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	background: url(/images/bj.svg) no-repeat center center fixed;
	background-size: cover;
	color: #333;
	line-height: 1.6;
	/* 去掉body默认margin，避免居中偏移 */
	margin: 0;
}

/* 核心：登录页外层容器，实现全屏居中 */
.login-page-wrapper {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px; /* 左右留白，防止小屏幕贴边 */
}

/* 登录框容器：控制宽度，不再受栅格限制 */
.login-container {
	width: 100%;
	/* 核心：设置合理的宽度范围 */
	max-width: 550px; /* 大屏宽度，比原来的600px更紧凑但不偏小 */
	min-width: 300px; /* 小屏幕最小宽度，防止过窄 */
	margin: 0 auto; /* 双重保障居中 */
}

/* 登录框外层样式（保留原有美化，微调） */
.form-box {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	padding: 0;
	/* 确保登录框占满容器宽度 */
	width: 100%;
}

/* 以下保留之前的样式，仅调整链接颜色适配 */
.form-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #2c5282;
	color: #fff;
	padding: 20px 25px;
}

.form-top-left h3 {
	margin: 0 0 8px 0;
	font-size: 22px;
	font-weight: 600;
}

.form-top-left p {
	margin: 0;
	font-size: 14px;
	opacity: 0.9;
}

.form-top-right {
	width: 100px;
	overflow: hidden;
	
}

	.form-top-right img {
		max-width: 100px;
		object-fit: contain;
	}

.form-bottom {
	padding: 30px 25px;
}

.login-form {
	width: 100%;
}

.form-group {
	margin-bottom: 20px;
}

.form-control {
	height: 48px;
	padding: 0 15px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: 15px;
	transition: all 0.3s ease;
	width: 100%; /* 确保输入框占满宽度 */
}

	.form-control:focus {
		border-color: #3182ce;
		box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
		outline: none;
	}

	.form-control::placeholder {
		color: #94a3b8;
		font-size: 14px;
	}

.text-danger {
	color: #e53e3e;
	font-size: 13px;
	margin-top: 5px;
	display: block;
}

.btn {
	width: 100%;
	height: 50px;
	background: #3182ce;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s ease;
}

	.btn:hover {
		background: #2563eb;
	}

.form-bottom > div:last-child h3 {
	font-size: 15px;
	font-weight: normal;
	color: #4a5568;
}

	.form-bottom > div:last-child h3 a {
		color: #3182ce;
		text-decoration: none;
		border-bottom: 2px dotted #3182ce;
		transition: all 0.3s ease;
	}

		.form-bottom > div:last-child h3 a:hover {
			color: #2563eb;
			border-bottom-color: #2563eb;
		}

/* 响应式适配：小屏幕优化 */
@media (max-width: 576px) {
	.form-top {
		flex-direction: column;
		text-align: center;
		gap: 15px;
	}



	.form-bottom {
		padding: 20px 15px;
	}

	.form-control {
		height: 44px;
	}

	.btn {
		height: 46px;
	}
}
