/**
 * 登录页（管理端 / 用户端）— Ra-admin 风格
 */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@500;600;700;800&display=swap");

body.login-page {
	font-family: "Nunito", "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
	color: #1e293b;
	line-height: 1.55;
	font-size: 14px;
	overflow-x: hidden;
	min-height: 100vh;
	margin: 0;
	background:
		radial-gradient(ellipse 70% 50% at 10% 20%, rgba(14, 165, 233, 0.22), transparent 55%),
		radial-gradient(ellipse 60% 45% at 90% 80%, rgba(6, 182, 212, 0.18), transparent 50%),
		linear-gradient(160deg, #0f172a 0%, #0c4a6e 48%, #0369a1 100%);
	background-attachment: fixed;
}

.login-box {
	display: flex !important;
	min-height: 100vh;
	align-items: center !important;
	justify-content: center !important;
	padding: 24px 16px;
}

.login-shell {
	display: flex;
	width: 100%;
	max-width: 920px;
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 28px 64px rgba(15, 23, 42, 0.28);
}

.login-aside {
	flex: 0 0 42%;
	padding: 40px 32px;
	background:
		radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 42%),
		linear-gradient(160deg, #0ea5e9 0%, #0284c7 55%, #0c4a6e 100%);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.login-aside h1 {
	font-size: 1.55rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: 0 0 10px;
}

.login-aside p {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	opacity: .92;
}

.login-aside-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255,255,255,.16);
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 22px;
}

.login-aside-foot {
	font-size: 12px;
	opacity: .75;
	margin-top: 28px;
}

.login-center {
	flex: 1;
	background: #fff;
	width: 100%;
	max-width: none;
	padding: 42px 40px 32px;
	border-radius: 0;
	box-shadow: none;
}

.login-header {
	margin-bottom: 1.75rem !important;
}

.login-header h2 {
	font-size: 1.45rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #0f172a;
	margin-top: .85rem;
	margin-bottom: .35rem;
}

.login-header .login-sub {
	font-size: 13px;
	color: #64748b;
	margin: 0;
}

.login-header img {
	max-width: 160px;
	height: auto;
}

.login-page .form-control {
	padding-left: 42px;
	padding-right: 12px;
	min-height: 46px;
	border-radius: 12px;
	border-color: #e2e8f0;
	background: #f8fafc;
	font-weight: 600;
}

.login-page .form-control:focus {
	background: #fff;
	border-color: #0ea5e9;
	box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.login-page .fa-span {
	position: absolute;
	top: 0;
	left: 0;
	width: 42px;
	height: 46px;
	line-height: 46px;
	z-index: 4;
	color: #94a3b8;
	text-align: center;
	pointer-events: none;
}

.login-page .form-group {
	position: relative;
	margin-bottom: 1.05rem;
}

.login-captcha {
	background: #f8fafc;
	text-align: center;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	font-size: 14px;
	font-weight: 600;
	color: #475569;
}

.login-captcha input {
	width: 64px;
	height: 34px;
	margin-left: 10px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	text-align: center;
	font-weight: 700;
}

.login-page .btn-success {
	min-height: 46px;
	border-radius: 12px;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: .02em;
	background: linear-gradient(135deg, #0ea5e9, #0284c7);
	border: none;
	box-shadow: 0 10px 20px rgba(14, 165, 233, 0.28);
}

.login-page .btn-success:hover {
	background: linear-gradient(135deg, #0284c7, #0369a1);
	box-shadow: 0 12px 24px rgba(2, 132, 199, 0.32);
}

.login-page footer p {
	color: #94a3b8;
	font-size: 12px;
	margin: 0;
}

.auth-links a {
	color: #0ea5e9;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.auth-links a:hover {
	color: #0284c7;
	text-decoration: underline;
}

.login-page .input-group .form-control {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.login-page .input-group-append .btn {
	border-radius: 0 12px 12px 0;
	min-height: 46px;
	white-space: nowrap;
}

.login-page hr {
	border-top-color: #eef2f7;
}

@media (max-width: 767px) {
	.login-shell {
		flex-direction: column;
		max-width: 440px;
		border-radius: 16px;
	}

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

	.login-aside h1 {
		font-size: 1.2rem;
	}

	.login-aside p {
		font-size: 13px;
	}

	.login-aside-foot {
		display: none;
	}

	.login-center {
		padding: 28px 22px 22px;
	}
}

@media (max-width: 575px) {
	.login-header img {
		max-width: 140px;
	}
}
