/**
 * Native FGR contact form (module). Scoped under .form__gform--fgr-native.
 */

.form__gform--fgr-native .fgr-native-form__grid {
  max-width: 100%;
}

.form__gform--fgr-native .fgr-native-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.form__gform--fgr-native .fgr-native-form__row--2 .fgr-native-field {
  flex: 1 1 calc(50% - 0.75rem);
  min-width: 0;
}

.form__gform--fgr-native .fgr-native-field--full {
  flex: 1 1 100%;
}

.form__gform--fgr-native .fgr-native-field__label {
  display: block;
  font-weight: 700;
  font-size: 0.6875rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.35rem;
  color: inherit;
}

.form__gform--fgr-native .fgr-native-field input[type="text"],
.form__gform--fgr-native .fgr-native-field input[type="email"],
.form__gform--fgr-native .fgr-native-field input[type="tel"],
.form__gform--fgr-native .fgr-native-field textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  padding: 0.4rem 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
  font: inherit;
  color: inherit;
}

.form__gform--fgr-native .fgr-native-field textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.form__gform--fgr-native .fgr-native-field input:focus,
.form__gform--fgr-native .fgr-native-field textarea:focus {
  outline: none;
  border-bottom-color: #000;
  box-shadow: none;
}

.form__gform--fgr-native .fgr-native-field input:focus-visible,
.form__gform--fgr-native .fgr-native-field textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.form__gform--fgr-native.form__gform--dark .fgr-native-field input[type="text"],
.form__gform--fgr-native.form__gform--dark .fgr-native-field input[type="email"],
.form__gform--fgr-native.form__gform--dark .fgr-native-field input[type="tel"],
.form__gform--fgr-native.form__gform--dark .fgr-native-field textarea {
  border-bottom-color: rgba(255, 255, 255, 0.9);
}

.form__gform--fgr-native.form__gform--dark .fgr-native-field input:focus,
.form__gform--fgr-native.form__gform--dark .fgr-native-field textarea:focus {
  border-bottom-color: #fff;
}


.form__gform--fgr-native .fgr-native-form__submit {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.form__gform--fgr-native .fgr-sms-consent-field {
  margin-top: 0.25rem;
}

.form__gform--fgr-native .fgr-sms-consent__top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.form__gform--fgr-native .fgr-sms-consent__input {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  min-width: 1.35rem;
  min-height: 1.35rem;
  margin: 0;
  border: 2px solid currentColor;
  border-radius: 0;
  cursor: pointer;
  vertical-align: middle;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  position: relative;
}

.form__gform--fgr-native .fgr-sms-consent__input:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 45%;
  width: 0.35rem;
  height: 0.65rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.form__gform--fgr-native .fgr-sms-consent__input:focus {
  outline: none;
}

.form__gform--fgr-native .fgr-sms-consent__input:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.form__gform--fgr-native .fgr-sms-consent__agree-label {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.2;
  cursor: pointer;
  margin: 0;
  user-select: none;
}

.form__gform--fgr-native .fgr-sms-consent__legal {
  margin: 0;
}

.form__gform--fgr-native .fgr-sms-consent__agree-label:hover {
  text-decoration: underline;
}

.form__gform--fgr-native .fgr-sms-consent-field .fgr-native-field__label--normal {
  font-weight: 400;
  font-size: 0.8125rem;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: normal;
}

@media (max-width: 640px) {
  .form__gform--fgr-native .fgr-native-form__row--2 .fgr-native-field {
    flex: 1 1 100%;
  }
}
