/* ═══════════════════════════════════════════════════════════════════════════
   RFQ Hub — Master Status Color Definitions
   ═══════════════════════════════════════════════════════════════════════════
   SINGLE SOURCE OF TRUTH for all status badge colors across the application.
   Loaded globally via base.html.

   Color Palette (matching STATUS_HEX in models.py + dashboard-core.js):
   ┌─────────────────────┬─────────┬─────────────┬──────────────┐
   │ Status              │ Hex     │ Background  │ Text         │
   ├─────────────────────┼─────────┼─────────────┼──────────────┤
   │ quote_in            │ #3B82F6 │ #dbeafe     │ #1d4ed8      │  Blue
   │ quote_in_progress   │ #F59E0B │ #fef3c7     │ #b45309      │  Amber
   │ quote_out           │ #8B5CF6 │ #ede9fe     │ #6d28d9      │  Violet
   │ awarded             │ #10B981 │ #d1fae5     │ #065f46      │  Green
   │ not_awarded         │ #EF4444 │ #fee2e2     │ #991b1b      │  Red
   │ no_bid              │ #F97316 │ #ffedd5     │ #c2410c      │  Orange
   │ declined            │ #FB923C │ #fff7ed     │ #ea580c      │  Light Orange
   │ quote_expired       │ #6B7280 │ #f1f5f9     │ #475569      │  Gray
   │ cancelled           │ #374151 │ #e2e8f0     │ #1e293b      │  Dark Gray
   └─────────────────────┴─────────┴─────────────┴──────────────┘

   Usage:
     Jinja2:  <span class="badge status-badge status-{{ item.item_status }}">{{ item.item_status_label }}</span>
     JS:      `<span class="badge status-badge status-${status}">${label}</span>`
   ═══════════════════════════════════════════════════════════════════════════ */

/* Base status badge styling */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ─── Per-status colors ──────────────────────────────────────────────────── */

.status-badge.status-quote_in {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-badge.status-quote_in_progress {
    background: #fef3c7;
    color: #b45309;
}

.status-badge.status-quote_out {
    background: #ede9fe;
    color: #6d28d9;
}

.status-badge.status-awarded {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.status-not_awarded {
    background: #fee2e2;
    color: #991b1b;
}

.status-badge.status-no_bid {
    background: #ffedd5;
    color: #c2410c;
}

.status-badge.status-declined {
    background: #fff7ed;
    color: #ea580c;
}

.status-badge.status-quote_expired {
    background: #f1f5f9;
    color: #475569;
}

.status-badge.status-cancelled {
    background: #e2e8f0;
    color: #1e293b;
}
