/* Select2 Dropdown Style */
.select2-container--default .select2-dropdown {
  /* The dropdown container where choices are displayed */
  background-color: var(--bs-body-bg, #fff) !important;
  border-color: var(--bs-border-color, #aaa) !important;
}

.select2-container--default .select2-selection {
  /* The select field input */
  background-color: var(--bs-body-bg, #fff) !important;
  border-color: var(--bs-border-color, #aaa) !important;
}


.modelselect2multiple {
  line-height: 1rem;
  background-color: var(--body-bg) !important;
}

.select2-wrapper {
  width: 100%;
}

.select2-container-outer {
  position: relative;
  display: flex;
  align-items: center;
}

.select2-container-outer .select2-container {
  flex: 1;
}

.select2-container--open .select2-dropdown, .select2-selection, .select2-selection--single, .select2-selection--multiple {
  z-index: 1057;
  padding: 0 5px !important;
}

.select2-container {
  width: 100% !important;
  min-width: 0px !important;
}

.select2-actions {
  display: flex;
  align-items: center;
  margin-left: 5px;
}

.select2-actions button {
  padding: 2px 5px;
  margin-left: 5px;
  background: transparent;
  border: none;
}

.select2-actions button:hover {
  color: var(--bs-primary);
}

.select2-container .select2-selection--single {
  padding: 4.5px 12px 3.68px 12px !important;
  min-height: 36px !important;
}

.select2-container .select2-selection--multiple {
  padding: 0 0 0 12px !important;
}

.select2-selection__rendered {
  padding: 0 !important;
}

.select2-container .select2-selection__arrow {
  display: none;
}

/* Ensure the select2 container doesn't overflow */
.select2-container--default .select2-selection--multiple {
  width: 100%;
}

.select2-selection__clear {
  margin-right: 1.5rem !important;
  font-size: large;
}

.select2-search__field {
  width: 100% !important;
}

/* Use the attribute selector to style the locked "tag" */
.select2-selection__choice[data-locked="true"] {
  background-color: #e9ecef !important;
  border-color: #ced4da !important;
  color: #495057;
  cursor: not-allowed;
  padding-right: 5px !important;
}

/* Find the remove button inside our locked choice and hide it */
.select2-selection__choice[data-locked="true"] .select2-selection__choice__remove {
  display: none;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #6c757d !important;
  text-align: left;
  line-height: 1.6 !important;
  font-size: .9rem !important;
  font-family: 'Montserrat', sans-serif;
}
