.iti {
  position: relative;
  display: inline-block;
  width: 100%;
}

.iti__hide {
  display: none;
}

.iti__a11y-text {
  height: 1px;
  left: -1px;
  overflow: hidden;
  position: absolute;
  top: -1px;
  width: 1px;
}

.iti__container {
  display: inline-block;
  position: relative;
  width: 100%;
}

.iti__flag-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  border-right: 1px solid #ced4da;
  background-color: #fff;
  border-radius: 0.375rem 0 0 0.375rem;
  padding: 0.375rem 0.5rem;
  cursor: pointer;
}

.iti__selected-flag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.iti__flag {
  width: 32px;
  height: 24px;
  display: inline-block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.iti__arrow {
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid #6c757d;
  margin-left: 0.25rem;
}

.iti__country-list {
  position: absolute;
  z-index: 3;
  list-style: none;
  padding: 0;
  margin: 0 0 0 -1px;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  max-height: 200px;
  overflow-y: auto;
  width: 300px;
  display: none;
}

.iti__country-list.show {
  display: block;
}

.iti__country {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

.iti__country:hover {
  background-color: #f8f9fa;
}

.iti__country.iti__highlight {
  background-color: #e9ecef;
}

.iti__country-name {
  flex: 1;
}

.iti__dial-code {
  color: #6c757d;
  font-size: 0.875rem;
}

.iti__input-wrapper {
  position: relative;
}

.iti__input-wrapper input {
  padding-left: 100px;
  border-radius: 0 0.375rem 0.375rem 0;
}
