/* 登录 / 注册公共样式 */
.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-2); padding: 40px 20px; }
.auth-wrap { width: 100%; max-width: 460px; }
.auth .card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 44px 48px 36px; box-shadow: 0 1px 3px rgba(14,20,32,.04); }
.brand { font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 26px; }
.brand .logo-info { color: var(--brand); }
.auth h1 { font-size: 22px; margin: 0 0 6px; letter-spacing: -.01em; font-weight: 600; }
.auth .sb { font-size: 13.5px; color: var(--ink-3); margin: 0 0 24px; line-height: 1.5; }
.auth .sb.err { color: var(--danger); font-weight: 600; }

/* 表单字段 */
.fld { margin-bottom: 14px; }
.fld-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.fld label { font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.fld .link-sm { font-size: 12px; color: var(--ink-3); }
.fld .link-sm:hover { color: var(--brand); }
.fld .ipt { position: relative; }
.fld .ipt .input { height: 40px; }
.fld .ipt.pw .input, .fld .ipt.code .input { padding-right: 96px; }
.fld .ipt.phone .input { padding-left: 62px; }
.fld .cc { position: absolute; left: 0; top: 0; height: 40px; width: 54px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--ink-2); font-family: var(--font-mono); border-right: 1px solid var(--line-soft); pointer-events: none; }
.fld .eye { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; color: var(--ink-4); display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-sm); }
.fld .eye:hover { color: var(--ink-2); background: var(--bg-3); }
.fld .send { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 30px; padding: 0 12px; color: var(--brand); font-size: 12.5px; font-weight: 500; border-radius: var(--r-sm); }
.fld .send:hover { background: var(--brand-soft); }
.fld .tip { font-size: 11.5px; color: var(--ink-4); margin-top: 5px; line-height: 1.45; }
.fld .tip.ok { color: var(--success); }
.fld .tip.err { color: var(--danger); }

/* 记住我 / 勾选 */
.rmb { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 20px; }
.checkbox, .rmb label { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); line-height: 1.55; cursor: pointer; user-select: none; }
.checkbox { align-items: flex-start; margin: 12px 0 18px; }
.checkbox input, .rmb input { width: 14px; height: 14px; accent-color: var(--brand); flex-shrink: 0; }

/* 登录方式 tabs */
.tabs { display: flex; gap: 4px; padding: 3px; background: var(--bg-2); border-radius: 7px; margin-bottom: 22px; }
.tab { flex: 1; height: 32px; font-size: 12.5px; color: var(--ink-3); border-radius: 5px; font-family: inherit; font-weight: 500; }
.tab.on { background: #fff; color: var(--ink-1); box-shadow: 0 1px 2px rgba(0,0,0,.06); }

/* 注册步骤指示 */
.dots { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 11.5px; color: var(--ink-4); }
.dots .d { width: 6px; height: 6px; border-radius: 50%; background: var(--bg-3); }
.dots .d.on { background: var(--brand); width: 20px; border-radius: 3px; }
.dots .lbl { margin-left: 4px; color: var(--ink-2); font-weight: 500; }
.dots .total { margin-left: auto; }
.dots .total b { color: var(--ink-2); font-weight: 500; }

/* 密码强度条 */
.pwm { margin-top: 8px; }
.pwm .bar { display: flex; gap: 4px; margin-bottom: 6px; }
.pwm .bar span { flex: 1; height: 3px; background: var(--bg-3); border-radius: 2px; }
.pwm .bar span.s1 { background: var(--warn); }
.pwm .bar span.s2 { background: var(--success); }
.pwm .lvtxt { font-size: 11.5px; color: var(--ink-4); display: flex; justify-content: space-between; }
.pwm .lvtxt b { color: var(--success); font-weight: 500; }

.bot { margin-top: 22px; text-align: center; font-size: 13px; color: var(--ink-3); }
.bot a { margin-left: 4px; color: var(--brand); font-weight: 500; }
.foot { text-align: center; font-size: 11.5px; color: var(--ink-4); margin-top: 22px; }
.foot .beian { color: var(--ink-4); margin-left: 8px; }
.foot .beian:hover { color: var(--brand); }
