
.track-page { padding: calc(var(--nav-clear) + 20px) 20px 100px; max-width: 640px; }
.track-page h1 { font-size: 1.9rem; text-align: center; margin-bottom: 10px; }
.track-sub { text-align: center; color: var(--text-secondary); margin-bottom: 32px; }

.track-form { padding: 30px; border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 16px; }
.track-form .field label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; display: block; }
.track-form .field input {
  width: 100%; background: rgba(255, 253, 247, 0.04); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); padding: 13px 16px; color: var(--text-primary); font-size: 0.95rem;
}
.track-form .field input:focus { outline: none; border-color: var(--blue-500); }
.track-error { color: var(--danger); font-size: 0.85rem; text-align: center; min-height: 1.2em; margin: 0; }

.track-result { margin-top: 34px; animation: track-in 0.5s var(--ease); }
@keyframes track-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.track-summary { padding: 26px; border-radius: var(--radius-lg); margin-bottom: 24px; }
.track-summary__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.track-summary__head h3 { font-family: var(--font-num); color: var(--blue-300); }
.track-summary__meta { color: var(--text-muted); font-size: 0.85rem; }
.status-pill-track { color: var(--text-muted); font-size: 0.82rem; font-family: var(--font-num); }

.timeline { display: flex; justify-content: space-between; position: relative; margin: 30px 0 10px; }
.timeline::before {
  content: ''; position: absolute; top: 17px; inset-inline-start: 5%; inset-inline-end: 5%;
  height: 3px; background: var(--glass-border); border-radius: 3px; z-index: 0;
}
.timeline__fill { position: absolute; top: 17px; inset-inline-start: 5%; height: 3px; background: linear-gradient(90deg, var(--blue-500), var(--blue-300)); border-radius: 3px; z-index: 1; transition: width 0.6s var(--ease); }
.timeline__step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.timeline__dot {
  width: 36px; height: 36px; border-radius: 50%; background: var(--bg-body); border: 2px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--text-muted);
  transition: all 0.4s var(--ease);
}
.timeline__step.is-done .timeline__dot { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); border-color: transparent; color: #FFFDF7; box-shadow: 0 0 0 5px rgba(48, 102, 153, 0.15); }
.timeline__step.is-current .timeline__dot { animation: pulse-dot 1.6s infinite; }
@keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 0 5px rgba(48, 102, 153, 0.15); } 50% { box-shadow: 0 0 0 9px rgba(48, 102, 153, 0.05); } }
.timeline__label { font-size: 0.74rem; color: var(--text-muted); text-align: center; max-width: 80px; }
.timeline__step.is-done .timeline__label, .timeline__step.is-current .timeline__label { color: var(--text-primary); font-weight: 600; }
.timeline.is-cancelled .timeline__fill { background: var(--danger); }
.timeline.is-cancelled .timeline__dot { background: rgba(255,92,122,0.16); }

.track-items { padding: 22px 26px; border-radius: var(--radius-lg); }
.track-items h4 { margin-bottom: 14px; font-size: 1rem; }
.track-items .oi-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--glass-border); font-size: 0.9rem; color: var(--text-secondary); }
.track-items .oi-row:last-child { border-bottom: none; }
.track-items .oi-row.total { font-weight: 700; color: var(--text-primary); }
