/* Bootstrap 5.3.8 fixes for bestel (2026-11-24). Only rules that keep something working; the BS5 look is fine.
   Loaded by header_without_analytics.php right after Bootstrap. Full BS4-look version: backup bs5-compat.css.full. */

/* Row colours: BS5 paints every cell with --bs-table-bg (white), which hides the colours set inline on <tr>
   (list.php, cursussen.php, messages). Transparent cells let them show; striping skips those rows. */
.table { --bs-table-bg: transparent; }
.table-striped > tbody > tr[style*="background"] > * { --bs-table-bg-type: transparent; }

/* .input-group-prepend / -append no longer exist in BS5, but functions/get-files.php, js/main.js,
   js/list-tools.js and js/file-thumbs.js still build (and select on) them: keep them laid out in the group. */
.input-group-prepend, .input-group-append { display: flex; }
.input-group > .input-group-prepend > .btn,
.input-group > .input-group-prepend > .input-group-text,
.input-group > .input-group-append:not(:last-child) > .btn,
.input-group > .input-group-append:not(:last-child) > .input-group-text {
  border-top-right-radius: 0; border-bottom-right-radius: 0;
}
.input-group > .input-group-append > .btn,
.input-group > .input-group-append > .input-group-text,
.input-group > .input-group-prepend:not(:first-child) > .btn,
.input-group > .input-group-prepend:not(:first-child) > .input-group-text {
  border-top-left-radius: 0; border-bottom-left-radius: 0;
}

/* a .form-select with the order-form field look (.ac-input sets its own padding) keeps room for its arrow */
select.form-select.ac-input { padding-right: 2.25rem; }

/* BS4 colour for .btn-info (BS5 made it light cyan with black text) */
.btn-info { --bs-btn-color: #fff; --bs-btn-bg: #17a2b8; --bs-btn-border-color: #17a2b8; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #138496;
  --bs-btn-hover-border-color: #117a8b; --bs-btn-active-color: #fff; --bs-btn-active-bg: #117a8b; --bs-btn-active-border-color: #10707f;
  --bs-btn-disabled-color: #fff; --bs-btn-disabled-bg: #17a2b8; --bs-btn-disabled-border-color: #17a2b8; }
