/* NetRepairMall 安装向导样式（UCenter 视觉风格重制） */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
    font-size: 14px;
    color: #333;
    background: linear-gradient(45deg, #8fc1f1, #fde2ba);
    background-attachment: fixed;
    min-height: 100vh;
}
.wrap { padding: 48px 16px; }
.card {
    width: 900px;
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 18px 50px rgba(60, 60, 90, .25);
    overflow: hidden;
}

/* 头部：深色底 + 金色渐变标题 */
.header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px 40px;
    background: linear-gradient(90deg, #393f47, #1d1f24);
}
.header .logo { height: 52px; width: auto; }
.header .title-box h1 {
    font-size: 26px;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #e8a833, #ebc874, #ae7222);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.header .ver {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    color: #ebc36b;
    border: 1px solid rgba(235, 195, 107, .5);
    border-radius: 20px;
    padding: 2px 12px;
}

/* 步骤条 */
.steps { padding: 24px 40px 8px; }
.steps ul { list-style: none; display: flex; justify-content: space-between; }
.steps li { display: flex; align-items: center; gap: 8px; color: #999; font-size: 14px; }
.steps .badge {
    width: 30px; height: 30px; line-height: 30px;
    text-align: center; border-radius: 50%;
    background: #ddd; color: #fff; font-weight: bold;
}
.steps li.active { color: #9e732e; font-weight: bold; }
.steps li.active .badge { background: linear-gradient(135deg, #ebc36b, #9e732e); box-shadow: 0 2px 8px rgba(158, 115, 46, .4); }
.steps li.done { color: #c8a556; }
.steps li.done .badge { background: linear-gradient(135deg, #ebc36b, #c8a556); }
.steps .progress { margin-top: 14px; height: 8px; background: #eee; border-radius: 8px; overflow: hidden; }
.steps .progress .bar { height: 100%; background: linear-gradient(90deg, #ebc36b, #9e732e); border-radius: 8px; transition: width .3s; }

/* 内容区 */
.body { padding: 10px 40px 30px; min-height: 320px; }
.panel h2 {
    font-size: 18px; color: #393f47;
    border-left: 4px solid #ebc36b;
    padding-left: 10px; margin: 16px 0;
}
.tips { color: #666; line-height: 1.8; }
.protocol {
    border: 1px solid #eee; border-radius: 10px;
    background: #fafafa; padding: 18px 22px;
    height: 300px; overflow-y: auto; line-height: 2; color: #555;
}
.protocol p { margin-bottom: 8px; }

/* 表格 */
.tbl { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.tbl th, .tbl td { border: 1px solid #eee; padding: 9px 12px; text-align: left; }
.tbl thead th { background: #f7f3ea; color: #7a5c22; font-weight: bold; }
.tag { display: inline-block; padding: 2px 12px; border-radius: 14px; font-size: 12px; color: #fff; }
.tag.ok { background: linear-gradient(135deg, #7bc47f, #4a9e52); }
.tag.no { background: linear-gradient(135deg, #e57373, #c62828); }

/* 表单 */
.group {
    margin: 20px 0 10px; font-weight: bold; color: #393f47;
    border-bottom: 1px dashed #e5d9bd; padding-bottom: 6px;
}
.inputbox { display: flex; align-items: center; margin: 10px 0; gap: 12px; }
.inputbox > label:first-child { width: 130px; text-align: right; color: #666; flex: none; }
.inputbox input[type=text], .inputbox input[type=password] {
    flex: 1; max-width: 380px; padding: 9px 14px;
    border: 1px solid #ddd; border-radius: 20px; outline: none;
    transition: border .2s, box-shadow .2s;
}
.inputbox input:focus { border-color: #ebc36b; box-shadow: 0 0 0 3px rgba(235, 195, 107, .2); }
.inputbox input.locked { background: #f5f5f5; color: #999; }
.inputbox .radio { margin-right: 18px; color: #555; }
.hint { margin-left: 12px; font-size: 13px; color: #999; }
.ok-text { color: #4a9e52; }
.err-text { color: #c62828; }
.errorbox {
    background: #fdecea; border: 1px solid #f5c6c2; color: #c62828;
    border-radius: 8px; padding: 10px 16px; margin: 12px 0;
}

/* 按钮：深色渐变胶囊 */
.actions { margin-top: 26px; text-align: center; }
.btn {
    display: inline-block; min-width: 150px;
    padding: 11px 30px; margin: 0 8px;
    border: none; border-radius: 30px; cursor: pointer;
    background: linear-gradient(90deg, #393f47, #1d1f24);
    color: #ebc36b; font-size: 15px; text-decoration: none;
    transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(29, 31, 36, .3); }
.btn.ghost { background: #eee; color: #666; }
.btn.small { min-width: 0; padding: 8px 22px; font-size: 13px; }
.btn.disabled { opacity: .6; cursor: not-allowed; }

/* 安装执行 */
.run-progress {
    position: relative; height: 26px; margin: 14px 0;
    background: #eee; border-radius: 20px; overflow: hidden;
}
.run-bar { height: 100%; width: 0; background: linear-gradient(90deg, #ebc36b, #9e732e); transition: width .3s; }
.run-pct {
    position: absolute; inset: 0; text-align: center;
    line-height: 26px; font-size: 12px; color: #333; font-weight: bold;
}
.run-log {
    height: 260px; overflow-y: auto;
    border: 1px solid #eee; border-radius: 10px;
    background: #1d1f24; color: #b8c0cc;
    font-family: Consolas, monospace; font-size: 12px;
    padding: 12px 16px; line-height: 1.9;
}
.run-log .err-text { color: #ff8a80; }

/* 页脚 */
.footer {
    text-align: center; padding: 18px;
    color: #999; font-size: 12px;
    border-top: 1px solid #f0ebe0;
    background: #fbf8f2;
}

@media (max-width: 720px) {
    .header, .steps, .body { padding-left: 20px; padding-right: 20px; }
    .inputbox > label:first-child { width: 90px; }
    .steps li .name { display: none; }
}
