/* Nexora Express — Responsive tracking page. Original layout preserved. */

:root {
  --navy:#10213d;
  --navy-deep:#0c1830;
  --ink:#172744;
  --slate:#65758e;
  --line:#e8edf4;
  --surface:#f5f8fc;
  --blue:#df1119;
  --blue-strong:#b80b12;
  --aqua:#75e1cd;
  --green:#1c9b72;
  --shadow:0 12px 38px rgba(18,37,73,.045);
  --radius:18px
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  background:#f8fafc;
  color:var(--ink);
  font-family:"DM Sans",Arial,sans-serif;
  -webkit-font-smoothing:antialiased
}

button,input {
  font:inherit
}

button {
  cursor:pointer
}

a {
  color:inherit;
  text-decoration:none
}

svg.icon {
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:none
}

.icon-definitions {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden
}

.container {
  width:min(1190px,calc(100% - 48px));
  margin:auto
}

.announcement {
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:0 20px;
  text-align:center;
  color:#cad9ed;
  background:#0d1931;
  font-size:11px;
  letter-spacing:.035em
}

.announcement-dot {
  width:6px;
  height:6px;
  border-radius:100%;
  background:#73dec7;
  box-shadow:0 0 0 4px #73dec71d
}

.announcement-divider {
  color:#6382a5
}

.site-header {
  background:#fff;
  z-index:5;
  position:relative;
  border-bottom:1px solid #eef1f6
}

.header-inner {
  height:80px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:11px;
  color:#142843;
  flex:none
}

.brand-mark {
  display:grid;
  place-items:center;
  background:#142844;
  color:#fff;
  width:43px;
  height:43px;
  border-radius:12px
}

.brand-mark svg {
  width:30px;
  height:30px
}

.brand-text {
  display:flex;
  flex-direction:column;
  gap:4px;
  line-height:1
}

.brand-text strong {
  font:800 17px/1 "Manrope",Arial,sans-serif;
  letter-spacing:-.8px
}

.brand-text strong span {
  color:var(--blue)
}

.brand-text small {
  font-size:8px;
  font-weight:800;
  letter-spacing:1.65px;
  color:#8c9baf
}

.desktop-nav {
  display:flex;
  align-items:center;
  gap:35px
}

.desktop-nav a {
  font-size:13px;
  color:#61718c;
  font-weight:700;
  transition:color .15s
}

.desktop-nav a:hover,.desktop-nav a.active {
  color:var(--blue)
}

.region-chip {
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid #e8edf4;
  background:#f6f8fb;
  border-radius:50px;
  color:#5e6f87;
  padding:9px 12px;
  font-size:11px;
  font-weight:700
}

.region-chip .icon {
  width:14px;
  height:14px
}

.menu-toggle {
  display:none;
  align-items:center;
  justify-content:center;
  border:1px solid #e4eaf2;
  background:#fff;
  border-radius:10px;
  width:42px;
  height:42px;
  color:var(--ink)
}

.mobile-nav {
  display:none;
  padding:8px 24px 20px;
  border-top:1px solid var(--line);
  flex-direction:column
}

.mobile-nav a {
  padding:12px;
  color:#344760;
  font-size:14px;
  font-weight:700
}

