
.status-workflow-badge-sm {
    padding: 0.1em 0.2em;
    border-radius: 0.375rem; /* Rounded corners for badges */
    font-size: 0.70rem; /* Smaller font size for badges */
    font-weight: 600; /* Semi-bold */
    text-transform: uppercase;
    display: inline-block; /* Ensure padding and border-radius work correctly */
}

.status-workflow-badge {
    padding: 0.3em 0.6em;
    border-radius: 0.375rem; /* Rounded corners for badges */
    font-size: 0.75rem; /* Smaller font size for badges */
    font-weight: 600; /* Semi-bold */
    text-transform: uppercase;
    display: inline-block; /* Ensure padding and border-radius work correctly */
}

.status-workflow-badge-lg {
    padding: 0.4em 0.8em;
    border-radius: 0.375rem; /* Rounded corners for badges */
    font-size: 1rem; /* Smaller font size for badges */
    font-weight: 800; /* Semi-bold */
    text-transform: uppercase;
    display: inline-block; /* Ensure padding and border-radius work correctly */
}

.status-workflow-badge-pill {
    border-radius: 1rem;
}

/* --- Client Workflow Status Badge Classes --- */
.status-workflow-lead {
    background-color: #4a90e2;
    color: #d1e2f9;
}

/* --- Client Workflow Sub Status Badge Classes --- */
    /* New */
    .substatus-workflow-new {
        background-color: #d8d8d8; /* Light grey */
        color: #3d3d3d;
        border: 1px solid #c7c7c7;
    }

    /* Needs Follow-Up */
    .substatus-workflow-needs-follow-up {
        background-color: #FFF3CD; /* Light yellow */
        color: #5c5525;
        border: 1px solid #f2e086;
    }

    /* Scheduled */
    .substatus-workflow-scheduled {
        background-color: #d33c3a; /* Dark red */
        color: #ffffff;
        border: 1px solid #b72b29;
    }

    /* Archived (Closed-Lost) */
    .substatus-workflow-archived {
        background-color: #EDF5FF; /* Light blue */
        color: #2C524F; /* Dark teal */
        /* Adjusted border color to better match the background */
        border: 1px solid #C4D3E5;
    }


/* -------- Quotes Sub Statuses -------- */
.status-workflow-quote {
    background-color: #f5a623;
    color: #7d5311;
}

/* -------- Quotes Sub-Statuses -------- */
    /* Drafting */
    .substatus-workflow-drafting {
        background-color: #E0E0E0; /* Light grey */
        /* Changed text color for much better contrast */
        color: #4b4b4b; /* Dark grey */
    }

    /* Sent To Customer */
    .substatus-workflow-sent-to-customer {
        background-color: #AED6F1; /* Light blue */
        /* Changed text color to a dark blue to better match the background tone */
        color: #143D59; /* Dark blue */
    }

    /* Revision Requested */
    .substatus-workflow-revision-requested {
        background-color: #F5B7B1;
        color: #3e2723;
    }

    /* Customer Accepted */
    .substatus-workflow-customer-accepted {
        background-color: #D5F5E3;
        color: #33691e;
    }
    
    /* Customer Accepted */
    .substatus-workflow-internal-order-review {
        background-color: #FFF3CD; /* Light yellow */
        color: #5c5525;
        border: 1px solid #f2e086;
    }
    
    /* Customer Accepted */
    .substatus-workflow-internal-order-review-complete {
        background-color: #BAFFCE;
        color: #5c5525;
        /* Adjusted the border color to complement the background */
        border: 1px solid #8DBC94;
    }


.status-workflow-inprocess {
    background-color: #27ae60;
    color: #c4f3d7;
}

.status-workflow-ready {
    background-color: #16a085;
    color: #b5e8e0;
}

.status-workflow-balance {
    background-color: #c0392b;
    color: #f4d0cd;
}
