/* ==========================================================
   Phone number field – flag ▾ | +91 | number  (assets/js/phone-input.js)
   Styles on top of intl-tel-input 24.8.2
   ========================================================== */
.iti { display: block; width: 100%; }
.iti__country-container { padding: 0; }

/* flag + caret button, with a thin divider on its right */
.iti--separate-dial-code .iti__selected-country,
.iti .iti__selected-country {
  padding: 0 12px 0 14px;
  border-right: 1px solid #d5dce8;
  border-radius: 8px 0 0 8px;
  background: transparent;
  transition: background .2s ease;
}
.iti .iti__selected-country:hover,
.iti .iti__selected-country:focus-visible { background: rgba(35, 62, 129, .05); }
.iti .iti__selected-country-primary { padding: 0; gap: 8px; }
.iti .iti__arrow { border-top-color: #555; margin-left: 2px; }
.iti .iti__arrow--up { border-bottom-color: #555; }
.iti .iti__selected-dial-code { color: #707070; font-weight: 500; margin-left: 12px; }
.iti .iti__flag { box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); border-radius: 2px; }

/* dropdown list with search, like a clean menu card */
.iti__dropdown-content {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(3, 27, 78, .14);
  overflow: hidden;
  margin-top: 6px;
  font-family: inherit;
}
.iti__search-input {
  padding: 12px 14px 12px 40px;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  font-size: 15px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23707070' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242.656a5 5 0 1 1 0-10 5 5 0 0 1 0 10'/%3E%3C/svg%3E") no-repeat 14px center;
  outline: none;
}
.iti__country-list { max-height: 240px; }
.iti__country { padding: 10px 14px; font-size: 15px; }
.iti__country.iti__highlight { background: #eef3fa; }
.iti__country-name { color: #1d2433; font-weight: 500; }
.iti__dial-code { color: #707070; }

/* error message: the field is wrapped by .iti, so show the message from the wrapper */
.was-validated .iti:has(input:invalid) ~ .invalid-feedback { display: block; }

/* ---- Contact + Partner forms (.form-control boxes) ---- */
.ww-form .iti input.form-control { width: 100%; }
.was-validated .ww-form .iti:has(input:invalid) .iti__selected-country,
.ww-form.was-validated .iti:has(input:invalid) .iti__selected-country { border-right-color: #dc3545; }

/* ---- Career form (.af-control box already draws the border) ---- */
.af-control--tel { padding: 0; }
.af-control--tel .iti { height: 100%; }
.af-control--tel .af-input { padding-left: 12px; }
.af-control--tel .iti__selected-country { border-radius: 5.742px 0 0 5.742px; }
