/* ── Wrapper ── */

.tracklist li {
    list-style: none;
    border-bottom: 1px solid #e2e2e2;
}

.new-table-main {
  font-family: system-ui, sans-serif;
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* ── Fix rogue bullet ── */
.new-table-main li {
  list-style: none !important;
}

.new-table-main ul,
.new-table-main ol {
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}

/* ── AWB number heading (big, colored) ── */
.contact-infos .htitle {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #2563eb !important;
  letter-spacing: 0.02em;
  margin-bottom: 1rem !important;
  text-transform: none !important;
}

/* ── Travel history heading ── */
.new-table-main .htitle {
    font-size: 30px !important;
    font-weight: 600 !important;
    color: #df700f !important;
    margin: 1.5rem 13px 0.75rem !important;
}

/* ── Shared table resets ── */
.new-table-main .table-bordered {
  border-collapse: collapse !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 10px;
  overflow: hidden;
  font-size: 14px !important;
  margin-bottom: 2rem;
  background: #fff;
}

.new-table-main .table-bordered > tbody > tr > th,
.new-table-main .table-bordered > tbody > tr > td,
.new-table-main .table-bordered > thead > tr > th {
  border: none !important;
  border-bottom: 1px solid #f0f0f0 !important;
  padding: 12px 18px !important;
  vertical-align: middle !important;
  font-size: 14px !important;
}

.new-table-main .table-bordered > tbody > tr:last-child > th,
.new-table-main .table-bordered > tbody > tr:last-child > td {
  border-bottom: none !important;
}

/* ── AWB detail table — th (label column) ── */
.new-table-main > .table-responsive > .table-bordered > tbody > tr > th {
  width: 35%;
  color: #555 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  background-color: #fafafa !important;
}

/* ── AWB detail table — td (value column) ── */
.new-table-main > .table-responsive > .table-bordered > tbody > tr > td {
  color: #1a1a1a !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}

/* ── Travel history — thead ── */
.new-table .table-bordered > thead > tr > th {
  background-color: #f5f5f5 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888 !important;
  border-bottom: 1px solid #e0e0e0 !important;
  white-space: nowrap;
}

/* ── Travel history — tbody ── */
.new-table .table-bordered > tbody > tr > td {
  font-size: 14px !important;
}

.new-table .table-bordered > tbody > tr:hover > td {
  background-color: #f9f9f9 !important;
}

/* Date column */
.new-table .table-bordered > tbody > tr > td:nth-child(1) {
  color: #666 !important;
  font-size: 13px !important;
  white-space: nowrap;
}

/* Time column */
.new-table .table-bordered > tbody > tr > td:nth-child(2) {
  color: #999 !important;
  font-size: 13px !important;
  white-space: nowrap;
}

/* Status column */
.new-table .table-bordered > tbody > tr > td:nth-child(3) {
  font-weight: 500 !important;
  color: #1a1a1a !important;
}

/* Location column */
.new-table .table-bordered > tbody > tr > td:nth-child(4) {
  color: #666 !important;
  font-size: 13px !important;
}

/* ── Links ── */
.new-table-main a {
  color: #2563eb !important;
  text-decoration: none !important;
}

.new-table-main a:hover {
  text-decoration: underline !important;
}

/* ── AWB detail table — remove stripes ── */
.new-table-main > .table-bordered > tbody > tr:nth-child(odd) > th,
.new-table-main > .table-bordered > tbody > tr:nth-child(odd) > td,
.new-table-main > .table-bordered > tbody > tr:nth-child(even) > th,
.new-table-main > .table-bordered > tbody > tr:nth-child(even) > td {
  background-color: #ffffff !important;
}

/* ── Left accent border on the table ── */
.new-table-main > .table-bordered {
  border-left: 4px solid #df700f !important;
}

/* ── Label column — slim, muted, no bg ── */
.new-table-main > .table-bordered > tbody > tr > th {
  width: 30%;
  color: #df700f !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  background-color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Value column ── */
.new-table-main > .table-bordered > tbody > tr > td {
  color: #1a1a1a !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  background-color: #ffffff !important;
}

/* ── Hover — just a faint warm tint ── */
.new-table-main > .table-bordered > tbody > tr:hover > th,
.new-table-main > .table-bordered > tbody > tr:hover > td {
  background-color: #fffaf7 !important;
}

/* ── "Delivered" status badge ── */
.new-table-main > .table-bordered > tbody > tr > td:only-child,
.new-table-main > .table-bordered td .text-success,
.new-table-main > .table-bordered td .label {
  display: inline-block;
}

/* targets the Delivered text cell specifically via sibling th content —
   since we can't change HTML, use a data trick with CSS attribute if
   your Smarty outputs a class on that row. If not, add this to Smarty:
   <tr class="{if $status=='Delivered'}row-delivered{/if}"> */
.new-table-main > .table-bordered > tbody > tr.row-delivered > td {
  color: #ffffff !important;
}
.new-table-main > .table-bordered > tbody > tr.row-delivered > td::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  margin-right: 7px;
  vertical-align: middle;
}
.new-table-main > .table-bordered > tbody > tr.row-delivered > td {
  color: #16a34a !important;
  font-weight: 600 !important;
}


/* ── Row divider — warm orange tint ── */
.new-table-main .table-bordered > tbody > tr > th,
.new-table-main .table-bordered > tbody > tr > td {
  border-bottom: 1px solid #f5d9c0 !important;
}

.new-table-main .table-bordered > tbody > tr:last-child > th,
.new-table-main .table-bordered > tbody > tr:last-child > td {
  border-bottom: none !important;
}

/* ── Outer table border — match ── */
.new-table-main > .table-bordered {
  border: 1px solid #f5d9c0 !important;
  border-left: 4px solid #df700f !important;
}