/* Issue #562: trang Tra đơn hàng – Bảo hành (/tra-cuu/, content/temp1/tra_cuu.php). Chỉ trang này nạp tệp này.
   Màu theo web hiện tại: --ht-ict (xanh icon), --ht-navy (xanh đậm); có giá trị dự phòng khi biến chưa có. */
.hth-tc { max-width: 760px; margin: 20px auto 32px; padding: 0 16px; color: #222; font-size: 15px; line-height: 1.45; box-sizing: border-box; }
.hth-tc *, .hth-tc *:before, .hth-tc *:after { box-sizing: border-box; }
.hth-tc-tieu-de { font-size: 22px; font-weight: 700; color: var(--ht-navy, #042475); margin: 0 0 6px; }
.hth-tc-mo-ta { color: #555; margin: 0 0 14px; }
.hth-tc-form { background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 14px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.hth-tc-o { flex: 1 1 220px; min-width: 0; }
.hth-tc-o label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 4px; }
.hth-tc-o input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #cfd4da; border-radius: 8px; font-size: 15px; background: #fff; }
.hth-tc-o input:focus { outline: none; border-color: var(--ht-ict, #1B98E0); box-shadow: 0 0 0 3px rgba(27, 152, 224, 0.18); }
.hth-tc-bat-buoc { color: #e11d2e; }
.hth-tc-phu { color: #777; font-weight: 400; font-size: 13px; }
.hth-tc-mbv { display: flex; gap: 8px; align-items: center; }
.hth-tc-mbv img { flex: none; border-radius: 4px; }
.hth-tc-nut { flex: 0 0 auto; height: 42px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--ht-ict, #1B98E0); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.hth-tc-nut:hover { background: var(--ht-navy, #042475); }
.hth-tc-nut[disabled] { background: #b8c2cc; cursor: not-allowed; }
.hth-tc-bao { margin: 14px 0 0; padding: 10px 12px; border-radius: 8px; background: #fff4e5; border: 1px solid #f5c98b; color: #7a4a00; }
.hth-tc-bao a, .hth-tc-chu-y a { color: var(--ht-ict, #1B98E0); font-weight: 700; }
.hth-tc-kq { margin-top: 16px; background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 14px; }
.hth-tc-kq-dau { font-weight: 700; }
.hth-tc-chi-tiet { margin: 12px 0 4px; border: 1px solid #d5eef9; background: #f3fafe; border-radius: 8px; padding: 10px 12px; }
.hth-tc-chi-tiet-dau { font-weight: 700; color: var(--ht-navy, #042475); margin-bottom: 6px; }
.hth-tc-chi-tiet dl { display: grid; grid-template-columns: 130px 1fr; gap: 4px 10px; margin: 0; font-size: 14px; }
.hth-tc-chi-tiet dt { color: #666; font-weight: 400; }
.hth-tc-chi-tiet dd { margin: 0; word-break: break-word; }
.hth-tc-tabs { display: flex; border-bottom: 2px solid #e3e6ea; margin: 12px 0; }
.hth-tc-tabs button { background: none; border: 0; padding: 8px 14px; font-size: 14px; color: #666; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.hth-tc-tabs button.on { color: var(--ht-ict, #1B98E0); font-weight: 700; border-bottom-color: var(--ht-ict, #1B98E0); }
.hth-tc-don { border: 1px solid #e3e6ea; border-radius: 8px; padding: 10px; margin-bottom: 10px; }
.hth-tc-don-dau { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-weight: 700; }
.hth-tc-don-hang { font-size: 13px; color: #555; margin-top: 4px; word-break: break-word; }
.hth-tc-the { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.hth-tc-the.the-xanh { background: #e7f6ec; color: #1a7f3f; }
.hth-tc-the.the-cam { background: #fff3e0; color: #b45f00; }
.hth-tc-the.the-xam { background: #eee; color: #666; }
.hth-tc-bh { display: flex; gap: 10px; align-items: center; border-top: 1px solid #e3e6ea; padding: 10px 0; }
.hth-tc-bh:first-child { border-top: 0; }
.hth-tc-bh-ten { flex: 1; min-width: 0; font-size: 14px; word-break: break-word; }
.hth-tc-bh-ten small { display: block; color: #666; font-size: 12px; }
.hth-tc-vach { height: 6px; background: #eee; border-radius: 3px; margin-top: 5px; overflow: hidden; }
.hth-tc-vach i { display: block; height: 100%; background: #1a9b4b; }
.hth-tc-chu-y { font-size: 13px; color: #666; background: #f7f9fb; border-radius: 8px; padding: 9px 12px; margin-top: 14px; }
/* Issue #571: khung "Đơn bạn vừa đặt" (viền xanh lá, trên ô tra cứu) */
.hth-tc-vua { margin: 0 0 14px; background: #f1fbf4; border: 2px solid #1a9b4b; border-radius: 10px; padding: 12px 14px; }
.hth-tc-vua-dau { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.hth-tc-vua-tieu-de { font-weight: 700; font-size: 16px; color: #1a7f3f; }
.hth-tc-vua-hang { list-style: none; margin: 8px 0; padding: 0; font-size: 14px; }
.hth-tc-vua-hang li { padding: 3px 0; word-break: break-word; }
.hth-tc-vua-hang li span { color: #555; white-space: nowrap; }
.hth-tc-vua dl { display: grid; grid-template-columns: 130px 1fr; gap: 4px 10px; margin: 0; font-size: 14px; }
.hth-tc-vua dt { color: #666; font-weight: 400; }
.hth-tc-vua dd { margin: 0; word-break: break-word; }
.hth-tc-vua-chu { margin: 8px 0 0; font-size: 12px; color: #666; }
@media (max-width: 600px) {
  .hth-tc { margin-top: 12px; }
  .hth-tc-tieu-de { font-size: 19px; }
  .hth-tc-nut { width: 100%; }
  .hth-tc-chi-tiet dl, .hth-tc-vua dl { grid-template-columns: 110px 1fr; }
}
