/* Unique voucher-type badge colors — shared by books dashboard, journal postings, and voucher pages. */

.voucher-badge {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.voucher-badge--quote {
    background-color: #0d9488 !important;
    color: #fff !important;
}

.voucher-badge--invoice {
    background-color: #2563eb !important;
    color: #fff !important;
}

.voucher-badge--receipt {
    background-color: #16a34a !important;
    color: #fff !important;
}

.voucher-badge--credit-note {
    background-color: #dc2626 !important;
    color: #fff !important;
}

.voucher-badge--sales-return {
    background-color: #ea580c !important;
    color: #fff !important;
}

.voucher-badge--purchase-order {
    background-color: #4f46e5 !important;
    color: #fff !important;
}

.voucher-badge--purchase {
    background-color: #7c3aed !important;
    color: #fff !important;
}

.voucher-badge--purchase-return {
    background-color: #9333ea !important;
    color: #fff !important;
}

.voucher-badge--payment {
    background-color: #ca8a04 !important;
    color: #fff !important;
}

.voucher-badge--expense {
    background-color: #d97706 !important;
    color: #fff !important;
}

.voucher-badge--stock-adjustment {
    background-color: #0891b2 !important;
    color: #fff !important;
}

.voucher-badge--bank-transfer {
    background-color: #0284c7 !important;
    color: #fff !important;
}

.voucher-badge--journal {
    background-color: #475569 !important;
    color: #fff !important;
}

.voucher-badge--vat201 {
    background-color: #1e293b !important;
    color: #fff !important;
}

.voucher-badge--opening-balance {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
    border: 1px solid #94a3b8;
}

.voucher-badge--payroll {
    background-color: #0f766e !important;
    color: #fff !important;
}

.voucher-badge--default {
    background-color: #64748b !important;
    color: #fff !important;
}

/* Soft status pills (same look as client portal booking badges) */
.booking-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 6.5rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1.2;
}

.booking-badge--pending { background: #fff7ed; color: #9a3412; border-color: #fed7aa; }
.booking-badge--booked { background: #f5f6f8; color: #1a1f36; border-color: #e5e7eb; }
.booking-badge--arrived { background: #ECFEFF; color: #0E7490; border-color: #A5F3FC; }
.booking-badge--completed { background: #ECFDF5; color: #047857; border-color: #A7F3D0; }
.booking-badge--noshow { background: #FEF2F2; color: #B91C1C; border-color: #FECACA; }
.booking-badge--cancelled { background: #F9FAFB; color: #4B5563; border-color: #E5E7EB; }
.booking-badge--reschedule { background: #fff7ed; color: #9a3412; border-color: #fed7aa; }
.booking-badge--default { background: #F9FAFB; color: #374151; border-color: #E5E7EB; }

.order-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    flex-shrink: 0;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1.2;
}
.order-badge--waiting { background: #fff7ed; color: #9a3412; border-color: #fed7aa; }
.order-badge--bank { background: #EFF6FF; color: #1E40AF; border-color: #BFDBFE; }
.order-badge--placed { background: #f5f6f8; color: #1a1f36; border-color: #e5e7eb; }
.order-badge--confirmed { background: #ECFEFF; color: #0E7490; border-color: #A5F3FC; }
.order-badge--ready { background: #ECFDF5; color: #047857; border-color: #A7F3D0; }
.order-badge--shipping { background: #EFF6FF; color: #1E40AF; border-color: #BFDBFE; }
.order-badge--shipped { background: #EEF2FF; color: #3730A3; border-color: #C7D2FE; }
.order-badge--done { background: #ECFDF5; color: #047857; border-color: #A7F3D0; }
.order-badge--cancelled { background: #F9FAFB; color: #4B5563; border-color: #E5E7EB; }
.order-badge--supplier { background: #FEF3C7; color: #92400E; border-color: #FDE68A; }
.order-badge--waybill { background: #f97316; color: #fff; border-color: #ea580c; }
