.choices {
  margin-bottom: 0;
  color: #e2e8f0;
}

.pc-config-category .choices,
.service-request-category .choices,
.service-request-extra-position .choices {
  width: 100%;
  min-width: 0;
}

.pc-config-category .choices__inner,
.service-request-category .choices__inner,
.service-request-extra-position .choices__inner {
  width: 100%;
}

.choices.is-open {
  overflow: visible;
  position: relative;
  z-index: 1000;
}

.tech-panel:has(.choices.is-open),
.tech-card:has(.choices.is-open),
form:has(.choices.is-open),
section:has(.choices.is-open) {
  position: relative;
  z-index: 1000;
}

#assignUnassignedListingModal .modal-content,
#assignUnassignedListingModal .modal-body,
#editListingKeywordModal .modal-content,
#editListingKeywordModal .modal-body,
#editGroupModal .modal-content,
#editGroupModal .modal-body {
  overflow: visible;
}

#assignUnassignedListingModal .choices__list--dropdown,
#assignUnassignedListingModal .choices__list[aria-expanded],
#editListingKeywordModal .choices__list--dropdown,
#editListingKeywordModal .choices__list[aria-expanded],
#editGroupModal .choices__list--dropdown,
#editGroupModal .choices__list[aria-expanded] {
  z-index: 1100;
}

.choices:focus {
  outline: none;
}

.choices__inner {
  min-height: 2.75rem;
  border: 1px solid rgba(51, 65, 85, 1);
  border-radius: 0.375rem;
  background: rgba(2, 6, 23, 0.72);
  color: #f1f5f9;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.is-focused .choices__inner,
.is-open .choices__inner {
  border-color: #67e8f9;
  box-shadow: 0 0 0 2px rgba(103, 232, 249, 0.2);
}

.is-open .choices__inner {
  border-radius: 0.375rem 0.375rem 0 0;
}

.is-flipped.is-open .choices__inner {
  border-radius: 0 0 0.375rem 0.375rem;
}

.choices__placeholder {
  color: #64748b;
  opacity: 1;
}

.choices__input,
.choices[data-type*="select-one"] .choices__input {
  background: transparent;
  color: #f1f5f9;
  border: 0;
  border-bottom: 1px solid rgba(103, 232, 249, 0.18);
  margin: 0;
}

.choices__input--cloned {
  background: transparent;
}

.choices__input::placeholder {
  color: #64748b;
}

.choices__list--single {
  padding: 0.125rem 1.5rem 0.125rem 0;
}

.choices__list--single .choices__item,
.choices__item {
  color: #e2e8f0;
}

.choices__list--multiple {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.choices__list--multiple .choices__item {
  margin: 0;
  border: 1px solid rgba(103, 232, 249, 0.35);
  border-radius: 9999px;
  background: rgba(8, 145, 178, 0.28);
  color: #cffafe;
  font-size: 0.75rem;
  font-weight: 700;
  word-break: normal;
}

.choices__list--multiple .choices__item.is-highlighted {
  border-color: rgba(103, 232, 249, 0.65);
  background: rgba(8, 145, 178, 0.48);
}

.choices[data-type*="select-multiple"] .choices__button,
.choices[data-type*="text"] .choices__button {
  border-left-color: rgba(103, 232, 249, 0.35);
  opacity: 0.9;
}

#shop-filter-form .choices__list--multiple .choices__item {
  max-width: 100%;
  overflow-wrap: anywhere;
}

#shop-filter-form .choices[data-type*="select-multiple"] .choices__button {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0 0 0 0.4rem;
  padding: 0;
  border: 1px solid rgba(103, 232, 249, 0.55);
  border-radius: 9999px;
  background-size: 0.625rem;
  opacity: 1;
  vertical-align: middle;
}

#shop-filter-form .choices[data-type*="select-multiple"] .choices__button:hover,
#shop-filter-form .choices[data-type*="select-multiple"] .choices__button:focus-visible {
  background-color: rgba(103, 232, 249, 0.2);
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
  z-index: 1001;
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-top: 0;
  border-radius: 0 0 0.375rem 0.375rem;
  background: rgba(15, 23, 42, 0.98);
  color: #e2e8f0;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
}

.is-flipped .choices__list--dropdown,
.is-flipped .choices__list[aria-expanded] {
  border-top: 1px solid rgba(103, 232, 249, 0.22);
  border-bottom: 0;
  border-radius: 0.375rem 0.375rem 0 0;
}

.choices__list--dropdown .choices__item,
.choices__list[aria-expanded] .choices__item {
  color: #e2e8f0;
  padding: 0.625rem 0.75rem;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
  background: rgba(103, 232, 249, 0.12);
  color: #ffffff;
}

.choices__item--disabled {
  color: #64748b;
  opacity: 0.7;
}

.choices__heading {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #67e8f9;
}

.choices[data-type*="select-one"]::after {
  border-color: #67e8f9 transparent transparent;
}

.choices[data-type*="select-one"].is-open::after {
  border-color: transparent transparent #67e8f9;
}

.choices.is-disabled .choices__inner,
.choices.is-disabled .choices__input {
  border-color: rgba(51, 65, 85, 0.75);
  background: rgba(15, 23, 42, 0.55);
  color: #64748b;
}
