/* Country + phone compound field (US / UK / AUS / CA) */
.phone-field {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 40px;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  overflow: visible;
  z-index: 1;
}

.phone-field.is-open {
  z-index: 40;
}

.phone-field__toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid #d0d5dd;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.phone-field__caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #555;
  margin-top: 2px;
}

.phone-field__input,
.phone-field input.phone-field__input,
.phone-field input.phone-input,
.phone-field input.phone1,
.phone-field input.number,
.phone-field input[type="tel"],
.phone-field input[type="text"] {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  height: auto !important;
  min-height: 40px;
  margin: 0 !important;
  padding: 8px 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  color: inherit;
  font: inherit;
  font-size: 14px;
}

.phone-field__menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 88px;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  display: none;
  z-index: 50;
}

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

.phone-field__option {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  line-height: 1.2;
}

.phone-field__option:hover,
.phone-field__option.is-active {
  background: #0d6efd;
  color: #fff;
}

/* Brand FAQ / consultation circle form — underline style */
.sec_form .sec_right form .phone-field {
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  background: transparent;
  margin-bottom: 25px;
  min-height: 40px;
}

.sec_form .sec_right form .phone-field__toggle {
  border-right-color: #000;
  padding-left: 0;
}

.sec_form .sec_right form .phone-field__input {
  min-height: 38px;
  padding-left: 10px !important;
  padding-right: 0 !important;
}

/* Genre banner forms */
.genre_sec2 .sec_right .genre_form form .control_form .phone-field {
  background: transparent;
  border: 0.91px solid #fff;
  border-radius: 27px;
}

.genre_sec2 .sec_right .genre_form form .control_form .phone-field__toggle {
  border-right-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.genre_sec2 .sec_right .genre_form form .control_form .phone-field__caret {
  border-top-color: #fff;
}

.genre_sec2 .sec_right .genre_form form .control_form .phone-field__input,
.genre_sec2 .sec_right .genre_form form .control_form .phone-field__input::placeholder {
  color: #fff;
}

/* Quote modal */
.quoteModal__field .phone-field {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.quoteModal__field .phone-field:focus-within {
  border-color: var(--color-red, #b22929);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(178, 41, 41, 0.12);
}

.quoteModal__field .phone-field__input {
  min-height: 46px;
  font-size: 15px;
}

/* Publishing LP — keep toggle from inheriting .leadForm button { width:100% } */
.leadForm .phone-field__toggle,
.signupForm .phone-field__toggle,
.phone-container .phone-field__toggle,
.entry-right .phone-field__toggle {
  width: auto !important;
  max-width: max-content !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}

.phone-container .phone-field,
.entry-right .phone-field,
.signupForm .phone-field,
.leadForm .phone-field {
  border-radius: 10px;
  background: #fff;
}

.phone-container .phone-field__input,
.entry-right .phone-field__input {
  min-height: 48px;
  color: #111 !important;
}

.phone-container .phone-field__input::placeholder,
.entry-right .phone-field__input::placeholder,
.signupForm .phone-field__input::placeholder,
.leadForm .phone-field__input::placeholder {
  opacity: 1;
}
