/*
 * LinsGeek ERP —— 订单用三方物流报价、打面单（配合 56-logistics-3pl-order.js）
 * 弹窗、表单、按钮、提示的通用样式（.l3p-*）在 55-logistics-3pl.css。
 * 回滚：删除 56-logistics-3pl-order.js + 56-logistics-3pl-order.css。
 */

/* ---------- 点「安排发货」后查询订单的那一小会儿 ---------- */
body.l3o-wait, body.l3o-wait * { cursor: progress !important; }

/* ---------- 选择发货方式 ---------- */
.l3o-choose-hint { margin: 0 0 12px; }
.l3o-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.l3o-option {
  all: unset; box-sizing: border-box; cursor: pointer; display: block; padding: 16px; border: 1px solid #dfe6e4; border-radius: 16px;
  background: #fff; font-family: inherit; transition: border-color .15s, box-shadow .15s, background .15s;
}
.l3o-option:hover { border-color: #13b8a6; box-shadow: 0 0 0 3px rgba(19, 184, 166, .12); }
.l3o-option.main { border-color: #0d7b6d; background: #f3faf8; }
.l3o-option:focus-visible { outline: 2px solid #13b8a6; outline-offset: 2px; }
.l3o-option b { display: block; font-size: 15.5px; font-weight: 700; color: #0f1a18; }
.l3o-option.main b { color: #0d7b6d; }
.l3o-option small { display: block; margin-top: 6px; font-size: 13px; line-height: 1.6; color: #6b7a77; }
/* ---------- 弹窗内容 ---------- */
.l3p-modal.top { z-index: 3050; }
.l3o-order { margin: 0 0 12px; font-size: 13px; color: #6b7a77; overflow-wrap: anywhere; }
.l3o-state { padding: 36px 0; text-align: center; font-size: 14px; color: #6b7a77; }
.l3o-note { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.6; }
.l3o-note.ok { background: #e7f2f0; color: #0a6257; }
.l3o-note.ok.strong { font-size: 15px; font-weight: 700; }
.l3o-note.warn { background: #fff7ea; color: #8a5a12; }
.l3p-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 报价列表 ---------- */
.l3o-rates { display: grid; gap: 8px; margin-bottom: 12px; }
.l3o-rate {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; padding: 12px 14px; border: 1px solid #dfe6e4; border-radius: 14px; background: #fff; font-family: inherit;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.l3o-rate:hover { border-color: #13b8a6; }
.l3o-rate.on { border-color: #0d7b6d; background: #f3faf8; box-shadow: 0 0 0 3px rgba(19, 184, 166, .15); }
.l3o-rate[disabled] { opacity: .55; cursor: not-allowed; }
.l3o-rate:focus-visible { outline: 2px solid #13b8a6; outline-offset: 2px; }
.l3o-rate-main { min-width: 0; }
.l3o-rate-main b { display: block; font-size: 14.5px; font-weight: 700; color: #0f1a18; overflow-wrap: anywhere; }
.l3o-rate-main small { display: block; margin-top: 2px; font-size: 12.5px; color: #6b7a77; }
.l3o-rate-price { flex: 0 0 auto; font-size: 16px; font-weight: 700; color: #0d7b6d; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- 结果 ---------- */
.l3o-result { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; margin: 0 0 14px; }
.l3o-result > div { min-width: 0; }
.l3o-result dt { font-size: 12.5px; color: #6b7a77; margin-bottom: 3px; }
.l3o-result dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
a.l3p-btn { text-decoration: none; }

@media (max-width: 640px) {
  .l3p-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l3o-options { grid-template-columns: minmax(0, 1fr); }
  .l3o-result { grid-template-columns: minmax(0, 1fr); }
  .l3o-rate { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ---------- Nuvemshop 直接安排发货 ---------- */
.l3o-check { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: #44524f; cursor: pointer; }
.l3o-check input { flex: 0 0 auto; width: 16px; height: 16px; margin: 2px 0 0; accent-color: #0d7b6d; }
