/* ATS UX Tweaks: front-end ticket lists (AC 1535/49302). */
tr.ats-status-c > td,
tr.ats-status-c > th {
    --bs-table-bg: #dee2e6;
    --bs-table-accent-bg: transparent;
    background-color: #dee2e6;
}

/*
 * Filter row (AC 1535/54620). The site template styles this form as one
 * joined, non-wrapping strip (status box + button). With the search box and
 * the sort control added it is wider than the column, so the Search button
 * ended up under the sidebar on laptop widths. Let it wrap, and give the
 * status box back the right edge the template removes.
 */
body.com_ats .ats-pseudotoolbar #ats-category-filters {
    flex-wrap: wrap !important;
    justify-content: flex-end;
    row-gap: 0.5rem;
}

/* Only where the template strips it (.ats-my-tickets); elsewhere the box is intact. */
body.com_ats .ats-my-tickets .ats-pseudotoolbar #ats-category-filters .choices,
body.com_ats .ats-my-tickets .ats-pseudotoolbar #ats-category-filters .choices .choices__inner {
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

body.com_ats .ats-my-tickets .ats-pseudotoolbar #ats-category-filters .choices .choices__inner {
    border-right: 1px solid #ced4da !important;
}
