.country-picker { position: relative; min-width: 0; }
.country-picker .country-picker-control { position: relative; width: 100%; }
.country-picker .country-picker-input { width: 100%; min-height: 48px; padding-right: 44px; font-size: 16px; text-overflow: ellipsis; }
.country-picker .country-picker-input[aria-invalid="true"] { border-color: #f18b8b; }
.country-picker .country-picker-chevron { position: absolute; top: 50%; right: 16px; display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; color: #abb2bf; pointer-events: none; transform: translateY(-50%); }
.country-picker .country-picker-chevron :is(img,svg) { display: block; width: 100%; height: 100%; }
.country-picker.is-open .country-picker-chevron { transform: translateY(-50%) rotate(180deg); }
.country-picker .country-picker-popup { position: absolute; z-index: 25; top: calc(100% - 1px); left: 0; right: 0; margin-top: 6px; padding: 5px; overflow: hidden; border: 1px solid #3b424e; border-radius: 12px; background: #1c1f24; box-shadow: 0 12px 30px rgb(0 0 0 / .22); }
.country-picker .country-picker-popup[hidden], .country-picker .country-picker-error[hidden], .country-picker .country-picker-empty[hidden], .country-picker .country-picker-list[hidden] { display: none; }
.country-picker .country-picker-list { max-height: min(264px, 42dvh); margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; scrollbar-width: thin; scrollbar-color: #545c71 #1c1f24; }
.country-picker .country-picker-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin: 0; padding: 10px 12px; border-radius: 7px; color: #f5f6fa; font: 400 16px/24px Inter, sans-serif; cursor: pointer; overflow-wrap: anywhere; }
.country-picker .country-picker-option.is-active { background: #2a344e; }
.country-picker .country-picker-option[aria-selected="true"] { color: #a5bcff; background: #252e43; }
.country-picker .country-picker-code { flex: 0 0 auto; color: #99a2b4; font-size: 12px; line-height: 20px; }
.country-picker .country-picker-empty { margin: 0; padding: 12px; color: #b7bfce; font-size: 14px; line-height: 22px; }
.country-picker .country-picker-error { margin: 7px 0 0; color: #f5a0a0; font-size: 13px; line-height: 20px; }
.country-picker .country-picker-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 600px) {
  .country-picker .country-picker-popup { border-radius: 10px; }
  .country-picker .country-picker-list { max-height: min(264px, 38dvh); }
}
