/*
 * Layer order: defaults first (large / desktop), then one @media block for tablet · mobile
 * (matches JS acapPhoneRowStackMedia): portrait ≤767px, or short phone landscape.
 */
 select:not([multiple]) {
    background-repeat: no-repeat;
    padding-right: 2.5rem !important;
    background-image: url(../../assets/icons/select.svg);
    background-position: calc(100% - 1rem) 50%;
}
select:not([multiple]):focus {
    border-width: 1px !important;
    border-color: #bfc3c6 !important;
}
form {
    width: 100% !important;
}
.mktoForm .mktoFormCol {
    width: 100%;
}
.mktoForm .mktoFieldWrap {
    width: 100%;
}
.mktoForm .mktoRequiredField label.mktoLabel {
    width: auto !important;
}

/*
 * Core single-form layout + FormAssembly chrome (ported from legacy embed styles).
 * Keeps /forms/* pages styled if legacy main.css is delayed or overridden.
 */
/* Restore site chrome on embed-form pages (overrides legacy _embed_form.scss). */
body.single-embed-form .header {
    display: none;
}
@media (min-width: 1280px) {
    body.single-embed-form .header {
        display: block !important;
    }
}
body.single-embed-form .header-mobile {
    display: flex !important;
}
@media (min-width: 1280px) {
    body.single-embed-form .header-mobile {
        display: none !important;
    }
}
body.single-embed-form .footer-container {
    display: block !important;
}

body.single-embed-form .embed_form.single_form {
    position: relative;
}

