/* International Phone for CF7 by Alamdar Hussain — v1.5.0.
   ONLY the international telephone selector and the requested message height.
   No custom styling for ordinary fields, submit button, or form spacing. */
.wpcf7 .iti { width: 100%; max-width: 100%; }
.wpcf7 .iti__country-container { z-index: 2; }
.iti--container { z-index: 999999; }

/* Ensure the selected dialing code is readable against the theme's grey field. */
.wpcf7 .iti .iti__selected-dial-code,
.wpcf7 .iti .iti__selected-country .iti__selected-dial-code {
  color: #000 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #000 !important;
}

/* Do not darken or highlight the telephone country selector on hover/focus. */
.wpcf7 .iti .iti__selected-country,
.wpcf7 .iti .iti__selected-country:hover,
.wpcf7 .iti .iti__selected-country:focus,
.wpcf7 .iti .iti__selected-country:active {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}

/* Keep the country names and dialing codes black in the open dropdown. */
.iti__dropdown-content .iti__country-name,
.iti__dropdown-content .iti__dial-code,
.iti__dropdown-content .iti__country-list .iti__country,
.iti--container .iti__country-name,
.iti--container .iti__dial-code,
.iti--container .iti__country-list .iti__country {
  color: #000 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #000 !important;
}

/* Country dropdown hover uses a neutral surface, not the theme hover color. */
.iti__dropdown-content .iti__country:hover,
.iti__dropdown-content .iti__country.iti__highlight,
.iti--container .iti__country:hover,
.iti--container .iti__country.iti__highlight {
  background-color: #f2f2f2 !important;
  color: #000 !important;
}

/* Only the textarea height is overridden by explicit request. */
.wpcf7 textarea#contact-message {
  height: 90px !important;
  min-height: 90px !important;
}
