/* Jinaria Logistics — 顾客端物流样式（全英文界面，整齐表格排版） */
.jp-track { max-width: 640px; margin: 28px auto 0; text-align: left; }
.jp-track-form .fr.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.jp-track-form label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted, #888); font-weight: 600; }
.jp-track-form input { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line, #e0e0e0); border-radius: 4px; font-family: var(--sans, Arial); font-size: 15px; color: var(--ink, #222); background: #fff; }
.jp-track-form input:focus { outline: none; border-color: var(--gold, #b8860b); }
.jp-track-result { margin-top: 20px; }
.jp-alert { padding: 12px 16px; border-radius: 6px; margin: 14px 0; font-size: 14px; }
.jp-alert.err { background: #fdecea; border: 1px solid #f5c6c0; color: #b3261e; }

/* 包裹信息表格：每列不同浅色、列宽明确、字号统一、边框整齐 */
.jp-ship-table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 14px; line-height: 1.7; table-layout: fixed; }
.jp-ship-table th,
.jp-ship-table td { padding: 12px 16px; border: 1px solid #e2e2e2; text-align: left; vertical-align: middle; }
.jp-ship-table thead th { color: #333; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
/* 列宽：Package / Carrier / Status / Link */
.jp-ship-table th:nth-child(1), .jp-td-package { width: 20%; }
.jp-ship-table th:nth-child(2), .jp-td-carrier { width: 40%; }
.jp-ship-table th:nth-child(3), .jp-td-status { width: 24%; }
.jp-ship-table th:nth-child(4), .jp-td-link { width: 16%; }
/* 每列不同浅色（表头 + 数据列一致，便于横向阅读） */
.jp-ship-table thead th:nth-child(1) { background: #eef3fa; }
.jp-ship-table thead th:nth-child(2) { background: #f4f0e6; }
.jp-ship-table thead th:nth-child(3) { background: #ecf3ec; }
.jp-ship-table thead th:nth-child(4) { background: #f6eded; }
.jp-ship-table tbody td:nth-child(1) { background: #f4f8fc; }
.jp-ship-table tbody td:nth-child(2) { background: #faf7ef; }
.jp-ship-table tbody td:nth-child(3) { background: #f4f8f4; }
.jp-ship-table tbody td:nth-child(4) { background: #faf2f2; }
.jp-td-package { font-weight: 600; white-space: nowrap; }
.jp-tn { font-family: var(--mono, Consolas, Monaco, monospace); word-break: break-all; }
.jp-td-link { text-align: right; white-space: nowrap; }
.jp-track-link { color: var(--gold, #b8860b); text-decoration: underline; }
.jp-track-link:hover { text-decoration: none; }

/* 时间线：每包裹独立区块，标题 + 纵向节点 */
.jp-ship-timeline { margin: 0 0 26px; }
.jp-timeline-title { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #888); font-weight: 700; }
.jp-timeline { list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 2px solid var(--gold, #b8860b); }
.jp-timeline-item { position: relative; padding: 0 0 16px 18px; }
.jp-timeline-item:last-child { padding-bottom: 0; }
.jp-timeline-item::before { content: ''; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold, #b8860b); }
.jp-timeline-time { display: block; font-size: 12px; color: var(--muted, #888); margin-bottom: 2px; }
.jp-timeline-status { display: block; font-weight: 600; font-size: 14px; color: var(--ink, #222); }
.jp-timeline-loc { display: block; font-size: 13px; color: var(--muted, #888); }
.jp-timeline-desc { display: block; font-size: 13px; color: var(--ink-2, #555); }
.jp-reg-status { font-size: 11px; background: #eee; padding: 2px 6px; border-radius: 3px; margin-left: 6px; }
@media (max-width: 600px) {
  .jp-track-form .fr.two { grid-template-columns: 1fr; }
  .jp-ship-table, .jp-ship-table tbody, .jp-ship-table tr, .jp-ship-table td { display: block; width: 100%; }
  .jp-ship-table thead { display: none; }
  .jp-ship-table td { border: 0; border-bottom: 1px solid var(--line, #e5e5e5); padding: 8px 14px; }
  .jp-ship-table tr { border: 1px solid var(--line, #e5e5e5); margin-bottom: 12px; }
  .jp-td-link { text-align: left; }
}