.hero {
  position:relative;
  overflow:hidden;
  background:linear-gradient(112deg,#0d1932 0%,#122c52 58%,#174c79 115%);
  color:#fff;
  padding:63px 0 82px
}

.hero-grid-lines {
  pointer-events:none;
  position:absolute;
  inset:0;
  background-image:linear-gradient(#c7e8ff0a 1px,transparent 1px),linear-gradient(90deg,#c7e8ff0a 1px,transparent 1px);
  background-size:43px 43px;
  mask-image:linear-gradient(90deg,transparent 24%,#000)
}

.hero-inner {
  position:relative
}

.hero-copy {
  position:relative;
  z-index:2;
  max-width:760px
}

.hero-kicker {
  display:flex;
  align-items:center;
  gap:10px;
  color:#9ee0e0;
  font-size:10px;
  font-weight:800;
  letter-spacing:2px;
  margin-bottom:20px
}

.hero-kicker span {
  height:6px;
  width:6px;
  background:#82e4d6;
  border-radius:50%
}

.hero h1 {
  font:800 clamp(35px,4.5vw,56px)/1.17 "Manrope",sans-serif;
  letter-spacing:-2.6px;
  margin:0 0 14px
}

.hero h1 em {
  font-style:normal;
  color:#9adfeb
}

.hero-copy p {
  max-width:580px;
  color:#b8c8df;
  font-size:14px;
  line-height:1.85;
  margin:0
}

.hero-decoration {
  position:absolute;
  right:40px;
  top:-30px;
  width:340px;
  height:275px;
  opacity:.55;
  pointer-events:none
}

.orbit {
  border:1px dashed #9bd9ea77;
  border-radius:50%;
  position:absolute;
  inset:10px 20px;
  transform:rotate(-25deg)
}

.orbit-two {
  inset:48px 61px;
  border-color:#b5eaff44;
  transform:rotate(25deg)
}

.hero-orbit-icon {
  position:absolute;
  right:78px;
  top:77px;
  width:80px;
  height:80px;
  background:#1b507b;
  border:1px solid #7cd8e087;
  border-radius:22px;
  display:grid;
  place-items:center;
  transform:rotate(-17deg)
}

.hero-orbit-icon .icon {
  width:44px;
  height:44px;
  color:#a6e9e7
}

.hero-dot {
  position:absolute;
  width:13px;
  height:13px;
  background:#88e6d9;
  border-radius:50%
}

.hero-dot.d1 {
  top:20px;
  right:125px
}

.hero-dot.d2 {
  bottom:42px;
  left:22px
}

.search-panel {
  position:relative;
  z-index:2;
  margin-top:34px;
  padding:22px 24px 19px;
  background:#fff;
  border:1px solid #edf1f6;
  border-radius:16px;
  box-shadow:0 15px 45px #08152e38;
  max-width:920px;
  color:#243750
}

.search-panel>label {
  display:block;
  font-size:13px;
  font-weight:800;
  margin:0 0 12px
}

.search-controls {
  display:flex;
  gap:10px
}

.search-input-wrap {
  height:52px;
  display:flex;
  align-items:center;
  gap:11px;
  border:1px solid #e0e7f0;
  background:#fafbfd;
  border-radius:9px;
  padding:0 16px;
  flex:1;
  min-width:0
}

.search-input-wrap:focus-within {
  outline:3px solid #dae5ff;
  border-color:#7ea0eb
}

.search-input-wrap .icon {
  color:#8899b0;
  width:20px;
  height:20px
}

.search-input-wrap input {
  border:0;
  outline:0;
  background:none;
  font-size:14px;
  font-weight:700;
  color:#22334e;
  width:100%;
  min-width:0
}

.search-input-wrap input::placeholder {
  color:#9aa7b9;
  font-weight:500
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:9px;
  border:1px solid transparent;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
  transition:transform .15s,background .15s;
  min-height:42px;
  padding:0 17px
}

.btn:active {
  transform:translateY(1px)
}

.btn-primary {
  background:var(--blue);
  color:white;
  padding:0 22px
}

.btn-primary:hover {
  background:var(--blue-strong)
}

.btn-primary .icon {
  width:16px;
  height:16px
}

.search-bottom {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 12px;
  padding-top:15px;
  color:#7d8ba2;
  font-size:11px
}

.samples {
  display:flex;
  gap:8px;
  flex-wrap:wrap
}

.sample-id {
  background:#f1f5ff;
  color:#4969ab;
  border:1px solid #e3eaff;
  border-radius:6px;
  padding:5px 8px;
  font-size:10px;
  font-weight:800
}

.sample-id:hover {
  border-color:#95b0f0;
  background:#e7eefe
}

.form-error {
  font-size:12px;
  color:#c93c50;
  margin:12px 0 0;
  font-weight:700
}

.results {
  position:relative;
  margin-top:-20px;
  padding-bottom:76px
}

.result-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin:56px 0 23px
}

.section-eyebrow {
  font-size:10px;
  letter-spacing:1.45px;
  font-weight:800;
  color:#2f68e5
}

.result-heading h2 {
  font:800 27px/1.25 "Manrope",sans-serif;
  letter-spacing:-.9px;
  margin:8px 0 6px
}

.result-heading p {
  margin:0;
  color:#8694a8;
  font-size:12px
}

.heading-actions {
  display:flex;
  gap:9px
}

.btn-outline {
  background:#fff;
  border-color:#e1e8f2;
  color:#40546e
}

.btn-outline:hover {
  background:#eef4ff;
  border-color:#c6d7f8
}

.btn-small {
  min-height:38px;
  font-size:11px;
  padding:0 13px
}

.btn-small .icon {
  height:15px;
  width:15px
}

.card {
  background:#fff;
  border:1px solid #e7edf5;
  border-radius:var(--radius);
  box-shadow:var(--shadow)
}

.status-card {
  padding:27px 30px 24px
}

.status-card-main {
  display:flex;
  gap:18px;
  align-items:center
}

.status-icon {
  height:67px;
  width:67px;
  display:grid;
  place-items:center;
  flex:none;
  background:#eaf1ff;
  border-radius:18px;
  color:var(--blue)
}

.status-icon .icon {
  height:31px;
  width:31px
}

.status-topline {
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap
}

.status-label {
  font-size:10px;
  color:#2269e6;
  background:#eaf2ff;
  border-radius:6px;
  font-weight:800;
  padding:6px 9px;
  text-transform:uppercase;
  letter-spacing:.7px
}

.status-label.delivered {
  color:#16835d;
  background:#e6f8ee
}

.status-label.clearance {
  color:#b66c10;
  background:#fff3df
}

.status-tracking {
  color:#8190a6;
  font-size:11px
}

.status-tracking strong {
  color:#4a6081
}

.status-card h3 {
  font:800 21px/1.25 "Manrope",sans-serif;
  letter-spacing:-.5px;
  margin:8px 0 5px
}

.status-card-main p {
  color:#8491a4;
  font-size:12px;
  margin:0;
  line-height:1.6
}

.status-divider,.detail-divider {
  height:1px;
  background:var(--line);
  margin:24px 0
}

.status-card-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px
}

.stat {
  display:flex;
  flex-direction:column;
  gap:6px
}

.stat+.stat {
  border-left:1px solid var(--line);
  padding-left:30px
}

.stat-label {
  display:flex;
  align-items:center;
  gap:8px;
  color:#8795ab;
  font-weight:700;
  font-size:11px
}

.stat-label .icon {
  width:15px;
  height:15px
}

.stat strong {
  font:800 14px/1.4 "Manrope",sans-serif;
  letter-spacing:-.3px
}

.stat-note {
  color:#9aa7ba;
  font-size:10px
}

.progress-card {
  margin-top:17px;
  padding:23px 29px 24px
}

.progress-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px
}

