/* ============================================================
   TatoLease 安装向导样式（对齐 TatoDNS 视觉语言）
   ============================================================ */
.wiz-wrap {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 36px 20px;
  background:
    radial-gradient(1100px 560px at 86% -8%, rgba(79, 124, 255, .10), transparent 60%),
    radial-gradient(900px 480px at -8% 108%, rgba(245, 158, 11, .07), transparent 60%),
    linear-gradient(135deg, #f6f8fc 0%, #eef1f9 55%, #f2f4fb 100%);
  overflow: hidden;
}
.wiz-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.wiz-orb.a { width: 380px; height: 380px; left: -120px; top: -100px; background: rgba(79, 124, 255, .16); }
.wiz-orb.b { width: 420px; height: 420px; right: -140px; bottom: -140px; background: rgba(245, 158, 11, .12); }
.wiz-orb.c { width: 260px; height: 260px; right: 22%; top: -80px; background: rgba(108, 92, 231, .12); }

.wizard {
  position: relative; z-index: 2; width: 100%; max-width: 980px;
  display: grid; grid-template-columns: 320px 1fr; min-height: 600px;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 26px;
  box-shadow: 0 0 0 1px rgba(31, 45, 80, .05), 0 40px 90px -40px rgba(31, 45, 80, .35);
  overflow: hidden;
}

/* ---------- 左侧品牌区 ---------- */
.wiz-brand {
  padding: 40px 34px 32px; display: flex; flex-direction: column;
  background: linear-gradient(160deg, #f7f9ff 0%, #eef2ff 100%);
  border-right: 1px solid rgba(31, 45, 80, .06);
}
.wiz-logo { width: 62px; height: 62px; border-radius: 16px; object-fit: contain; background: #fff; padding: 6px; box-shadow: 0 10px 26px -14px rgba(31, 45, 80, .35); }
.wiz-pname { font-size: 24px; font-weight: 800; margin: 18px 0 4px; letter-spacing: .2px; }
.wiz-pname b { color: var(--gold); }
.wiz-slogan { font-size: 13px; color: var(--fg-3); margin: 0; letter-spacing: .3px; }
.wiz-stepper { list-style: none; padding: 0; margin: 30px 0 0; }
.wiz-stepper li { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 0; opacity: .48; transition: opacity .2s; }
.wiz-stepper li.active, .wiz-stepper li.done { opacity: 1; }
.wiz-stepper li + li::before {
  content: ''; position: absolute; left: 15px; top: -12px; width: 2px; height: 16px; background: #dfe4f2;
}
.wiz-stepper .dot {
  width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #e9edf7; color: var(--fg-3); font-size: 13px; font-weight: 700; flex: 0 0 30px;
}
.wiz-stepper li.active .dot { background: var(--brand-grad); color: #fff; box-shadow: 0 6px 16px -6px rgba(79, 124, 255, .6); }
.wiz-stepper li.done .dot { background: rgba(79, 124, 255, .14); color: var(--brand); }
.wiz-stepper .label { font-size: 14.5px; font-weight: 600; }
.wiz-feats { list-style: none; padding: 0; margin: 26px 0 0; }
.wiz-feats li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-2); padding: 5px 0; }
.wiz-feats .f-ico { width: 17px; height: 17px; border-radius: 50%; background: rgba(79, 124, 255, .12); color: var(--brand); font-size: 10px; display: inline-flex; align-items: center; justify-content: center; }
.wiz-copy { margin-top: auto; font-size: 12px; color: var(--fg-3); line-height: 1.7; }

/* ---------- 右侧表单区 ---------- */
.wiz-form { padding: 40px 38px 30px; display: flex; flex-direction: column; min-width: 0; }
.wiz-step-title { font-size: 24px; font-weight: 800; margin: 0 0 6px; }
.wiz-step-sub { color: var(--fg-3); font-size: 13.5px; margin: 0 0 22px; }
.wiz-body { flex: 1; min-height: 0; overflow-y: auto; padding-right: 4px; }
.wiz-body::-webkit-scrollbar { width: 5px; }
.wiz-body::-webkit-scrollbar-thumb { background: #d9dfec; border-radius: 4px; }

/* 协议 */
.wiz-agreement {
  height: 320px; overflow-y: auto; padding: 18px 20px; border: 1px solid var(--line);
  border-radius: 14px; background: #fbfcff; font-size: 13px; line-height: 1.9; color: var(--fg-2);
  white-space: pre-wrap;
}
.wiz-agreement::-webkit-scrollbar { width: 5px; }
.wiz-agreement::-webkit-scrollbar-thumb { background: #d9dfec; border-radius: 4px; }
.wiz-agree { display: flex; align-items: center; gap: 9px; margin-top: 16px; font-size: 14px; cursor: pointer; user-select: none; }
.wiz-agree input { width: 17px; height: 17px; accent-color: var(--brand); }

/* 表单 */
.wiz-row2 { display: grid; grid-template-columns: 1fr 130px; gap: 12px; }
.wiz-ok { color: var(--ok); font-size: 13px; font-weight: 600; margin-left: 10px; }
.wiz-hint { color: var(--fg-3); font-size: 12.5px; margin-top: 6px; }

/* 安装方式卡片 */
.mode-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mode-card {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer;
  background: #fff; transition: all .15s ease;
}
.mode-card:hover { border-color: #c9d6f5; }
.mode-card.on { border-color: var(--brand); background: #f5f8ff; box-shadow: 0 0 0 3px rgba(79, 124, 255, .12); }
.mode-card .mn { display: block; font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.mode-card .md { display: block; font-size: 12px; color: var(--fg-3); line-height: 1.5; }

/* 授权信息卡 */
.wiz-meta { background: #f8faff; border: 1px solid #e3e9f8; border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; }
.wiz-meta .mg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.wiz-meta .k { display: block; font-size: 12px; color: var(--fg-3); margin-bottom: 2px; }
.wiz-meta .v { font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; word-break: break-all; }
.wiz-meta .cp { cursor: pointer; color: var(--brand); font-size: 12px; }
.wiz-meta .tip { margin-top: 12px; font-size: 12.5px; color: #a15c00; background: #fff7e8; border: 1px solid #ffe2b3; border-radius: 8px; padding: 8px 12px; }

/* 进度环 */
.wiz-center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 26px 0; }
.ring { position: relative; width: 190px; height: 190px; }
.ring svg { width: 100%; height: 100%; }
.ring .num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; }
.ring .num i { font-style: normal; font-size: 16px; color: var(--fg-3); margin-left: 2px; }
.ring .done-check { color: var(--ok); font-size: 46px; }
.wiz-install-tip { color: var(--fg-2); font-size: 14px; }

/* 底部导航 */
.wiz-footer { display: flex; justify-content: flex-end; gap: 10px; padding-top: 20px; margin-top: 8px; border-top: 1px solid var(--line-soft); }

@media (max-width: 880px) {
  .wizard { grid-template-columns: 1fr; }
  .wiz-brand { display: none; }
}
