.asad-phone-field {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
}

.asad-phone-field > input[type="tel"] {
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 112px !important;
}

.asad-phone-country {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: 102px;
  padding: 0 10px;
  border: 0;
  border-right: 1px solid rgba(40, 40, 42, 0.25);
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.consultation-dark .asad-phone-country {
  border-right-color: rgba(255, 255, 255, 0.35);
}

.asad-phone-country__flag {
  font-size: 20px;
  line-height: 1;
}

.asad-phone-country__dial {
  font-size: 14px;
  white-space: nowrap;
}

.asad-phone-country__chevron {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.asad-phone-menu {
  position: absolute;
  z-index: 10020;
  top: calc(100% + 8px);
  left: 0;
  display: none;
  width: min(320px, 88vw);
  max-height: 280px;
  overflow-y: auto;
  padding: 7px;
  border: 1px solid rgba(40, 40, 42, 0.14);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
  color: #28282a;
}

.asad-phone-field.is-open .asad-phone-menu {
  display: block;
}

.asad-phone-option {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #28282a;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.asad-phone-option:hover,
.asad-phone-option:focus-visible,
.asad-phone-option[aria-selected="true"] {
  background: #f1f1ef;
  outline: none;
}

.asad-phone-option__dial {
  color: #777;
}

.asad-form-status {
  width: 100%;
  margin: 8px 0 0;
  color: #b42318;
  font-size: 13px;
  line-height: 1.35;
}

.consultation-dark .asad-form-status {
  color: #ffb4ab;
}

form.asad-is-sending button[type="submit"] {
  pointer-events: none;
  opacity: 0.65;
}

@media (max-width: 480px) {
  .asad-phone-field > input[type="tel"] {
    padding-left: 102px !important;
  }

  .asad-phone-country {
    width: 94px;
    padding: 0 8px;
    gap: 5px;
  }
}
