.select2-container--default .select2-selection--single {
  height: calc(1.5em + 0.75rem + 10px);
  border: 0;
  border-bottom: 1px solid #ced4da;
  border-radius: 0.25rem;
  background-color: #fff;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: calc(1.5em + 0.75rem + 10px);
  padding-left: 0.75rem;
  padding-right: 1.75rem;
  color: #495057;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: calc(1.5em + 0.75rem + 10px);
  right: 0.5rem;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: #235B4E;
  border-width: 2px;
  box-shadow: 0 4px 2px -2px gray;
}

.select2-container--default .select2-selection--single.select2-selection--error,
.select2-container--default.select2-container--error .select2-selection--single {
  border-color: red !important;
}

.form-group.select2-open .labels,
.form-group.select2-has-value .labels {
  top: -10px;
  font-size: .8rem;
  color: #235B4E;
  font-weight: bold;
  z-index: 10;
}

.form-group .select2-container {
  width: 100% !important;
}

#modalAddTicket .select2-container--open .select2-dropdown {
  z-index: 1060;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  padding: 0.375rem 0.75rem;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: #235B4E;
  outline: none;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #235B4E;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
  background-color: #fff;
  opacity: 1;
  border-color: #235B4E;
  border-width: 2px;
  box-shadow: 0 4px 2px -2px gray;
}

.select2-usuario-servicio + .select2-container .select2-selection--single {
  height: auto;
  min-height: calc(1.5em + 0.75rem + 10px);
}

.select2-usuario-servicio + .select2-container .select2-selection__rendered {
  line-height: 1.25;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  white-space: normal;
}

.s2-user-option {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.15rem 0;
  line-height: 1.3;
}

.s2-user-name {
  font-weight: 600;
  color: #212529;
  font-size: 0.95rem;
}

.s2-user-unit {
  font-size: 0.8rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.s2-user-unit i {
  color: #235B4E;
  font-size: 0.75rem;
}

.s2-user-selection {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  max-width: 100%;
}

.s2-user-sel-name {
  font-weight: 600;
  color: #212529;
  font-size: 0.9rem;
}

.s2-user-sel-unit {
  font-size: 0.78rem;
  color: #6c757d;
}

.s2-user-sel-unit::before {
  content: "·";
  margin-right: 0.35rem;
  color: #adb5bd;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable .s2-user-name,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable .s2-user-unit {
  color: #fff;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable .s2-user-unit i {
  color: rgba(255, 255, 255, 0.85);
}

.select2-container--default .select2-results__option {
  padding: 0.5rem 0.75rem;
}
