/* =========================================================
   LINKWORLD EXPRESS
   TRACKING (ENTRY) — PAGE-SPECIFIC STYLES
   Shared tokens/header/loader live in style.css.
========================================================= */

body{
  min-height:100vh;
}

.tracking-section{
  min-height:calc(100vh - 75px);
  display:flex;
  align-items:center;
  padding:60px 0;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    var(--navy);
  background-size:64px 64px, 64px 64px, auto;
}

.tracking-card{
  max-width:560px;
  margin:0 auto;
  background:var(--paper);
  padding:52px 48px;
  text-align:center;
  box-shadow:0 30px 70px rgba(0,0,0,.35);
}

.tracking-card .eyebrow{
  justify-content:center;
  margin-bottom:16px;
}

.tracking-card h1{
  font-family:var(--display);
  font-size:clamp(28px,3.6vw,36px);
  color:var(--navy);
  font-weight:700;
  margin-bottom:14px;
}

.tracking-card > p{
  color:var(--muted);
  font-size:14.5px;
  margin-bottom:32px;
}

.tracking-form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.input-group{
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid var(--line);
  background:var(--white);
  padding:0 18px;
}

.input-group i{
  color:var(--muted);
  font-size:15px;
}

.input-group input{
  flex:1;
  border:none;
  outline:none;
  background:none;
  padding:16px 0;
  font-family:var(--mono);
  font-size:14.5px;
  letter-spacing:.03em;
  color:var(--ink);
  text-transform:uppercase;
}

.input-group input::placeholder{
  font-family:var(--mono);
  color:#A8B0B8;
  text-transform:none;
}

.input-group:focus-within{
  border-color:var(--orange);
}

#trackButton{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:var(--orange);
  color:#fff;
  border:none;
  padding:17px;
  font-family:var(--body);
  font-size:14.5px;
  font-weight:700;
  cursor:pointer;
}

#trackButton:hover{ background:var(--orange-dk); }

#trackButton:disabled{ opacity:.7; cursor:not-allowed; }

.tracking-error{
  min-height:20px;
  margin-top:16px;
  color:#C8410C;
  font-size:13.5px;
  font-weight:600;
}

.tracking-hint{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:28px;
  padding-top:24px;
  border-top:1px solid var(--line);
  font-family:var(--mono);
  font-size:11.5px;
  color:var(--muted);
}

.tracking-hint i{ color:var(--orange-dk); }


/* =========================================================
   LOADING SCREEN
========================================================= */
/* tracking.js shows this via inline style.display = "flex",
   so the default state here just needs to be hidden - no
   class toggle to hook a transition off of. */
.loading-screen{
  position:fixed;
  inset:0;
  z-index:9998;
  background:rgba(13,26,43,.97);
  backdrop-filter:blur(6px);
  display:none;
  align-items:center;
  justify-content:center;
}

.loading-content{
  text-align:center;
  max-width:420px;
  padding:0 24px;
}

.loading-mark{
  width:58px; height:58px;
  margin:0 auto 24px;
  background:var(--orange);
  color:var(--navy);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--display);
  font-size:26px;
  animation:loaderMarkPulse 1.6s ease-in-out infinite;
}

.loading-content h2{
  font-family:var(--display);
  font-size:22px;
  color:#fff;
  font-weight:700;
  margin-bottom:10px;
}

.loading-content p{
  color:#AFB9C4;
  font-size:13.5px;
  margin-bottom:30px;
}

.progress-container{
  height:8px;
  background:rgba(255,255,255,.12);
  position:relative;
  margin-bottom:18px;
}

.progress-bar{
  position:relative;
  height:100%;
  width:0%;
  background:var(--orange);
  transition:width .3s linear;
}

.truck{
  position:absolute;
  right:-14px;
  top:50%;
  transform:translateY(-50%);
  font-size:22px;
  line-height:1;
}

.loading-content h3{
  font-family:var(--mono);
  font-size:22px;
  color:var(--orange);
  font-weight:700;
}


/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width:600px){

  .tracking-card{ padding:40px 26px; }

  .header-right .track-btn span{ display:none; }

}
