/* ==========================================================================
   RFI Form Styling
   Scope: #fuller-form-app-route only
   ========================================================================== */

   #RFIForm {
    scroll-margin-top: 100px;
  }

/* --- Base container --- */
#fuller-form-app-route {
  display: block;
  width: 100%;
  /* z-index: 9999; */
}


/* --- Inputs + selects --- */
#fuller-form-app-route input,
#fuller-form-app-route select,
#fuller-form-app-route textarea {
  /* background-color: #ffffff; */
  /* background-color: #FAF9F7 !important; */
  background-color: color-mix(in srgb, var(--ivory) 80%, transparent) !important;
  /* border: 1px solid #D6D2C4; */
  border: none !important;
  border-radius: 0px !important;
  padding: 8px 12px;
  width: 100%;
  font-size: 16px;
  box-shadow: none;
}


/* --- MUI native select --- */
#fuller-form-app-route .MuiNativeSelect-select {
  /* background-color: #ffffff !important; */
  /* background-color: #FAF9F7 !important; */
  background-color: color-mix(in srgb, var(--ivory) 80%, transparent) !important;
  /* border: 1px solid #D6D2C4; */
  border: none !important;
  padding: 8px 12px;
  font-size: 16px !important;
  line-height: 1.2;
  box-shadow: none !important;
  border-radius: 0px !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}


/* --- MUI underline: off --- */
#fuller-form-app-route .MuiInput-underline::before,
#fuller-form-app-route .MuiInput-underline::after,
#fuller-form-app-route .MuiNativeSelect-select::before,
#fuller-form-app-route .MuiNativeSelect-select::after {
  display: none !important;
}


/* --- Labels --- */
#fuller-form-app-route label {
  font-size: 1rem;
  padding-bottom: 4px !important;
  color: var(--midnight);
}


/* --- Helper + validation text: hidden --- */
#fuller-form-app-route .MuiFormHelperText-root,
#fuller-form-app-route .phone-helper-text,
#fuller-form-app-route .email-helper-text {
  display: none !important;
}


/* --- Legend --- */
#fuller-form-app-route legend {
  font-size: 0.75rem !important;
  font-weight: 400 !important;
  line-height: 1.35em !important;
  color: var(--slate);
  margin-bottom: 10px;
  border: none !important;
}


/* --- Links --- */
#fuller-form-app-route a {
  font-size: 12px;
  font-weight: 600 !important;
  line-height: 1.35em !important;
}


/* --- Checkbox: label --- */
#fuller-form-app-route .MuiFormControlLabel-label {
  display: inline-flex;
  align-items: center;
  font-size: 12px !important;
  white-space: nowrap;
  color: var(--midnight);
}


/* --- Checkbox: wrapper --- */
#fuller-form-app-route .MuiFormControlLabel-root {
  display: flex !important;
  align-items: center !important;
  justify-content: center;
  font-size: 14px !important;
}


/* --- Checkbox: control --- */
#fuller-form-app-route .MuiCheckbox-root {
  margin: 0 !important;
  padding: 0 !important;
  height: 1em;
  width: 1em;
  display: flex !important;
  justify-content: left !important;
  border-radius: 4px;
  color: #888;
}


/* --- Checkbox: icon --- */
#fuller-form-app-route .MuiSvgIcon-root {
  font-size: 1.2em !important;
  line-height: 1 !important;
  margin-right: 10px !important;
  display: block;
}


/* --- Button row: force full width container --- */
#fuller-form-app-route .MuiGrid-root:has(> .MuiButtonBase-root),
#fuller-form-app-route .MuiGrid-root:has(> .MuiGrid-root > .MuiButtonBase-root) {
  width: 100% !important;
  max-width: 100% !important;
  flex-basis: 100% !important;
  display: flex !important;
  justify-content: flex-start !important;
  text-align: left !important;
}


/* --- Buttons: base --- */
#fuller-form-app-route .MuiButtonBase-root {
  font-family: var(--font-sans);
  display: inline-block !important;
  width: auto !important;
  margin-left: 0 !important;
  padding: 8px 40px 8px 40px;
  font-size: 0.9375rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  position: relative;
}


