.iti {
  width: 100%;
  max-width: 100%;
  color: inherit;
  --iti-border-color: rgba(127, 127, 127, 0.35);
  --iti-dialcode-color: currentColor;
  --iti-dropdown-bg: #ffffff;
  --iti-hover-color: #f0ebff;
  --iti-text-gray: #56515f;
  --iti-spacer-horizontal: 12px;
  --iti-strict-reject-flash-color: rgba(111, 43, 238, 0.24);
}

.iti input[data-phone-input] {
  width: 100%;
}

.iti__selected-country {
  color: inherit;
  font: inherit;
}

.iti__selected-dial-code {
  color: inherit;
  font-weight: 600;
}

.iti__dropdown-content {
  z-index: 10020;
  color: #17151b;
  background: #ffffff;
  border-color: rgba(23, 21, 27, 0.18);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.iti__search-input {
  color: #17151b !important;
  background: #ffffff !important;
  border-color: rgba(23, 21, 27, 0.2) !important;
}

.iti__country-name,
.iti__dial-code {
  color: inherit;
}

.iti + label.error,
.iti + .project-field-error,
.iti + .text-danger {
  display: block;
  width: 100%;
  margin-top: 8px;
}

.project-card .iti {
  color: #18171b;
}

.project-card .iti__country-container {
  color: #29262f;
}

.contact-form .iti__country-container {
  color: #d7d4dc;
}

.contact-form .iti input[data-phone-input] {
  padding-right: 12px;
}

@media (max-width: 640px) {
  .iti__dropdown-content:not(.iti--inline-dropdown) {
    border-radius: 18px 18px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iti input[data-phone-input] {
    animation: none !important;
  }
}
