/* ── Status pill ────────────────────────────────────────────────────────────
   Single source for the item status chip (tables + item/repair views).
   Variant contract: green default (active), --warning while repairing,
   red write-off, grey warehouse, transparent placeholder for "no status".
   In detail status rows the pill stretches full-width on mobile via
   detail.css responsive rules.
   -------------------------------------------------------------------------- */

.status-pill {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 120px;
    height: 1.5rem;
    padding: 0 var(--space-2);
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    background-color: var(--success-surface);
    color: var(--success-light);
}

.status-pill.pill-empty {
    background-color: transparent;
    color: var(--text-muted);
}

.pill-repair,
.repairing {
    background-color: var(--warning);
    color: #ffffff;
}

.pill-writeoff {
    background-color: #ef4444;
    color: #ffffff;
}

.pill-warehouse {
    background-color: #7c7c7c;
    color: #ffffff;
}
