/* ============================================================
   客户任务系统 · PC 登录/注册/找回密码 样式  auth.css
   ============================================================ */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif; background:#eef0f6; color:#333; font-size:14px; }
a { text-decoration:none; color:inherit; }
img { display:block; }

.auth-wrap { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:40px 20px;
    background:linear-gradient(135deg,#6a4cf6 0%,#9a6bff 50%,#c3a6ff 100%); }
.auth-box { width:960px; max-width:100%; background:#fff; border-radius:16px; overflow:hidden; display:flex;
    box-shadow:0 20px 60px rgba(60,30,140,.28); }

/* 左品牌栏 */
.auth-brand { flex:1; padding:48px 44px; color:#fff; background:linear-gradient(160deg,#5a2ee0,#8a5cff); display:flex; flex-direction:column; }
.auth-brand .brand-logo { font-size:28px; font-weight:800; letter-spacing:1px; }
.auth-brand .brand-sub { font-size:13px; opacity:.8; letter-spacing:3px; margin-top:4px; }
.auth-brand .brand-slogan { font-size:26px; font-weight:800; margin-top:48px; line-height:1.4; }
.auth-brand .brand-desc { font-size:14px; opacity:.9; margin-top:12px; line-height:1.8; }
.auth-brand .feats { margin-top:auto; }
.auth-brand .feat { display:flex; align-items:center; font-size:14px; margin-top:14px; opacity:.95; }
.auth-brand .feat i { width:22px; height:22px; border-radius:50%; background:rgba(255,255,255,.22); text-align:center; line-height:22px; margin-right:10px; font-style:normal; }

/* 右表单栏 */
.auth-panel { width:420px; flex:none; padding:44px 40px; }
.auth-panel .p-title { font-size:22px; font-weight:800; color:#222; }
.auth-panel .p-tip { font-size:13px; color:#999; margin:6px 0 24px; }

.tabs { display:flex; border-bottom:1px solid #eee; margin-bottom:22px; }
.tab { flex:1; text-align:center; padding:10px 0; font-size:15px; color:#999; cursor:pointer; border-bottom:2px solid transparent; }
.tab.on { color:#5a2ee0; font-weight:bold; border-bottom-color:#5a2ee0; }

.form-row { margin-bottom:16px; }
.form-row label { display:block; font-size:13px; color:#666; margin-bottom:6px; }
.form-input { width:100%; height:44px; border:1px solid #e0e0e8; border-radius:8px; padding:0 14px; font-size:15px; outline:none; background:#fafafc; }
.form-input:focus { border-color:#5a2ee0; background:#fff; }
.code-row { display:flex; gap:10px; }
.code-row .form-input { flex:1; }
.btn-code { flex:none; width:120px; height:44px; border:0; border-radius:8px; background:#5a2ee0; color:#fff; font-size:14px; cursor:pointer; }
.btn-code:disabled { background:#c8c8cd; cursor:default; }

.btn-primary { width:100%; height:46px; border:0; border-radius:10px; color:#fff; font-size:16px; font-weight:bold; cursor:pointer;
    background:linear-gradient(135deg,#8a5cff,#5a2ee0); margin-top:6px; }
.btn-primary:disabled { opacity:.6; cursor:default; }

.auth-links { display:flex; justify-content:space-between; margin-top:16px; font-size:13px; color:#999; }
.auth-links a { color:#5a2ee0; }
.agree { display:flex; align-items:center; font-size:13px; color:#666; margin:6px 0 14px; }
.agree input { margin-right:6px; }
.agree a { color:#5a2ee0; }

.err { display:none; background:#fff0ef; color:#e0402a; border:1px solid #ffd0c6; border-radius:8px; padding:9px 12px; font-size:13px; margin-bottom:14px; }
.ok-tip { display:none; background:#e8f9f2; color:#0fa96f; border:1px solid #b6ecd4; border-radius:8px; padding:9px 12px; font-size:13px; margin-bottom:14px; }

.qq-login { margin-top:26px; text-align:center; }
.qq-login .divider { display:flex; align-items:center; color:#bbb; font-size:12px; margin-bottom:14px; }
.qq-login .divider:before, .qq-login .divider:after { content:""; flex:1; height:1px; background:#eee; margin:0 12px; }
.qq-login img { width:40px; height:40px; margin:0 auto; }

@media (max-width:820px){ .auth-box{flex-direction:column;} .auth-brand{display:none;} .auth-panel{width:100%;} }
