.status-confirmed mark.order-status {
    background: rgba(0, 100, 0, 0.5) !important;
    color: white !important;
}

.status-requested mark.order-status {
    background: #C1659B !important;
    color: white !important;
}

.status-ready mark.order-status {
    background: #7965C1 !important;
    color: white !important;
}

.status-picked-up mark.order-status {
    background: #483AA0 !important;
    color: white !important;
}

.column-availability span {
    margin-left: 4px;
}

th#wc_actions {
    width: 7ch !important;
}

td.wc_actions.column-wc_actions {
    text-align: center !important;
}

.wf-preview {
    color: #fff !important;
    border-radius: 4px;
    padding: 4px 8px;
    font-weight: 600;
    text-decoration: none;
    width: 110px;
}

/* Status specific colors */
.order-status.status-on-hold {
    background-color: #f7ddab !important;
    color: #333 !important;
}

.order-status.status-processing {
    background-color: #c7e1c7 !important;
    color: #333 !important;
}

.order-status.status-confirmed {
    background-color: #81ad83 !important;
    color: #fff !important;
}

.order-status.status-requested {
    background-color: #C1659B !important;
    color: #fff !important;
}

.order-status.status-ready {
    background-color: #7965C1 !important;
    color: #fff !important;
}

.order-status.status-picked-up {
    background-color: #483AA0 !important;
    color: #fff !important;
}

.order-status.status-completed {
    background-color: #c9d7e0 !important;
    color: #333 !important;
}

/* Status Button specific colors */
.wc-action-button-group__items {
    gap: 10px;
}

.wf-order-preview-on-hold {
    background-color: #f7ddab !important;
    color: #333 !important;

}

.wf-order-preview-processing {
    background-color: #c7e1c7 !important;
    color: #333 !important;
}

.wf-order-preview-confirmed {
    background-color: #81ad83 !important;
}

.wf-order-preview-requested {
    background-color: #C1659B !important;
}

.wf-order-preview-ready {
    background-color: #7965C1 !important;
}

.wf-order-preview-picked-up {
    background-color: #483AA0 !important;
}

.wf-order-preview-completed {
    background-color: #c9d7e0 !important;
    color: #333 !important;
}

.workflow-status-btn {
    margin-top: 6px;
    border: none;
    width: 120px;
    padding: 6px 0px;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.workflow-status-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.workflow-status-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wc-action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.workflow-permissions-table .submit button .spinner {
    float: none;
    margin: 0 5px 0 0;
    vertical-align: middle;
}

.workflow-permissions-table .permission-info:hover {
    color: #135e96;
}

.user-select2-result {
    padding: 2px 0;
}

.user-select2-name {
    font-weight: 500;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #2271b1 !important;
    border-color: #135e96 !important;
    color: #fff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff !important;
    border-right-color: rgba(255, 255, 255, 0.2) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

/* Loading state */
.submit button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Error state */
.workflow-permissions-error {
    color: #d63638;
    padding: 10px;
    background: #fcf0f1;
    border-left: 4px solid #d63638;
    margin: 10px 0;
}

.select2-container--default .select2-selection--multiple {
    display: flex !important;
    align-items: center !important;
    min-height: 36px !important;
}

.select2-container--default .select2-selection--multiple .select2-search--inline {
    flex: 1 !important;
}

.select2-container--default .select2-selection--multiple .select2-search__field {
    width: 100% !important;
    margin-left: 0 !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    align-items: center !important;
    gap: 4px;
}
