@charset "utf-8";
/**
 * Login — 样式1 柔和黑灰/淡绿（#5a6573 / #B5C4A0）
 */

*, *:before, *:after {
	box-sizing: border-box;
}

html, body.login-page {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	min-height: 640px;
	font-family: "Segoe UI", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	color: #5a6573;
	overflow: hidden;
}

.login-page {
	background: #eef2f5;
	background: linear-gradient(165deg, #f0f4f8 0%, #e8eef3 45%, #dde4ea 100%);
}

.login-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.login-bg-grid {
	position: absolute;
	inset: 0;
	opacity: 0.3;
	background-image:
		linear-gradient(rgba(52, 58, 64, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(52, 58, 64, 0.05) 1px, transparent 1px);
	background-size: 48px 48px;
}

.login-bg-glow {
	position: absolute;
	width: 720px;
	height: 720px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(181, 196, 160, 0.12) 0%, transparent 68%);
	top: -220px;
	right: -120px;
}

.login-bg-glow-2 {
	position: absolute;
	width: 560px;
	height: 560px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(52, 58, 64, 0.1) 0%, transparent 70%);
	bottom: -160px;
	left: -80px;
}

/* ── Top brand bar ── */
.login-topbar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 3;
	padding: 16px 32px 16px 24px;
	border-bottom: 1px solid #6b7580;
	background: #5a6573;
	box-shadow: 0 2px 8px rgba(52, 58, 64, 0.15);
}

.login-topbar-inner {
	width: 100%;
	margin: 0;
}

.login-topbar-brand {
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 18px;
	padding-bottom: 2px;
}

.login-topbar-logo {
	display: block;
	height: 48px;
	width: auto;
	max-width: 280px;
	object-fit: contain;
	flex-shrink: 0;
}

.login-topbar-text h1 {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	color: #ffffff;
	letter-spacing: 0.3px;
	line-height: 1.3;
	padding-bottom: 8px;
}

.login-topbar .brand-tag {
	display: inline-block;
	margin-top: 4px;
	padding: 2px 10px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(181, 196, 160, 0.45);
	border-radius: 2px;
	background: rgba(181, 196, 160, 0.15);
}

/* ── Center shell ── */
.login-wrap {
	position: relative;
	z-index: 1;
	display: table;
	width: 100%;
	height: 100%;
}

.login-wrap-inner {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	padding: 96px 24px 40px;
}

.login-card {
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: stretch;
	text-align: left;
	width: 920px;
	max-width: 96%;
	min-height: 420px;
	border-radius: 4px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #dee2e6;
	box-shadow:
		0 4px 20px rgba(181, 196, 160, 0.08),
		0 8px 32px rgba(52, 58, 64, 0.05);
	position: relative;
}

.login-card::after {
	display: none;
}

.login-card-corner {
	position: absolute;
	width: 18px;
	height: 18px;
	border-style: solid;
	z-index: 2;
	pointer-events: none;
}

