[x-cloak] {
  display: none !important;
}

.adaptive-select {
  position: relative;
  width: 100%;
}

.adaptive-select__label {
  display: block;
  margin-bottom: 6px;
  color: #8b98a5;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 400;
}

.adaptive-select__control-row,
.adaptive-select__tabs-wrapper {
  display: flex;
  align-items: stretch;
}

.adaptive-select__control-row {
  overflow: hidden;
  border: 1px solid #b9bfc6;
  border-radius: 8px;
  background: #fff;
}

.adaptive-select__control-row:focus-within,
.adaptive-select__control-row--open {
  border-color: #777;
}

.adaptive-select--disabled .adaptive-select__control-row {
  background: #f3f4f5;
}

.adaptive-select__control {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  padding: 8px 8px 8px 12px;
  border: 0;
  background: transparent;
  color: #394046;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
}

.adaptive-select__selected-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adaptive-select__selected-label--placeholder {
  color: #b9bfc6;
}

.adaptive-select__control:disabled,
.adaptive-select__action:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.adaptive-select__action {
  display: inline-flex;
  width: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #394046;
  cursor: pointer;
}

.adaptive-select__action-icon {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  pointer-events: none;
}

.adaptive-select__action-icon--chevron {
  transition: transform 0.15s ease;
}

.adaptive-select__action-icon--open {
  transform: rotate(180deg);
}

.adaptive-select__clear-icon {
  width: 10px;
  height: 16px;
}

.adaptive-select__clear {
  min-width: 2.5rem;
  border: 1px solid #777;
  border-radius: 0.25rem;
  background: #fff;
  color: #000;
  font-size: 1.25rem;
  cursor: pointer;
}

.adaptive-select__clear--inline {
  min-width: 2rem;
  min-height: 2rem;
}

.adaptive-select__dropdown {
  position: absolute;
  z-index: 1000;
  top: 70px;
  right: 0;
  left: 0;
  padding: 12px;
  padding-right: 12px;
  border: 1px solid #b9bfc6;
  border-radius: 8px;
  background: #fff;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  scrollbar-gutter: stable;
}

.adaptive-select__search {
  box-sizing: border-box;
  width: 100%;
  padding: 0.5rem;
  background: #fff;
  color: #394046;
}

.adaptive-select__search--control {
  min-width: 0;
  flex: 1;
  padding: 8px 8px 8px 20px;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 16px;
}

.adaptive-select__search--control::-webkit-search-cancel-button {
  display: none;
}

.adaptive-select__search::placeholder {
  color: #b9bfc6;
  opacity: 1;
}

.adaptive-select__options {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-direction: column;
}

.adaptive-select__option {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #394046;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  padding: 12px 20px;
}

.adaptive-select__option:hover,
.adaptive-select__option--selected {
  color: #00246d;
  background: #0a47c214;
}

.adaptive-select__option--selected {
  font-weight: 600;
}

.adaptive-select__option:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.adaptive-select__empty-search {
  padding: 0.625rem;
}

.adaptive-select__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.adaptive-select__tab {
  padding: 0.5rem 0.75rem;
  border: 1px solid #777;
  border-radius: 0.25rem;
  background: #fff;
  color: #000;
  cursor: pointer;
}

.adaptive-select__tab--selected {
  border-color: #000;
  background: #e8e8e8;
}

.adaptive-select__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.adaptive-select__choice {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  cursor: pointer;
}

.adaptive-select__choice--disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.adaptive-select__tab:disabled,
.adaptive-select__clear:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

/* .adaptive-select__status {
  min-height: 1.25rem;
  margin-top: 0.25rem;
  font-size: 0.875rem;
} */

.adaptive-select__error {
  color: #8b0000;
}

.adaptive-select__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Chrome / Edge */
.adaptive-select__dropdown::-webkit-scrollbar {
  width: 8px;
}

.adaptive-select__dropdown::-webkit-scrollbar-track {
  margin: 8px 0;
  background: transparent;
}

.adaptive-select__dropdown::-webkit-scrollbar-thumb {
  background: #b9bfc6;
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* Firefox */
.adaptive-select__dropdown {
  scrollbar-width: thin;
}
