
/* Target the container row for the domain list controls */
#tbl_domain_list_forward_wrapper .row:first-child {
    display: flex !important;
    flex-direction: row-reverse !important; /* Swaps the two columns */
    justify-content: space-between !important;
}

/* Ensure the search box aligns to the left now */
#tbl_domain_list_forward_filter {
    text-align: left !important;
}

/* Ensure the "Show Entries" aligns to the right */
#tbl_domain_list_forward_length {
    text-align: right !important;
}

#tbl_domain_list_forward_filter input {
    width: 300px !important; /* Makes the search box wider */
    display: inline-block;
    margin-left: 0.5em;
}



/* Swaps the 'Show Entries' and 'Search' columns for Records */
#tbl_records_wrapper > .row:first-child {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center;
}

/* Moves Records Search to the left side */
#tbl_records_filter {
    float: left !important;
    text-align: left !important;
    flex-grow: 1; /* Allows it to take up available space */
}

/* Moves Records Show Entries to the right side */
#tbl_records_length {
    float: right !important;
    text-align: right !important;
}

/* Makes the Records search box wider and matches your previous look */
#tbl_records_filter input {
    width: 350px !important; 
    display: inline-block;
    margin-left: 0.5em;
}