body.single-embed-form .embed_form.single_form:not(.single_form--infosession) > .container {
    width: 100%;
    max-width: 37.5rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

body.single-embed-form .embed_form.single_form:not(.single_form--infosession) .single_form-page-header {
    display: block;
    border-bottom: 2px solid #eaeaea;
    padding: 1rem 5rem 0.75rem;
}

body.single-embed-form
    .embed_form.single_form:not(.single_form--infosession)
    .single_form-title-bar:not(.infosession-title-bar) {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-bottom: 0;
    padding: 1rem 5rem 0.75rem;
    background: #fff;
    width: 100%;
}

body.single-embed-form .single_form-header {
    display: block;
    width: 100%;
    min-width: 315px;
    line-height: 0.875rem;
    letter-spacing: 0.1rem;
    font-family: "Founders Grotesk Medium", sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    text-align: center;
    color: #202020;
}

body.single-embed-form .single_form-svg-icon {
    display: block;
    margin-top: -0.5rem;
    margin-right: 1rem;
    color: #0f24dc;
}

body.single-embed-form .single_form-description_container:not(.infosession-description) {
    width: 100%;
    max-width: 37.5rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -1.5rem;
    padding: 2rem 1rem 0;
}

body.single-embed-form .single_form-form_container:not(.infosession-form-wrap) {
    width: 100%;
    max-width: 41.25rem;
    margin: 2rem auto 0;
    padding-left: 1rem;
    padding-right: 1rem;
}

body.single-embed-form.study-nsw .single_form-description_container:not(.infosession-description) {
    margin-bottom: 0 !important;
    padding-top: 0 !important;
}

body.single-embed-form.study-nsw .wpforms-container {
    margin-top: 0 !important;
}

body.single-embed-form.study-nsw .wpforms-container form {
    padding-top: 0 !important;
}

body.single-embed-form.placement-expression-of-interest .wpforms-container {
    margin-top: 0 !important;
}

body.single-embed-form.placement-expression-of-interest .wpforms-container form {
    padding-top: 0 !important;
}

/* WPForms plugin sets confirmation copy to #333 after theme styles load. */
body.single-embed-form div.wpforms-container-full .wpforms-confirmation-container-full,
body.single-embed-form div[submit-success] > .wpforms-confirmation-container-full {
    background-color: var(--faculty-color-light, #0f24dc) !important;
    border: 0 !important;
    color: #fff !important;
}

body.single-embed-form div.wpforms-container-full .wpforms-confirmation-container-full p,
body.single-embed-form div.wpforms-container-full .wpforms-confirmation-container-full a,
body.single-embed-form div[submit-success] > .wpforms-confirmation-container-full p,
body.single-embed-form div[submit-success] > .wpforms-confirmation-container-full a {
    color: #fff !important;
}

body.single-embed-form.acap-aus-domestic-applynow-live .embed_form .wFormContainer .wForm {
    margin-top: 0 !important;
}

body.single-embed-form.acap-aus-domestic-applynow-live .embed_form .wFormContainer .wForm form {
    padding-top: 0 !important;
}

body.single-embed-form.acap-aus-domestic-applynow-live .embed_form .wFormContainer :is(#tfa_1506, #tfa_1218, #tfa_1196) {
    margin: 2rem 0 !important;
    padding: 0 !important;
}

body.single-embed-form.acap-aus-domestic-applynow-live .embed_form .wFormContainer :is(#tfa_1506, #tfa_1218, #tfa_1196) h1,
body.single-embed-form.acap-aus-domestic-applynow-live .embed_form .wFormContainer :is(#tfa_1506, #tfa_1218, #tfa_1196) h2 {
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
}

body.single-embed-form .embed_form.single_form.single_form--light > .container,
body.single-embed-form .embed_form.single_form--light .single_form-page-header {
    display: none !important;
}

body.single-embed-form
    .embed_form.single_form--light
    .single_form-form_container:not(.infosession-form-wrap) {
    max-width: 31.25rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

body.single-embed-form.book-a-call-law
    .embed_form.single_form--light
    .single_form-form_container:not(.infosession-form-wrap) {
    margin-top: 67px !important;
}

@media (min-width: 1280px) {
    body.single-embed-form.book-a-call-law
        .embed_form.single_form--light
        .single_form-form_container:not(.infosession-form-wrap) {
        margin-top: 7rem !important;
    }
}

body.single-embed-form .embed_form.single_form--light .single_form-embed_form--calendly {
    max-width: 28.125rem;
    margin-left: auto;
    margin-right: auto;
}

body.single-embed-form .single_form-embed_form--calendly .calendly-inline-widget {
    width: 100%;
    min-width: 0 !important;
    height: 52rem !important;
    overflow: visible !important;
}

body.single-embed-form .single_form-embed_form--calendly .calendly-inline-widget iframe {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    border: 0 !important;
}

@media (min-width: 1024px) {
    body.single-embed-form .single_form-description_container:not(.infosession-description) {
        margin-bottom: -4.5rem;
        padding-top: 5rem;
    }
}

body.single-embed-form .embed_form.single_form--download-guide .single_form-guide-intro {
    width: 100%;
    max-width: 37.5rem;
    margin: 1.5rem auto 2.75rem;
    padding: 0 1rem;
    border-bottom: 0;
    text-align: center;
    color: #202020;
}

body.single-embed-form .embed_form.single_form--download-guide .single_form-guide-intro__heading {
    max-width: 26rem;
    margin: 0 auto 0.75rem;
    color: #202020;
    font-family: "Founders Grotesk Regular", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
}

@media (min-width: 1024px) {
    body.single-embed-form .embed_form.single_form--download-guide .single_form-guide-intro__heading {
        font-size: 1.25rem;
    }
}

body.single-embed-form .embed_form.single_form--download-guide .single_form-guide-intro__description {
    max-width: 32rem;
    margin: 0 auto;
    color: #202020;
    font-family: "Founders Grotesk Regular", sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.333;
    text-align: center;
}

body.single-embed-form .embed_form.single_form--download-guide .wFormContainer #tfa_1844 {
    display: none !important;
}

body.single-embed-form .embed_form.single_form--download-guide .wFormContainer .wForm form {
    padding-top: 0 !important;
}

@media (min-width: 1024px) {
    body.single-embed-form .embed_form.single_form--download-guide .wFormContainer .wForm form {
        padding-top: 0 !important;
    }
}

body.single-embed-form .embed_form__close {
    position: absolute;
    right: 1.25rem;
    top: 1.75rem;
    display: none !important;
    width: 1.25rem;
    height: 1.25rem;
}

body.single-embed-form .embed_form__close::before,
body.single-embed-form .embed_form__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #09009c;
    transform: rotate(45deg);
}

body.single-embed-form .embed_form__close::after {
    transform: rotate(-45deg);
}

body.single-embed-form .embed_form .wFormHeader,
body.single-embed-form .embed_form .wFormFooter,
body.single-embed-form .embed_form .supportInfo {
    display: none;
}

body.single-embed-form .embed_form .wFormContainer {
    width: 100% !important;
    max-width: 37.5rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    font-family: "Founders Grotesk Regular", sans-serif;
}

@media (min-width: 1024px) {
    body.single-embed-form .embed_form .wFormContainer {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

body.single-embed-form .embed_form .wFormContainer .wForm :link {
    color: #0f24dc;
}

body.single-embed-form .embed_form .wFormContainer .wForm h3:not(.wFormTitle) {
    margin-top: 0;
    border: 0;
    border-bottom: 2px solid #eaeaea;
    font-weight: normal;
    padding: 2rem 5rem !important;
    font-family: "Founders Grotesk Medium", sans-serif;
    font-size: 1rem;
    line-height: 0.875rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    text-align: center;
    color: #202020;
}

body.single-embed-form .embed_form .wFormContainer .wForm form {
    width: 100%;
    padding: 2rem 1rem 2.5rem;
}

body.single-embed-form .embed_form.single_form--no-intro .wFormContainer .wForm form {
    padding-top: 0 !important;
}

@media (min-width: 1024px) {
    body.single-embed-form .embed_form .wFormContainer .wForm form {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    body.single-embed-form .embed_form.single_form--no-intro .wFormContainer .wForm form {
        padding-top: 0 !important;
    }
}

body.single-embed-form .embed_form .wFormContainer .oneField {
    margin-top: 1.25rem !important;
    border: 0;
    padding: 0;
}

body.single-embed-form .embed_form .wFormContainer .label.preField {
    min-width: 100% !important;
    margin-bottom: 0;
    padding: 0 !important;
    line-height: 1.625;
    font-family: "Founders Grotesk Medium", sans-serif !important;
    font-weight: normal !important;
    color: #484848 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.single-embed-form .embed_form .wFormContainer .reqMark,
body.single-embed-form .embed_form .wFormContainer .reqMark:after {
    color: #ec4e4e !important;
}

body.single-embed-form .embed_form .wFormContainer .wForm .inputWrapper {
    display: block;
    min-width: 100%;
}

body.single-embed-form .embed_form .wFormContainer .wForm .inputWrapper input[type="text"],
body.single-embed-form .embed_form .wFormContainer .wForm .inputWrapper input[type="password"],
body.single-embed-form .embed_form .wFormContainer .wForm .inputWrapper textarea,
body.single-embed-form .embed_form .wFormContainer .wForm .inputWrapper select:not([multiple]) {
    width: 100%;
    min-width: 100%;
    margin: 0.25rem 0 0;
    appearance: none;
    font-family: "Founders Grotesk Regular", sans-serif !important;
    font-size: 1.125rem !important;
    line-height: 1.333;
    height: auto !important;
    padding: 0.5556em 0.75rem 0.2222em !important;
    border: solid 1px #bfc3c6 !important;
    background-color: #fff;
}

body.single-embed-form .embed_form .wFormContainer .wForm .inputWrapper select:not([multiple]) {
    -webkit-appearance: none;
    appearance: none;
    background-repeat: no-repeat;
    background-image: url(../../assets/icons/select.svg);
    background-position: calc(100% - 1rem) 50%;
    background-size: 0.5625rem 0.3125rem;
    padding-right: 2.5rem !important;
}

body.single-embed-form .embed_form .wFormContainer .wForm .inputWrapper .field-hint,
body.single-embed-form .embed_form .wFormContainer .wForm .inputWrapper .field-hint-inactive {
    display: block !important;
}

body.single-embed-form .embed_form .wFormContainer .wForm .inputWrapper textarea {
    height: 10em !important;
}

body.single-embed-form .embed_form .wFormContainer textarea#g-recaptcha-response,
body.single-embed-form .embed_form .wFormContainer textarea[name="g-recaptcha-response"] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    visibility: hidden !important;
}

body.single-embed-form .embed_form .wFormContainer .captcha,
body.single-embed-form .embed_form .wFormContainer .captcha .oneField,
body.single-embed-form .embed_form .wFormContainer .captchaHelp,
body.single-embed-form .embed_form .wFormContainer #disabled-explanation {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.single-embed-form .embed_form .wFormContainer #google-captcha {
    margin-bottom: 10px !important;
}

body.single-embed-form .embed_form .wFormContainer .wForm .inputWrapper input:focus,
body.single-embed-form .embed_form .wFormContainer .wForm .inputWrapper textarea:focus,
body.single-embed-form .embed_form .wFormContainer .wForm .inputWrapper select:focus {
    border-width: 1px !important;
    border-color: #bfc3c6 !important;
}

body.single-embed-form .embed_form .wFormContainer .wForm .htmlSection {
    border: 0;
    padding-left: 0;
    padding-right: 0;
    margin-top: 3rem;
    font-size: 1.125rem;
}

body.single-embed-form .embed_form .wFormContainer .wForm .htmlSection:first-child {
    margin-top: 0;
    margin-bottom: 2rem;
}

body.single-embed-form .embed_form .wFormContainer .wForm .htmlSection + .oneField {
    margin-top: 2rem;
}

body.single-embed-form .embed_form .wFormContainer .wForm .section.inline.group > .htmlSection,
body.single-embed-form .embed_form .wFormContainer .wForm .inline.group > .htmlSection {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
}

body.single-embed-form .embed_form .wFormContainer #tfa_1506,
body.single-embed-form .embed_form .wFormContainer #tfa_1799,
body.single-embed-form .embed_form .wFormContainer #tfa_1798 {
    margin: 3rem 0 2rem !important;
    padding: 1rem 0 !important;
}

body.single-embed-form .embed_form .wFormContainer #tfa_1506 h1,
body.single-embed-form .embed_form .wFormContainer #tfa_1799 h1,
body.single-embed-form .embed_form .wFormContainer #tfa_1798 h1 {
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
}

body.single-embed-form .embed_form .wFormContainer #tfa_1799 .htmlContent br {
    display: none !important;
}

body.single-embed-form .embed_form .wFormContainer #tfa_1798,
body.single-embed-form .embed_form .wFormContainer #tfa_1798 .htmlContent {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.single-embed-form .embed_form .wFormContainer .wForm .h2,
body.single-embed-form .embed_form .wFormContainer #tfa_1844 h1 {
    margin: 0 !important;
    color: #202020 !important;
    font-size: 2rem !important;
    font-weight: 400 !important;
    line-height: 1.1875 !important;
    text-align: center;
}

