.am360-ff-wrap {
    --am360-ff-primary: #111827;
    --am360-ff-accent: #c8914b;
    --am360-ff-surface: #fff;
    --am360-ff-field-bg: #fff;
    --am360-ff-border: #d8dee8;
    --am360-ff-button-text: #fff;
    --am360-ff-radius: 14px;
    --am360-ff-max-width: 760px;
    --am360-ff-margin-top: 0px;
    --am360-ff-margin-bottom: 0px;
    --am360-ff-margin-left-space: 0px;
    --am360-ff-margin-right-space: 0px;
    box-sizing: border-box;
    color: inherit;
    font: inherit;
    margin-bottom: var(--am360-ff-margin-bottom);
    margin-left: var(--am360-ff-margin-left, auto);
    margin-right: var(--am360-ff-margin-right, auto);
    margin-top: var(--am360-ff-margin-top);
    max-width: var(--am360-ff-max-width);
    padding-bottom: var(--am360-ff-padding-bottom, 0px);
    padding-left: var(--am360-ff-padding-left, 0px);
    padding-right: var(--am360-ff-padding-right, 0px);
    padding-top: var(--am360-ff-padding-top, 0px);
    width: calc(100% - var(--am360-ff-margin-left-space) - var(--am360-ff-margin-right-space));
}

.am360-ff-wrap *,
.am360-ff-wrap *::before,
.am360-ff-wrap *::after {
    box-sizing: border-box;
}

.am360-ff-wrap.is-card {
    background: var(--am360-ff-surface);
    border: 1px solid var(--am360-ff-border);
    border-radius: calc(var(--am360-ff-radius) * 1.35);
    box-shadow: 0 18px 50px rgba(17, 24, 39, .08);
    padding-bottom: var(--am360-ff-padding-bottom, clamp(22px, 5vw, 48px));
    padding-left: var(--am360-ff-padding-left, clamp(22px, 5vw, 48px));
    padding-right: var(--am360-ff-padding-right, clamp(22px, 5vw, 48px));
    padding-top: var(--am360-ff-padding-top, clamp(22px, 5vw, 48px));
}

.am360-ff-wrap.is-inherit {
    --am360-ff-primary: currentColor;
    --am360-ff-border: currentColor;
    --am360-ff-field-bg: transparent;
}

.am360-ff-wrap.is-inherit .am360-ff-progress > i > b {
    background: currentColor;
}

.am360-ff-wrap.is-inherit .am360-ff-step > header > span {
    background: transparent;
    border: 1px solid currentColor;
    color: inherit;
}

.am360-ff-wrap.is-inherit .am360-ff-next,
.am360-ff-wrap.is-inherit .am360-ff-submit {
    background: transparent;
    border-color: currentColor;
    color: inherit;
}

.am360-ff-form {
    color: inherit;
    font: inherit;
    margin: 0;
}

.am360-ff-title {
    color: var(--am360-ff-primary);
    font: inherit;
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    font-weight: 750;
    letter-spacing: -.025em;
    line-height: 1.15;
    margin: 0 0 12px;
}

.am360-ff-intro {
    color: inherit;
    font: inherit;
    line-height: 1.65;
    margin: 0 0 28px;
    opacity: .72;
}

.am360-ff-progress {
    border-bottom: 1px solid var(--am360-ff-border);
    margin-bottom: clamp(24px, 4vw, 36px);
    padding-bottom: 17px;
}