.progress-heading h3 {
  font:800 15px "Manrope",sans-serif;
  margin:0
}

.progress-right {
  display:flex;
  align-items:baseline;
  gap:7px
}

.progress-right span {
  color:#2b64e6;
  font-weight:800;
  font-size:16px
}

.progress-right small {
  color:#95a1b4;
  font-size:10px
}

.progress-track {
  background:#e8eef9;
  height:8px;
  border-radius:10px;
  margin:18px 0 17px;
  overflow:hidden
}

.progress-fill {
  background:linear-gradient(90deg,#39b9b1,#3368ee);
  height:100%;
  width:60%;
  border-radius:10px;
  transition:width .4s ease
}

.progress-stages {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px
}

.progress-stage {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:10px;
  font-weight:800;
  color:#a8b2c2
}

.progress-stage svg {
  height:15px;
  width:15px
}

.progress-stage.complete {
  color:#278e77
}

.progress-stage.current {
  color:#3269e9
}

.progress-stage.future {
  color:#a2adbc
}

.content-grid {
  display:grid;
  grid-template-columns:minmax(0,1.72fr) minmax(290px,1fr);
  gap:19px;
  align-items:start;
  margin-top:19px
}

.left-column,.right-column {
  display:flex;
  flex-direction:column;
  gap:19px;
  min-width:0
}

.map-card,.history-card,.details-card {
  padding:25px
}

.card-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:19px
}

.card-heading h3 {
  font:800 19px/1.35 "Manrope",sans-serif;
  letter-spacing:-.5px;
  margin:5px 0 0
}

.card-heading p {
  font-size:12px;
  color:#93a0b2;
  margin:7px 0 0
}

.map-tag {
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#ebf8f3;
  color:#319271;
  font-size:10px;
  font-weight:800;
  border-radius:6px;
  padding:7px 9px;
  white-space:nowrap
}

.map-tag span {
  height:6px;
  width:6px;
  background:#4bb792;
  border-radius:50%
}

