/* ============ oilda 注册向导 ============ */
.reg-wrap { max-width: 470px; margin: 32px auto; }
.reg-card {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 26px;
}
.reg-card h1 { font-size: 21px; text-align: center; margin-bottom: 4px; }
.reg-card .sub { text-align: center; color: var(--dim); font-size: 13px; margin-bottom: 20px; }

/* 进度点 */
.steps { display: flex; justify-content: space-between; position: relative; margin-bottom: 22px; }
.steps::before {
  content: ''; position: absolute; top: 13px; left: 8%; right: 8%;
  height: 2px; background: var(--line); z-index: 0;
}
.step-dot {
  position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg3); border: 1px solid var(--line); color: var(--dim);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.step-dot.active { background: linear-gradient(135deg, #58a6ff, #a14fd2); color: #fff; border-color: transparent; }
.step-dot.done { background: var(--green); color: #fff; border-color: transparent; }

/* 步骤面板 */
.panel { display: none; }
.panel.active { display: block; }

/* 表单 */
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 12.5px; color: var(--dim); margin-bottom: 5px; }
.field input, .field select {
  width: 100%; background: var(--bg3); border: 1px solid var(--line); color: var(--txt);
  padding: 11px 13px; border-radius: 9px; font-size: 14px; font-family: inherit;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); }

/* 验证码行 */
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; }
.btn-code {
  white-space: nowrap; background: var(--bg3); border: 1px solid var(--line); color: var(--blue);
  padding: 0 14px; border-radius: 9px; cursor: pointer; font-size: 13px; font-family: inherit;
}
.btn-code:hover:not(:disabled) { border-color: var(--blue); }
.btn-code:disabled { opacity: .5; cursor: default; }

/* 导航按钮 */
.nav-btns { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.btn-prev {
  background: transparent; border: 1px solid var(--line); color: var(--dim);
  padding: 11px 18px; border-radius: 10px; cursor: pointer; font-size: 14px; font-family: inherit;
}
.btn-next, .btn-submit {
  flex: 1; background: linear-gradient(135deg, #58a6ff, #a14fd2); color: #fff; border: none;
  padding: 12px 0; border-radius: 10px; cursor: pointer; font-size: 15px; font-weight: 700; font-family: inherit;
}
.btn-next:hover, .btn-submit:hover:not(:disabled) { opacity: .92; }
.btn-submit:disabled { opacity: .6; cursor: default; }

/* 消息与演示提示 */
#msg { text-align: center; font-size: 13px; min-height: 18px; margin-top: 12px; }
#msg.err { color: var(--red); }
#msg.ok { color: var(--green); }
.hint { font-size: 12px; color: var(--gold); text-align: center; margin-top: 8px; min-height: 16px; }

/* 确认页 */
.review { font-size: 13.5px; color: var(--dim); line-height: 2; background: var(--bg3);
  border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.review b { color: var(--txt); font-weight: 600; }

/* 成功页 */
.success { text-align: center; padding: 18px 0; }
.success .ico {
  width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 12px;
}
.success h2 { margin-bottom: 6px; }
.success .sub { color: var(--dim); font-size: 13px; margin-bottom: 18px; }
.success a.btn-next { display: inline-block; text-decoration: none; max-width: 220px; margin: 0 auto; }

/* 已有账号 */
.reg-links { text-align: center; margin-top: 16px; font-size: 13px; color: var(--dim); }
.reg-links a { color: var(--blue); text-decoration: none; }
