/* 爱微圈建站系统 · 后台登录（橙白主站视觉） */
:root{
  --orange:#ff6200;
  --orange-d:#e95800;
  --ink:#303338;
  --text:#55595f;
  --muted:#969a9f;
  --line:#e4e5e7;
  --canvas:#f5f6f6;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  min-height:100vh;
  background:var(--canvas);
  color:var(--ink);
  font:14px/1.65 -apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}

.admin-login-head{
  height:72px;
  padding:0 max(15px,calc((100vw - 1420px)/2));
  display:flex;
  align-items:center;
  background:#fff;
  border-bottom:1px solid #eee;
}
.brand{display:flex;align-items:center;gap:9px;white-space:nowrap}
.brand .brand-mark-official{display:block;width:34px;height:34px;flex:0 0 34px;object-fit:contain;border-radius:6px}
.brand .brand-title{display:flex;flex-direction:column;justify-content:center;color:#303338;font:600 16px/1.2 -apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;letter-spacing:0}
.brand .brand-title small{margin-top:2px;color:#92979d;font-size:10.5px;font-weight:400;line-height:1.2}
.admin-login-head .back{margin-left:auto;color:#8c9095;font-size:12.5px}
.admin-login-head .back:hover{color:var(--orange)}

.auth-wrap{
  padding:38px 15px 64px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.auth-box{
  width:100%;
  max-width:1000px;
  min-height:540px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,.94fr);
  background:#fff;
  border:1px solid #ebecee;
  box-shadow:0 18px 42px rgba(27,31,35,.05);
}

.auth-brand{
  position:relative;
  overflow:hidden;
  padding:54px 50px 32px;
  display:flex;
  flex-direction:column;
  color:#fff;
  background:#34393f;
}
.auth-brand::before,
.auth-brand::after{
  content:"";
  position:absolute;
  border:1px solid rgba(255,255,255,.07);
  border-radius:50%;
}
.auth-brand::before{width:400px;height:400px;left:-250px;top:-190px}
.auth-brand::after{width:470px;height:470px;right:-300px;bottom:-320px}
.auth-brand > *{position:relative;z-index:1}
.eyebrow{font-size:10.5px;letter-spacing:2.2px;font-weight:700;color:#ffb98f;margin-bottom:18px}
.auth-brand h2{font-size:31px;line-height:1.35;font-weight:600;margin:0 0 12px}
.auth-brand .lead{font-size:13.5px;line-height:1.9;color:#bdc3ca;margin:0 0 36px}
.brand-points{display:grid;gap:15px}
.brand-points div{display:flex;gap:10px;color:#d2d6db;font-size:13px;line-height:1.7}
.brand-points i{
  width:19px;height:19px;flex:0 0 19px;margin-top:1px;
  display:grid;place-items:center;border-radius:50%;
  background:#fff1e8;color:var(--orange);
  font-style:normal;font-size:10.5px;font-weight:700;
}
.brand-foot{
  margin-top:auto;
  padding-top:28px;
  border-top:1px solid rgba(255,255,255,.1);
  display:flex;
  justify-content:space-between;
  gap:14px;
  color:#9fa6ae;
  font-size:11.5px;
}
.brand-foot span{color:#e0e3e6}
.brand-foot small{font-size:10.5px}

.auth-form{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:54px 58px 42px;
}
.auth-form h1{margin:0 0 5px;font-size:23px;font-weight:650;color:#303338;line-height:1.4}
.auth-form .sub{margin:0 0 29px;color:#969a9f;font-size:13px}
.field{margin-bottom:17px}
.field label{display:block;margin-bottom:7px;font-size:12.5px;font-weight:600;color:#62666b}
.inp-box{position:relative}
.inp-box .ic{
  position:absolute;left:12px;top:50%;transform:translateY(-50%);
  width:17px;height:17px;pointer-events:none;
  stroke:#adb1b5;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
}
.inp{
  width:100%;height:44px;
  padding:0 42px;
  border:1px solid #dfe1e3;
  border-radius:2px;
  outline:none;
  background:#fff;
  color:#383c41;
  font-size:13.5px;
  font-family:inherit;
  transition:.15s;
}
.inp:hover{border-color:#c9cbce}
.inp:focus{border-color:#ff9a62;box-shadow:0 0 0 3px rgba(255,98,0,.08)}
.inp::placeholder{color:#a9adb1}
.pw-toggle{
  position:absolute;right:5px;top:50%;transform:translateY(-50%);
  width:34px;height:34px;border:0;border-radius:2px;
  display:grid;place-items:center;background:transparent;cursor:pointer;
}
.pw-toggle:hover{background:#fff4ed}
.pw-toggle svg{width:16px;height:16px;fill:none;stroke:#a5a9ad;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.btn{
  width:100%;height:44px;
  display:inline-flex;align-items:center;justify-content:center;
  border:0;border-radius:2px;
  background:var(--orange);
  color:#fff;
  font:600 14px/1 inherit;
  cursor:pointer;
  transition:.15s;
}
.btn:hover{background:var(--orange-d)}
.btn:active{transform:translateY(1px)}

.msg{display:flex;gap:9px;align-items:flex-start;margin-bottom:18px;padding:10px 12px;border:1px solid #ffd2c5;background:#fff2ee;color:#a83d22;font-size:12.5px;line-height:1.65}
.msg.ok{border-color:#bfe8cc;background:#f0fbf3;color:#267344}
.msg svg{width:15px;height:15px;flex:0 0 15px;margin-top:2px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.auth-foot{margin-top:20px;text-align:center;color:#989ba0;font-size:12.5px}
.auth-foot a{color:#d95b1a;font-weight:600}
.auth-foot a:hover{color:var(--orange)}
.agree{margin-top:12px;text-align:center;color:#aaadb1;font-size:11px;line-height:1.7}
.hint{margin-top:5px;color:#a0a3a7;font-size:11.5px}
.form-row{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px;font-size:12.5px;color:#8d9195}
.form-row label{display:flex;gap:6px;align-items:center}
.form-row input{accent-color:var(--orange)}
.form-row a{color:#d95b1a}

@media(max-width:800px){
  .admin-login-head{height:60px;padding:0 13px}
  .brand-word{font-size:23px}
  .brand-sub{display:none}
  .admin-login-head .back{font-size:12px}
  .auth-wrap{padding:14px 12px 44px;display:block}
  .auth-box{display:block;min-height:0}
  .auth-brand{display:none}
  .auth-form{padding:30px 22px 27px}
  .auth-form h1{font-size:21px}
  .inp{height:43px}
  .btn{height:44px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
