

main{display:flex}
.container{display:flex}
.auth-shell{ width:min(940px,100%); margin:auto; display:grid; grid-template-columns:1fr 440px; gap:48px; align-items:center }
.auth-card{ width:100%; margin:0; padding:30px; backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px) }


.auth-brand{ padding:0 4px }
.brand-name{ margin:0 0 10px; font-size:30px; font-weight:800; color:var(--text); line-height:1.3 }
.brand-desc{ margin:0 0 28px; font-size:13.5px; color:var(--muted); line-height:1.7 }
.brand-points{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:16px }
.brand-points li{ display:flex; gap:12px; align-items:flex-start }
.brand-points li>i{ flex:none; width:34px; height:34px; color:var(--primary); font-size:14px; display:flex; align-items:center; justify-content:center }
.brand-points b{ display:block; font-size:13.5px; color:var(--text) }
.brand-points span{ font-size:12px; color:var(--muted) }


.auth-head{ text-align:center; margin-bottom:22px }
.auth-title{ margin:0 0 6px; font-size:23px; font-weight:800; color:var(--text) }
.auth-sub{ margin:0; font-size:12.5px; color:var(--muted) }
.form-pane{ display:none }
.form-pane.active{ display:block }

.f-label{ display:block; margin-bottom:6px; font-size:12.5px; font-weight:600; color:var(--muted) }
.field .input{ padding:11px 13px; border-radius:10px }

.in-wrap{ position:relative }
.in-wrap.eye .input{ padding-right:42px }
.eye-btn{ position:absolute; right:6px; top:50%; transform:translateY(-50%); width:30px; height:30px; border:none; background:none; border-radius:8px; color:var(--muted); font-size:13px; cursor:pointer; transition:color .15s; font-family:inherit }
.eye-btn:hover{ color:var(--primary); opacity:1 }

.code-row{ display:flex; gap:8px }
.code-row .input{ flex:1; min-width:0 }
.code-row .btn{ white-space:nowrap; padding:0 14px; font-size:12.5px }
.code-row .btn:disabled{ opacity:.55; cursor:not-allowed }
.form-row{ display:flex; align-items:center; justify-content:space-between; margin:14px 0 16px }
.forgot-link{ font-size:12px; color:var(--muted) }
.forgot-link:hover{ color:var(--primary); opacity:1 }
.submit-btn{ width:100%; padding:12px; font-size:15px; border-radius:12px }

.auth-switch{ text-align:center; margin-top:16px; font-size:12.5px; color:var(--muted) }
.auth-switch a{ color:var(--primary); font-weight:600; margin-left:4px }
.auth-switch a:hover{ opacity:.85 }

.fp-steps{ display:flex; align-items:center; justify-content:center; gap:10px; margin:0 0 18px }
.fp-step{ display:flex; align-items:center; gap:7px; font-size:12px; color:var(--muted) }
.fp-step i{ width:20px; height:20px; border-radius:50%; border:1.5px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:11px; font-style:normal; color:var(--muted); transition:.2s }
.fp-step.active{ color:var(--text); font-weight:600 }
.fp-step.active i{ border-color:var(--primary); color:var(--primary) }
.fp-step.done i{ background:var(--primary); border-color:var(--primary); color:#fff }
.fp-line{ width:34px; height:1px; background:var(--border) }
.fp-stage{ display:none }
.fp-stage.active{ display:block }
.fp-mailok{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; background:rgba(var(--primary-rgb),.08); border:1px solid rgba(var(--primary-rgb),.25); border-radius:10px; padding:9px 12px; font-size:12.5px; color:var(--text); margin-bottom:16px }
.fp-mailok .fa-check-circle{ color:var(--primary) }
.fp-mailok a{ margin-left:auto; font-size:12px; color:var(--primary); font-weight:600 }
.fp-mailok a:hover{ opacity:.85 }
.oauth-title{ display:flex; align-items:center; gap:12px; color:var(--muted); font-size:12px; margin:22px 0 14px }
.oauth-title::before,.oauth-title::after{ content:''; flex:1; height:1px; background:var(--border) }
.oauth-btns{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap }
.oauth-btn{ display:flex; align-items:center; justify-content:center; gap:7px; flex:1 1 0; min-width:0; white-space:nowrap; padding:10px 8px; border-radius:10px; border:1px solid var(--border); background:rgba(255,255,255,.03); color:var(--text); font-size:13px; font-weight:600; transition:.2s; cursor:pointer }
.oauth-btn:hover{ border-color:var(--primary); color:var(--primary); opacity:1 }
.oauth-btn .fa-qq{ color:#12b7f5 }
.oauth-btn .fa-weixin{ color:#2aae67 }
.oauth-btn .ob-ic{ width:15px; height:15px; flex:none }

@media (max-width:480px){
  .oauth-btn{ flex:1 1 calc(50% - 6px) }
}
.alert-err{ background:rgba(var(--danger-rgb),.08); border:1px solid rgba(var(--danger-rgb),.3); color:var(--danger); padding:10px 14px; border-radius:10px; font-size:13px; margin-bottom:14px }


label.check.agree-check{ align-items:flex-start; gap:8px; font-size:12.5px; color:var(--muted); line-height:1.6; margin:0 }

label.check.agree-check:not(:first-of-type){ margin-top:8px }
label.check.agree-check input{ margin-top:2px; cursor:pointer; flex:none }
.agree-check a{ color:var(--primary); font-weight:600 }
.agree-check a:hover{ opacity:.85 }
.agree-doc{ font-size:13px; line-height:1.8; color:var(--text); max-height:55vh; overflow-y:auto }
.agree-doc p{ margin:0 0 10px }
.agree-doc h1,.agree-doc h2,.agree-doc h3{ margin:14px 0 8px; font-size:14px; color:var(--primary,#f97316) }
.agree-doc ul,.agree-doc ol{ margin:0 0 10px; padding-left:20px }
.agree-doc li{ margin-bottom:6px }
.agree-doc blockquote{ margin:0 0 10px; padding:6px 12px; border-left:3px solid var(--primary,#f97316); background:rgba(255,255,255,.04); border-radius:0 8px 8px 0 }
.agree-empty{ color:var(--muted) }
.agree-hint{ display:none; margin:2px 18px 0; text-align:center; font-size:12px; color:var(--danger) }
.agree-foot{ padding:12px 18px 16px; display:flex; justify-content:center }
.agree-foot .btn[disabled]{ opacity:.55; cursor:not-allowed }


@media (max-width:920px){
  .auth-shell{ grid-template-columns:1fr; width:min(460px,100%); gap:22px }
  .auth-brand{ text-align:center; padding:0 }
  .brand-name{ font-size:20px; margin-bottom:6px }
  .brand-desc{ margin-bottom:0; font-size:12.5px }
  .brand-points{ display:none }
}