.map-frame-wrap {
  position:relative;
  height:342px;
  border-radius:12px;
  overflow:hidden;
  background:#dce7f3
}

.map-frame-wrap iframe {
  border:0;
  display:block;
  width:100%;
  height:100%
}

.map-overlay {
  position:absolute;
  bottom:14px;
  left:14px;
  right:14px;
  display:flex;
  align-items:center;
  gap:10px;
  max-width:340px;
  padding:11px 13px;
  background:#fffffff0;
  backdrop-filter:blur(10px);
  border:1px solid #fff;
  border-radius:10px;
  box-shadow:0 5px 20px #1a365b20;
  pointer-events:none
}

.map-overlay-icon {
  width:34px;
  height:34px;
  border-radius:9px;
  display:grid;
  place-items:center;
  background:#e7efff;
  color:var(--blue);
  flex:none
}

.map-overlay-icon .icon {
  width:17px;
  height:17px
}

.map-overlay small {
  font-size:10px;
  color:#8999af;
  display:block;
  margin-bottom:3px
}

.map-overlay strong {
  font-size:12px;
  color:#25405f
}

.map-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:16px
}

.map-footer>div {
  display:flex;
  flex-direction:column;
  gap:5px
}

.location-hint,.map-disclaimer {
  font-size:10px;
  color:#8c9aae;
  line-height:1.5
}

.map-disclaimer {
  color:#a6b0bf
}

.map-footer a {
  display:flex;
  align-items:center;
  gap:5px;
  color:#2e64db;
  font-size:11px;
  font-weight:800;
  white-space:nowrap
}

.map-footer a .icon {
  height:13px;
  width:13px
}

.event-count {
  padding:7px 9px;
  background:#f2f5f9;
  border-radius:6px;
  font-size:10px;
  font-weight:800;
  color:#7e8da3;
  white-space:nowrap
}

.timeline {
  position:relative;
  margin-top:27px
}

.timeline-event {
  display:grid;
  grid-template-columns:115px 32px minmax(0,1fr);
  column-gap:10px;
  position:relative;
  min-height:108px
}

.timeline-event:last-child {
  min-height:86px
}

.timeline-when {
  padding-top:2px
}

.timeline-when strong {
  display:block;
  font-size:11px;
  font-weight:800;
  color:#3e526d
}

.timeline-when span {
  display:block;
  font-size:10px;
  color:#9aabba;
  margin-top:5px
}

.timeline-rail {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center
}

.timeline-rail::after {
  content:"";
  position:absolute;
  top:27px;
  bottom:0;
  left:50%;
  border-left:1px dashed #d6deeb
}

.timeline-event:last-child .timeline-rail::after {
  display:none
}

.timeline-bullet {
  z-index:1;
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  border-radius:50%;
  background:#f0f3f8;
  color:#8a9bb2;
  border:1px solid #e3e9f1
}

.timeline-bullet .icon {
  width:13px;
  height:13px
}

.timeline-event.latest .timeline-bullet {
  background:var(--blue);
  color:#fff;
  box-shadow:0 0 0 5px #e9efff;
  border-color:var(--blue)
}

.timeline-event.delivered .timeline-bullet {
  background:#208f6b;
  color:#fff;
  border-color:#208f6b
}

.timeline-copy {
  padding:1px 0 22px
}

.timeline-copy h4 {
  font-size:13px;
  font-weight:800;
  margin:0 0 5px;
  color:#2d3d57
}

.timeline-copy p {
  color:#8998ac;
  font-size:11px;
  line-height:1.65;
  margin:0 0 8px
}

.timeline-location {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  color:#73859f;
  font-size:10px;
  font-weight:700
}

.timeline-location .icon {
  width:13px;
  height:13px
}

.timeline-location button {
  border:0;
  background:transparent;
  padding:2px 0 2px 7px;
  border-left:1px solid #dbe2ed;
  color:var(--blue);
  font-size:10px;
  font-weight:800
}

.timeline-location button:hover {
  text-decoration:underline
}

.history-more {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:1px solid #e0e9f6;
  border-radius:9px;
  background:#f8faff;
  width:100%;
  padding:12px;
  color:#3168e0;
  font-size:11px;
  font-weight:800
}

.history-more:hover {
  background:#edf3ff
}

.history-more .icon {
  width:15px;
  height:15px;
  transition:transform .15s
}

.history-more.expanded .icon {
  transform:rotate(180deg)
}

