/* RMA Bootstrap Overrides & Enhancements */

/* Row status colors - applied to entire row */
.table-striped > tbody > tr[style*="background-color: white"] {
    --bs-table-bg: white !important;
}

.table-striped > tbody > tr[style*="background-color: lightblue"] {
    --bs-table-bg: lightblue !important;
}

.table-striped > tbody > tr[style*="background-color: red"] {
    --bs-table-bg: #ff7777 !important;
    color: white;
}

.table-striped > tbody > tr[style*="background-color: lightgreen"] {
    --bs-table-bg: lightgreen !important;
}

.table-striped > tbody > tr[style*="background-color: Aquamarine"] {
    --bs-table-bg: Aquamarine !important;
}

.table-striped > tbody > tr[style*="background-color: pink"] {
    --bs-table-bg: pink !important;
}

.table-striped > tbody > tr[style*="background-color: palevioletred"] {
    --bs-table-bg: palevioletred !important;
    color: white;
}

/* Hover effect for clickable rows */
.table-hover > tbody > tr[onclick]:hover {
    --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
    cursor: pointer;
}

/* Keep sortable table functionality */
.sortable th {
    cursor: pointer;
    user-select: none;
}

.sortable th:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
