/* More specific selectors for header cell centering */
.custom-grid .mud-table-head .mud-table-cell .mud-table-cell-wrapper {
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
}

.custom-grid .mud-table-container {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-grid .mud-table-head {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.custom-grid .mud-table-head .mud-table-cell {
    font-weight: bold;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* Remove the right border from the last header cell */
.custom-grid .mud-table-head .mud-table-cell:last-child {
    border-right: none;
}

.custom-grid .mud-table-body .mud-table-cell {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.custom-grid .mud-table-body .mud-table-row:last-child .mud-table-cell {
    border-bottom: none;
}

.centered-numeric-field {
    margin: 0 auto; /* Center the input itself */
}

.centered-numeric-field .mud-input-adornment-end {
    margin-left: 0;
}

.centered-numeric-field input {
    text-align: center;
}