.reno-phone-field {
  align-items: stretch;
  background: #f4f2ff;
  border: 2px solid #beb9e4;
  border-radius: 16px;
  box-sizing: border-box;
  display: flex;
  height: 59px;
  min-height: 59px;
  overflow: visible;
  position: relative;
  transition: background-color 180ms ease, border-color 180ms ease;
  width: 100%;
}

.reno-phone-field:focus-within {
  background: #ffffff;
  border-color: #00ff01;
}

.reno-phone-prefix-button,
.reno-phone-prefix-option,
.reno-phone-national {
  box-shadow: none !important;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13.3333px;
  font-weight: 400;
  line-height: normal;
  outline: none !important;
}

.reno-phone-prefix-wrap {
  align-items: stretch;
  border-right: 1px solid #beb9e4;
  box-sizing: border-box;
  display: flex;
  flex: 0 0 75px;
  height: 100%;
  min-width: 0;
  position: relative;
}

.reno-phone-prefix-flag {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
  flex: 0 0 auto;
  height: 18px;
  pointer-events: none;
  width: 18px;
}

.reno-phone-prefix {
  display: none;
}

.reno-phone-prefix-button {
  appearance: none;
  background: transparent;
  border: 0;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 8px;
  height: 100%;
  justify-content: flex-start;
  margin: 0;
  min-width: 0;
  padding: 14px 0 14px 16px;
  text-align: left;
  width: 100%;
}

.reno-phone-prefix-button:focus {
  outline: none;
}

.reno-phone-prefix-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reno-phone-prefix-menu {
  background: #ffffff;
  border: 1px solid #beb9e4;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
  left: 8px;
  min-width: 132px;
  overflow: hidden;
  padding: 4px;
  position: absolute;
  top: calc(100% + 6px);
  z-index: 100;
}

.reno-phone-prefix-menu[hidden] {
  display: none;
}

.reno-phone-prefix-option {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 8px;
  padding: 9px 10px;
  text-align: left;
  width: 100%;
}

.reno-phone-prefix-option:hover,
.reno-phone-prefix-option:focus,
.reno-phone-prefix-option.is-selected {
  background: #f4f2ff;
}

.reno-phone-prefix-option-flag {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
  flex: 0 0 auto;
  height: 18px;
  width: 18px;
}

.reno-phone-national {
  appearance: none;
  background: transparent !important;
  border: 0 !important;
  box-sizing: border-box;
  flex: 1 1 auto;
  height: 100%;
  margin: 0;
  min-width: 0;

    padding-left: 0.25rem;
    padding-right: 0.25rem;
  
}

.reno-phone-national::placeholder {
  color: #8f89b9;
  opacity: 1;
}

.gform_wrapper .gfield_error .reno-phone-field {
  background: #ffffff !important;
  border-color: #ef4444 !important;
}

.gform_wrapper .gfield_error .reno-phone-field input,
.gform_wrapper .gfield_error .reno-phone-field select {
  border-color: transparent !important;
}

@media (max-width: 640px) {
  .reno-phone-field {
    min-height: 59px;
  }

  .reno-phone-prefix {
    display: none;
  }

  .reno-phone-prefix-wrap {
    flex-basis: 75px;
  }

  .reno-phone-prefix-flag {
    height: 16px;
    width: 16px;
  }

  .reno-phone-prefix-button {
    gap: 6px;
    padding: 14px 0 14px 10px;
  }

  .reno-phone-prefix-menu {
    left: 4px;
    min-width: 126px;
  }

}
