/* Sales order lifecycle badges + inline status control */
.order-status-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    min-width: 9.5rem;
}

.order-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.3;
    white-space: nowrap;
}

.order-status-pending,
.order-status-draft { background: #e5e7eb; color: #374151; }
.order-status-rtd { background: #dbeafe; color: #1d4ed8; }
.order-status-dispatched { background: #e0e7ff; color: #4338ca; }
.order-status-in_transit { background: #ffedd5; color: #c2410c; }
.order-status-completed,
.order-status-sold { background: #dcfce7; color: #15803d; }
.order-status-return,
.order-status-returned,
.order-status-partial_return { background: #f3e8ff; color: #7e22ce; }
.order-status-cancelled { background: #fee2e2; color: #b91c1c; }

.order-status-inline {
    width: 100%;
    max-width: 11rem;
    padding: 0.25rem 0.4rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.78rem;
    background: #fff;
    color: #111827;
}

.order-status-inline:disabled {
    opacity: 0.6;
}

.order-status-select {
    min-width: 12rem;
}
