.country-picker-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
  min-height: 41px;
  padding: 0 10px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: #433a43;
  font-size: .89rem;
  text-align: start;
}

.country-picker-trigger:disabled { opacity: .8; }
.country-picker-trigger > .icon { width: 15px; height: 15px; margin-inline-start: auto; color: #817380; }
.country-picker-trigger[aria-expanded="true"] > .icon { transform: rotate(180deg); }
.country-picker-trigger .country-picker-name { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-picker-name { min-width: 0; }
.country-picker-flag { display: grid; place-items: center; flex: 0 0 22px; width: 22px; height: 17px; }
.country-picker-flag > svg { display: block; width: 21px; height: 16px; border-radius: 2px; }
.country-picker-flag > .icon { width: 17px; height: 17px; color: #b04764; }

.country-picker-popup {
  position: fixed;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  padding: 8px;
  border: 1px solid #eee5e8;
  border-radius: 12px;
  background: #fff;
  color: #433a43;
  box-shadow: 0 12px 32px #37212f25, 0 2px 7px #37212f0e;
}

.country-picker-input {
  flex: 0 0 auto;
  width: 100%;
  min-height: 37px;
  padding: 6px 10px;
  border: 1px solid #eae4e5;
  border-radius: 7px;
  background: #fdfbf9;
  color: inherit;
  font: inherit;
  font-size: 1rem;
}

.country-picker-input:focus { outline-offset: -2px; }
.country-picker-list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 1px; list-style: none; }
.country-picker-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 35px;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: .91rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.country-picker-list li[aria-selected="true"] { color: #a72b4c; font-weight: 700; }
.country-picker-list li.is-active, .country-picker-list li:hover { background: #f9edf1; }
.country-picker-message { margin: 4px 9px 7px; color: #6f6570; font-size: .89rem; }