/* --- Buttons: disabled --- */
#fuller-form-app-route .MuiButtonBase-root.Mui-disabled,
#fuller-form-app-route .MuiButtonBase-root:disabled,
#fuller-form-app-route .MuiButtonBase-root[aria-disabled="true"] {
  cursor: not-allowed !important;
  pointer-events: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  background-color: var(--slate) !important;
  border-color: var(--slate) !important;
  opacity: 0.75;
}


/* --- Buttons: responsive type --- */
@media (min-width: 768px) {
  #fuller-form-app-route .MuiButtonBase-root {
    font-size: 16px;
  }
}

@media (min-width: 1280px) {
  #fuller-form-app-route .MuiButtonBase-root {
    font-size: 18px;
  }
}


/* --- Checkbox: flush-left alignment --- */
#fuller-form-app-route .MuiFormControlLabel-root {
  justify-content: flex-start !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  width: 100%;
  text-align: left;
}

#fuller-form-app-route .MuiCheckbox-root {
  justify-content: flex-start !important;
  margin-left: 0 !important;
}

#fuller-form-app-route .MuiFormControlLabel-label {
  white-space: normal;
}




/* ==========================================================================
   RFI Thank You Pop Up
   ========================================================================== */


/* --- Modal heading --- */
.MuiDialog-container .MuiDialogTitle-root .MuiTypography-h6 {
  font-size: 30px !important;
  line-height: 1.2 !important;
}


/* --- Modal body copy --- */
.MuiDialog-container .MuiDialogContent-root .secondaryText p {
  font-size: 16px !important;
  line-height: 1.5 !important;
}


/* --- Modal actions: buttons --- */
.MuiDialog-container .MuiDialogActions-root .MuiButtonBase-root {
  font-family: "Noto Sans", serif !important;
  font-size: 13px !important;
  line-height: 1.2em !important;
  font-weight: 600 !important;
  padding: 10px 64px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
}

.MuiDialog-container .MuiDialogActions-root .MuiButtonBase-root:hover {
  font-family: "Noto Sans", serif !important;
  font-size: 13px !important;
  line-height: 1.2em !important;
  font-weight: 600 !important;
  padding: 10px 64px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
}


/* --- Modal: mobile sizing --- */
@media (max-width: 767px) {
  .MuiDialog-container[aria-labelledby="continue-to-application-dialog-title"]
  .MuiDialogContent-root
  .secondaryText
  p {
    font-size: 0.9rem !important;
  }

  .MuiDialog-container[aria-labelledby="continue-to-application-dialog-title"]
  .MuiDialogActions-root
  button.MuiButton-root.MuiButton-sizeMedium {
    width: 100% !important;
    text-align: center !important;
    padding: 12px !important;
  }
}




/* ==========================================================================
   Phone Number Validation
   ========================================================================== */


/* --- Country menu icon: reset --- */
.muiPhone-country-menu-icon {
  background: none !important;
  padding: 0 !important;
}

button.muiPhone-country-menu-icon {
  background: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}


/* --- Phone input: remove background on the entire input area --- */
#fuller-form-app-route .MuiInputBase-root,
#fuller-form-app-route .MuiInputBase-root.MuiInput-root {
  background-color: transparent !important;
  box-shadow: none !important;
}


/* --- Phone input: remove background on adornment wrapper --- */
#fuller-form-app-route .MuiInputAdornment-root {
  background-color: transparent !important;
}


/* --- Country icon button (flag selector) --- */
#fuller-form-app-route .muiPhone-country-menu-icon {
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}


/* --- Country icon: kill hover/focus backgrounds --- */
#fuller-form-app-route .muiPhone-country-menu-icon:hover,
#fuller-form-app-route .muiPhone-country-menu-icon:focus,
#fuller-form-app-route .muiPhone-country-menu-icon:active {
  background-color: transparent !important;
  box-shadow: none !important;
}


/* --- Country icon: kill ripple --- */
#fuller-form-app-route .muiPhone-country-menu-icon .MuiTouchRipple-root {
  display: none !important;
}