/* ── DigiExpress — Customer order tracking panel ──────────────────────────── */

.woocommerce-digiexpress-tracking {
    margin: 24px 0;
    padding: 16px 20px;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    background: #fff;
}

.dx-track-title {
    margin: 0 0 12px;
    font-size: 1.05em;
    font-weight: 600;
}

.dx-track-status-row,
.dx-track-barcode-row {
    margin: 0 0 8px;
    font-size: .95em;
}

.dx-track-barcode {
    font-family: monospace;
    font-size: .95em;
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: .04em;
}

/* ── Tracking button ────────────────────────────────────────────────────────── */

.dx-track-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 20px;
    background: #224b9e !important;
    color: #ffffff !important;
    font-size: .95em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: background .15s ease, transform .1s ease;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
}

.dx-track-btn:hover,
.dx-track-btn:focus {
    background: #1a3d82 !important;
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-1px);
}

.dx-track-btn:active {
    transform: translateY(0);
}

.dx-track-btn__logo {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Full-width on small screens */
@media (max-width: 480px) {
    .dx-track-btn {
        display: flex;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
}

/* ── Tracking timeline (populated by customer-tracking.js) ───────────────── */

.digiexpress-tracking-timeline {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    border-top: 1px solid #f0f0f0;
}

.digiexpress-tracking-timeline li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f9f9f9;
    font-size: .875em;
}

.digiexpress-tracking-timeline li:last-child {
    border-bottom: none;
}
