.table {
    width: fit-content
}

.table-cell-data {
    padding: 10px 5px !important;
}

.cell-table-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.cell-table-form button {
    height: 2rem;
    padding: 0.25rem 0.5rem;
    z-index: 0;
}

.sticky-table-header {
    position: sticky;
    top: 0;
    z-index: 80;
}

.sticky-column {
    z-index: 2;
    position: sticky;
    background-color: #fff;
}

tr:has(td):hover .sticky-column {
    background-color: rgba(242, 242, 242);
}

.fixed-column {
    background-color: #fff;
    position: sticky;
    z-index: 40;
}

tr:has(td):hover .fixed-column {
    background-color: rgba(242, 242, 242);
}

.total-row {
    position: relative;
    z-index: 1;
}

/* Increase contrast for highlighted/selected items */
.select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected] {
    background-color: #2c5282 !important;
    /* Darker blue */
    color: white !important;
}

/* Make selected items more distinctive */
.select2-container--bootstrap4 .select2-results__option[aria-selected=true] {
    background-color: #9ac4fc !important;
    /* Light gray */
    color: #1a202c !important;
    /* Dark text */
    font-weight: bold;
}

/* Add a subtle border to emphasize selected items */
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    background-color: #4299e1 !important;
    /* Medium blue */
    color: white !important;
    border: 1px solid #2b6cb0 !important;
    font-weight: bold;
}