@media (min-width: 1024px) {
    body.single-embed-form .embed_form .wFormContainer .wForm .h2,
    body.single-embed-form .embed_form .wFormContainer #tfa_1844 h1 {
        font-size: 2.5rem !important;
    }
}

body.single-embed-form .embed_form .wFormContainer .wForm div.section > .preField {
    margin-bottom: 0.25rem;
    color: #202020 !important;
    font-family: "Founders Grotesk Medium", sans-serif !important;
    font-size: 1.375rem !important;
    font-weight: 400;
    text-align: center;
    text-transform: none !important;
}

@media (min-width: 1024px) {
    body.single-embed-form .embed_form .wFormContainer .wForm div.section > .preField {
        margin-bottom: 1.75rem;
        font-size: 1.5625rem !important;
    }
}

body.single-embed-form .embed_form .wFormContainer .wForm .wfPagingButtons,
body.single-embed-form .embed_form .wFormContainer .wForm .actions {
    border: 0;
    padding: 0;
    display: block;
    text-align: center;
    float: none;
    margin-top: calc(15px) !important;
    margin-bottom: 4rem;
}

body.single-embed-form .embed_form .wFormContainer .wForm .wfPagingButtons > .wfPageNextButton,
body.single-embed-form .embed_form .wFormContainer .wForm .actions > .primaryAction {
    margin: 0;
    border: 0;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0.25rem 5rem 0 1.5rem !important;
    font-family: "Founders Grotesk Medium", sans-serif;
    font-size: 0.875rem;
    font-weight: normal;
    letter-spacing: 0.14286em;
    line-height: 4;
    text-transform: uppercase;
    color: #fff;
    background-color: #09009c !important;
    background-image: url(../../assets/icons/chevron-right-white.svg), linear-gradient(#0f24dc, #0f24dc) !important;
    background-position: calc(100% - 0.6875rem), right !important;
    background-size: auto 2.25rem, 3.5625rem 100% !important;
    background-repeat: no-repeat !important;
    transition: all 0.2s ease;
}

body.single-embed-form .embed_form .wFormContainer .wForm .wfPagingButtons > .wfPagePreviousButton {
    margin: 0;
    padding: 0.75rem 1.5rem 0.75rem 3rem;
    font-family: "Founders Grotesk Medium", sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.14286em;
    text-transform: uppercase;
    color: #0f24dc !important;
    background: no-repeat 0.5rem 50% / auto 2.25rem url(../../assets/icons/chevron-left-primary-light.svg);
}

/* Page-2 Back on multipage forms (register-for-event, etc.). Also inlined in FormHelper for NitroPack. */
body.single-embed-form .embed_form .wFormContainer .wForm .wfPagingButtons #wfPagePreviousId2.wfPagePreviousButton,
body.single-embed-form .embed_form .wFormContainer .wForm form #wfPagePreviousId2.wfPagePreviousButton {
    margin: 0;
    padding: 0 30px;
    color: #fff !important;
    background-color: #0f24dc !important;
    background-image: none !important;
    visibility: visible !important;
    float: left !important;
}

