/* =========================================================
   LIKSHORA — Order Tracking & Contact Styles
   Timeline nodes, tracking lookup card & contact form layout
   ========================================================= */

/* ---------- Tracking Lookup Section ---------- */
.tracking-hero {
  max-width: 800px;
  margin: 1.5em auto 2.5em;
  padding: 0 1.5em;
  text-align: center;
}
.tracking-search-box {
  display: flex;
  gap: .8em;
  margin-top: 1.2em;
}
.tracking-search-box input {
  flex: 1;
  padding: .9em 1.2em;
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
}
.tracking-search-box input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.2);
}

/* ---------- Order Tracking Card ---------- */
.tracking-card {
  max-width: 900px;
  margin: 0 auto 4em;
  padding: 2em;
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(52,11,16,.05);
}
.tracking-info-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--sand-deep);
  padding-bottom: 1.2em;
  margin-bottom: 2em;
  flex-wrap: wrap;
  gap: 1em;
}
.tracking-order-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 .2em;
}
.tracking-status-badge {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: rgba(200,155,60,.14);
  color: var(--rust);
  padding: .4em .9em;
  border-radius: 999px;
}

/* ---------- 6-Stage Timeline Stepper ---------- */
.tracking-timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin: 2.5em 0 3em;
  padding: 0 .5em;
}
.tracking-timeline::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 2em;
  right: 2em;
  height: 3px;
  background: var(--stone);
  z-index: 1;
}
.timeline-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5em;
  width: 14%;
  text-align: center;
}
.timeline-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--stone);
  color: var(--stone);
  font-size: .9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease);
}
.timeline-label {
  font-size: .76rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.3;
}
.timeline-time {
  font-size: .7rem;
  color: var(--stone);
}

.timeline-step.completed .timeline-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.timeline-step.completed .timeline-label {
  color: var(--ink);
  font-weight: 600;
}

.timeline-step.current .timeline-icon {
  background: var(--ink);
  border-color: var(--gold);
  color: var(--sand);
  box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.3);
  animation: pulse-ring 2s infinite;
}
.timeline-step.current .timeline-label {
  color: var(--ink);
  font-weight: 700;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(200,155,60,.4); }
  70% { box-shadow: 0 0 0 8px rgba(200,155,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,155,60,0); }
}

/* ---------- Contact Page Layout ---------- */
.contact-page-layout {
  max-width: 1200px;
  margin: 1.5em auto 4em;
  padding: 0 1.5em;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5em;
}

.contact-info-card {
  background: var(--sand-deep);
  border: 1px solid var(--stone);
  border-radius: var(--radius-md);
  padding: 1.5em;
  margin-bottom: 1.2em;
  display: flex;
  align-items: flex-start;
  gap: 1.2em;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--stone);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 980px) {
  .contact-page-layout { grid-template-columns: 1fr; gap: 2em; }
}

@media (max-width: 720px) {
  .tracking-timeline { flex-direction: column; align-items: flex-start; gap: 1.5em; padding-left: 2.5em; }
  .tracking-timeline::before { top: 0; bottom: 0; left: 18px; width: 3px; height: 100%; }
  .timeline-step { flex-direction: row; width: 100%; text-align: left; }
  .tracking-card { padding: 1.2em; }
}
