/* 管理后台登录页 — 深色专业风 */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.login-page {
	min-height: 100vh;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	color: #c5d0de;
	background: #070a0f;
	overflow-x: hidden;
}

.login-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(ellipse 100% 80% at 15% 20%, rgba(0, 200, 220, 0.12), transparent 55%),
		radial-gradient(ellipse 80% 60% at 85% 10%, rgba(120, 90, 220, 0.1), transparent 50%),
		radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0, 160, 180, 0.06), transparent 45%),
		linear-gradient(165deg, #05070b 0%, #0a0f16 50%, #06080c 100%);
	pointer-events: none;
}

.login-grid {
	position: fixed;
	inset: 0;
	z-index: 0;
	opacity: 0.18;
	background-image:
		linear-gradient(rgba(0, 212, 255, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 212, 255, 0.07) 1px, transparent 1px);
	background-size: 56px 56px;
	pointer-events: none;
	mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 15%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 15%, transparent 70%);
}

.login-shell {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: flex;
	align-items: stretch;
	justify-content: center;
	max-width: 1080px;
	margin: 0 auto;
	padding: clamp(24px, 5vw, 48px);
	gap: clamp(32px, 6vw, 80px);
}

.login-brand {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	max-width: 480px;
	padding-top: 1rem;
}

.login-brand__hero {
	font-size: clamp(2.5rem, 6.5vw, 3.75rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.08em;
	margin: 0;
	background: linear-gradient(115deg, #e8f4ff 0%, #2ee6ff 35%, #7eb8ff 65%, #c8e8ff 100%);
	background-size: 160% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 0 48px rgba(0, 212, 255, 0.15);
}

.login-panel {
	flex: 0 1 400px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.login-panel__inner {
	width: 100%;
	padding: clamp(28px, 5vw, 40px);
	border-radius: 12px;
	background: rgba(14, 20, 30, 0.75);
	border: 1px solid rgba(0, 212, 255, 0.18);
	box-shadow:
		0 24px 64px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(255, 255, 255, 0.03) inset,
		0 0 40px rgba(0, 212, 255, 0.04);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.login-panel__head {
	margin-bottom: 1.75rem;
}

.login-panel__h {
	font-size: 1.25rem;
	font-weight: 600;
	color: #eef3f9;
	margin-bottom: 0.35rem;
}

.login-panel__sub {
	font-size: 0.8125rem;
	color: #6b7c90;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.login-form__group {
	margin-bottom: 1.25rem;
}

.login-form__label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #9aacbf;
	margin-bottom: 0.5rem;
}

.login-form__field {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0 14px;
	height: 46px;
	border-radius: 8px;
	background: rgba(6, 10, 16, 0.85);
	border: 1px solid rgba(0, 212, 255, 0.15);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-form__field:focus-within {
	border-color: rgba(0, 212, 255, 0.45);
	box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}

.login-form__icon {
	flex-shrink: 0;
	color: #5a6d82;
	display: flex;
	align-items: center;
	justify-content: center;
}

.login-form__field:focus-within .login-form__icon {
	color: #2ee6ff;
}

.login-form__input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: none;
	background: transparent;
	font-size: 0.9375rem;
	color: #e8edf4;
	outline: none;
}

.login-form__input::placeholder {
	color: #5a6d82;
}

.login-form__submit {
	width: 100%;
	height: 46px;
	margin-top: 0.5rem;
	border: none;
	border-radius: 8px;
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	color: #061016;
	cursor: pointer;
	background: linear-gradient(135deg, #2ee6ff 0%, #1ab8d4 45%, #6b8cff 100%);
	box-shadow: 0 8px 24px rgba(0, 200, 220, 0.25);
	transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.login-form__submit:hover {
	filter: brightness(1.05);
	box-shadow: 0 10px 28px rgba(0, 200, 220, 0.32);
}

.login-form__submit:active {
	transform: translateY(1px);
}

.login-panel__foot {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 0.75rem;
	color: #5a6d82;
	text-align: center;
}

@media (max-width: 880px) {
	.login-shell {
		flex-direction: column;
		align-items: center;
		padding-top: 32px;
	}

	.login-brand {
		max-width: 100%;
		text-align: center;
		align-items: center;
		padding-top: 0;
	}

	.login-brand__hero {
		letter-spacing: 0.12em;
	}

	.login-panel {
		flex: 1;
		width: 100%;
		max-width: 400px;
	}
}

@media (max-width: 400px) {
	.login-panel__inner {
		padding: 24px 20px;
	}
}
