/* ================================================================
   TRACK ORDER PAGE — Web/Desktop CSS
   ================================================================ */

body { font-family: 'Nunito Sans', sans-serif; background: var(--bg-color, #f7f8fa); color: var(--text-color, #1a1a2e); }

.track-wrap { max-width: 720px; margin: 50px auto; padding: 0 20px 60px; }
.track-title { font-family: 'Nunito Sans', sans-serif; font-size: 1.8rem; font-weight: 900; margin-bottom: 24px; }

/* ── Card ── */
.card { background: var(--card-bg, #fff); border-radius: 16px; padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); margin-bottom: 20px; border: 1px solid var(--border-color, #eee); }
.card h3 { font-family: 'Nunito Sans', sans-serif; font-weight: 800; margin-top: 0; }
.card-cancelled { border: 1.5px solid #FCA5A5; }
.card-cancelled h3 { color: #dc2626; }

/* ── Search ── */
.search-hint { color: #555; font-size: 0.9rem; margin-top: 0; margin-bottom: 12px; }
.search-row { display: flex; gap: 10px; }
.search-row input { flex: 1; padding: 14px; border: 1.5px solid var(--border-color, #e0e0e0); border-radius: 10px; font-size: 1rem; font-family: 'Nunito Sans', sans-serif; }
.search-row input:focus { outline: none; border-color: var(--primary-color, #3498db); }
.search-row button { padding: 14px 24px; background: var(--primary-color, #000); color: #fff; border: none; border-radius: 10px; font-weight: 700; cursor: pointer; font-family: 'Nunito Sans', sans-serif; transition: .2s; }
.search-row button:hover { opacity: .9; }
.track-error { color: #dc2626; margin-top: 12px; font-weight: 600; }

/* ── Current Status ── */
.track-status { color: #16a34a; font-weight: 700; margin-top: -8px; }

/* ── Progress Tracker ── */
.progress-track { display: flex; align-items: flex-start; justify-content: space-between; margin: 30px 0; position: relative; }
.progress-track::before { content: ''; position: absolute; top: 18px; left: 0; right: 0; height: 3px; background: #e5e7eb; z-index: 0; }
.progress-fill { position: absolute; top: 18px; left: 0; height: 3px; background: var(--primary-color, #16a34a); z-index: 1; transition: width 0.5s; }
.step { display: flex; flex-direction: column; align-items: center; z-index: 2; flex: 1; }
.step-dot { width: 36px; height: 36px; border-radius: 50%; border: 3px solid #e5e7eb; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; color: #aaa; margin-bottom: 8px; }
.step-dot.done { border-color: var(--primary-color, #16a34a); background: var(--primary-color, #16a34a); color: #fff; }
.step-dot.active { border-color: var(--primary-color, #16a34a); color: var(--primary-color, #16a34a); }
.step-label { font-size: 0.72rem; font-weight: 600; color: #aaa; text-align: center; max-width: 80px; }
.step-label.done, .step-label.active { color: var(--primary-color, #16a34a); }

/* ── Info Rows ── */
.info-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-color, #f0f0f0); font-size: 0.9rem; }
.info-row:last-child { border: none; }
.info-tracking-num { color: var(--primary-color); font-weight: 700; }

/* ── Shiprocket Link ── */
.shiprocket-link { display: inline-block; background: var(--primary-color, #000); color: #fff; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 0.9rem; margin-top: 12px; transition: .2s; }
.shiprocket-link:hover { opacity: .85; color: #fff; }

/* ── View Full Details ── */
.track-footer { text-align: center; margin-top: 10px; }
.track-footer a { color: var(--primary-color); font-weight: 700; text-decoration: none; }
.track-footer a:hover { text-decoration: underline; 