/* 中钢安环院 · PC 管理端登录 */

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

body.login-page {
	min-height: 100vh;
	font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	color: #0f2438;
	background: #061526;
	overflow-x: hidden;
}

.login-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	background: linear-gradient(165deg, #0a2744 0%, #123a5c 42%, #0d4a4a 100%);
}

.login-bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.42;
}

.login-bg-mask {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(6, 21, 38, 0.55) 0%,
		rgba(6, 21, 38, 0.72) 45%,
		rgba(6, 21, 38, 0.9) 100%
	);
}

.login-wrap {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 20px 28px;
	box-sizing: border-box;
}

.login-hero {
	width: min(420px, 100%);
	position: relative;
	overflow: hidden;
	border-radius: 14px 14px 0 0;
	min-height: 148px;
	background: #0b3a5c;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.login-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.55;
}

.login-hero-mask {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		120deg,
		rgba(6, 24, 42, 0.9) 0%,
		rgba(11, 58, 92, 0.55) 55%,
		rgba(200, 16, 46, 0.28) 100%
	);
}

.login-hero-body {
	position: relative;
	z-index: 1;
	padding: 22px 24px 20px;
}

.login-org-logo {
	display: block;
	width: 100%;
	height: 52px;
	object-fit: contain;
	object-position: left center;
	margin-bottom: 14px;
}

.login-brand {
	font-size: 12px;
	letter-spacing: 0.14em;
	color: rgba(255, 214, 180, 0.92);
	font-weight: 600;
	margin-bottom: 8px;
}

.login-hero-title {
	font-size: 24px;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
	letter-spacing: 0.02em;
}

.login-hero-sub {
	margin-top: 8px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.45;
}

.login-card {
	width: min(420px, 100%);
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.96);
	border-radius: 0 0 14px 14px;
	padding: 28px 28px 22px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(8px);
}

.login-error {
	margin-bottom: 16px;
	padding: 10px 12px;
	border-radius: 8px;
	background: rgba(200, 16, 46, 0.08);
	color: #c8102e;
	font-size: 13px;
	line-height: 1.4;
}

.login-card .layui-form-item {
	margin-top: 0 !important;
	margin-bottom: 16px;
}

.login-card .layui-input {
	height: 44px !important;
	line-height: 44px !important;
	padding-left: 14px !important;
	border-radius: 8px !important;
	border: 1px solid #c5d3e0 !important;
	background: #f4f7fa !important;
}

.login-card .layui-input:focus {
	border-color: #0b3a5c !important;
	box-shadow: 0 0 0 2px rgba(11, 58, 92, 0.15) !important;
}

.login-card .layui-form-danger:focus {
	box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.18) !important;
}

.login-btn {
	width: 100% !important;
	height: 44px !important;
	line-height: 44px !important;
	margin-top: 4px;
	border: none !important;
	border-radius: 8px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #fff !important;
	background: linear-gradient(135deg, #0b3a5c 0%, #145a8a 100%) !important;
	cursor: pointer;
}

.login-btn:hover {
	filter: brightness(1.06);
}

.login-card .layui-form-item:last-child {
	margin-bottom: 0;
}

.login-footer {
	width: min(420px, 100%);
	margin-top: 28px;
	text-align: center;
	color: rgba(255, 255, 255, 0.55);
	font-size: 12px;
	line-height: 1.6;
}

.login-footer .org-short {
	color: rgba(255, 255, 255, 0.9);
	font-weight: 650;
	letter-spacing: 0.08em;
	font-size: 13px;
}

.login-footer .org-full {
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.5);
}

.login-footer .copy {
	margin-top: 10px;
	color: rgba(255, 255, 255, 0.4);
	font-size: 11px;
	padding: 0 8px;
}

.login-footer .site {
	margin-top: 2px;
	color: rgba(255, 255, 255, 0.32);
	letter-spacing: 0.02em;
}

@media (max-width: 480px) {
	.login-hero-title {
		font-size: 20px;
	}

	.login-card {
		padding: 22px 18px 18px;
	}
}