body.single-embed-form .content,
body.single-embed-form .main {
    margin-top: 0 !important;
}

body.single-embed-form .embed_form.single_form {
    margin-top: 0 !important;
}

/*
 * Header clearance after .wrap padding-top removal.
 * Fixed header: 67px mobile; 7rem (112px) at 1280px+.
 */
body.single-embed-form .embed_form.single_form.single_form--dark {
    padding-top: 67px !important;
}

@media (min-width: 1280px) {
    body.single-embed-form .embed_form.single_form.single_form--dark {
        padding-top: 7rem !important;
    }
}

/* Calendly no-intro pages already sit flush below the header. */
body.single-embed-form .embed_form.single_form.single_form--light.single_form--no-intro {
    padding-top: 0 !important;
}

/* Already flush or use custom form offsets. */
body.single-embed-form.placement-expression-of-interest .embed_form.single_form,
body.single-embed-form.study-nsw .embed_form.single_form,
body.single-embed-form.vtac-declaration .embed_form.single_form {
    padding-top: 0 !important;
}

body.single-embed-form .embed_form .wFormContainer {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.single-embed-form.vtac-declaration .embed_form .wFormContainer {
    margin-top: 6rem !important;
}

@media (min-width: 1280px) {
    body.single-embed-form.vtac-declaration .embed_form .wFormContainer {
        margin-top: 9rem !important;
    }
}
body.single-embed-form .embed_form .wFormContainer .wForm {
    margin-top: 5px;
    border-width: 0;
}

body.single-embed-form .infosession-logo[data-acap-logo-static="1"] img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/*
 * Country + mobile: FormAssembly uses #tfa_11783 > table.columnLayout > tr > td > .oneField
 * (not direct .oneField children). Flex on the outer div never affected the table row.
 */
body.single-embed-form #tfa_11783 {
    position: relative;
    display: block;
    width: 100%;
}
body.single-embed-form #tfa_11783 table.columnLayout {
    width: 100%;
    border-collapse: collapse;
}
body.single-embed-form #tfa_11783 table.columnLayout td {
    vertical-align: top;
}
body.single-embed-form #tfa_11783 table.columnLayout td .oneField {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-top: 0 !important;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}
body.single-embed-form #tfa_11783 table.columnLayout td .oneField .label.preField {
    display: block;
    line-height: 1.5;
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
}
body.single-embed-form #tfa_11783 .inputWrapper {
    position: relative;
    width: 100%;
    margin-top: 0 !important;
}

