/* Local Bootstrap baseline used by the dashboard when external CDNs are unavailable. */
:root {
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
  --bs-border-color: #dee2e6;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-danger: #dc3545;
  --bs-warning: #ffc107;
  --bs-info: #0dcaf0;
  --bs-dark: #212529;
  --bs-light: #f8f9fa;
  --bs-border-radius: .375rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  -webkit-text-size-adjust: 100%;
}
a { color: var(--bs-primary); text-decoration: none; }
a:hover { color: #0a58ca; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
button, input, select, textarea { margin: 0; font: inherit; line-height: inherit; }
button { border-radius: 0; }
img, svg { vertical-align: middle; }
hr { margin: 1rem 0; border: 0; border-top: 1px solid currentColor; opacity: .25; }

.container, .container-fluid {
  --bs-gutter-x: 1.5rem;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-right: auto;
  margin-left: auto;
}
.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-.5 * var(--bs-gutter-x));
  margin-left: calc(-.5 * var(--bs-gutter-x));
}
.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-top: var(--bs-gutter-y);
}
.col, .col-12 { flex: 0 0 auto; width: 100%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-12 { width: 100%; }
@media (min-width: 576px) {
  .col-sm-2 { flex: 0 0 auto; width: 16.666667%; }
  .col-sm-3 { flex: 0 0 auto; width: 25%; }
  .col-sm-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-sm-6 { flex: 0 0 auto; width: 50%; }
  .col-sm-12 { flex: 0 0 auto; width: 100%; }
}
@media (min-width: 768px) {
  .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-md-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-7 { flex: 0 0 auto; width: 58.333333%; }
  .col-md-12 { flex: 0 0 auto; width: 100%; }
  .d-md-inline-block { display: inline-block !important; }
  .flex-md-nowrap { flex-wrap: nowrap !important; }
  .mb-md-0 { margin-bottom: 0 !important; }
}
@media (min-width: 992px) {
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-12 { flex: 0 0 auto; width: 100%; }
  .d-lg-flex { display: flex !important; }
  .text-lg-start { text-align: left !important; }
  .mb-lg-0 { margin-bottom: 0 !important; }
}
@media (min-width: 1200px) {
  .d-xl-none { display: none !important; }
  .d-xl-inline-block { display: inline-block !important; }
}

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-inline-block { display: inline-block !important; }
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-middle { vertical-align: middle !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }
.align-self-center { align-self: center !important; }
.ms-0 { margin-left: 0 !important; }
.ms-1 { margin-left: .25rem !important; }
.ms-2 { margin-left: .5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-auto { margin-left: auto !important; }
.me-2 { margin-right: .5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-auto { margin-right: auto !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .25rem !important; }
.mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .25rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mx-auto { margin-right: auto !important; margin-left: auto !important; }
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.p-0 { padding: 0 !important; }
.p-2 { padding: .5rem !important; }
.p-3 { padding: 1rem !important; }
.px-0 { padding-right: 0 !important; padding-left: 0 !important; }
.px-2 { padding-right: .5rem !important; padding-left: .5rem !important; }
.px-3 { padding-right: 1rem !important; padding-left: 1rem !important; }
.py-1 { padding-top: .25rem !important; padding-bottom: .25rem !important; }
.py-2 { padding-top: .5rem !important; padding-bottom: .5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.pb-0 { padding-bottom: 0 !important; }
.pb-2 { padding-bottom: .5rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pt-0 { padding-top: 0 !important; }
.ps-2 { padding-left: .5rem !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.top-0 { top: 0 !important; }
.start-0 { left: 0 !important; }
.end-0 { right: 0 !important; }
.fixed-start { position: fixed !important; left: 0; }
.overflow-auto { overflow: auto !important; }
.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.text-wrap { white-space: normal !important; }
.text-nowrap { white-space: nowrap !important; }
.text-break { overflow-wrap: break-word !important; }
.text-white { color: #fff !important; }
.text-dark { color: #212529 !important; }
.text-secondary { color: #6c757d !important; }
.text-muted { color: #6c757d !important; }
.text-primary { color: #0d6efd !important; }
.text-danger { color: #dc3545 !important; }
.text-success { color: #198754 !important; }
.text-uppercase { text-transform: uppercase !important; }
.text-capitalize { text-transform: capitalize !important; }
.fw-normal { font-weight: 400 !important; }
.fw-lighter { font-weight: 300 !important; }
.small, small { font-size: .875em; }
.opacity-5 { opacity: .5 !important; }
.opacity-7 { opacity: .7 !important; }
.opacity-8 { opacity: .8 !important; }
.bg-light { background-color: #f8f9fa !important; }
.bg-white { background-color: #fff !important; }
.bg-transparent { background-color: transparent !important; }
.bg-danger { background-color: #dc3545 !important; }
.border { border: 1px solid var(--bs-border-color) !important; }
.border-0 { border: 0 !important; }
.border-bottom { border-bottom: 1px solid var(--bs-border-color) !important; }
.border-primary { border-color: #0d6efd !important; }
.rounded-3 { border-radius: .75rem !important; }
.rounded-pill { border-radius: 50rem !important; }
.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important; }
.shadow-lg { box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important; }

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0,0,0,.125);
  border-radius: .375rem;
}
.card-body { flex: 1 1 auto; padding: 1rem; }
.card-header { padding: .5rem 1rem; margin-bottom: 0; background: rgba(0,0,0,.03); border-bottom: 1px solid rgba(0,0,0,.125); }
.card-footer { padding: .5rem 1rem; background: rgba(0,0,0,.03); border-top: 1px solid rgba(0,0,0,.125); }

.table { width: 100%; margin-bottom: 1rem; color: #212529; vertical-align: top; border-color: #dee2e6; border-collapse: collapse; }
.table > :not(caption) > * > * { padding: .5rem; border-bottom-width: 1px; }
.table > thead { vertical-align: bottom; }
.table-hover > tbody > tr:hover { background-color: rgba(0,0,0,.075); }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.btn {
  display: inline-block;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  border-radius: .375rem;
  background-color: transparent;
}
.btn:hover { text-decoration: none; }
.btn-sm { padding: .25rem .5rem; font-size: .875rem; border-radius: .25rem; }
.btn-lg { padding: .5rem 1rem; font-size: 1.25rem; border-radius: .5rem; }
.btn-primary { color: #fff; background: #0d6efd; border-color: #0d6efd; }
.btn-secondary { color: #fff; background: #6c757d; border-color: #6c757d; }
.btn-success { color: #fff; background: #198754; border-color: #198754; }
.btn-danger { color: #fff; background: #dc3545; border-color: #dc3545; }
.btn-warning { color: #000; background: #ffc107; border-color: #ffc107; }
.btn-info { color: #000; background: #0dcaf0; border-color: #0dcaf0; }
.btn-dark { color: #fff; background: #212529; border-color: #212529; }
.btn-outline-dark { color: #212529; border-color: #212529; }
.btn-link { color: #0d6efd; border: 0; background: transparent; }
.btn-close { width: 1em; height: 1em; padding: .25em; border: 0; background: transparent; opacity: .5; }

.form-label { margin-bottom: .5rem; }
.form-control, .form-select {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: .375rem;
}
.form-control:focus, .form-select:focus { border-color: #86b7fe; outline: 0; box-shadow: 0 0 0 .25rem rgba(13,110,253,.25); }
.form-control-sm { min-height: calc(1.5em + .5rem + 2px); padding: .25rem .5rem; font-size: .875rem; border-radius: .25rem; }
.form-check { display: block; min-height: 1.5rem; padding-left: 1.5em; }
.form-check-input { float: left; width: 1em; height: 1em; margin-top: .25em; margin-left: -1.5em; vertical-align: top; appearance: none; border: 1px solid rgba(0,0,0,.25); border-radius: .25em; }
.form-check-input:checked { background: #0d6efd; border-color: #0d6efd; }
.form-check-label { cursor: pointer; }
.input-group { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; width: 100%; }
.input-group > .form-control, .input-group > .form-select { position: relative; flex: 1 1 auto; width: 1%; min-width: 0; }

.badge { display: inline-block; padding: .35em .65em; font-size: .75em; font-weight: 700; line-height: 1; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: .375rem; }
.nav { display: flex; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; }
.nav-link { display: block; padding: .5rem 1rem; color: #0d6efd; }
.nav-item { display: block; }
.collapse:not(.show) { display: none; }
.collapsing { height: 0; overflow: hidden; transition: height .35s ease; }
.navbar { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: .5rem 0; }
.navbar-nav { display: flex; flex-direction: column; padding-left: 0; margin-bottom: 0; list-style: none; }
.navbar-collapse { flex-basis: 100%; flex-grow: 1; align-items: center; }
.breadcrumb { display: flex; flex-wrap: wrap; padding: 0; margin-bottom: 1rem; list-style: none; }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; z-index: 1000; display: none; min-width: 10rem; padding: .5rem 0; margin: 0; color: #212529; background: #fff; border: 1px solid rgba(0,0,0,.15); border-radius: .375rem; box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); }
.dropdown-menu.show { display: block; }
.dropdown-item { display: block; width: 100%; padding: .25rem 1rem; clear: both; color: #212529; text-align: inherit; white-space: nowrap; background: transparent; border: 0; }
.popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1070;
  display: block;
  max-width: 276px;
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.175);
  border-radius: .5rem;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}
.popover-header {
  margin: 0;
  padding: .5rem .75rem;
  color: #212529;
  font-size: .875rem;
  font-weight: 600;
  background-color: #f8f9fa;
  border-bottom: 1px solid rgba(0,0,0,.175);
  border-top-left-radius: calc(.5rem - 1px);
  border-top-right-radius: calc(.5rem - 1px);
}
.popover-body { padding: .75rem; color: #212529; }
.popover-arrow { position: absolute; display: block; width: 1rem; height: .5rem; }
.popover-arrow::before, .popover-arrow::after { position: absolute; display: block; content: ""; border-color: transparent; border-style: solid; }
.popover[data-popper-placement^="top"] > .popover-arrow { bottom: calc(-.5rem - 1px); }
.popover[data-popper-placement^="top"] > .popover-arrow::before,
.popover[data-popper-placement^="top"] > .popover-arrow::after { border-width: .5rem .5rem 0; }
.popover[data-popper-placement^="top"] > .popover-arrow::before { bottom: 0; border-top-color: rgba(0,0,0,.175); }
.popover[data-popper-placement^="top"] > .popover-arrow::after { bottom: 1px; border-top-color: #fff; }
.popover[data-popper-placement^="bottom"] > .popover-arrow { top: calc(-.5rem - 1px); }
.popover[data-popper-placement^="bottom"] > .popover-arrow::before,
.popover[data-popper-placement^="bottom"] > .popover-arrow::after { border-width: 0 .5rem .5rem; }
.popover[data-popper-placement^="bottom"] > .popover-arrow::before { top: 0; border-bottom-color: rgba(0,0,0,.175); }
.popover[data-popper-placement^="bottom"] > .popover-arrow::after { top: 1px; border-bottom-color: #fff; }
@media (min-width: 992px) {
  .navbar-expand-lg { flex-wrap: nowrap; justify-content: flex-start; }
  .navbar-expand-lg .navbar-nav { flex-direction: row; }
  .navbar-expand-lg .navbar-collapse { display: flex !important; flex-basis: auto; }
}

.alert { position: relative; padding: 1rem; margin-bottom: 1rem; border: 1px solid transparent; border-radius: .375rem; }
.alert-danger { color: #842029; background: #f8d7da; border-color: #f5c2c7; }
.modal { position: fixed; top: 0; left: 0; z-index: 1055; display: none; width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; outline: 0; }
.modal.show { display: block; }
.modal-backdrop { position: fixed; top: 0; left: 0; z-index: 1040; width: 100vw; height: 100vh; background-color: #000; }
.modal-backdrop.show { opacity: .5; }
.modal-dialog { position: relative; width: auto; margin: .5rem; pointer-events: none; }
.modal-content { position: relative; display: flex; flex-direction: column; width: 100%; pointer-events: auto; background: #fff; border: 1px solid rgba(0,0,0,.2); border-radius: .5rem; outline: 0; }
.modal-header, .modal-footer { display: flex; align-items: center; padding: 1rem; border-bottom: 1px solid #dee2e6; }
.modal-header { justify-content: space-between; }
.modal-body { position: relative; flex: 1 1 auto; padding: 1rem; }
.modal-footer { justify-content: flex-end; border-top: 1px solid #dee2e6; border-bottom: 0; }
@media (min-width: 576px) { .modal-dialog { max-width: 500px; margin: 1.75rem auto; } }
.pagination { display: flex; padding-left: 0; list-style: none; }
.page-item:not(:first-child) .page-link { margin-left: -1px; }
.page-link { position: relative; display: block; padding: .375rem .75rem; color: #0d6efd; background: #fff; border: 1px solid #dee2e6; }
.page-item:first-child .page-link { border-radius: .375rem 0 0 .375rem; }
.page-item:last-child .page-link { border-radius: 0 .375rem .375rem 0; }
.page-item.active .page-link { z-index: 2; color: #fff; background: #0d6efd; border-color: #0d6efd; }
