/* Minimal Bootstrap/AdminLTE surface used only by index.php. */
button,
input,
select,
textarea {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: inherit;
  line-height: inherit;
}

button,
select {
  text-transform: none;
}

button,
input {
  overflow: visible;
}

button {
  appearance: button;
}

[type="button"],
[type="reset"],
[type="submit"],
button {
  -webkit-appearance: button;
}

.fade {
  transition: opacity 0.15s linear;
}

.fade:not(.show) {
  opacity: 0;
}

.modal-open {
  overflow: hidden;
}

.modal {
  display: none;
  height: 100%;
  left: 0;
  outline: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1050;
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-dialog {
  margin: 1.75rem auto;
  max-width: 500px;
  pointer-events: none;
  position: relative;
  width: auto;
}

.modal.fade .modal-dialog {
  transform: translate(0, -50px);
  transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: none;
}

.modal-dialog-centered {
  align-items: center;
  display: flex;
  min-height: calc(100% - 3.5rem);
}

.modal-content {
  background-clip: padding-box;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  color: #212529;
  display: flex;
  flex-direction: column;
  outline: 0;
  pointer-events: auto;
  position: relative;
  width: 100%;
}

.modal-backdrop {
  background-color: #000;
  height: 100vh;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 1040;
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop.show {
  opacity: 0.5;
}

.modal-header {
  align-items: flex-start;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  padding: 1rem;
}

.modal-title {
  line-height: 1.5;
  margin: 0;
}

.modal-body {
  flex: 1 1 auto;
  padding: 1rem;
  position: relative;
}

.modal-footer {
  align-items: center;
  border-top: 1px solid #dee2e6;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 0.75rem;
}

.modal-footer > * {
  margin: 0.25rem;
}

.close {
  background-color: transparent;
  border: 0;
  color: #000;
  cursor: pointer;
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.5;
  padding: 1rem;
  text-shadow: 0 1px 0 #fff;
}

.close:hover,
.close:focus {
  color: #000;
  opacity: 0.75;
  outline: 0;
  text-decoration: none;
}

.modal-header .close {
  margin: -1rem -1rem -1rem auto;
}

.btn {
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  cursor: pointer;
  display: inline-block;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 0.375rem 0.75rem;
  text-align: center;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  user-select: none;
  vertical-align: middle;
}

.btn:hover,
.btn:focus {
  outline: 0;
  text-decoration: none;
}

.btn:disabled,
.btn.disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #0069d9;
  border-color: #0062cc;
  color: #fff;
}

.btn-default {
  background-color: #f8f9fa;
  border-color: #ddd;
  color: #444;
}

.btn-default:hover,
.btn-default:focus {
  background-color: #e9ecef;
  border-color: #ced4da;
  color: #2b2b2b;
}

.select2-container {
  box-sizing: border-box;
  display: inline-block;
  margin: 0;
  position: relative;
  vertical-align: middle;
}

.select2-container .select2-selection--single {
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  user-select: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select2-container .select2-selection--single .select2-selection__clear {
  position: relative;
}

.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
  padding-left: 20px;
  padding-right: 8px;
}

.select2-container .select2-selection--multiple {
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  min-height: 32px;
  user-select: none;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
  display: inline-block;
  overflow: hidden;
  padding-left: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select2-container .select2-search--inline {
  float: left;
}

.select2-container .select2-search--inline .select2-search__field {
  border: none;
  box-sizing: border-box;
  font-size: 100%;
  margin-top: 5px;
  padding: 0;
}

.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.select2-dropdown {
  background-color: #fff;
  border: 1px solid #cbd5df;
  border-radius: 4px;
  box-sizing: border-box;
  display: block;
  left: -100000px;
  position: absolute;
  width: 100%;
  box-shadow: 0 0.45rem 1.1rem rgba(7, 24, 39, 0.16);
  z-index: 1051;
}

.select2-results {
  display: block;
}

.select2-results__options {
  list-style: none;
  margin: 0;
  padding: 0;
}

.select2-results__option {
  background-color: #fff;
  color: #1b2a39;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.35;
  padding: 7px 10px;
  user-select: none;
}

.select2-results__option[aria-selected] {
  cursor: pointer;
}

.select2-container--open .select2-dropdown {
  left: 0;
}

.select2-container--open .select2-dropdown--above {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.select2-container--open .select2-dropdown--below {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.select2-search--dropdown {
  display: block;
  padding: 6px;
}

.select2-search--dropdown .select2-search__field {
  background-color: #fff;
  border: 1px solid #cbd5df;
  border-radius: 4px;
  box-sizing: border-box;
  color: #1b2a39;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.92rem;
  height: 34px;
  line-height: 1.35;
  outline: 0;
  padding: 6px 8px;
  width: 100%;
}

.select2-search--dropdown .select2-search__field:focus {
  border-color: #78a61f;
  box-shadow: 0 0 0 0.16rem rgba(159, 203, 58, 0.22);
}

.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.select2-search--dropdown.select2-search--hide {
  display: none;
}

.select2-close-mask {
  background-color: #fff;
  border: 0;
  display: block;
  filter: alpha(opacity=0);
  height: auto;
  left: 0;
  margin: 0;
  min-height: 100%;
  min-width: 100%;
  opacity: 0;
  padding: 0;
  position: fixed;
  top: 0;
  width: auto;
  z-index: 99;
}

.select2-hidden-accessible {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

.select2-container--default .select2-results > .select2-results__options {
  max-height: 220px;
  overflow-y: auto;
}

.select2-container--default .select2-results__option[aria-disabled="true"] {
  color: #6c757d;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: #eef2f5;
  color: #1b2a39;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #9fcb3a;
  color: #10200c;
}

@media (prefers-reduced-motion: reduce) {
  .fade,
  .modal.fade .modal-dialog,
  .btn {
    transition: none;
  }
}

@media (max-width: 575.98px) {
  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-dialog-centered {
    min-height: calc(100% - 1rem);
  }
}