.detail-box-icon {
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  background:#f2f5fb;
  border-radius:11px;
  color:#6580a2
}

.detail-box-icon .icon {
  width:20px;
  height:20px
}

.route-label {
  font-size:9px;
  font-weight:800;
  color:#9eabc0;
  letter-spacing:1.3px;
  margin:17px 0 9px 43px
}

.route-place {
  display:flex;
  align-items:center;
  gap:11px
}

.route-pin {
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:50%;
  flex:none
}

.route-pin .icon {
  height:16px;
  width:16px
}

.origin-pin {
  background:#e7efff;
  color:#2768e5
}

.destination-pin {
  background:#e6f7ee;
  color:#21916c
}

.route-place>div {
  display:flex;
  flex-direction:column;
  gap:4px
}

.route-place strong {
  font:800 13px "Manrope",sans-serif
}

.route-place span:not(.route-pin) {
  color:#9aa9ba;
  font-size:10px
}

.route-connector {
  height:19px;
  border-left:2px dashed #d6dfee;
  margin:9px 0 0 15px
}

.detail-list {
  display:flex;
  flex-direction:column;
  gap:18px
}

.detail-list>div {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px
}

.detail-list span {
  color:#94a1b3;
  font-size:11px
}

.detail-list strong {
  color:#354762;
  font-size:11px;
  text-align:right
}

.insurance-note {
  margin-top:25px;
  border-radius:10px;
  background:#f3f8ff;
  padding:12px;
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:#7186a5;
  font-size:10px;
  line-height:1.65
}

.insurance-note .icon {
  height:19px;
  width:19px;
  color:#3d7bdc
}

.help-card {
  padding:29px 25px 25px;
  background:#102645;
  border-radius:var(--radius);
  color:#fff;
  position:relative;
  overflow:hidden
}

.help-card::before {
  content:"";
  position:absolute;
  right:-68px;
  top:-78px;
  width:230px;
  height:230px;
  border:1px solid #6ecbd135;
  border-radius:50%;
  box-shadow:0 0 0 30px #7ddae90b,0 0 0 70px #7ddae907
}

.help-icon {
  display:grid;
  place-items:center;
  background:#20436b;
  color:#9de2e8;
  width:43px;
  height:43px;
  border-radius:12px
}

.help-icon .icon {
  width:21px;
  height:21px
}

.help-card h3 {
  font:800 18px/1.4 "Manrope",sans-serif;
  letter-spacing:-.3px;
  margin:17px 0 9px;
  max-width:260px
}

.help-card p {
  font-size:11px;
  color:#b3c7e2;
  line-height:1.8;
  max-width:295px;
  margin:0 0 22px
}

.btn-support {
  background:white;
  color:#223a60;
  width:100%;
  justify-content:space-between
}

.btn-support:hover {
  background:#e7f1ff
}

.btn-support .icon {
  width:15px;
  height:15px
}

.help-card small {
  display:block;
  text-align:center;
  margin-top:10px;
  font-size:9px;
  color:#86a4c7
}

.partners-section {
  background:#fff;
  border-top:1px solid #edf1f6;
  padding:63px 0 61px
}

.partners-intro {
  text-align:center
}

.partners-intro h2 {
  font:800 27px "Manrope",sans-serif;
  letter-spacing:-.8px;
  margin:9px 0
}

.partners-intro p {
  font-size:12px;
  color:#91a0b4;
  margin:0
}

.partners-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:29px
}

.partner {
  min-height:95px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 10px;
  border:1px solid #e8edf4;
  background:#fbfcfe;
  border-radius:12px
}

.partner-logo {
  display:grid;
  place-items:center;
  width:39px;
  height:39px;
  border-radius:11px
}

.partner-logo .icon {
  width:20px;
  height:20px
}

.partner-logo-blue {
  background:#e6f2ff;
  color:#2773d9
}

.partner-logo-purple {
  background:#f2ebff;
  color:#8e5cd6
}

.partner-logo-green {
  background:#e9f9f3;
  color:#279d7c
}

.partner-logo-orange {
  background:#fff0e8;
  color:#d78448
}

.partner strong {
  display:block;
  font:800 14px "Manrope",sans-serif;
  letter-spacing:-.7px;
  white-space:nowrap
}

.partner small {
  display:block;
  color:#98a7ba;
  font-size:7px;
  font-weight:800;
  letter-spacing:1px;
  white-space:nowrap;
  margin-top:4px
}

