/**
 * Styles for the Orders list table status columns.
 *
 * Applies to the styled status spans echoed by OrderManager
 * (order-status / delivery-status / payment-status) on
 * edit.php?post_type=olena-orders.
 */

.order-status,
.delivery-status,
.payment-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    text-transform: capitalize;
    white-space: nowrap;
    /* Neutral / default (also covers unpaid). */
    background: #eceff1;
    color: #546e7a;
}

/* Success — green. */
.order-status.completed,
.delivery-status.delivered,
.payment-status.paid {
    background: #e6f4ea;
    color: #1e7e34;
}

/* In progress / active — blue. */
.order-status.processing,
.delivery-status.in_transit {
    background: #e8f0fe;
    color: #1967d2;
}

/* Awaiting action — amber. */
.order-status.pending,
.delivery-status.pending,
.payment-status.pending {
    background: #fff4e5;
    color: #b26a00;
}

/* Cancelled — red. */
.order-status.cancelled,
.order-status.cancelled_by_customer,
.delivery-status.cancelled,
.payment-status.cancelled {
    background: #fce8e6;
    color: #c5221f;
}

/* Refunded — grey. */
.order-status.refunded {
    background: #eceff1;
    color: #546e7a;
}
