.the-art-country-picker {
  position: relative;
  width: 100%;
}

.the-art-country-picker__input {
  box-sizing: border-box;
  width: 100%;
  padding-right: 3rem !important;
}

.the-art-country-picker__input:focus-visible {
  outline: 2px solid var(--theme-palette-color-1, #0e181c);
  outline-offset: 2px;
}

.the-art-country-picker__toggle {
  position: absolute;
  top: 50%;
  right: 1rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.the-art-country-picker__list {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 10020;
  width: 100%;
  max-height: min(18rem, 45vh);
  overflow-y: auto;
  padding: 0.35rem;
  border: 1px solid rgba(14, 24, 28, 0.18);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 1rem 2rem rgba(14, 24, 28, 0.16);
  color: #0e181c;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.the-art-country-picker__option,
.the-art-country-picker__empty {
  margin: 0;
  padding: 0.72rem 0.85rem;
  border-radius: 0.65rem;
  font: inherit;
  line-height: 1.25;
}

.the-art-country-picker__option {
  cursor: pointer;
}

.the-art-country-picker__option:hover,
.the-art-country-picker__option.is-active,
.the-art-country-picker__option[aria-selected="true"] {
  background: #eef1f2;
}

.the-art-country-picker__empty {
  color: #687277;
}

.the-art-country-picker__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 689px) {
  .the-art-country-picker__list {
    max-height: min(16rem, 40vh);
  }

  .the-art-country-picker__option,
  .the-art-country-picker__empty {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
  }
}
