.iti {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.iti *, .iti *:before, .iti *:after {
  box-sizing: border-box;
}

.iti__flag-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  z-index: 10;
}

.iti__selected-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 8px;
  cursor: pointer;
}

.iti--separate-dial-code input {
  padding-left: 90px;
}

.iti__country-list {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 6px 0 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  max-height: 240px;
  overflow: auto;
  min-width: 240px;
  z-index: 2000;
}

.iti-mobile .iti--container {
    top: 5% !important;
    bottom: 5% !important;
    left: 5% !important;
    right: 5% !important;
    height: 90% !important;
    width: 90% !important;
}


body.iti-mobile .iti__country-list {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  max-height: 100%;
  width: 100%;
}

.iti__country {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  cursor: pointer;
}

.iti__country:hover,
.iti__country.iti__highlight {
  background: #f5f5f5;
}

.iti__flag-box {
  display: flex;
  align-items: center;
}

.iti__country-name {
  flex: 1;
}

.iti__dial-code {
  color: #666;
  text-align: right;
}

.form-control.kb_error_field {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