.partner-disclaimer {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:10px;
  color:#95a3b6;
  text-align:center; 
  margin:18px 0 0;
  line-height:1.6
}

.partner-disclaimer .icon {
  height:14px;
  width:14px;
  flex:none
}

.footer {
  background:#04223e;
  color:#c9d7ea;
  padding:48px 0 0
}

.footer-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1.3fr;
  gap:30px;
  padding-bottom:43px
}

.footer .brand-mark {
  background:#1e385d
}

.footer .brand-text strong {
  color:#fff
}

.footer-brand .brand-text span {
  color:#7aa9ff
}

.footer-grid p {
  font-size:11px;
  line-height:1.8;
  color:#8ea5c6;
  max-width:290px;
  margin:17px 0 0
}

.footer-grid h4 {
  color:#fff;
  font-size:12px;
  margin:3px 0 17px
}

.footer-grid>div:not(:first-child) {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:11px
}

.footer-grid a:not(.brand),.footer-grid span:not(.brand-mark):not(.brand-text) {
  color:#91a7c7;
  font-size:11px
}

.footer-grid a:hover {
  color:white
}

.footer-bottom {
  border-top:1px solid #293b56;
  display:flex;
  justify-content:space-between;
  gap:15px;
  flex-wrap:wrap;
  padding:20px 0;
  font-size:10px;
  color:#8ca3c3
}

.toast {
  position:fixed;
  bottom:22px;
  right:22px;
  background:#102d4c;
  color:white;
  padding:13px 18px;
  font-size:12px;
  font-weight:700;
  border-radius:9px;
  box-shadow:0 8px 30px #07193444;
  z-index:20;
  opacity:0;
  transform:translateY(8px);
  pointer-events:none;
  transition:opacity .2s,transform .2s
}

.toast.visible {
  opacity:1;
  transform:translateY(0)
}

@media(max-width:1020px) {
  .desktop-nav {
    gap:18px
  }
  .region-chip {
    display:none
  }
  .hero-decoration {
    right:-65px;
    opacity:.35
  }
  .partners-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .content-grid {
    grid-template-columns:minmax(0,1.4fr) minmax(285px,1fr)
  }
  .status-card-grid {
    gap:12px
  }
  .stat+.stat {
    padding-left:16px
  }
}

@media(max-width:760px) {
  .container {
    width:min(100% - 32px,620px)
  }
  .announcement {
    font-size:9px;
    height:auto;
    min-height:32px;
    padding:7px 10px
  }
  .header-inner {
    height:68px
  }
  .desktop-nav {
    display:none
  }
  .menu-toggle {
    display:flex
  }
  .mobile-nav:not([hidden]) {
    display:flex
  }
  .hero {
    padding:47px 0 65px
  }
  .hero h1 {
    font-size:clamp(30px,7vw,44px);
    letter-spacing:-1.7px
  }
  .hero-copy p {
    font-size:12px
  }
  .hero-decoration {
    opacity:.17;
    right:-170px;
    top:-15px
  }
  .search-panel {
    padding:18px;
    margin-top:27px
  }
  .search-controls {
    flex-direction:column
  }
  .search-input-wrap {
    flex:auto;
    width:100%;
    height:49px
  }
  .btn-primary {
    min-height:48px;
    width:100%
  }
  .result-heading {
    margin-top:44px;
    align-items:flex-start
  }
  .result-heading h2 {
    font-size:23px
  }
  .result-heading p {
    max-width:340px
  }
  .heading-actions {
    margin-top:3px
  }
  .btn-small {
    font-size:0;
    min-width:38px;
    width:38px;
    padding:0;
    gap:0
  }
  .btn-small .icon {
    width:17px;
    height:17px
  }
  .status-card {
    padding:20px
  }
  .status-icon {
    width:51px;
    height:51px;
    border-radius:14px
  }
  .status-icon .icon {
    width:24px;
    height:24px
  }
  .status-card-main {
    align-items:flex-start;
    gap:12px
  }
  .status-topline {
    gap:8px
  }
  .status-card h3 {
    font-size:17px
  }
  .status-card-main p {
    font-size:11px
  }
  .status-card-grid {
    grid-template-columns:1fr;
    gap:15px
  }
  .stat+.stat {
    border-left:0;
    padding-left:0;
    border-top:1px solid var(--line);
    padding-top:15px
  }
  .progress-card {
    padding:20px
  }
  .progress-stages {
    gap:2px
  }
  .progress-stage {
    flex-direction:column;
    text-align:center;
    font-size:8px;
    line-height:1.5
  }
  .content-grid {
    grid-template-columns:1fr
  }
  .map-frame-wrap {
    height:325px
  }
  .footer-grid {
    grid-template-columns:1fr 1fr
  }
  .footer-grid>div:first-child {
    grid-column:1/-1
  }
  .partners-section {
    padding:45px 0
  }
  .footer-bottom {
    line-height:1.6
  }
}

