
/* ============ 独立找回密码页：全屏雾青科技感背景（与登录页统一） ============ */
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(/login/images/state_img.gif) no-repeat;
	background-size:100% auto;
	background-position:0 0;
	mix-blend-mode:multiply;
	z-index:6;
	pointer-events:none;
}
/* 焦点状态切换帧：托手（账号/验证码/短信码/空校验） */
.login-stage.focus-account .niu-sprite,
.login-stage.empty-account .niu-sprite,
.login-stage.empty-captcha .niu-sprite,
.login-stage.empty-sms .niu-sprite,
.login-stage.empty-pwd .niu-sprite,
.login-stage.empty-confirm .niu-sprite,
.login-stage.focus-captcha .niu-sprite,
.login-stage.focus-sms .niu-sprite{ background-position:0 -122px; }
/* 捂眼（密码/确认密码） */
.login-stage.focus-pwd .niu-sprite,
.login-stage.focus-confirm .niu-sprite{ background-position:0 -245px; }
/* 俏皮（错误） */
.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-welcome,
.niu-bubble.bubble-account,
.niu-bubble.bubble-captcha,
.niu-bubble.bubble-sms,
.niu-bubble.bubble-pwd,
.niu-bubble.bubble-confirm,
.niu-bubble.bubble-success{ 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); left:50%; margin-left:30px; top:-110px; }
.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-account .bubble-account,
.login-stage.focus-captcha .bubble-captcha,
.login-stage.focus-sms .bubble-sms,
.login-stage.focus-pwd .bubble-pwd,
.login-stage.focus-confirm .bubble-confirm,
.login-stage.focus-err .bubble-err,
.login-stage.focus-success .bubble-success,
.login-stage.empty-account .bubble-account,
.login-stage.empty-captcha .bubble-captcha,
.login-stage.empty-sms .bubble-sms,
.login-stage.empty-pwd .bubble-pwd,
.login-stage.empty-confirm .bubble-confirm{ opacity:1; transform:scale(1) translateY(0); }
.login-stage:not(.focus-account):not(.focus-captcha):not(.focus-sms):not(.focus-pwd):not(.focus-confirm):not(.focus-err):not(.focus-success):not(.empty-account):not(.empty-captcha):not(.empty-sms):not(.empty-pwd):not(.empty-confirm) .bubble-welcome{ opacity:1; transform:scale(1) translateY(0); }

.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; }
.sjhms02{ margin-bottom:16px; }
.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);
}
/* 输入框内嵌小按钮（获取验证码） */
.sjhms02.slot{ position:relative; }
.sjhms02.slot .sj_01{ padding-right:88px; }
.sjhms02.slot .mini-btn{
	position:absolute; right:6px; top:7px;
	height:36px; padding:0 12px; border:none; border-radius:8px;
	background:linear-gradient(90deg,#4875d8,#7a5ceb);
	color:#fff; font-size:13px; cursor:pointer; white-space:nowrap;
}
.mini-btn.loading{ opacity:.7; cursor:wait; }
.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;
}
.sms-timer{ text-align:center; color:#7a5ceb; font-size:13px; margin-top:8px; display:none; }
.step-tip{
	margin:0 0 16px; padding:10px 14px; border-radius:10px;
	font-size:13px; color:#34495e; background:#f2f7fa; border:1px solid #d8e7f0; line-height:1.6;
	display:none;
}
.step-tip b{ color:#4875d8; }
.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; }
.anniu{ display:flex; gap:10px; margin-top:18px; }
.anniu .btn_lg{ flex:1; }
.btn_lg3{
	width:88px; height:50px; border:none; border-radius:10px;
	background:#3f4257; color:#fff; font-size:14px;
	cursor:pointer; transition:opacity .2s;
}
.btn_lg3:hover{ opacity:.85; }
.login_box .links{
	margin-top:16px;
	display:flex; justify-content:space-between; align-items:center;
	font-size:14px;
}
.login_box .links a{ color:#4875d8; text-decoration:none; }
.login_box .links a:hover{ text-decoration:underline; }
.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; }
@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-account .niu-sprite,
	.login-stage.empty-account .niu-sprite,
	.login-stage.empty-captcha .niu-sprite,
	.login-stage.empty-sms .niu-sprite,
	.login-stage.empty-pwd .niu-sprite,
	.login-stage.empty-confirm .niu-sprite,
	.login-stage.focus-captcha .niu-sprite,
	.login-stage.focus-sms .niu-sprite{ background-position:0 -91.5px; }
	.login-stage.focus-pwd .niu-sprite,
	.login-stage.focus-confirm .niu-sprite{ background-position:0 -183.75px; }
	.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-welcome,
	.niu-bubble.bubble-account,
	.niu-bubble.bubble-captcha,
	.niu-bubble.bubble-sms,
	.niu-bubble.bubble-pwd,
	.niu-bubble.bubble-confirm,
	.niu-bubble.bubble-err,
	.niu-bubble.bubble-success{ 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; }
	.login_box .links{ flex-wrap:wrap; gap:8px; }
}
