#boardwalk {
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    background-color: #FFFFFF;
    border-radius: 5px;
    font-size: 16px;
    padding: 1.2em;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    container-type: inline-size;
}

#boardwalk fieldset {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    padding: 0;
    width: 100%;
    max-width: 800px;
}

#boardwalk .bw-heading {
    color: #70DFFF;
    font-weight: bold;
    margin-bottom: 0.8em;
    font-size: 1.7em;
    line-height: 1.5;
    width: 100%;
}

#boardwalk .bw-text {
    color: #000000;
    font-size: 1.3em;
    margin-bottom: 1em;
    text-align: left;
    line-height: 1.5;
    width: 100%;
}

#boardwalk .bw-image-link {
    display: block;
    margin-bottom: 20px;
}

#boardwalk .bw-image {
    max-width: 100%;
    margin-bottom: 1.5em;
    height: auto;
}

#boardwalk .bw-checkbox-label,
#boardwalk .bw-radio-label {
    color: #000000;
}

#boardwalk .bw-button {
    background-color: #0066ac;
    color: #ffffff;
    padding: 0.7em 1.1em;
    margin-bottom: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

#boardwalk .bw-button-primary {
    background-color: #0066ac;
}

#boardwalk .bw-button-secondary {
    background-color: #345252;
    color: #70DFFF;
}

#boardwalk .bw-button-tertiary {
    background-color: #49B2BB;
    color: #ffffff;
}

#boardwalk .bw-button:hover {
    filter: brightness(0.92);
    transform: translateY(-2px);
}

#boardwalk .bw-button:focus {
    outline-offset: 2px;
}

#boardwalk .bw-button-primary:focus {
    outline: 2px solid #0066ac;
}

#boardwalk .bw-button-secondary:focus {
    outline: 2px solid #345252;
}

#boardwalk .bw-button-tertiary:focus {
    outline: 2px solid #49B2BB;
}

#boardwalk .bw-button:active {
    filter: brightness(0.8);
    transform: translateY(0);
}

#boardwalk .bw-input-error {
    color: #ffa51d;
    font-size: 0.85em;
    margin-top: 5px;
    display: block;
}

#boardwalk .bw-input:hover,
#boardwalk .bw-radio:hover {
    border-color: #0066ac;
}

#boardwalk .bw-input:focus,
#boardwalk .bw-radio:focus {
    border-color: #0066ac;
    border-width: 2px;
    margin: -1px;
    border-style: solid;
}

#boardwalk .bw-input:disabled,
#boardwalk .bw-radio:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

#boardwalk .bw-checkbox:checked,
#boardwalk .bw-radio:checked,
#boardwalk .bw-checkbox.checked,
#boardwalk .bw-radio.checked {
    background-color: #0066ac;
    border-color: #0066ac;
}

#boardwalk .bw-radio-input-container:has(.bw-radio:checked) .bw-radio-container:not(:has(.bw-radio:checked)) {
    transform: scale(0.9);
}

#boardwalk .bw-offer-template {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 0.75em;
    margin-bottom: 1.5em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid #6ab8e0;
}

#boardwalk .bw-offer-template:first-of-type {
    margin-top: 0.75em;
    padding-top: 0.75em;
    border-top: 1px solid #6ab8e0;
}

#boardwalk .bw-offer-template:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

#boardwalk .bw-offer-template .bw-offer-top-content-container {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, #ffa51d 25%, #ffffff);
    padding: 0.15em 0.5em;
    width: 100%;
    color: color-mix(in srgb, #ffa51d 50%, #DFF4FD);
    font-style: italic;
}

#boardwalk .bw-offer-template .bw-image {
    margin-bottom: 0.5em;
    order: 1;
}

#boardwalk .bw-offer-template .bw-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    gap: 1em;
}

#boardwalk .bw-offer-template .bw-heading {
    font-size: 1.35em;
    line-height: 1.35;
    margin-bottom: 0.25em;
    order: 2;
}

#boardwalk .bw-offer-template .bw-button.bw-button-secondary {
    display: none;
}

#boardwalk .bw-num-offer-elements-1 .bw-offer-template .bw-button.bw-button-secondary {
    display: flex;
}

#boardwalk .bw-offer-template .bw-text {
    font-size: 1.1em;
    line-height: 1.35;
    margin-bottom: 0.5em;
    order: 3;
}

#boardwalk .bw-offer-template .bw-button {
    margin: 0;
    font-size: 1.15em;
    padding: 0.7em 1.1em;
    width: 100%;
    max-width: 320px;
    order: 4;
}

#boardwalk .bw-offer-template .bw-offer-bottom-content-container {
    order: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-style: italic;
    border-top: 1px solid color-mix(in srgb, #6ab8e0 66%, transparent);
    padding-top: 0.5em;
    margin-top: 0.5em;
    width: 100%;
    color: color-mix(in srgb, #000000 66%, transparent);
}

@container (min-width: 768px) {
    #boardwalk .bw-offer-template .bw-button.bw-button-secondary {
        display: none;
    }
}

