/*!
 * bs5-compat.css: the few Bootstrap 5.1.3 rules the admin views rely on.
 *
 * The admin layout used to load the full Bootstrap 5 build (styles.css) on
 * every page, alongside the Bootstrap 4 build inside sb-admin-2.min.css.
 * Two Bootstrap majors on one page caused the sidebar collapse bugs and made
 * mobile layout unpredictable. styles.css now loads only on the welcome page,
 * which genuinely uses its "Scrolling Nav" theme.
 *
 * Every rule below was copied verbatim from styles.css (machine-extracted),
 * so admin pages look exactly as before. Load this file in the same position
 * styles.css used to occupy (BEFORE sb-admin-2.min.css) so the cascade
 * matches as well.
 *
 * Also BS5's base <hr> styling (sidebar dividers etc.) and its reboot rules
 * for WebKit date/time inputs.
 * Classes covered: .row > * (cards placed directly inside a .row), .form-select,
 * .form-label, .btn-close, .display-6, .gx-4, .border-4.
 */
.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0}
.display-6{font-size: calc(1.375rem + 1.5vw); font-weight: 300; line-height: 1.2;}
@media (min-width: 1200px){.display-6{font-size: 2.5rem;}}
.row > *{flex-shrink: 0; width: 100%; max-width: 100%; padding-right: calc(var(--bs-gutter-x) * 0.5); padding-left: calc(var(--bs-gutter-x) * 0.5); margin-top: var(--bs-gutter-y);}
.gx-4{--bs-gutter-x: 1.5rem;}
.form-label{margin-bottom: 0.5rem;}
.form-select{display: block; width: 100%; padding: 0.375rem 2.25rem 0.375rem 0.75rem; -moz-padding-start: calc(0.75rem - 3px); font-size: 1rem; font-weight: 400; line-height: 1.5; color: #212529; background-color: #fff; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 16px 12px; border: 1px solid #ced4da; border-radius: 0.25rem; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; -webkit-appearance: none; -moz-appearance: none; appearance: none;}
@media (prefers-reduced-motion: reduce){.form-select{transition: none;}}
.form-select:focus{border-color: #86b7fe; outline: 0; box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);}
.form-select[multiple],.form-select[size]:not([size="1"]){padding-right: 0.75rem; background-image: none;}
.form-select:disabled{background-color: #e9ecef;}
.form-select:-moz-focusring{color: transparent; text-shadow: 0 0 0 #212529;}
.form-select-sm{padding-top: 0.25rem; padding-bottom: 0.25rem; padding-left: 0.5rem; font-size: 0.875rem; border-radius: 0.2rem;}
.form-select-lg{padding-top: 0.5rem; padding-bottom: 0.5rem; padding-left: 1rem; font-size: 1.25rem; border-radius: 0.3rem;}
.input-group > .form-select{position: relative; flex: 1 1 auto; width: 1%; min-width: 0;}
.input-group > .form-select:focus{z-index: 3;}
.input-group-lg > .form-select{padding: 0.5rem 1rem; font-size: 1.25rem; border-radius: 0.3rem;}
.input-group-sm > .form-select{padding: 0.25rem 0.5rem; font-size: 0.875rem; border-radius: 0.2rem;}
.input-group-lg > .form-select,.input-group-sm > .form-select{padding-right: 3rem;}
.was-validated .form-select:valid,.form-select.is-valid{border-color: #198754;}
.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"]{padding-right: 4.125rem; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); background-position: right 0.75rem center, center right 2.25rem; background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);}
.was-validated .form-select:valid:focus,.form-select.is-valid:focus{border-color: #198754; box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);}
.was-validated .input-group .form-select:valid,.input-group .form-select.is-valid{z-index: 1;}
.was-validated .input-group .form-select:valid:focus,.input-group .form-select.is-valid:focus{z-index: 3;}
.was-validated .form-select:invalid,.form-select.is-invalid{border-color: #dc3545;}
.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"]{padding-right: 4.125rem; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e"); background-position: right 0.75rem center, center right 2.25rem; background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);}
.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus{border-color: #dc3545; box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);}
.was-validated .input-group .form-select:invalid,.input-group .form-select.is-invalid{z-index: 2;}
.was-validated .input-group .form-select:invalid:focus,.input-group .form-select.is-invalid:focus{z-index: 3;}
.alert-dismissible .btn-close{position: absolute; top: 0; right: 0; z-index: 2; padding: 1.25rem 1rem;}
.btn-close{box-sizing: content-box; width: 1em; height: 1em; padding: 0.25em 0.25em; color: #000; background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat; border: 0; border-radius: 0.25rem; opacity: 0.5;}
.btn-close:hover{color: #000; text-decoration: none; opacity: 0.75;}
.btn-close:focus{outline: 0; box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); opacity: 1;}
.btn-close:disabled,.btn-close.disabled{pointer-events: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; opacity: 0.25;}
.btn-close-white{filter: invert(1) grayscale(100%) brightness(200%);}
.modal-header .btn-close{padding: 0.5rem 0.5rem; margin: -0.5rem -0.5rem -0.5rem auto;}
.border-4{border-width: 4px !important;}
hr{margin: 1rem 0;
  color: inherit;
  background-color: currentColor;
  border: 0;
  opacity: 0.25;}
hr:not([size]){height: 1px;}
::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding: 0;}
::-webkit-inner-spin-button{height: auto;}
[list]::-webkit-calendar-picker-indicator{display: none;}
.form-control::-webkit-date-and-time-value{height: 1.5em;}
