/* =====================================================================
   สีสถานะเอกสาร — ชุดเดียวใช้ทั้งระบบ (คู่กับ app/Helpers/StatusColor.php)
   ร่าง=เหลือง, ลบรายการ=เทา, ส่งเอกสาร=น้ำเงิน, ส่งคืนแก้ไข=แดง, อนุมัติ=เขียว
   สถานะอื่นสีไม่ซ้ำกัน — แก้สีที่นี่ต้องแก้ใน StatusColor::MAP ด้วย
   .badge-*  = ป้ายสีทึบ (ตารางเอกสารการเงิน)
   .soft-*   = ป้ายสีอ่อน (หน้าคิว / ประวัติ / งบประมาณ)
   ===================================================================== */

/* ── ป้ายสีทึบ ───────────────────────────────────────────── */
.badge-draft { background: #eab308 !important; color: #111827 !important; border: 1px solid #ca8a04 !important; }
.badge-deleted,
.badge-cancelled { background: #9ca3af !important; color: #111827 !important; border: 1px solid #6b7280 !important; }
.badge-submitted { background: #2563eb !important; color: #ffffff !important; border: 1px solid #1d4ed8 !important; }
.badge-returned,
.badge-acc_returned,
.badge-fin_returned { background: #dc2626 !important; color: #ffffff !important; border: 1px solid #b91c1c !important; }
.badge-approved { background: #16a34a !important; color: #ffffff !important; border: 1px solid #15803d !important; }
.badge-received { background: #06b6d4 !important; color: #083344 !important; border: 1px solid #0891b2 !important; }
.badge-acc_checked { background: #7c3aed !important; color: #ffffff !important; border: 1px solid #6d28d9 !important; }
.badge-fin_checked { background: #db2777 !important; color: #ffffff !important; border: 1px solid #be185d !important; }
.badge-wait,
.badge-waiting_payment { background: #ea580c !important; color: #ffffff !important; border: 1px solid #c2410c !important; }
.badge-waiting_cheque { background: #92400e !important; color: #ffffff !important; border: 1px solid #78350f !important; }
.badge-waiting_cheque_payment { background: #84cc16 !important; color: #1a2e05 !important; border: 1px solid #65a30d !important; }
.badge-paid { background: #0d9488 !important; color: #ffffff !important; border: 1px solid #0f766e !important; }
.badge-cleared { background: #111827 !important; color: #ffffff !important; border: 1px solid #000000 !important; }
.badge-rejected { background: #7f1d1d !important; color: #ffffff !important; border: 1px solid #450a0a !important; }
.badge-converted { background: #4338ca !important; color: #ffffff !important; border: 1px solid #3730a3 !important; }

/* ── ป้ายสีอ่อน ──────────────────────────────────────────── */
.soft-draft { background: #fef9c3 !important; color: #854d0e !important; }
.soft-deleted,
.soft-cancelled,
.soft-default { background: #f3f4f6 !important; color: #374151 !important; }
.soft-pending,
.soft-submitted { background: #dbeafe !important; color: #1e40af !important; }
.soft-returned,
.soft-acc-returned,
.soft-acc_returned,
.soft-fin-returned,
.soft-fin_returned { background: #fee2e2 !important; color: #b91c1c !important; }
.soft-approved { background: #dcfce7 !important; color: #166534 !important; }
.soft-received { background: #cffafe !important; color: #155e75 !important; }
.soft-acc-checked,
.soft-acc_checked { background: #ede9fe !important; color: #5b21b6 !important; }
.soft-fin-checked,
.soft-fin_checked { background: #fce7f3 !important; color: #9d174d !important; }
.soft-waiting-payment,
.soft-waiting_payment { background: #ffedd5 !important; color: #9a3412 !important; }
.soft-waiting-cheque,
.soft-waiting_cheque { background: #fef3c7 !important; color: #78350f !important; }
.soft-waiting-cheque-payment,
.soft-waiting_cheque_payment { background: #ecfccb !important; color: #3f6212 !important; }
.soft-paid { background: #ccfbf1 !important; color: #115e59 !important; }
.soft-cleared { background: #e5e7eb !important; color: #111827 !important; }
.soft-rejected { background: #fecaca !important; color: #7f1d1d !important; }
.soft-converted { background: #e0e7ff !important; color: #3730a3 !important; }