@media(max-width:440px) {
  .container {
    width:calc(100% - 26px)
  }
  .brand-text strong {
    font-size:14px
  }
  .brand-text small {
    font-size:7px
  }
  .brand-mark {
    width:39px;
    height:39px
  }
  .hero {
    padding:38px 0 55px
  }
  .hero-kicker {
    font-size:9px;
    letter-spacing:1.4px
  }
  .hero h1 {
    font-size:31px
  }
  .hero-copy p {
    font-size:11px
  }
  .search-panel {
    border-radius:12px;
    padding:16px
  }
  .sample-id {
    font-size:9px
  }
  .results {
    padding-bottom:45px
  }
  .result-heading {
    gap:10px
  }
  .result-heading h2 {
    font-size:21px
  }
  .result-heading p {
    font-size:10px
  }
  .status-card-main {
    gap:10px
  }
  .status-icon {
    width:43px;
    height:43px
  }
  .status-card h3 {
    font-size:15px
  }
  .status-tracking {
    font-size:10px
  }
  .status-card-main p {
    font-size:10px
  }
  .progress-right {
    flex-direction:column;
    align-items:flex-end;
    gap:0
  }
  .map-card,.history-card,.details-card {
    padding:17px
  }
  .card-heading h3 {
    font-size:17px
  }
  .map-frame-wrap {
    height:300px
  }
  .map-footer {
    align-items:flex-start;
    flex-direction:column;
    gap:9px
  }
  .timeline-event {
    grid-template-columns:83px 28px minmax(0,1fr);
    gap:6px;
    min-height:123px
  }
  .timeline-when strong {
    font-size:10px
  }
  .timeline-when span {
    font-size:9px
  }
  .timeline-copy h4 {
    font-size:12px
  }
  .timeline-copy p {
    font-size:10px
  }
  .timeline-location {
    font-size:9px
  }
  .partners-grid {
    gap:9px
  }
  .partner {
    padding:12px 7px;
    gap:7px;
    min-height:76px
  }
  .partner-logo {
    width:31px;
    height:31px
  }
  .partner-logo .icon {
    width:16px;
    height:16px
  }
  .partner strong {
    font-size:10px;
    letter-spacing:-.4px
  }
  .partner small {
    font-size:5.5px;
    letter-spacing:.65px
  }
  .partner-disclaimer {
    font-size:9px
  }
  .footer-grid {
    gap:25px
  }
  .footer-bottom {
    font-size:9px
  }
}

@media print {
  .announcement,.site-header,.hero,.heading-actions,.help-card,.partners-section,.footer,.history-more,.timeline-location button,.map-footer {
    display:none!important
  }
  body {
    background:#fff
  }
  .results {
    margin-top:0;
    padding:0
  }
  .result-heading {
    margin-top:5px
  }
  .card {
    box-shadow:none;
    break-inside:avoid
  }
  .content-grid {
    grid-template-columns:1.4fr 1fr
  }
  .timeline-event {
    min-height:90px
  }
  .map-frame-wrap {
    height:200px
  }
}


/* ========================================================================== */
/* NEXORA BRAND — Red Edition                                                   */
/* Primary brand: #df1119. All shipment cards stay hidden until AJAX succeeds. */
/* ========================================================================== */
:root {
  --blue: #df1119;
  --blue-strong: #b80b12;
  --aqua: #ffa2a5;
  --ink: #253043;
}

html { scroll-padding-top: 18px; }
body { font-size: 16px; }

/* Respect the HTML hidden attribute, regardless of earlier layout rules. */
[hidden], .results[hidden], .history-more[hidden] { display: none !important; }