#boardwalk .bw-select-input-container,
#boardwalk .bw-input-container {
    margin-bottom: 1em;
    max-width: 480px;
    width: 100%;
}

#boardwalk .bw-input-label {
    display: block;
    margin-bottom: 0.2em;
    color: #000000;
    font-size: 0.95em;
    width: 100%;
}

#boardwalk .bw-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #6ab8e0;
    border-radius: 5px;
    color: #000000;
    background-color: #FFFFFF;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

#boardwalk .bw-input:focus {
    border-color: #0066ac;
    outline: none;
}

#boardwalk .bw-radio-container {
    margin-bottom: 10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5em;
    transform: scale(1);
}

#boardwalk .bw-checkbox-container {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    margin-bottom: 1em;
}

#boardwalk .bw-checkbox,
#boardwalk .bw-radio {
    width: 1em;
    height: 1em;
}

#boardwalk .bw-radio {
    border-radius: 50%;
}

#boardwalk .bw-checkbox-label {
    line-height: 1;
}

@container (min-width: 768px) {
    #boardwalk fieldset {
        max-width: 1200px;
    }
    #boardwalk .bw-offer-template {
        display: grid;
        grid-template-columns: 0.75fr 2fr 0.75fr;
        align-items: center;
        grid-auto-rows: auto;
        -moz-column-gap: 1.5em;
        column-gap: 1.5em;
        row-gap: 0.5em;
        margin-bottom: 2em;
    }
    #boardwalk .bw-offer-template .bw-heading {
        grid-row: 1 / 2;
        grid-column: 2 / 3;
        align-self: end;
        margin: 0 0 0.5em;
    }
    #boardwalk .bw-offer-template .bw-text {
        grid-row: 2 / 3;
        grid-column: 2 / 3;
        font-size: 1.2em;
        align-self: start;
        margin: 0.5em 0 0;
    }
    #boardwalk .bw-offer-template .bw-image {
        grid-row: 1 / 3;
        grid-column: 1 / 2;
        margin: 0;
    }
    #boardwalk .bw-offer-template .bw-button {
        grid-column: 3 / 4;
        grid-row: 1 / 3;
        justify-self: center;
        align-self: center;
        display: flex;
        align-items: center;
        margin: 0;
    }
    #boardwalk .bw-num-offer-elements-1 .bw-offer-template .bw-heading {
        grid-row: 1 / 2;
        grid-column: 2 / 4;
        align-self: center;
        margin: 0;
    }
    #boardwalk .bw-num-offer-elements-1 .bw-offer-template .bw-text {
        grid-row: 2 / 4;
        grid-column: 2 / 3;
        font-size: 1.2em;
        align-self: center;
        margin: 0;
    }
    #boardwalk .bw-num-offer-elements-1 .bw-offer-template .bw-image {
        grid-row: 1 / 4;
        grid-column: 1 / 2;
        margin: 0;
    }
    #boardwalk .bw-num-offer-elements-1 .bw-offer-template .bw-button {
        grid-column: 3 / 4;
        grid-row: 2 / 4;
        justify-self: center;
        align-self: center;
        display: flex;
        align-items: center;
        margin: 0;
    }
    #boardwalk .bw-num-offer-elements-1 .bw-offer-template:has(.bw-button-primary + .bw-button-secondary) .bw-button.bw-button-primary {
        grid-row: 2 / 3;
        align-self: end;
        margin: 0 0 0.5em;
    }
    #boardwalk .bw-num-offer-elements-1 .bw-offer-template:has(.bw-button-primary + .bw-button-secondary) .bw-button.bw-button-secondary {
        grid-row: 3 / 4;
        align-self: start;
        margin: 0.5em 0 0;
    }
    #boardwalk .bw-offer-template:has(.bw-offer-top-content-container) .bw-offer-top-content-container {
        grid-row: 1/2;
        grid-column: 1/4;
    }
    #boardwalk .bw-offer-template:has(.bw-offer-top-content-container) .bw-heading {
        grid-row: 2/3;
    }
    #boardwalk .bw-offer-template:has(.bw-offer-top-content-container) .bw-text {
        grid-row: 3/5;
    }
    #boardwalk .bw-offer-template:has(.bw-offer-top-content-container) .bw-image {
        grid-row: 2/5;
    }
    #boardwalk .bw-offer-template:has(.bw-offer-top-content-container) .bw-button {
        grid-row: 3/5;
    }
    #boardwalk .bw-offer-template:has(.bw-offer-bottom-content-container) .bw-offer-bottom-content-container {
        grid-row: 4/5;
        grid-column: 1/4;
    }
    #boardwalk .bw-offer-template:has(.bw-offer-top-content-container, .bw-offer-bottom-content-container) .bw-offer-bottom-content-container {
        grid-row: 5/6;
    }
}



/* Define the shared styles as a class */
.active-step {
    background-color: #66c2ff;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.overall-step {
    text-align: center;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}