
/* ============ 独立登录页：全屏雾青中调科技感背景 ============ */
html,body{height:100%;margin:0;padding:0;}
body{
	background:
		radial-gradient(1100px 750px at 82% -8%, rgba(60,150,150,.22), transparent 60%),
		radial-gradient(900px 700px at 6% 18%, rgba(80,160,180,.14), transparent 55%),
		radial-gradient(760px 620px at 52% 112%, rgba(70,170,160,.12), transparent 55%),
		linear-gradient(158deg, #dcefec 0%, #c2e2dd 55%, #a6d2cd 100%);
}
/* 科技网格 */
body::before{
	content:""; position:fixed; inset:0; z-index:0;
	background:
		linear-gradient(rgba(40,120,120,.12) 1px, transparent 1px),
		linear-gradient(90deg, rgba(40,120,120,.12) 1px, transparent 1px);
	background-size:46px 46px;
	mask-image:radial-gradient(ellipse at 50% 42%, #000 18%, transparent 78%);
	-webkit-mask-image:radial-gradient(ellipse at 50% 42%, #000 18%, transparent 78%);
	pointer-events:none;
}
/* 漂浮光点 */
body::after{
	content:""; position:fixed; inset:0; z-index:0; pointer-events:none;
	background:
		radial-gradient(2px 2px at 20% 30%, rgba(60,150,150,.6), transparent 3px),
		radial-gradient(2px 2px at 72% 18%, rgba(80,160,180,.55), transparent 3px),
		radial-gradient(3px 3px at 84% 62%, rgba(70,170,160,.55), transparent 4px),
		radial-gradient(2px 2px at 34% 74%, rgba(60,150,150,.5), transparent 3px),
		radial-gradient(2px 2px at 58% 88%, rgba(80,160,180,.55), transparent 3px);
}
/* 居中舞台 */
.login-page{
	position:relative; z-index:2;
	min-height:100vh;
	display:flex;
	padding:26px 18px; box-sizing:border-box;
	overflow-y:auto;
}
.login-stage{
	position:relative;
	width:100%; max-width:520px;
	margin:auto;
}
/* 背景柔光动画装饰（不影响功能） */
.bg-anim{ position:absolute; left:0; top:0; right:0; bottom:0; pointer-events:none; z-index:0; overflow:hidden; }
.bg-glow{ position:absolute; border-radius:50%; filter:blur(46px); animation:bgDrift 16s ease-in-out infinite, bgBreath 9s ease-in-out infinite; }
.bg-glow.g1{ width:430px; height:430px; left:4%; top:-80px; background:radial-gradient(circle,#8fd8cc,#8fd8cc00 62%); }
.bg-glow.g2{ width:540px; height:540px; right:2%; bottom:-120px; background:radial-gradient(circle,#9fe0d6,#9fe0d600 62%); animation:bgDrift 20s ease-in-out infinite reverse, bgBreath 11s ease-in-out infinite; }
.bg-glow.g3{ width:320px; height:320px; left:38%; top:34%; background:radial-gradient(circle,#c8efe8,#c8efe800 66%); animation:bgDrift 24s ease-in-out infinite, bgBreath 13s ease-in-out infinite; }
/* 柔和光带：缓慢来回流动 */
.bg-band{ position:absolute; left:-20%; width:140%; height:220px; border-radius:50%; filter:blur(42px); background:linear-gradient(90deg,transparent,#8fd8cc 30%,#d2f2ec 50%,#8fd8cc 70%,transparent); opacity:.6; animation:bgFlow 22s ease-in-out infinite alternate; }
.bg-band.b1{ top:16%; }
.bg-band.b2{ top:64%; animation-duration:30s; animation-direction:alternate-reverse; opacity:.45; }
@keyframes bgFlow{
	from{ transform:translateX(-5%); }
	to{ transform:translateX(5%); }
}
@keyframes bgBreath{
	0%,100%{ opacity:.55; }
	50%{ opacity:.92; }
}
@keyframes bgDrift{
	0%,100%{ transform:translate(0,0) scale(1); }
	50%{ transform:translate(30px,-22px) scale(1.15); }
}

.niu-sprite{
	position:absolute;
	left:50%; top:-111px;
	width:160px; height:119px;
	margin-left:-150px;
	background:url(images/state_img.gif) no-repeat;
	background-size:100% auto;
	background-position:0 0;
	mix-blend-mode:multiply;
	z-index:6;
	pointer-events:none;
	image-rendering:auto;
	-webkit-image-rendering:auto;
}

.login-stage.focus-user .niu-sprite{ background-position:0 -122px; }
.login-stage.empty-pwd .niu-sprite{ background-position:0 -122px; }
.login-stage.empty-captcha .niu-sprite{ background-position:0 -122px; }
.login-stage.focus-pwd .niu-sprite{ background-position:0 -245px; }
.login-stage.focus-captcha .niu-sprite{ background-position:0 -122px; }
.login-stage.focus-err .niu-sprite{ background-position:0 -358px; }

.niu-bubble{
	position:absolute;
	z-index:8;
	background:#fff;
	border:1px solid #dde6f5;
	border-radius:22px;
	padding:9px 18px;
	font-size:15px;
	color:#4875d8;
	box-shadow:0 8px 24px rgba(72,117,214,.18);
	opacity:0;
	transform:scale(.6) translateY(6px);
	transition:opacity .3s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
	width:max-content;
	max-width:min(240px, 80vw);
	white-space:normal;
	line-height:1.4;
	pointer-events:none;
}

.niu-bubble::after{
	content:"";
	position:absolute;
	bottom:-5px; left:-10px;
	width:12px; height:12px; border-radius:50%;
	background:#fff; border:1px solid #dde6f5;
	box-shadow:-17px 2px 0 -1px #f3f7fe, -29px 4px 0 -2px #f3f7fe;
}
.niu-bubble.bubble-success::after{ border-color:#a8e0b5; box-shadow:-17px 2px 0 -1px #eaf7ef, -29px 4px 0 -2px #eaf7ef; }
.niu-bubble.bubble-user,
.niu-bubble.bubble-pwd,
.niu-bubble.bubble-err,
.niu-bubble.bubble-welcome,
.niu-bubble.bubble-success,
.niu-bubble.bubble-captcha{ left:50%; margin-left:30px; top:-110px; }
.niu-bubble.bubble-err{ color:#c0392b; border-color:transparent; background:#fff5f5; box-shadow:0 8px 24px rgba(192,57,43,.14); }
.niu-bubble.bubble-success{ color:#1e7e34; border-color:#a8e0b5; background:#f0faf0; box-shadow:0 8px 24px rgba(30,126,52,.16); }

.login-notice{
	margin:0 0 14px;
	padding:10px 14px;
	border-radius:10px;
	font-size:13px;
	line-height:1.5;
	color:#b4600a;
	background:#fff8ec;
	border:1px solid #f5d9a8;
	text-align:center;
	display:none;
}
.login-stage.focus-user .bubble-user,
.login-stage.focus-pwd .bubble-pwd,
.login-stage.focus-err .bubble-err,
.login-stage.focus-captcha .bubble-captcha,
.login-stage.focus-success .bubble-success,
.login-stage.empty-pwd .bubble-pwd,
.login-stage.empty-captcha .bubble-captcha{ opacity:1; transform:scale(1) translateY(0); }
.login-stage:not(.focus-user):not(.focus-pwd):not(.focus-captcha):not(.focus-err):not(.focus-success):not(.empty-pwd):not(.empty-captcha) .bubble-welcome{ opacity:1; transform:scale(1) translateY(0); }

.login-stage.empty-pwd .niu-sprite{ background-position:0 -122px; }

.login_box{
	width:100%;
	position:relative;
	z-index:5;
	background:#fff;
	border-radius:18px;
	padding:34px 40px 28px;
	box-sizing:border-box;
	border:1px solid rgba(50,140,140,.35);
	box-shadow:0 18px 48px rgba(50,140,140,.22), 0 4px 16px rgba(50,140,140,.14);
}
.login_box h3{
	font-size:30px; color:#34495e; text-align:center;
	margin:-5px 0 20px;
	font-weight:800; letter-spacing:1px;
}
.login_box h3 p{ font-size:14px; color:#8a94a6; margin:6px 0 0; font-weight:400; letter-spacing:2px; }
.tip-line{ display:none; text-align:center; color:#9aa7bd; font-size:13px; margin:0 0 22px; }
.sjhms02{ margin-bottom:18px; }
/* 密码框明文切换按钮 */
.pwd-wrap{ position:relative; }
.pwd-wrap .sj_01{ padding-right:44px; }
.pwd-eye{
	position:absolute; right:8px; top:50%; transform:translateY(-50%);
	width:36px; height:36px; border:none; background:transparent; border-radius:8px;
	cursor:pointer; color:#8a94a6; display:flex; align-items:center; justify-content:center;
	transition:color .2s, background .2s;
}
.pwd-eye:hover{ color:#4875d8; background:rgba(72,117,216,.08); }
.pwd-eye svg{ pointer-events:none; }
.sjhms02 .sj_01,.sjhms02 .sj_02{
	width:100%; box-sizing:border-box;
	height:50px; border:1px solid #dfe6f2; border-radius:10px;
	padding:0 16px; font-size:15px; color:#34495e; background:#f6f8fc;
	outline:none; transition:border-color .25s, box-shadow .25s, background .25s;
}
.sjhms02 .sj_01:focus,.sjhms02 .sj_02:focus{
	border-color:#4875d8; background:#fff;
	box-shadow:0 0 0 3px rgba(72,117,214,.15);
}
.yzm-row{ display:flex; gap:10px; }
.yzm-row .sj_02{ flex:1; }
.hqyzm{
	width:114px; height:50px; border-radius:10px;
	cursor:pointer; border:1px solid #dfe6f2; background:#fff;
	object-fit:contain;
}
.jzdl{ margin:6px 0 18px; }
.icon-checkbox{ display:flex; align-items:center; gap:8px; cursor:pointer; color:#5a6b82; font-size:14px; }
.icon-checkbox input{ display:none; }
.checkbox-box{
	width:18px; height:18px; border-radius:5px;
	border:1px solid #cfd8e6; background:#fff; position:relative;
	transition:background .2s, border-color .2s;
}
.icon-checkbox input:checked + .checkbox-box{ background:#4875d8; border-color:#4875d8; }
.icon-checkbox input:checked + .checkbox-box::after{
	content:""; position:absolute; left:5px; top:2px;
	width:5px; height:9px; border:solid #fff; border-width:0 2px 2px 0;
	transform:rotate(45deg);
}
.btn_lg{
	width:100%; height:50px; border:none; border-radius:10px;
	background:linear-gradient(90deg,#4875d8,#7a5ceb);
	color:#fff; font-size:16px; font-weight:700; letter-spacing:4px;
	cursor:pointer; transition:transform .2s, box-shadow .2s, opacity .2s;
	box-shadow:0 10px 24px rgba(72,117,214,.35);
}
.btn_lg:hover{ transform:translateY(-2px); box-shadow:0 14px 30px rgba(72,117,214,.45); }
.btn_lg.loading{ opacity:.7; cursor:wait; transform:none; }
.btn_lg:disabled{ cursor:not-allowed; }
.btn_lg:disabled:hover{ transform:none; box-shadow:0 10px 24px rgba(72,117,214,.35); }
/* ============ QQ登录入口 ============ */
.oauth-divider{
	display:flex; align-items:center; gap:12px;
	margin:18px 0 12px; color:#8aa3a8; font-size:12px;
}
.oauth-divider::before,.oauth-divider::after{ content:""; flex:1; height:1px; background:rgba(90,140,140,.18); }
.qq-login-btn{
	display:flex; align-items:center; justify-content:center; gap:8px;
	width:100%; padding:11px 0; border-radius:10px;
	background:linear-gradient(90deg,#12b7f5,#0d94d6);
	color:#fff; font-size:15px; font-weight:600; letter-spacing:1px;
	text-decoration:none; border:none; cursor:pointer;
	transition:transform .2s, box-shadow .2s, opacity .2s;
	box-shadow:0 8px 20px rgba(18,183,245,.3);
}
.qq-login-btn:hover{ transform:translateY(-2px); box-shadow:0 12px 26px rgba(18,183,245,.42); }
.qq-login-btn.loading{ opacity:.7; cursor:wait; transform:none; }
.qq-login-btn .qq-ico{
	font-size:20px;
	line-height:1;
	display:block;
	flex:0 0 auto;
	transform:translateY(2px);
}
.login_box .links{
	margin-top:18px;
	display:flex; justify-content:space-between;
	font-size:14px;
}
.login_box .links a{ color:#4875d8; text-decoration:none; }
.login_box .links a:hover{ text-decoration:underline; }
.login_box .links span{ color:#8a94a6; }
.login_box .msg-line{ margin-top:14px; text-align:center; }
.alert-footer{
	margin:18px auto 0;
	display:flex; align-items:center; justify-content:center;
	gap:8px;
}
.alert-footer svg{ display:block; align-self:center; flex:none; transform:translateY(5px); }
.alert-footer-text{ display:flex; flex-direction:column; justify-content:center; color:#7A7A7A; font-size:13px; }
.alert-footer-text p{ margin:0; color:#0B85CC; font-size:16px; line-height:20px; }
/* toast 提示（全站统一 toast-corner 样式） */
.toast-corner-box{ position:fixed; bottom:30px; right:20px; z-index:99999; display:flex; flex-direction:column; gap:10px; }
.toast-corner-item{
	min-width:200px; max-width:360px; padding:12px 18px; border-radius:10px;
	font-size:14px; box-shadow:0 4px 16px rgba(0,0,0,.1);
	animation:toastSlideIn .3s ease-out; word-break:break-all;
	border:1px solid rgba(0,0,0,.05); font-weight:500; line-height:1.5;
}
.toast-corner-item.post{ background:#f0faf0; color:#1e7e34; border-left:4px solid #2ecc71; }
.toast-corner-item.success{ background:#f0faf0; color:#1e7e34; border-left:4px solid #2ecc71; }
.toast-corner-item.edit{ background:#f0f6ff; color:#1e6fd9; border-left:4px solid #4a90e2; }
.toast-corner-item.del{ background:#fff8ec; color:#b4600a; border-left:4px solid #f39c12; }
.toast-corner-item.error{ background:#fff1f1; color:#c0392b; border-left:4px solid #e74c3c; }
@keyframes toastSlideIn{ from{opacity:0; transform:translateX(40px)} to{opacity:1; transform:translateX(0)} }
@media all and (max-width:768px){
	.login-page{ padding:104px 16px 30px; }
	.login-stage{ max-width:460px; }
	.niu-sprite{ width:120px; height:89px; margin-left:-130px; top:-82px; background-size:120px 353.25px; }
	.login-stage.focus-user .niu-sprite{ background-position:0 -91.5px; }
	.login-stage.empty-pwd .niu-sprite{ background-position:0 -91.5px; }
	.login-stage.empty-captcha .niu-sprite{ background-position:0 -91.5px; }
	.login-stage.focus-pwd .niu-sprite{ background-position:0 -183.75px; }
	.login-stage.focus-captcha .niu-sprite{ background-position:0 -91.5px; }
	.login-stage.focus-err .niu-sprite{ background-position:0 -268.5px; }
	.niu-bubble{ font-size:13px; padding:7px 14px; max-width:min(178px, 80vw); overflow-wrap:break-word; word-break:break-word; }
	.niu-bubble.bubble-user,
	.niu-bubble.bubble-pwd,
	.niu-bubble.bubble-err,
	.niu-bubble.bubble-welcome,
	.niu-bubble.bubble-success,
	.niu-bubble.bubble-captcha{ margin-left:20px; top:-73px; }
	.niu-bubble::after{
		content:"";
		position:absolute;
		bottom:-2px; left:-8px;
		width:9px; height:9px; border-radius:50%;
		background:#fff; border:1px solid #dde6f5;
		box-shadow:-13px 2px 0 -1px #f3f7fe, -22px 4px 0 -2px #f3f7fe;
	}
	.niu-bubble.bubble-success::after{ border-color:#a8e0b5; box-shadow:-13px 2px 0 -1px #eaf7ef, -22px 4px 0 -2px #eaf7ef; }
	.login_box{ padding:26px 20px 22px; }
	.login_box h3{ font-size:24px; }
	.login_box h3 p{ font-size:13px; }
	.tip-line{ display:block; color:#4875d8; font-size:13px; margin:0 0 12px; }
	.login_box .links{ flex-wrap:wrap; gap:6px; }
}
