.country-picker .dropdown-menu {
  max-height: 300px;
  overflow-y: auto;
  width: 100%;
  padding-top: 0;
  overflow-x: hidden;
  text-overflow: ellipsis;
}

.dropdown-item span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.country-picker .dropdown-toggle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 2.5rem; /* extra ruimte voor caret */
  position: relative;
}


.country-picker .dropdown-toggle::after {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  opacity:1;
}

.country-picker .dropdown-toggle.is-invalid::after {
	opacity:0;
}
.country-picker .search-row input {
  flex: 1;
}

.country-picker .sticky-top {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: white;
}

.country-picker .dropdown-item span strong {
  display: inline-block;
  width: 32px;
}

.flag-icon {
  position: relative;
}

.flag-icon::after {
  content: attr(data-emoji);
  position: absolute;
  bottom: -3px;
  right: -4px;
  width: 10px;
  height: 10px;
  font-size: 10px;
  line-height: 10px;
  text-align: center;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 1px #ccc;
  pointer-events: none;
}

.flag-icon:not([data-emoji]):after,
.flag-icon[data-emoji=""]:after {
  display: none;
}

.dropdown-item:focus {
  outline: none;
  border: none;
  box-shadow: none;
  background-color: #e9ecef;
  color: inherit;
}

.country-select-code-search{
	min-width:4em;
}