body.single-embed-form #tfa_11783 #tfa_7,
body.single-embed-form #tfa_11783 *[id^="tfa_7["] {
    width: 100% !important;
    max-width: 100% !important;
}

body.single-embed-form #tfa_1077-D,
body.single-embed-form #tfa_1077-D .inputWrapper,
body.single-embed-form #tfa_3774-D,
body.single-embed-form #tfa_3774-D .inputWrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

body.single-embed-form #tfa_1077,
body.single-embed-form *[id^="tfa_1077["],
body.single-embed-form #tfa_3774,
body.single-embed-form *[id^="tfa_3774["] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
}

html body.single-embed-form .wForm #tfa_3774,
html body.single-embed-form .wForm #tfa_3774-D {
    width: 100% !important;
}

body.single-embed-form #tfa_42-D,
body.single-embed-form #tfa_42 {
    display: none !important;
}

/* Typeahead icon position: set by acapAlignEmbedTypeaheadIcons() from the real input box (CSS % top is unreliable across FA DOM). */
body.single-embed-form .embed_form .wFormContainer .twitter-typeahead {
    display: block !important;
    width: 100%;
    margin-top: 0.25rem;
    background: #fff;
}

body.single-embed-form .embed_form .wFormContainer .twitter-typeahead input[type="text"],
body.single-embed-form .embed_form .wFormContainer .twitter-typeahead input.tt-input[type="text"],
body.single-embed-form .embed_form .wFormContainer .twitter-typeahead input.tt-hint[type="text"] {
    margin: 0 !important;
    padding-left: 2.75rem !important;
    padding-right: 2.75rem !important;
}