.am360-ff-progress > div {
    align-items: flex-end;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.am360-ff-progress span {
    font: inherit;
    font-size: .76em;
    font-weight: 750;
    letter-spacing: .08em;
    opacity: .55;
    text-transform: uppercase;
}

.am360-ff-progress strong {
    color: var(--am360-ff-primary);
    font: inherit;
    font-size: .9em;
    font-weight: 700;
}

.am360-ff-progress > i {
    background: var(--am360-ff-border);
    border-radius: 999px;
    display: block;
    height: 4px;
    overflow: hidden;
}

.am360-ff-progress > i > b {
    background: var(--am360-ff-accent);
    border-radius: inherit;
    display: block;
    height: 100%;
    transition: width .28s ease;
}

.am360-ff-step[hidden] {
    display: none !important;
}

.am360-ff-step.is-active {
    animation: am360-ff-enter .24s ease both;
}

@keyframes am360-ff-enter {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
}

.am360-ff-step > header {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
}

.am360-ff-step > header > span {
    align-items: center;
    background: var(--am360-ff-accent);
    border-radius: calc(var(--am360-ff-radius) * .65);
    color: var(--am360-ff-button-text);
    display: flex;
    flex: 0 0 auto;
    font: inherit;
    font-size: .72em;
    font-weight: 800;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.am360-ff-step h3 {
    color: var(--am360-ff-primary);
    font: inherit;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 750;
    line-height: 1.25;
    margin: 1px 0 0;
    outline: none;
}

.am360-ff-step header p {
    font: inherit;
    font-size: .9em;
    line-height: 1.55;
    margin: 5px 0 0;
    opacity: .66;
}

.am360-ff-grid {
    display: grid;
    gap: clamp(16px, 2.3vw, 24px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.am360-ff-field.is-full {
    grid-column: 1 / -1;
}

.am360-ff-field.is-half {
    grid-column: span 1;
}

.am360-ff-label {
    color: inherit;
    display: block;
    font: inherit;
    font-size: .9em;
    font-weight: 650;
    margin: 0 0 8px;
}

.am360-ff-label em {
    color: #c33d35;
    font-style: normal;
    margin-left: 3px;
}

.am360-ff-field input[type="text"],
.am360-ff-field input[type="email"],
.am360-ff-field input[type="tel"],
.am360-ff-field input[type="number"],
.am360-ff-field input[type="date"],
.am360-ff-field select,
.am360-ff-field textarea {
    appearance: none;
    background: var(--am360-ff-field-bg);
    border: 1px solid var(--am360-ff-border);
    border-radius: var(--am360-ff-radius);
    box-shadow: none;
    color: inherit;
    font: inherit;
    line-height: 1.4;
    margin: 0;
    min-height: 55px;
    outline: none;
    padding: 14px 16px;
    transition: border-color .18s ease, box-shadow .18s ease;
    width: 100%;
}

.am360-ff-field select {
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position: calc(100% - 20px) 23px, calc(100% - 15px) 23px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
    padding-right: 42px;
}

.am360-ff-field textarea {
    min-height: 130px;
    resize: vertical;
}

.am360-ff-address {
    position: relative;
}

.am360-ff-address::after {
    position: absolute;
    top: 18px;
    right: 16px;
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    content: "";
    opacity: 0;
    pointer-events: none;
}

.am360-ff-address.is-loading::after {
    animation: am360-ff-address-spin .7s linear infinite;
    opacity: .5;
}

@keyframes am360-ff-address-spin {
    to { transform: rotate(360deg); }
}

.am360-ff-address > input {
    padding-right: 46px !important;
}

.am360-ff-address-suggestions {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    left: 0;
    z-index: 80;
    max-height: 310px;
    overflow-y: auto;
    border: 1px solid var(--am360-ff-border);
    background: var(--am360-ff-surface);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .18);
}

.am360-ff-address-suggestions[hidden] {
    display: none !important;
}

.am360-ff-address-suggestions button {
    display: block;
    width: 100%;
    min-height: 58px;
    padding: 10px 14px;
    border: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--am360-ff-border) 55%, transparent);
    background: var(--am360-ff-surface);
    color: var(--am360-ff-primary);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.am360-ff-address-suggestions button:last-child {
    border-bottom: 0;
}

.am360-ff-address-suggestions button:hover,
.am360-ff-address-suggestions button.is-active {
    background: color-mix(in srgb, var(--am360-ff-primary) 7%, var(--am360-ff-surface));
}

.am360-ff-address-suggestions strong,
.am360-ff-address-suggestions small {
    display: block;
}

.am360-ff-address-suggestions strong {
    font-size: .9em;
    font-weight: 700;
}

.am360-ff-address-suggestions small {
    margin-top: 3px;
    font-size: .76em;
    opacity: .62;
}


.am360-ff-field input:focus,
.am360-ff-field select:focus,
.am360-ff-field textarea:focus {
    border-color: var(--am360-ff-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--am360-ff-accent) 15%, transparent);
}

.am360-ff-field > small {
    display: block;
    font: inherit;
    font-size: .76em;
    line-height: 1.45;
    margin-top: 7px;
    opacity: .6;
}

.am360-ff-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.am360-ff-choice,
.am360-ff-consent {
    align-items: center;
    border: 1px solid var(--am360-ff-border);
    border-radius: calc(var(--am360-ff-radius) * .8);
    cursor: pointer;
    display: flex;
    font: inherit;
    gap: 10px;
    min-height: 48px;
    padding: 10px 13px;
}

.am360-ff-choice input,
.am360-ff-consent input {
    accent-color: var(--am360-ff-accent);
    flex: 0 0 auto;
    height: 18px;
    margin: 0;
    width: 18px;
}

.am360-ff-choices.is-invalid {
    border: 1px solid #c33d35;
    border-radius: var(--am360-ff-radius);
    padding: 7px;
}

.am360-ff-actions {
    align-items: center;
    display: flex;
    gap: 11px;
    justify-content: flex-end;
    margin-top: clamp(25px, 4vw, 36px);
}

.am360-ff-actions button {
    appearance: none;
    border-radius: var(--am360-ff-radius);
    cursor: pointer;
    font: inherit;
    font-weight: 750;
    line-height: 1.2;
    min-height: 54px;
    padding: 14px 24px;
    transition: filter .18s ease, transform .18s ease, opacity .18s ease;
}

.am360-ff-actions button[hidden] {
    display: none !important;
}

.am360-ff-next,
.am360-ff-submit {
    background: var(--am360-ff-accent);
    border: 1px solid var(--am360-ff-accent);
    color: var(--am360-ff-button-text);
}

.am360-ff-back {
    background: transparent;
    border: 1px solid var(--am360-ff-border);
    color: inherit;
}

.am360-ff-actions button:hover {
    filter: brightness(.94);
    transform: translateY(-1px);
}

.am360-ff-actions button:disabled {
    cursor: wait;
    opacity: .62;
    transform: none;
}

.am360-ff-status {
    border-radius: calc(var(--am360-ff-radius) * .75);
    font: inherit;
    font-size: .9em;
    margin: 14px 0 0;
}

.am360-ff-status:empty {
    display: none;
}

.am360-ff-status.is-success,
.am360-ff-status.is-error {
    padding: 11px 13px;
}

.am360-ff-status.is-success {
    background: #eaf7ef;
    color: #17633a;
}

.am360-ff-status.is-error {
    background: #fff0ef;
    color: #a1261d;
}

.am360-ff-status.is-loading {
    opacity: .7;
}

.am360-ff-hp {
    height: 1px !important;
    left: -10000px !important;
    overflow: hidden !important;
    position: absolute !important;
    top: auto !important;
    width: 1px !important;
}

@supports not (color: color-mix(in srgb, black 10%, transparent)) {
    .am360-ff-field input:focus,
    .am360-ff-field select:focus,
    .am360-ff-field textarea:focus {
        box-shadow: 0 0 0 3px rgba(17, 24, 39, .12);
    }
}

@supports (color: color-mix(in srgb, black 10%, transparent)) {
    .am360-ff-wrap.is-inherit {
        --am360-ff-border: color-mix(in srgb, currentColor 22%, transparent);
    }
}

@media (max-width: 720px) {
    .am360-ff-wrap {
        width: calc(100% - min(var(--am360-ff-margin-left-space), 24px) - min(var(--am360-ff-margin-right-space), 24px));
    }

    .am360-ff-wrap.has-margin-left {
        margin-left: min(var(--am360-ff-margin-left), 24px);
    }

    .am360-ff-wrap.has-margin-right {
        margin-right: min(var(--am360-ff-margin-right), 24px);
    }

    .am360-ff-wrap.is-card {
        padding-bottom: var(--am360-ff-padding-bottom, 21px);
        padding-left: var(--am360-ff-padding-left, 17px);
        padding-right: var(--am360-ff-padding-right, 17px);
        padding-top: var(--am360-ff-padding-top, 21px);
    }

    .am360-ff-grid {
        grid-template-columns: 1fr;
    }

    .am360-ff-field.is-full,
    .am360-ff-field.is-half {
        grid-column: 1;
    }

    .am360-ff-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .am360-ff-submit:only-child,
    .am360-ff-next:first-child {
        grid-column: 1 / -1;
    }

    .am360-ff-actions button {
        padding-left: 13px;
        padding-right: 13px;
        width: 100%;
    }

    .am360-ff-progress strong {
        display: none;
    }
}
.am360-ff-address-error {
    padding: 12px 14px;
    color: #8b1e1e;
    font-size: 13px;
    line-height: 1.45;
}
