/* 客服端订单详情 / 退款弹窗 —— 注入脚本配套样式
   全局样式（非 scoped），类名以 od- 前缀避免与现有组件冲突。 */
.od-mask {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, .5);
  display: none; align-items: center; justify-content: center;
  z-index: 99999; font-size: 14px; color: #17233d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
.od-box {
  width: 420px; max-width: 92vw; max-height: 80vh; background: #fff;
  border-radius: 10px; box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
  display: flex; flex-direction: column; overflow: hidden;
}
.od-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid #f0f0f0;
}
.od-title { font-size: 16px; font-weight: 700; color: #17233d; }
.od-close { font-size: 22px; line-height: 1; color: #c5c8ce; cursor: pointer; }
.od-close:hover { color: #808695; }
.od-body { padding: 16px 18px; overflow-y: auto; }
.od-line { display: flex; align-items: flex-start; padding: 7px 0; border-bottom: 1px dashed #f5f5f5; }
.od-k { width: 64px; flex-shrink: 0; color: #9a9aa3; }
.od-v { flex: 1; color: #17233d; word-break: break-all; }
.od-v.strong { font-weight: 700; color: #ed4014; }
.od-v.mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
.od-cover { margin: 4px 0 12px; }
.od-status {
  display: inline-block; padding: 3px 12px; border-radius: 12px;
  font-size: 13px; font-weight: 700; margin-bottom: 12px;
}
.st-wait { background: #fff5e6; color: #fa8c16; }
.st-paid { background: #e8f4ff; color: #2d8cf0; }
.st-done { background: #e8fff3; color: #19be6b; }
.st-cancel, .st-closed { background: #f5f5f7; color: #9a9aa3; }
.st-refund { background: #fff0f0; color: #ed4014; }
.od-loading, .od-error { padding: 30px 0; text-align: center; color: #9a9aa3; }
.od-foot {
  display: flex; gap: 12px; padding: 14px 18px; border-top: 1px solid #f0f0f0;
  align-items: center;
}
.od-btn {
  flex: 1; height: 38px; border: none; border-radius: 6px; font-size: 14px;
  font-weight: 600; cursor: pointer; transition: opacity .15s;
}
.od-btn:active { opacity: .85; }
.od-btn-primary { background: #ed4014; color: #fff; }
.od-btn-ghost { background: #f0f0f5; color: #515a6e; }
.od-tip { flex: 1; font-size: 12px; color: #9a9aa3; line-height: 1.5; }