body.single-embed-form .embed_form .wFormContainer .twitter-typeahead input.tt-input[type="text"] {
    background-color: transparent !important;
}

body.single-embed-form .embed_form .wFormContainer .twitter-typeahead input.tt-hint[type="text"] {
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: none;
}

body.single-embed-form .embed_form .wFormContainer .tt-search,
body.single-embed-form .embed_form .wFormContainer .tt-spinner,
body.single-embed-form .embed_form .wFormContainer .tt-clear {
    display: block;
    width: 1rem !important;
    height: 1rem !important;
    color: #343b3e;
    font-size: 0 !important;
    line-height: 1 !important;
    z-index: 20 !important;
}

body.single-embed-form .embed_form .wFormContainer .tt-search {
    left: 1rem !important;
    right: auto !important;
    margin-left: 0 !important;
    pointer-events: none;
}

body.single-embed-form .embed_form .wFormContainer .tt-spinner,
body.single-embed-form .embed_form .wFormContainer .tt-clear {
    left: auto !important;
    right: 1rem !important;
    margin-right: 0 !important;
}

body.single-embed-form .embed_form .wFormContainer .tt-spinner {
    pointer-events: none;
}

body.single-embed-form .embed_form .wFormContainer .tt-clear {
    cursor: pointer;
}

body.single-embed-form .embed_form .wFormContainer .tt-search::before,
body.single-embed-form .embed_form .wFormContainer .tt-clear::before {
    content: "" !important;
    display: block;
    width: 1rem;
    height: 1rem;
    background-color: currentColor;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

body.single-embed-form .embed_form .wFormContainer .tt-search::before {
    -webkit-mask: url("../../assets/icons/search.svg") center / contain no-repeat;
    mask: url("../../assets/icons/search.svg") center / contain no-repeat;
}

body.single-embed-form .embed_form .wFormContainer .tt-clear::before {
    -webkit-mask: url("../../assets/icons/icon-close.svg") center / contain no-repeat;
    mask: url("../../assets/icons/icon-close.svg") center / contain no-repeat;
}

body.single-embed-form .embed_form .wFormContainer .tt-spinner::before {
    content: "" !important;
    display: block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 9999px;
    animation: acap-typeahead-spin 0.75s linear infinite;
}

@keyframes acap-typeahead-spin {
    to {
        transform: rotate(360deg);
    }
}

body.single-embed-form .embed_form .wFormContainer .tt-menu {
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.25rem;
    background: #fff;
    border: 1px solid #bfc3c6;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

body.single-embed-form .embed_form .wFormContainer .tt-suggestion {
    padding: 0.5rem 0.75rem 0.375rem;
    color: #202020;
    font-family: "Founders Grotesk Regular", sans-serif !important;
    font-size: 1.125rem !important;
    line-height: 1.333;
    cursor: pointer;
}

body.single-embed-form .embed_form .wFormContainer .tt-suggestion:hover,
body.single-embed-form .embed_form .wFormContainer .tt-suggestion.tt-cursor {
    background: #f8f8f8;
}

/* Normalize label gaps across fields and remove FormAssembly line-break artifact. */
body.single-embed-form .embed_form .wFormContainer .oneField .label.preField {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.625 !important;
}
body.single-embed-form .embed_form .wFormContainer .oneField .label.preField + br {
    display: none !important;
}
body.single-embed-form .embed_form .wFormContainer .oneField .inputWrapper {
    margin-top: 0 !important;
}
body.single-embed-form .embed_form .wFormContainer .oneField .label.preField,
body.single-embed-form .embed_form .wFormContainer .oneField .label.postField {
    color: #484848 !important;
}
body.single-embed-form .embed_form a,
body.single-embed-form .embed_form a:visited {
    /* color: #0f24dc !important; */
    text-decoration: underline !important;
}
body.single-embed-form .single_form-header h3 {
    text-transform: uppercase !important;
}
body.single-embed-form .single_form-header h6 {
    text-transform: lowercase !important;
}
body.single-embed-form .single_form-header h3 + br {
    display: none !important;
}
body.single-embed-form .embed_form .wFormContainer input[type="button"],
body.single-embed-form .embed_form .wFormContainer input[type="submit"] {
    line-height: 3 !important;
}
body.single-embed-form #wfPgIndex-2-buttons {
    float: left !important;
    margin-left: 0 !important;
}

/* hintsBelow: theme sets .hint to white on main — e.g. SMS/WhatsApp reminder under mobile */
body.single-embed-form .embed_form .wFormContainer .oneField.hintsBelow .field-hint-inactive .hint,
body.single-embed-form .embed_form .wFormContainer .oneField.hintsBelow .field-hint .hint {
    color: #000 !important;
}
body.single-embed-form .embed_form.single_form--infosession .single_form-title-bar.infosession-title-bar {
    background: transparent !important;
    background-color: transparent !important;
}
.single-embed-form .single_form-title-bar {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}
body.single-embed-form .embed_form.single_form--infosession .infosession-header .single_form-title-bar.infosession-title-bar,
body.single-embed-form .embed_form.single_form--infosession .infosession-header .single_form-title-bar.infosession-title-bar * {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}
/* Spacing: heading<->subheading and subheading->form at 1.5rem. */
body.single-embed-form .embed_form.single_form--infosession .infosession-header {
    margin-bottom: 1.5rem !important;
    padding-bottom: 0 !important;
}
body.single-embed-form .embed_form.single_form--infosession .infosession-description {
    margin-bottom: 1.5rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
body.single-embed-form .embed_form.single_form--infosession .infosession-title-bar {
    gap: 0 !important;
}

/* Tablet · mobile · narrow landscape: form image + stacked country/mobile row */
@media (max-width: 767px),
    (orientation: landscape) and (max-width: 932px) and (max-height: 500px) {
    /* Exclude infosession logo — server + aspect-ratio sizing must win over fixed 250px. */
    .form_image:not(.infosession-logo) {
        width: 250px !important;
    }
    body.single-embed-form #tfa_11783 table.columnLayout,
    body.single-embed-form #tfa_11783 table.columnLayout tbody {
        display: block !important;
        width: 100% !important;
    }
    body.single-embed-form #tfa_11783 table.columnLayout tr {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        gap: 1rem !important;
        width: 100% !important;
    }
    body.single-embed-form #tfa_11783 table.columnLayout td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    body.single-embed-form #tfa_11783 table.columnLayout td .oneField {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    body.single-embed-form #tfa_11783 table.columnLayout td .oneField .label.preField {
        margin-bottom: 0.5rem !important;
    }
    body.single-embed-form #tfa_11783 #tfa_1077,
    body.single-embed-form #tfa_11783 *[id^="tfa_1077["] {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: 1 1 auto !important;
    }
}

