/* Bootstrap 4.6.2 compatibility: keeps the look the app had with Bootstrap 4.1.3 (main app) and 4.0.0-beta.3 (LZS).
   Loaded right after Bootstrap, before each page's own CSS, so page rules still win. Test: tests/e2e/self-hosted-assets.spec.js
   (4.6 also sets font-weight: 400 on .form-control; the one page that relied on element rules for bold inputs,
   lzs/css/novy_vzlet.css, now names .form-control itself.) */

/* 4.6 dropped white-space: nowrap from .btn, so long labels (the LZS "Editace vzletů" toggle) wrapped onto two lines. */
.btn {
	white-space: nowrap;
}

/* 4.6 gives a <button class="btn"> without a colour class a transparent background and #212529 text; before, the
   browser's own button grey and text colour showed (pacient_edit "Zrušit", the sender/receiver buttons).
   :where() keeps the specificity of .btn, so the app's own classes such as .prijemce_btn still win. */
.btn:where(button, input):where(:not(.btn-primary, .btn-secondary, .btn-success, .btn-danger, .btn-warning, .btn-info, .btn-light, .btn-dark, .btn-link, [class*="btn-outline-"])) {
	background-color: revert;
	color: revert;
}
