/* =====================================================================
   CSS SHARED BY CUSTOMER PAGES (base.html) AND ADMIN PAGES (admin_base.html)
   ===================================================================== */
:root {
    /* Colors per order status: shared by every status badge */
    --tt-cho: #f59f00;        /* Pending */
    --tt-coc: #fd7e14;        /* Deposit paid */
    --tt-hang-ve: #6f42c1;    /* Arrived - awaiting payment */
    --tt-giao: #0dcaf0;       /* Shipping */
    --tt-xong: #198754;       /* Completed */
    --tt-huy: #dc3545;        /* Cancelled */
    --tt-thu-coc: #6c757d;    /* Cancelled - deposit kept */
}

/* Bootstrap has no fw-black, but templates use it a lot for headings / numbers */
.fw-black { font-weight: 900 !important; }

/* Order status badge: used via the badge_trang_thai() macro in templates/_ui_macros.html */
.badge-tt {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    line-height: 1.2;
}
.badge-tt.lon { font-size: 0.95rem; padding: 7px 16px; }
.badge-tt.tt-cho { background: var(--tt-cho); color: #212529; }
.badge-tt.tt-coc { background: var(--tt-coc); }
.badge-tt.tt-hang-ve { background: var(--tt-hang-ve); }
.badge-tt.tt-giao { background: var(--tt-giao); color: #212529; }
.badge-tt.tt-xong { background: var(--tt-xong); }
.badge-tt.tt-huy { background: var(--tt-huy); }
.badge-tt.tt-thu-coc { background: var(--tt-thu-coc); }