/*
 * Calendly campus-tour pages (single_form--light): match production embed layout.
 */
body.single-embed-form .embed_form.single_form.single_form--light:not(.single_form--infosession) > .container,
body.single-embed-form .embed_form.single_form--light:not(.single_form--infosession) .single_form-page-header {
    display: block !important;
}

body.single-embed-form .embed_form.single_form--light:not(.single_form--infosession) > .container {
    width: 100%;
    max-width: 37.5rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

body.single-embed-form .embed_form.single_form--light:not(.single_form--infosession) .single_form-page-header {
    border-bottom: 2px solid #eaeaea;
    padding: 1rem 5rem 0.75rem;
}

body.single-embed-form
    .embed_form.single_form--light:not(.single_form--infosession)
    .single_form-title-bar:not(.infosession-title-bar) {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-bottom: 0;
    padding: 1rem 5rem 0.75rem;
    background: #fff;
    width: 100%;
}

body.single-embed-form .embed_form.single_form--light:not(.single_form--infosession) .embed_form__close {
    display: block !important;
}

body.single-embed-form
    .embed_form.single_form--light:not(.single_form--infosession)
    .single_form-form_container:not(.infosession-form-wrap) {
    max-width: 41.25rem;
    margin-top: 2rem;
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

body.single-embed-form
    .embed_form.single_form--light:not(.single_form--infosession)
    .single_form-embed_form--calendly {
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

body.single-embed-form .embed_form.single_form--light .single_form-embed_form--calendly .calendly-inline-widget {
    width: 100% !important;
    min-width: 320px !important;
    height: 1450px !important;
    overflow: visible !important;
}

body.single-embed-form .embed_form.single_form--light .single_form-embed_form--calendly .calendly-inline-widget iframe {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    border: 0 !important;
}