.announcement { background: #290b10; color: #ffe3e4; font-size: 12px; }
.announcement-dot { background: #ff9ca0; }
.brand-mark { background: #8d1018; }
.brand-text strong span { color: var(--blue); }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--blue); }
.hero { background: linear-gradient(111deg, #2b0c13 0%, #6b111c 57%, #a91721 120%); }
.hero-kicker { color: #ffd4d6; font-size: 12px; }
.hero-kicker span, .hero-dot { background: #ffa9ad; }
.hero h1 em { color: #ffb5b7; }
.hero-copy p { color: #f0cbd1; font-size: 16px; }
.hero-orbit-icon { background: #83202b; border-color: #ff9c9f77; }
.hero-orbit-icon .icon { color: #ffe4e5; }
.orbit { border-color: #ffb5b788; }
.search-input-wrap:focus-within { outline: 3px solid #ffe3e5; border-color: #df1119; }
.btn-primary { background: #df1119; }
.btn-primary:hover { background: #b80b12; }
.btn-primary:disabled { opacity: .62; cursor: wait; transform: none; }
.sample-id { background: #fff2f2; color: #b30e19; border-color: #ffdadb; font-size: 12px; }
.sample-id:hover { border-color: #df1119; background: #ffe6e7; }
.section-eyebrow { color: #d01119; font-size: 12px; }
.status-icon { background: #fff0f1; color: #df1119; }
.status-label { background: #ffecee; color: #b90b12; font-size: 12px; }
.status-label.delivered { background: #e6f8ee; color: #16835d; }
.status-label.clearance { background: #fff3df; color: #b66c10; }
.progress-right span { color: #df1119; }
.progress-fill { background: linear-gradient(90deg, #fa777d, #df1119); }
.progress-stage.current { color: #df1119; }
.progress-stage.complete { color: #258665; }
.timeline-event.latest .timeline-bullet { background: #df1119; border-color: #df1119; box-shadow: 0 0 0 5px #ffeced; }
.timeline-location button, .history-more { color: #df1119; }
.history-more { background: #fff8f8; border-color: #ffe0e2; }
.history-more:hover { background: #ffecef; }
.origin-pin { background: #fff0f1; color: #df1119; }
.insurance-note { background: #fff7f7; }
.insurance-note .icon { color: #df1119; }
.help-card { background: linear-gradient(145deg, #3c0e18, #791420); }
.help-icon { background: #a4232f; color: #fff; }
.btn-support { color: #80131c; }
.btn-support:hover { background: #ffedef; }
.footer { background: #290e16; }
.footer .brand-mark { background: #70131f; }
.footer-brand .brand-text span { color: #ff9ea4; }
.footer-bottom { border-top-color: #6e2b35; }
.toast { background: #66121c; }

/* Comfortable typography — approximately 2px larger than the original demo. */
.search-panel > label, .desktop-nav a, .btn, .timeline-copy h4, .route-place strong { font-size: 15px; }
.search-input-wrap input, .stat strong { font-size: 16px; }
.search-bottom, .status-tracking, .stat-label, .detail-list span, .detail-list strong,
.history-more, .map-footer, .footer-grid p, .footer-grid a:not(.brand) { font-size: 13px; }
.status-card-main p, .card-heading p, .partners-intro p { font-size: 14px; }
.progress-stage, .timeline-when strong, .timeline-copy p, .timeline-location, .route-label,
.route-place span:not(.route-pin), .map-disclaimer, .map-overlay small,
.status-label, .stat-note, .map-tag, .event-count { font-size: 12px; }
.partner-disclaimer, .footer-bottom, .help-card small { font-size: 12px; }
.help-card p { font-size: 13px; }
.card-heading h3 { font-size: 21px; }

@media (max-width: 760px) {
  .hero-copy p { font-size: 15px; }
  .progress-stage { font-size: 10px; }
  .timeline-copy p, .stat-label, .detail-list span, .detail-list strong { font-size: 12px; }
  .status-card-main p { font-size: 13px; }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 440px) {
  .hero h1 { font-size: 33px; }
  .hero-copy p { font-size: 14px; }
  .timeline-copy p, .detail-list span, .detail-list strong { font-size: 12px; }
  .timeline-event { grid-template-columns: 88px 28px minmax(0, 1fr); }
  .partner strong { font-size: 12px; }
  .partner small { font-size: 7px; }
  .progress-stage { font-size: 10px; }
}

@media print {
  [hidden] { display: none !important; }
  .results:not([hidden]) { display: block !important; }
}
