@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* Base table styles */
.generic-table {
    table-layout: fixed;
    width: 100%; /* Adjust as needed for specific tables */
    border-collapse: collapse;
}

    .generic-table th,
    .generic-table td {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 8px 12px;
        vertical-align: middle;
        border: 1px solid #dee2e6;
    }

/* Column size classes */
.pcol-xs {
    width: 60px;
    min-width: 60px;
    max-width: 60px;
}

.pcol-s {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}

.pcol-m {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
}

.pcol-l {
    width: 240px;
    min-width: 240px;
    max-width: 240px;
}

.pcol-xl {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
}

/* Responsive container */
.table-responsive .generic-table {
    margin-bottom: 0;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    color: #fff;
}

.status-new {
    background-color: #f0ad4e;
}
.status-redeemed {
    background-color: #80da80;
}

.status-shipped {
    background-color: #60aa60;
}

.status-delivered {
    background-color: #28a745; 
}

.status-payment-updated {
    background-color: #f0ad4e;
}
.status-payment-requested {
    background-color: #f0ad4e;
}

.status-refunded {
    background-color: #184725;
}

.status-cancelled {
    background-color: #d75855;
}

.status-returnstarted {
    background-color: #f79895;
}

.status-itemreturned {
    background-color: #d75855;
}


.status-returnrefunded {
    background-color: #a72825;
}

.status-cancelrefunded {
    background-color: #a72825;
}
