/* ================= International Phone Input — Lavish Living skin =================
   Restyles the intl-tel-input library (default classnames from the library
   itself) to match this site's form language: rounded corners, burgundy
   (--accent) focus state, espresso (--ink) text, the same spacing as every
   other .form-group input. */

.iti { width: 100%; }

.form-group .iti input {
  width: 100%;
  padding: 13px 14px 13px 90px; /* left space reserved for the flag/dial-code segment */
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--ivory);
  outline: none;
  transition: border .2s ease;
}
.form-group .iti input:focus { border-color: var(--accent); }

.iti__flag-container { border-radius: 8px 0 0 8px; }
.iti__selected-flag {
  padding: 0 8px 0 14px;
  border-radius: 8px 0 0 8px;
}
.iti__selected-dial-code { color: var(--ink); font-weight: 600; font-size: 13.5px; }
.iti__arrow { border-top-color: var(--stone); }
.iti__arrow--up { border-bottom-color: var(--stone); }

.iti__country-list {
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  box-shadow: 0 14px 34px rgba(23,18,15,0.14);
  margin-top: 4px;
}
.iti__country { padding: 9px 12px; font-size: 13.5px; color: var(--ink); }
.iti__country.iti__highlight,
.iti__country:hover { background: var(--accent-soft); }
.iti__divider { border-bottom: 1px solid var(--line); }
.iti__search-input {
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
  padding: 8px 10px;
}
.iti__search-input:focus { border-color: var(--accent); outline: none; }

/* Invalid state — same burgundy accent used elsewhere for form errors */
.phone-field-invalid .iti input { border-color: var(--accent); background: #FBEEF0; }
.phone-field-error {
  display: block;
  color: var(--accent);
  font-size: 12.5px;
  margin-top: 6px;
}
