/* ERP B站物流同步 样式（与 A 站 erp-logistics-sync 保持一致） */
.erp-sync-none { color: #999; }

/* 物流单号徽章（可点击） */
a.erp-tracking-num {
    display: inline-block;
    margin: 0 4px 2px 0;
    padding: 2px 8px;
    background: #ecf5ff;
    color: #2e68a3;
    border: 1px solid #b3d8ff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
    text-decoration: none;
    cursor: pointer;
}
a.erp-tracking-num:hover { background: #d9ecff; }

/* 详情/明细 */
.erp-sync-detail { margin: 0; }
.erp-sync-tracking-row {
    border: 1px solid #ebeef5;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 10px;
    background: #fafafa;
}
.erp-sync-tnum { font-size: 14px; }
.erp-sync-carrier { color: #909399; font-size: 12px; margin-left: 6px; }
.erp-sync-status, .erp-sync-time { font-size: 12px; color: #606266; margin-top: 4px; }
.erp-sync-items { margin-top: 6px; font-size: 12px; color: #606266; line-height: 1.8; }
.erp-sync-items-label { color: #909399; }
.erp-sync-item {
    display: inline-block;
    background: #fff;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    padding: 1px 6px;
    margin: 0 4px 2px 0;
}

/* 订单编辑页商品行下方物流信息 */
.erp-sync-item-track {
    margin: 6px 0 2px;
    padding-left: 2px;
    font-size: 11px;
    line-height: 1.6;
    color: #646970;
}
.erp-sync-item-line { margin: 2px 0; }
.erp-sync-item-track .erp-sync-item-carrier {
    font-weight: 600;
    color: #1d2327;
    margin-right: 4px;
}
.erp-sync-item-track a.erp-tracking-num {
    font-size: 11px;
    padding: 1px 6px;
    margin: 0 4px 2px 0;
    vertical-align: baseline;
}

/* 补发包裹说明专区（订单编辑页商品列表下方） */
.erp-sync-resend-section {
    margin: 16px 0 4px;
    padding: 14px 16px;
    border: 1px solid #f0d9b5;
    border-left: 4px solid #e6a23c;
    border-radius: 6px;
    background: #fdf6ec;
}
.erp-sync-resend-title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: #b88230;
}
.erp-sync-resend-row {
    padding: 8px 0;
    border-top: 1px dashed #f0e0c0;
}
.erp-sync-resend-row:first-of-type { border-top: none; }
.erp-sync-resend-tnum { font-size: 14px; }
.erp-sync-resend-items {
    margin-top: 6px;
    font-size: 12px;
    color: #606266;
    line-height: 1.8;
}
.erp-sync-resend-items .erp-sync-items-label { color: #909399; }
.erp-sync-note { color: #909399; font-style: italic; font-size: 12px; }

/* 前台（我的账户 / 下单成功页）补发包裹说明外层区块 */
.erp-sync-resend-section-wrap {
    margin: 2em 0 0;
}
.erp-sync-resend-section-wrap .erp-sync-resend-section {
    margin: 0;
}

/* ============ 数据迁移设置页 ============ */
.erp-migrate-wrap .erp-migrate-card {
    max-width: 820px;
    margin: 16px 0;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
}
.erp-migrate-wrap .erp-migrate-card h2 {
    margin-top: 0;
    font-size: 15px;
}
.erp-migrate-wrap .erp-migrate-card .button { margin-right: 8px; }

.erp-migrate-progress {
    max-width: 820px;
    margin: 16px 0;
}
.erp-migrate-bar {
    height: 18px;
    background: #f0f0f1;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    overflow: hidden;
}
.erp-migrate-bar-inner {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #2271b1, #3ea0ff);
    transition: width .25s ease;
}
.erp-migrate-status {
    margin-top: 8px;
    font-size: 13px;
    color: #50575e;
}
.erp-migrate-summary {
    max-width: 820px;
    margin: 12px 0;
    padding: 12px 16px;
    border-radius: 6px;
    border-left: 4px solid #2271b1;
    background: #f6fbff;
    font-size: 13px;
    line-height: 1.9;
}
.erp-migrate-summary.ok { border-left-color: #46b450; background: #f3fbf4; }
.erp-migrate-summary.warn { border-left-color: #e6a23c; background: #fdf6ec; }
.erp-migrate-summary b { color: #1d2327; }
.erp-migrate-log {
    width: 100%;
    max-width: 820px;
    font-family: Consolas, Monaco, monospace;
    font-size: 12px;
    line-height: 1.6;
    color: #2c3338;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 6px;
}
