/* =========================
   MAIN CONTAINER
========================= */
.tracking-box {
    max-width: 950px;
    margin: auto;
    background: #ffffff;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* =========================
   INFO CARDS
========================= */
.info-box {
    background: #f8fafc;
    padding: 16px;
    border-radius: 10px;
    transition: all 0.25s ease;
    height: 100%;
    border: 1px solid #eef2f7;
}

.info-box:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.info-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 15px;
    font-weight: 700;
    margin-top: 6px;
    color: #1e293b;
    word-break: break-word;
}

/* =========================
   PROGRESS BAR (PREMIUM)
========================= */
.order-progress {
    display: flex;
    justify-content: space-between;
    background: #f1f5f9;
    border-radius: 50px;
    padding: 8px;
    margin: 40px 0;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #cbd5e1;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease;
}

/* ACTIVE STEP */
.progress-step.active .step-circle {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
    box-shadow: 0 0 0 6px rgba(34,197,94,0.2);
    animation: pulse 1.5s infinite;
}

/* COMPLETED STEP */
.progress-step.completed .step-circle {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

/* LABEL */
.step-label {
    font-size: 10px;
    margin-top: 6px;
    color: #64748b;
}

/* ANIMATION */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* =========================
   TIMELINE (PREMIUM)
========================= */
.timeline {
    position: relative;
    padding-left: 25px;
    max-height: 500px;
    overflow-y: auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #e2e8f0, #f8fafc);
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    animation: fadeInUp 0.4s ease;
}

/* DOT */
.timeline-dot {
    position: absolute;
    left: -2px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #cbd5e1;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.04);
}

/* CARD */
.timeline-card {
    margin-left: 25px;
    background: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

/* TEXT */
.timeline-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.timeline-time {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 3px;
}

.timeline-message {
    font-size: 13px;
    margin-top: 6px;
    color: #4b5563;
}

/* CURRENT STEP */
.current-step .timeline-card {
    border: 2px solid #22c55e;
    background: #f0fdf4;
}

/* CANCELLED STEP */
.cancelled-step .timeline-card {
    border: 2px solid #ef4444;
    background: #fef2f2;
}

/* =========================
   BADGES
========================= */
.badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
}

/* =========================
   ALERTS
========================= */
.alert {
    border-radius: 10px;
    font-size: 14px;
    padding: 12px;
}

/* =========================
   ANIMATION
========================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {

    .tracking-box {
        padding: 20px;
    }

    .step-circle {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .step-label {
        font-size: 9px;
    }

    .timeline-card {
        padding: 10px;
    }

    .timeline-title {
        font-size: 13px;
    }

    .info-value {
        font-size: 13px;
    }
}