/* Compass Track — tracking page (accent matches store green #007416) */
.ct-track { max-width: 900px; margin: 0 auto; padding: 8px 16px 48px; font-size: 16px; line-height: 1.5; }
.ct-track *, .ct-track *::before, .ct-track *::after { box-sizing: border-box; }

/* Lookup: one smart field */
.ct-lookup-head { text-align: center; font-weight: 600; margin: 4px auto 8px; display: flex; gap: 8px 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.ct-lookup-head .ct-or { color: #9a9a9a; font-size: 12px; font-weight: 400; border: 1px solid #e3e3e3; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.ct-lookup-examples { text-align: center; color: #9a9a9a; font-size: 12.5px; margin: 0 auto 14px; overflow-wrap: anywhere; }
.ct-lookup-examples span { white-space: nowrap; }
.ct-lookup-one { display: flex; gap: 10px; margin: 0 auto 32px; max-width: 640px; }
.ct-q { flex: 1; padding: 14px 18px; border: 1px solid #ccc; border-radius: 999px; font-size: 16px; min-width: 0; }
.ct-q:focus { outline: 2px solid #00741633; border-color: #007416; }
.ct-lookup-one .ct-btn { border-radius: 999px; padding: 14px 28px; align-self: stretch; }

/* Map */
.ct-map-wrap { position: relative; margin: 0 0 20px; border-radius: 12px; overflow: hidden; border: 1px solid #e5e5e5; }
.ct-map { display: block; width: 100%; height: 300px; border: 0; }
.ct-map-card { position: absolute; z-index: 2; top: 14px; left: 14px; background: #fff; border-radius: 10px; padding: 12px 16px; box-shadow: 0 2px 10px rgba(0,0,0,.12); max-width: 60%; }
.ct-map-city { font-weight: 600; }
.ct-btn { display: inline-block; background: #007416; color: #fff !important; border: 0; border-radius: 8px; padding: 10px 22px; font-size: 15px; cursor: pointer; text-decoration: none; text-align: center; align-self: flex-start; }
.ct-btn:hover { background: #006112; }

/* Progress */
.ct-order-title { text-align: center; margin: 8px 0 24px; }
.ct-progress { display: flex; margin: 0 0 24px; }
.ct-step { flex: 1; position: relative; text-align: center; }
.ct-step .ct-dot { display: block; width: 14px; height: 14px; margin: 0 auto 8px; border-radius: 50%; background: #d9d9d9; position: relative; z-index: 2; }
.ct-step::before { content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 3px; background: #e3e3e3; z-index: 1; }
.ct-step:first-child::before { display: none; }
.ct-step.is-done .ct-dot { background: #007416; }
.ct-step.is-done::before { background: #007416; }
.ct-step-label { font-size: 13px; color: #666; }
.ct-step.is-done .ct-step-label { color: #1a1a1a; font-weight: 600; }

/* Banner */
.ct-banner { border-radius: 10px; padding: 14px 16px; margin: 0 0 20px; font-weight: 600; }
.ct-banner-info { background: #eef7ef; color: #0b5c1c; }
.ct-banner-warn { background: #fdf0ef; color: #9c2b23; }

/* Last-mile */
.ct-local { border: 1px solid #e5e5e5; border-left: 4px solid #007416; border-radius: 10px; padding: 16px; margin: 0 0 24px; }
.ct-local-label { font-size: 13px; color: #777; margin-bottom: 4px; }
.ct-local-num { font-size: 17px; font-weight: 600; margin-bottom: 10px; word-break: break-all; }
.ct-btn-local { padding: 9px 18px; font-size: 14px; }

/* Events */
.ct-history-title { margin: 24px 0 12px; }
.ct-events { list-style: none; margin: 0; padding: 0; border-left: 2px solid #e3e3e3; }
.ct-event { position: relative; padding: 0 0 18px 20px; }
.ct-event::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #cfcfcf; }
.ct-event:first-child::before { background: #007416; }
.ct-event-time { display: block; font-size: 12px; color: #888; margin-bottom: 2px; }
.ct-event-desc { font-size: 15px; }
.ct-event-loc { color: #888; font-size: 13px; }
.ct-error { background: #fdf0ef; color: #9c2b23; border-radius: 10px; padding: 14px 16px; }
.ct-muted { color: #888; }

@media (max-width: 640px) {
  .ct-lookup-one { flex-direction: column; }
  .ct-lookup-one .ct-btn { align-self: stretch; }
  .ct-lookup-head { font-size: 14px; }
  .ct-step-label { font-size: 11px; }
  .ct-map { height: 220px; }
  .ct-map-card { max-width: 75%; padding: 10px 12px; }
}