.login-card-corner.tl { top: 0; left: 0; border-width: 2px 0 0 2px; border-color: #5a6573; }
.login-card-corner.tr { top: 0; right: 0; border-width: 2px 2px 0 0; border-color: #5a6573; }
.login-card-corner.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; border-color: #B5C4A0; }
.login-card-corner.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; border-color: #B5C4A0; }

/* ── Left panel ── */
.login-panel-left {
	flex: 0 0 40%;
	min-height: 420px;
	padding: 40px 36px 44px;
	background: linear-gradient(165deg, #5a6573 0%, #5a6573 55%, #647085 100%);
	border-right: 1px solid #6b7580;
	border-radius: 4px 0 0 4px;
	position: relative;
	align-self: stretch;
}

.login-panel-left::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 3px;
	height: 100%;
	background: linear-gradient(180deg, #5a6573 0%, #B5C4A0 50%, #5a6573 100%);
	opacity: 0.75;
}

.login-panel-left h2 {
	margin: 0 0 12px;
	font-size: 28px;
	font-weight: 300;
	color: #ffffff;
	letter-spacing: 0.5px;
}

.login-panel-left .panel-sub {
	margin: 0 0 32px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.7;
}

.login-feature-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.login-feature-list li {
	position: relative;
	padding: 10px 0 10px 22px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.88);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	line-height: 1.5;
}

.login-feature-list li:last-child {
	border-bottom: none;
}

.login-feature-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 16px;
	width: 8px;
	height: 8px;
	border: 1px solid #B5C4A0;
	border-radius: 50%;
	background: rgba(181, 196, 160, 0.45);
}

/* ── Right form panel ── */
.login-panel-right {
	flex: 1 1 60%;
	padding: 40px 44px 36px;
	min-height: 420px;
	background: #ffffff;
}

.login-form-heading {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 600;
	color: #5a6573;
	letter-spacing: 0.3px;
}

.login-form-desc {
	margin: 0 0 28px;
	font-size: 13px;
	color: #6c757d;
}

.login-field {
	margin-bottom: 20px;
}

.login-field > label {
	display: block;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #727d89;
}

.login-input-wrap {
	border: 1px solid #dee2e6;
	border-radius: 4px;
	background: #f8f9fa;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.login-input-wrap.is-focus {
	border-color: #5a6573;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(181, 196, 160, 0.18);
}

.login-input-wrap input[type="text"],
.login-input-wrap input[type="password"] {
	display: block;
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border: none;
	background: transparent;
	font-size: 14px;
	color: #5a6573;
	outline: none;
	font-family: inherit;
}

.login-input-wrap input::-webkit-input-placeholder { color: #adb5bd; }
.login-input-wrap input:-moz-placeholder { color: #adb5bd; }
.login-input-wrap input::placeholder { color: #adb5bd; }

/* captcha */
.login-captcha-row {
	display: table;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 12px 0;
	margin-left: -12px;
	width: calc(100% + 12px);
}

.login-captcha-input-cell {
	display: table-cell;
	vertical-align: middle;
}

.login-captcha-img-cell {
	display: table-cell;
	width: 122px;
	vertical-align: middle;
}

.login-captcha-box {
	width: 122px;
	height: 44px;
	padding: 0;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	background: #f8f9fa;
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.login-captcha-box:hover {
	border-color: #5a6573;
	box-shadow: 0 0 0 3px rgba(181, 196, 160, 0.15);
}

.captcha-img {
	display: block;
	width: 100%;
	height: 44px;
	border: none;
	margin: 0;
	padding: 0;
	object-fit: contain;
}

.login-captcha-hint {
	margin-top: 6px;
	font-size: 11px;
	color: #adb5bd;
}

.login-remember-row {
	margin: 4px 0 26px;
	overflow: hidden;
}

.login-remember-row input[type="checkbox"] {
	display: none;
}

.login-remember-row label[for="chkSvPwd"] {
	display: inline-block;
	width: 16px;
	height: 16px;
	cursor: pointer;
	float: left;
	border: 1px solid #ced4da;
	border-radius: 2px;
	background: #ffffff;
	margin-top: 1px;
}

.login-remember-row input[type="checkbox"]:checked + label {
	background: #5a6573;
	border-color: #727d89;
}

.login-remember-row input[type="checkbox"]:checked + label::before {
	display: block;
	content: "\2714";
	text-align: center;
	font-size: 11px;
	color: #ffffff;
	line-height: 14px;
	font-weight: bold;
}

.login-remember-text {
	float: left;
	margin-left: 10px;
	font-size: 13px;
	color: #727d89;
	line-height: 18px;
	cursor: pointer;
}

#subBtn {
	cursor: pointer;
	display: block;
	width: 100%;
	height: 48px;
	line-height: 46px;
	text-align: center;
	border: 1px solid #5a6573;
	border-radius: 4px;
	background: #5a6573;
	color: #ffffff;
	transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
	box-shadow: 0 2px 8px rgba(52, 58, 64, 0.25);
}

#subBtn:hover {
	background: #727d89;
	border-color: #727d89;
	box-shadow: 0 4px 14px rgba(52, 58, 64, 0.3);
}

#subBtn .login-btn-text {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #ffffff;
}

.login-form-footer {
	margin-top: 20px;
	font-size: 11px;
	color: #adb5bd;
	text-align: center;
	letter-spacing: 0.5px;
}

/* 登录页 LigerUI 弹窗 */
body.login-page .l-dialog,
body.login-page .l-dialog-win {
	border-color: #dee2e6 !important;
}

body.login-page .l-dialog-title {
	background: linear-gradient(90deg, #5a6573 0%, #5a6573 100%) !important;
	color: #ffffff !important;
	border-color: #5a6573 !important;
}

body.login-page .l-dialog-buttons {
	background: #f8f9fa !important;
	border-top: 1px solid #dee2e6 !important;
}

body.login-page .l-dialog-btn {
	background: #5a6573 !important;
	color: #ffffff !important;
	border-color: #727d89 !important;
}

body.login-page .l-dialog-btn-over {
	background: #727d89 !important;
}
