/* Shipment Tracking System — professional public tracking page */
.sts-tracking-wrap{
  --sts-navy:#10233f;
  --sts-blue:#1769d2;
  --sts-ink:#17263b;
  --sts-muted:#617187;
  --sts-line:#dce4ee;
  --sts-soft:#f5f8fc;
  max-width:1120px;
  margin:32px auto;
  color:var(--sts-ink);
  font-family:inherit;
  font-size:15px;
  line-height:1.6;
}
.sts-tracking-wrap *{box-sizing:border-box}
.sts-tracking-wrap .sts-search{
  padding:26px 28px;
  margin:0 0 24px;
  background:var(--sts-navy);
  color:#fff;
  border:1px solid #0a1a30;
  border-radius:12px;
  box-shadow:0 8px 24px rgba(16,35,63,.10);
}
.sts-tracking-wrap .sts-search label{
  display:block;
  margin:0 0 13px;
  color:#fff;
  font-size:21px;
  line-height:1.3;
  font-weight:700;
}
.sts-tracking-wrap .sts-search-row{display:flex;gap:12px;align-items:stretch}
.sts-tracking-wrap .sts-search-row input{
  flex:1 1 auto;
  min-width:0;
  min-height:52px;
  padding:13px 16px;
  border:1px solid #cbd5e1;
  border-radius:7px;
  background:#fff;
  color:#17263b !important;
  -webkit-text-fill-color:#17263b !important;
  caret-color:#17263b !important;
  font:inherit;
  font-size:16px;
  box-shadow:none;
}
.sts-tracking-wrap .sts-search-row input::placeholder{color:#77859a;opacity:1}
.sts-tracking-wrap .sts-search-row input:focus{
  outline:3px solid rgba(92,164,255,.38);
  outline-offset:1px;
  border-color:#7eb3f7;
}
.sts-tracking-wrap .sts-search-row button{
  flex:0 0 auto;
  min-height:52px;
  padding:13px 22px;
  border:1px solid #1769d2;
  border-radius:7px;
  background:var(--sts-blue);
  color:#fff;
  font:inherit;
  font-weight:700;
  cursor:pointer;
  transition:background .15s ease,transform .15s ease;
}
.sts-tracking-wrap .sts-search-row button:hover{background:#1058b7}
.sts-tracking-wrap .sts-search-row button:focus-visible{outline:3px solid #8abfff;outline-offset:2px}
.sts-tracking-wrap .sts-not-found{
  padding:16px 18px;
  margin:0 0 22px;
  border:1px solid #e8b9b9;
  border-left:4px solid #c43b3b;
  background:#fff8f8;
  color:#792c2c;
  border-radius:8px;
}
.sts-tracking-wrap .sts-result{
  padding:30px;
  background:#fff;
  border:1px solid var(--sts-line);
  border-radius:12px;
  box-shadow:0 10px 32px rgba(16,35,63,.07);
}
.sts-tracking-wrap .sts-result-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
  padding:0 0 22px;
  border-bottom:1px solid var(--sts-line);
}
.sts-tracking-wrap .sts-eyebrow{
  display:block;
  color:#65758b;
  font-size:11px;
  line-height:1.4;
  letter-spacing:1.35px;
  text-transform:uppercase;
  font-weight:750;
}
.sts-tracking-wrap .sts-result-head h2{
  margin:6px 0 0;
  color:var(--sts-navy);
  font-size:clamp(24px,3vw,32px);
  line-height:1.25;
  letter-spacing:-.5px;
  font-weight:750;
  overflow-wrap:anywhere;
}
.sts-tracking-wrap .sts-status-wrap{text-align:right;flex:0 0 auto}
.sts-tracking-wrap .sts-status-label{margin-bottom:7px}
.sts-tracking-wrap .sts-status-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:7px 13px;
  border:1px solid #cbdff8;
  border-radius:6px;
  background:#eff6ff;
  color:#174f91;
  font-size:13px;
  line-height:1.3;
  font-weight:750;
  overflow-wrap:anywhere;
}
.sts-tracking-wrap .sts-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  padding:22px 0 26px;
  border-bottom:1px solid var(--sts-line);
}
.sts-tracking-wrap .sts-summary>div{
  min-width:0;
  padding:2px 14px 2px 0;
}
.sts-tracking-wrap .sts-summary>div+div{padding-left:16px;border-left:1px solid #e8edf4}
.sts-tracking-wrap .sts-summary span{
  display:block;
  margin:0 0 6px;
  color:var(--sts-muted);
  font-size:12px;
  line-height:1.45;
}
.sts-tracking-wrap .sts-summary strong{
  display:block;
  color:#1a2b42;
  font-size:15px;
  line-height:1.55;
  font-weight:700;
  overflow-wrap:anywhere;
}
.sts-tracking-wrap .sts-result>h3{
  margin:28px 0 14px;
  color:var(--sts-navy);
  font-size:23px;
  line-height:1.35;
  letter-spacing:-.25px;
  font-weight:700;
}
.sts-tracking-wrap .sts-contact-details{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin:0 0 26px;
}
.sts-tracking-wrap .sts-contact-card{
  min-width:0;
  padding:20px 21px;
  border:1px solid var(--sts-line);
  border-radius:9px;
  background:#fff;
  overflow-wrap:anywhere;
}
.sts-tracking-wrap .sts-contact-card h4{
  margin:0 0 13px;
  padding:0 0 11px;
  border-bottom:1px solid #e8edf4;
  color:#263d59;
  font-size:16px;
  line-height:1.4;
  font-weight:700;
}
.sts-tracking-wrap .sts-contact-card p{
  margin:8px 0;
  color:#52647b;
  font-size:14px;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.sts-tracking-wrap .sts-contact-card p strong{color:#1b2b40;font-weight:700}
.sts-tracking-wrap .sts-package-details{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:0 0 28px;
}
.sts-tracking-wrap .sts-package-details>div{
  min-width:0;
  padding:15px 16px;
  border:1px solid var(--sts-line);
  border-radius:8px;
  background:var(--sts-soft);
  overflow-wrap:anywhere;
}
.sts-tracking-wrap .sts-package-details span{
  display:block;
  margin:0 0 5px;
  color:var(--sts-muted);
  font-size:12px;
  line-height:1.45;
}
.sts-tracking-wrap .sts-package-details strong{
  display:block;
  color:#1c2c42;
  font-size:14px;
  line-height:1.55;
  font-weight:700;
}
.sts-tracking-wrap .sts-package-details .sts-package-description{grid-column:1/-1}
.sts-tracking-wrap .sts-journey-card{
  margin:28px 0 30px;
  border:1px solid var(--sts-line);
  border-radius:10px;
  overflow:hidden;
  background:#fff;
  box-shadow:none;
  color:var(--sts-ink);
}
.sts-tracking-wrap .sts-journey-body{padding:24px 26px 20px}
.sts-tracking-wrap .sts-journey-history{border-top:0;padding-top:0}
.sts-tracking-wrap .sts-journey-history h3{
  margin:0 0 22px;
  color:var(--sts-navy);
  font-size:23px;
  line-height:1.35;
  letter-spacing:-.25px;
  font-weight:700;
}
.sts-tracking-wrap .sts-timeline{
  list-style:none;
  margin:0;
  padding:4px 0 0 8px;
}
.sts-tracking-wrap .sts-journey-history .sts-timeline{padding-left:5px}
.sts-tracking-wrap .sts-timeline-item{
  position:relative;
  display:flex;
  gap:14px;
  padding:0 0 24px;
}
.sts-tracking-wrap .sts-timeline-item:before{
  content:"";
  position:absolute;
  left:6px;
  top:15px;
  bottom:-1px;
  width:2px;
  background:#d7e2ef;
}
.sts-tracking-wrap .sts-timeline-item:last-child:before{display:none}
.sts-tracking-wrap .sts-dot{
  position:relative;
  z-index:1;
  flex:0 0 14px;
  width:14px;
  height:14px;
  margin-top:3px;
  border:2px solid var(--sts-blue);
  border-radius:50%;
  background:#fff;
}
.sts-tracking-wrap .sts-timeline-item strong{
  display:block;
  color:#1b2c43;
  font-size:15px;
  line-height:1.5;
  font-weight:700;
}
.sts-tracking-wrap .sts-timeline-item time{
  display:block;
  margin-top:4px;
  color:#728198;
  font-size:12px;
  line-height:1.5;
}
.sts-tracking-wrap .sts-timeline-item p{
  margin:7px 0 0;
  color:#52647b;
  font-size:14px;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.sts-tracking-wrap .sts-timeline-item p b{color:#354b65}
.sts-tracking-wrap .sts-timeline-item.sts-delivered .sts-dot{border-color:#16845b;background:#16845b}
.sts-tracking-wrap .sts-map{
  width:100%;
  height:380px;
  border:1px solid var(--sts-line);
  border-radius:9px;
  background:#edf2f7;
  overflow:hidden;
  z-index:1;
}
.sts-tracking-wrap .sts-map-note{
  margin:9px 0 0;
  color:#748298;
  font-size:12px;
  line-height:1.5;
}
@media(max-width:760px){
  .sts-tracking-wrap{margin:20px auto;font-size:14px}
  .sts-tracking-wrap .sts-result{padding:22px 20px}
  .sts-tracking-wrap .sts-summary{grid-template-columns:1fr;gap:13px;padding:18px 0 22px}
  .sts-tracking-wrap .sts-summary>div,
  .sts-tracking-wrap .sts-summary>div+div{padding:0;border-left:0}
  .sts-tracking-wrap .sts-contact-details{grid-template-columns:1fr}
  .sts-tracking-wrap .sts-package-details{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sts-tracking-wrap .sts-journey-body{padding:21px 18px 18px}
}
@media(max-width:520px){
  .sts-tracking-wrap .sts-search{padding:21px 18px}
  .sts-tracking-wrap .sts-search label{font-size:19px}
  .sts-tracking-wrap .sts-search-row{flex-direction:column}
  .sts-tracking-wrap .sts-search-row button{width:100%}
  .sts-tracking-wrap .sts-result{padding:18px 15px}
  .sts-tracking-wrap .sts-result-head{align-items:flex-start;flex-direction:column;gap:14px}
  .sts-tracking-wrap .sts-status-wrap{text-align:left}
  .sts-tracking-wrap .sts-result-head h2{font-size:25px}
  .sts-tracking-wrap .sts-result>h3,
  .sts-tracking-wrap .sts-journey-history h3{font-size:21px}
  .sts-tracking-wrap .sts-package-details{grid-template-columns:1fr}
  .sts-tracking-wrap .sts-package-details .sts-package-description{grid-column:auto}
  .sts-tracking-wrap .sts-map{height:300px}
}

/* Timeline progress states: completed = green check, current = blue, pending = hollow */
.sts-tracking-wrap .sts-timeline-item.sts-complete .sts-dot{
  display:flex;align-items:center;justify-content:center;
  border:2px solid #16845b;background:#16845b;color:#fff;
  font-size:10px;font-weight:800;line-height:1;
}
.sts-tracking-wrap .sts-timeline-item.sts-complete .sts-dot:after{
  content:"✓";display:block;transform:translateY(-.3px);
}
.sts-tracking-wrap .sts-timeline-item.sts-complete:before{background:#8bc9ad}
.sts-tracking-wrap .sts-timeline-item.sts-current .sts-dot{
  border:3px solid #1769d2;background:#fff;
  box-shadow:0 0 0 4px rgba(23,105,210,.12);
}
.sts-tracking-wrap .sts-timeline-item.sts-current:before{background:#b9d3f4}
.sts-tracking-wrap .sts-timeline-item.sts-pending .sts-dot{
  border:2px solid #9aa8b9;background:#fff;
}
.sts-tracking-wrap .sts-timeline-item.sts-pending strong{color:#65758b}
.sts-tracking-wrap .sts-timeline-item.sts-pending time{color:#8996a8}

/* Dynamic route radar dashboard */
.sts-tracking-wrap .sts-route-dashboard{margin:30px 0 8px;overflow:hidden;border:1px solid #1d2b42;border-radius:22px;background:#0b1528;color:#f5f8ff;box-shadow:0 18px 42px rgba(10,22,42,.16)}
.sts-tracking-wrap .sts-route-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px 26px;border-bottom:1px solid rgba(174,194,223,.14)}
.sts-tracking-wrap .sts-route-title-group{display:flex;align-items:center;gap:13px;min-width:0;flex-wrap:wrap}
.sts-tracking-wrap .sts-route-pin{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#f45a35;color:#fff;font-size:18px;box-shadow:0 0 0 6px rgba(244,90,53,.12)}
.sts-tracking-wrap .sts-route-heading{display:flex;flex-direction:column;gap:3px}.sts-tracking-wrap .sts-route-title-group h3{margin:0;color:#f7f9ff;font-size:22px;font-weight:750;letter-spacing:-.35px}.sts-tracking-wrap .sts-route-subheading{color:#91a4bf;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.sts-tracking-wrap .sts-route-title-group p{margin:4px 0 0;color:#9baac0;font-size:12px}
.sts-tracking-wrap .sts-route-live-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border:1px solid rgba(0,203,145,.32);border-radius:999px;background:rgba(0,169,117,.12);color:#70e2bd;font-size:11px;font-weight:700;max-width:220px}
.sts-tracking-wrap .sts-route-live-badge i{display:block;width:7px;height:7px;border-radius:50%;background:#00c991;flex:none}
.sts-tracking-wrap .sts-route-metrics{display:flex;gap:10px;flex-wrap:wrap}
.sts-tracking-wrap .sts-route-metrics>div{min-width:130px;padding:10px 13px;border:1px solid rgba(174,194,223,.13);border-radius:12px;background:#111f35}
.sts-tracking-wrap .sts-route-metrics small{display:block;color:#93a4bd;font-size:9px;font-weight:800;letter-spacing:.8px}
.sts-tracking-wrap .sts-route-metrics strong{display:block;margin-top:5px;color:#f5f8ff;font-size:12px;overflow-wrap:anywhere}
.sts-tracking-wrap .sts-route-map-stage{position:relative;margin:0;padding:16px 20px 20px;background:#0b1528}
.sts-tracking-wrap .sts-map{height:480px;width:100%;border:1px solid rgba(173,195,223,.18);border-radius:15px;background:#08152b;overflow:hidden;z-index:1}
.sts-tracking-wrap .sts-map-legend{position:absolute;left:34px;bottom:36px;z-index:500;display:flex;gap:13px;flex-wrap:wrap;padding:10px 13px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:rgba(8,19,37,.91);color:#d8e2f2;font-size:10px;box-shadow:0 5px 20px rgba(0,0,0,.2)}
.sts-tracking-wrap .sts-map-legend span{display:flex;align-items:center;gap:6px}
.sts-tracking-wrap .sts-map-legend i{display:inline-block;width:8px;height:8px;border-radius:50%}
.sts-tracking-wrap .sts-legend-origin{background:#00c991}.sts-tracking-wrap .sts-legend-complete{background:#10b981}.sts-tracking-wrap .sts-legend-current{background:#f97316;box-shadow:0 0 0 3px rgba(249,115,22,.2)}.sts-tracking-wrap .sts-legend-destination{background:#277bff}
.sts-tracking-wrap .sts-map-center-button{position:absolute;right:34px;bottom:36px;z-index:500;border:0;border-radius:999px;padding:11px 17px;background:#fff;color:#101d33;font-size:12px;font-weight:800;box-shadow:0 5px 20px rgba(0,0,0,.18);cursor:pointer}
.sts-tracking-wrap .sts-map-center-button:hover{background:#eaf1fc;color:#0b1528}
.sts-tracking-wrap .sts-map-note{margin:0;padding:0 24px 20px;background:#0b1528;color:#91a1b8;font-size:11px}
.sts-tracking-wrap .sts-map-pin-wrap{background:transparent;border:0}
.sts-tracking-wrap .sts-map-pin{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:2px solid #fff;border-radius:50%;transform:none;color:#fff;font-size:13px;font-weight:900;box-shadow:0 5px 14px rgba(0,0,0,.35)}

.sts-tracking-wrap .sts-map-pin-origin{background:#059669}.sts-tracking-wrap .sts-map-pin-current{background:#f97316;box-shadow:0 0 0 5px rgba(249,115,22,.22),0 5px 14px rgba(0,0,0,.35)}.sts-tracking-wrap .sts-map-pin-checkpoint{background:#0f766e}.sts-tracking-wrap .sts-map-pin-waypoint{background:#7c3aed}.sts-tracking-wrap .sts-map-pin-destination{background:#2563eb}
.sts-tracking-wrap .sts-map-popup{min-width:150px;color:#14233a}.sts-tracking-wrap .sts-map-popup strong,.sts-tracking-wrap .sts-map-popup span,.sts-tracking-wrap .sts-map-popup small{display:block}.sts-tracking-wrap .sts-map-popup span{margin-top:4px;color:#4b617c}.sts-tracking-wrap .sts-map-popup small{margin-top:5px;color:#73849b}
@media(max-width:760px){.sts-tracking-wrap .sts-route-dashboard-head{align-items:flex-start;flex-direction:column;padding:19px}.sts-tracking-wrap .sts-route-title-group h3{font-size:19px}.sts-tracking-wrap .sts-route-metrics{width:100%}.sts-tracking-wrap .sts-route-metrics>div{flex:1;min-width:0}.sts-tracking-wrap .sts-route-map-stage{padding:10px}.sts-tracking-wrap .sts-map{height:380px}.sts-tracking-wrap .sts-map-legend{left:20px;right:20px;bottom:68px;gap:9px}.sts-tracking-wrap .sts-map-center-button{left:20px;right:20px;bottom:18px}.sts-tracking-wrap .sts-map-note{padding:0 14px 16px}}


/* Professional map markers: labels appear only when a customer selects a marker. */

.sts-tracking-wrap .sts-map-popup{min-width:180px;max-width:260px;color:#14233a;overflow-wrap:break-word}
.sts-tracking-wrap .sts-map-popup strong,.sts-tracking-wrap .sts-map-popup span,.sts-tracking-wrap .sts-map-popup small{display:block;white-space:normal;overflow-wrap:break-word}
.sts-tracking-wrap .sts-map-popup-role{margin-bottom:4px;color:#0f766e;font-size:10px;font-weight:800;letter-spacing:.06em}
.sts-tracking-wrap .sts-map-pin-current{position:relative;animation:sts-current-pulse 1.8s ease-out infinite}
@keyframes sts-current-pulse{0%{box-shadow:0 0 0 0 rgba(249,115,22,.48),0 5px 14px rgba(0,0,0,.35)}70%{box-shadow:0 0 0 10px rgba(249,115,22,0),0 5px 14px rgba(0,0,0,.35)}100%{box-shadow:0 0 0 0 rgba(249,115,22,0),0 5px 14px rgba(0,0,0,.35)}}


/* v1.2.6: slightly darken satellite imagery to match the high-contrast logistics radar design.
   Markers, controls, popups and the route overlay remain unaffected. */
.sts-tracking-wrap .sts-map .leaflet-tile-pane{
  filter:brightness(.76) saturate(1.08) contrast(1.06);
}


/* v1.3.0: animated shipment icon on the active route; no right-side checkpoint overlay. */
.sts-tracking-wrap .sts-moving-marker-wrap{background:transparent!important;border:0!important}
.sts-tracking-wrap .sts-moving-marker{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:2px solid #fff;border-radius:50%;background:#f45a35;color:#fff;font-size:18px;line-height:1;box-shadow:0 0 0 5px rgba(244,90,53,.2),0 5px 16px rgba(0,0,0,.4);animation:sts-moving-marker-pulse 1.5s ease-in-out infinite;transform:rotate(0deg)}
@keyframes sts-moving-marker-pulse{0%,100%{box-shadow:0 0 0 3px rgba(244,90,53,.18),0 5px 16px rgba(0,0,0,.4)}50%{box-shadow:0 0 0 8px rgba(244,90,53,0),0 5px 16px rgba(0,0,0,.4)}}
