
    /* Header Section */
    .order-header {
        position: sticky; top: 0; z-index: 100;
        background: rgba(234, 179, 8, 0.15); backdrop-filter: blur(15px);
        padding: 15px; border-radius: 0 0 20px 20px;
        border-bottom: 1px solid rgba(234, 179, 8, 0.3);
        text-align: center; margin-bottom: 20px;
    }
    .order-header h4 { margin: 0; color: #fff; font-weight: 700; letter-spacing: 1px; text-shadow: 0 0 10px rgba(234, 179, 8, 0.5); }
    
    .order-wrapper { padding: 0 15px 120px; }
    
    /* Bill Card Style */
    .bill-card {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(59, 130, 246, 0.1));
        border-radius: 20px; padding: 20px; border: 1px solid rgba(168, 85, 247, 0.3);
        margin-bottom: 25px; text-align: center; position: relative; overflow: hidden;
    }
    .bill-amount { display: block; font-size: 26px; font-weight: 800; color: #fff; margin: 10px 0; }

    /* Order Card Style - FIXED */
    .order-card {
        background: var(--card-bg); 
        border-radius: 18px; 
        padding: 15px;
        border: 1px solid rgba(255,255,255,0.05); 
        margin-bottom: 15px;
    }

    .order-header-main { margin-bottom: 10px; cursor: pointer; }
    .inv-text { color: #fff; font-weight: 800; font-size: 13px; display: block; margin-bottom: 8px; }

    /* Badge & Marquee Layout */
    .badge-wrapper {
        display: flex; align-items: center; gap: 8px; width: 100%; overflow: hidden;
    }
    .status-badge {
    flex-shrink: 0;
    padding: 3px 8px; /* Padding lebih proporsional */
    border-radius: 4px; /* Sudut sedikit lebih halus tapi tetap tegas */
    font-size: 9px; /* Sedikit lebih kecil agar elegan */
    font-weight: 700;
    color:#abd6f5;
    text-transform: uppercase;
    white-space: nowrap;
    
    /* Tipografi Profesional */
    letter-spacing: 0.8px; /* Jarak antar huruf agar mudah dibaca */
    display: flex;
    align-items: center;
    gap: 5px;
    
    /* Border Solid - Memberikan struktur tanpa bayangan */
    border: 1px solid currentColor; 
}
 


    .marquee-container {
        flex-grow: 1; overflow: hidden; background: rgba(255, 255, 255, 0.05);
        border-radius: 6px; height: 24px; display: flex; align-items: center;
    }
    .marquee-text {
        display: inline-block; white-space: nowrap; animation: running-text 5s linear infinite;
        font-size: 11px; color: #cbd5e1; font-weight: 600; padding-left: 100%;
    }

    @keyframes running-text { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
    @keyframes pulseFade { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

    /* Actions */
    .order-body { display: flex; justify-content: space-between; align-items: flex-end; padding-top: 3px; border-top: 1px dashed rgba(255,255,255,0.05); }
    .order-meta { font-size: 10px; color: #cbd5e1; line-height: 1.8; letter-spacing: 1px;  }
    .order-total-price { font-size: 16px; font-weight: 800; color: var(--accent-cyan); }

    .btn-action-konfirmasi {
        background: #08bd8f; color: #fff; border: none; padding: 6px 12px;
        border-radius: 6px; font-size: 10px; font-weight: 800; cursor: pointer; margin-bottom: 5px;
    }

    /* Copy Button */
    .btn-copy-premium {
        background: linear-gradient(135deg, #a855f7, #6366f1);
        color: #fff; border: none; padding: 10px 20px; border-radius: 10px;
        font-size: 11px; font-weight: 800; cursor: pointer; margin-top: 10px;
        box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
    }
    
    /* --- Container Tracking Row --- */
.tracking-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0 10px;
    margin-bottom: 0px;
    position: relative;
}

/* --- Item Per Status --- */
.track-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

/* --- Ikon Indicator --- */
.track-icon {
    width: 32px;
    height: 32px;
    background: #1e293b; /* Warna gelap saat tidak aktif */
    border: 2px solid #334155;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #64748b;
    transition: all 0.4s ease;
}

/* --- Label Status --- */
.track-label {
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    color: #475569;
    margin-top: 8px;
    letter-spacing: 0.5px;
    text-align: center;
}

/* --- Garis Penghubung (Line) --- */
.track-line {
    flex: 1;
    height: 2px;
    background: #1e293b;
    margin-top: -18px; /* Menyelaraskan dengan tengah ikon */
    z-index: 1;
    transition: all 0.4s ease;
}

/* --- Animasi Masuk (Fade & Slide) --- */
.track-item.active {
    animation: fadeInStep 0.5s ease forwards;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Warna Variatif Berdasarkan Status --- */

/* 1. Dibuat - Silver/Slate */
.track-item.active.track-dibuat .track-icon {
    border-color: #cbd5e1; color: #cbd5e1;
    box-shadow: 0 0 15px rgba(203, 213, 225, 0.3);
}

/* 2. Payment - Amber/Yellow */
.track-item.active.track-payment .track-icon {
    border-color: #fbbf24; color: #fbbf24;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
}

/* 3. Proses - Cyan/Blue (Warna Utama Katya) */
.track-item.active.track-proses .track-icon {
    border-color: #22d3ee; color: #22d3ee;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}

/* 4. Kirim - Indigo/Purple */
.track-item.active.track-kirim .track-icon {
    border-color: #a855f7; color: #a855f7;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

/* 5. Selesai - Emerald/Green */
.track-item.active.track-selesai .track-icon {
    border-color: #22c55e; color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

/* --- Animasi Garis Mengalir (Flowing Line) --- */
.track-line.active {
    background: linear-gradient(90deg, #1e293b, var(--accent-cyan), #1e293b);
    background-size: 200% 100%;
    animation: flowLine 3s linear infinite;
    box-shadow: 0 0 8px rgba(34, 211, 238, 0.2);
}

@keyframes flowLine {
    0% { background-position: 100% 0%; }
    100% { background-position: -100% 0%; }
}

/* --- Efek Floating untuk Ikon yang Sedang Aktif --- */
.track-item.active:last-of-type .track-icon {
    animation: floatingIcon 3s infinite ease-in-out;
}

@keyframes floatingIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(34, 211, 238, 0.2); }
}

.track-time {
    display: block;
    font-size: 7px; /* Ukuran sangat kecil agar rapi */
    color: #94a3b8; /* Warna Silver/Slate */
    font-weight: 500;
    margin-top: 4px;
    white-space: nowrap;
    padding-bottom:5px;
    
    /* Efek Miring (Tilted) */
    transform: rotate(-0deg);
    transform-origin: center;
    
    /* Animasi muncul halus saat status aktif */
    animation: fadeInTime 1.5s ease forwards;
}

@keyframes fadeInTime {
    from { opacity: 0; transform: rotate(-0deg) translateY(5px); }
    to { opacity: 1; transform: rotate(-0deg) translateY(0); }
}

/* Penyesuaian agar track-item punya ruang untuk teks miring */
.track-item {
    min-height: 65px; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Indikator Bullet Green */

.bullet-green {
    height: 7px;
    width: 7px;
    background-color: #4feb2d; 
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    margin-left: 0px; /* Memberi jarak dari tanggal */
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.8);
    vertical-align: middle;
}
.bullet-red {
    height: 7px;
    width: 7px;
    background-color: #de1d43; 
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    margin-left: 0px; /* Memberi jarak dari tanggal */
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.8);
    vertical-align: middle;
}

.bullet-fa {
    height: 7px;
    width: 7px;
    display: inline-block;
    margin-right: 6px;
    margin-left: 0px; /* Memberi jarak dari tanggal */
    
}

/* Penyesuaian teks platform agar lebih menonjol */
.platform-text {
    color: #f97316;
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
}
