
.vsa-phone-row {
  display: grid;
  width: 100%;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  box-sizing: border-box;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid #8a9eae;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.vsa-phone-row:focus-within {
  border-color: #1560A8;
  box-shadow: 0 0 0 4px rgba(21, 96, 168, .12);
}

.vsa-phone-row select[data-phone-country],
.vsa-phone-row input[name="phone"] {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  box-sizing: border-box;
}

.vsa-phone-row select[data-phone-country] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 112px;
  max-width: 112px;
  padding: 0 2rem 0 .8rem;
  background-color: #fff;
  border-right: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%235C6875' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7rem center;
  color: #0B2F57;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  text-overflow: clip;
}

.vsa-phone-row input[name="phone"] {
  width: 100%;
  padding: 0 1rem;
  background: #fff;
}

.vsa-phone-row input[name="phone"]::placeholder {
  color: #8A94A6;
}

.vsa-phone-hint {
  display: none;
}

@media (max-width: 479px) {
  .vsa-phone-row {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .vsa-phone-row select[data-phone-country] {
    width: 96px;
    max-width: 96px;
    padding-left: .6rem;
    font-size: .88rem;
  }

  .vsa-phone-row input[name="phone"] {
    padding: 0 .85rem;
    font-size: .95rem;
  }
}

.vsa-phone-row select[data-phone-country]:focus,
.vsa-phone-row select[data-phone-country]:focus-visible,
.vsa-phone-row input[name="phone"]:focus,
.vsa-phone-row input[name="phone"]:focus-visible {
  border: 0;
  outline: 0;
  box-shadow: none;
}
