.ameti-segmented-radio-field {
    position: relative;
    width: 100%;
    margin-bottom: 0;
}

.ameti-segmented-radio-field > label,
.ameti-segmented-radio-field > .woocommerce-input-wrapper {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.invoice-data-type-field > label,
.invoice-data-type-field > .woocommerce-input-wrapper {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.ameti-customer-type-control {
    display: flex;
    width: 100%;
    margin: 0 0 16px;
}

.ameti-customer-type-option {
    flex: 1 1 0;
    min-width: 0;
    min-height: 46px;
    padding: 12px 10px;
    border: 1px solid #b1d8fb;
    border-radius: 0;
    background: #edf5fc;
    color: hsl(0 0% 12%);
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border 0.2s;
}

.ameti-customer-type-option + .ameti-customer-type-option {
    margin-left: -1px;
}

.ameti-customer-type-option:first-of-type {
    border-top-left-radius: 8px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 0;
}

.ameti-customer-type-option:last-of-type {
    border-top-left-radius: 0;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 8px;
}

.ameti-customer-type-option:hover:not(.is-selected) {
    border-color: #b1d8fb;
    background: #daebfb;
    color: #fff;
}

.ameti-customer-type-option.is-selected {
    position: relative;
    z-index: 1;
    border-color: #233163;
    background: #233163;
    color: #fff;
}

.ameti-customer-type-control.invoice-data-type-control {
    --invoice-data-type-count: 2;
    --invoice-data-type-index: 0;
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    margin-top: 6px !important;
    margin-bottom: 18px !important;
}

.ameti-customer-type-control.invoice-data-type-control::after {
    content: "" !important;
    position: absolute !important;
    z-index: 2 !important;
    bottom: 0 !important;
    left: 0 !important;
    display: block !important;
    width: calc(100% / var(--invoice-data-type-count)) !important;
    height: 3px !important;
    background: #233163 !important;
    pointer-events: none !important;
    transform: translateX(calc(var(--invoice-data-type-index) * 100%)) !important;
    transition: transform 0.2s !important;
}

.ameti-customer-type-control.invoice-data-type-control .ameti-customer-type-option.invoice-data-type-option {
    position: relative !important;
    z-index: 1 !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 9px 10px 12px !important;
    border: 0 !important;
    border-bottom: 1px solid #cad7e8 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: hsl(0 0% 20%) !important;
    font: inherit !important;
    font-size: 0.95em !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    box-shadow: none !important;
    transition: color 0.2s, border-color 0.2s !important;
}

.ameti-customer-type-control.invoice-data-type-control .ameti-customer-type-option.invoice-data-type-option + .ameti-customer-type-option.invoice-data-type-option {
    margin-left: 0 !important;
}

.ameti-customer-type-control.invoice-data-type-control .ameti-customer-type-option.invoice-data-type-option:first-of-type,
.ameti-customer-type-control.invoice-data-type-control .ameti-customer-type-option.invoice-data-type-option:last-of-type {
    border-radius: 0 !important;
}

.ameti-customer-type-control.invoice-data-type-control .ameti-customer-type-option.invoice-data-type-option:hover:not(.is-selected) {
    border-bottom-color: #b1d8fb !important;
    background: transparent !important;
    color: hsl(0 0% 12%) !important;
}

.ameti-customer-type-control.invoice-data-type-control .ameti-customer-type-option.invoice-data-type-option.is-selected {
    border-bottom-color: #b1d8fb !important;
    background: transparent !important;
    color: hsl(0 0% 12%) !important;
}

.ameti-checkout-section-box {
    clear: both;
    display: flow-root;
    width: 100%;
    margin: 24px 0 0;
    padding: 20px;
    border: 1px solid #b1d8fb;
    border-radius: 8px;
    background: #fff;
}

.ameti-checkout-section-heading {
    width: 100%;
    margin: 0 0 18px;
    padding: 0 0 14px;
    border-bottom: 1px solid #b1d8fb;
    background: transparent;
}

.ameti-checkout-section-title {
    display: block !important;
    margin: 0;
}

.ameti-checkout-section-fields {
    clear: both;
    display: flow-root;
    width: 100%;
}

.ameti-checkout-section-fields .form-row-first,
.ameti-checkout-section-fields .form-row-last {
    width: calc(50% - 8px) !important;
}

.ameti-checkout-section-fields .form-row-first {
    clear: left !important;
    float: left !important;
}

.ameti-checkout-section-fields .form-row-last {
    clear: none !important;
    float: right !important;
}

.ameti-checkout-section-fields .form-row-wide {
    clear: both !important;
    float: none !important;
    width: 100% !important;
}

.customer-account-profile {
    width: 100%;
}

.customer-account-profile__title {
    margin: 0 0 24px;
}

.customer-account-profile__form {
    width: 100%;
}

.customer-account-profile__form::after,
.customer-account-profile__submit::after {
    clear: both;
    content: "";
    display: table;
}

.customer-account-profile__submit {
    clear: both;
    margin-top: 24px;
}

.woocommerce-account .woocommerce form .form-row,
.woocommerce-account .woocommerce form .form-group,
.brxe-woocommerce-account-page form .form-row,
.brxe-woocommerce-account-page form .form-group,
.customer-account-profile-form .form-row,
.checkout-account-step__form .form-row {
    margin: 0 0 16px !important;
}

.woocommerce-account .woocommerce form .form-row-first,
.woocommerce-account .woocommerce form .form-row-last,
.brxe-woocommerce-account-page form .form-row-first,
.brxe-woocommerce-account-page form .form-row-last,
.customer-account-profile-form .form-row-first,
.customer-account-profile-form .form-row-last {
    width: calc(50% - 8px) !important;
}

.woocommerce-account .woocommerce form .form-row-first,
.brxe-woocommerce-account-page form .form-row-first,
.customer-account-profile-form .form-row-first {
    clear: left !important;
    float: left !important;
}

.woocommerce-account .woocommerce form .form-row-last,
.brxe-woocommerce-account-page form .form-row-last,
.customer-account-profile-form .form-row-last {
    clear: none !important;
    float: right !important;
}

.woocommerce-account .woocommerce form .form-row-wide,
.brxe-woocommerce-account-page form .form-row-wide,
.customer-account-profile-form .form-row-wide {
    clear: both !important;
    float: none !important;
    width: 100% !important;
}

.woocommerce-account .woocommerce form label,
.brxe-woocommerce-account-page form label,
.customer-account-profile-form label,
.checkout-account-step__form label {
    display: block;
    margin: 0 0 6px;
    color: hsl(0 0% 12%);
    font: inherit;
    font-weight: 500;
    line-height: 1.35;
}

.woocommerce-account .woocommerce form input.input-text,
.woocommerce-account .woocommerce form input[type="text"]:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.woocommerce-account .woocommerce form input[type="email"],
.woocommerce-account .woocommerce form input[type="password"],
.woocommerce-account .woocommerce form input[type="tel"],
.woocommerce-account .woocommerce form input[type="number"],
.woocommerce-account .woocommerce form input[type="search"],
.woocommerce-account .woocommerce form select,
.woocommerce-account .woocommerce form textarea,
.brxe-woocommerce-account-page form input.input-text,
.brxe-woocommerce-account-page form input[type="text"]:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.brxe-woocommerce-account-page form input[type="email"],
.brxe-woocommerce-account-page form input[type="password"],
.brxe-woocommerce-account-page form input[type="tel"],
.brxe-woocommerce-account-page form input[type="number"],
.brxe-woocommerce-account-page form input[type="search"],
.brxe-woocommerce-account-page form select,
.brxe-woocommerce-account-page form textarea,
.customer-account-profile-form input.input-text,
.customer-account-profile-form select,
.customer-account-profile-form textarea,
.checkout-account-step__form input.input-text,
.checkout-account-step__form select,
.checkout-account-step__form textarea {
    width: 100% !important;
    min-height: 46px !important;
    padding: 11px 14px !important;
    border: 1px solid #b1d8fb !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: hsl(0 0% 12%) !important;
    box-shadow: none !important;
    font: inherit !important;
    line-height: 1.4 !important;
    transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s !important;
}

.woocommerce-account .woocommerce form textarea,
.brxe-woocommerce-account-page form textarea,
.customer-account-profile-form textarea,
.checkout-account-step__form textarea {
    min-height: 110px !important;
    resize: vertical;
}

.woocommerce-account .woocommerce form input.input-text:focus,
.woocommerce-account .woocommerce form input[type="text"]:focus,
.woocommerce-account .woocommerce form input[type="email"]:focus,
.woocommerce-account .woocommerce form input[type="password"]:focus,
.woocommerce-account .woocommerce form input[type="tel"]:focus,
.woocommerce-account .woocommerce form input[type="number"]:focus,
.woocommerce-account .woocommerce form input[type="search"]:focus,
.woocommerce-account .woocommerce form select:focus,
.woocommerce-account .woocommerce form textarea:focus,
.brxe-woocommerce-account-page form input.input-text:focus,
.brxe-woocommerce-account-page form input[type="text"]:focus,
.brxe-woocommerce-account-page form input[type="email"]:focus,
.brxe-woocommerce-account-page form input[type="password"]:focus,
.brxe-woocommerce-account-page form input[type="tel"]:focus,
.brxe-woocommerce-account-page form input[type="number"]:focus,
.brxe-woocommerce-account-page form input[type="search"]:focus,
.brxe-woocommerce-account-page form select:focus,
.brxe-woocommerce-account-page form textarea:focus,
.customer-account-profile-form input.input-text:focus,
.customer-account-profile-form select:focus,
.customer-account-profile-form textarea:focus,
.checkout-account-step__form input.input-text:focus,
.checkout-account-step__form select:focus,
.checkout-account-step__form textarea:focus {
    border-color: #233163 !important;
    outline: none !important;
    box-shadow: 0 0 0 1px #233163 !important;
}

.woocommerce-account .woocommerce form .select2-container,
.brxe-woocommerce-account-page form .select2-container,
.customer-account-profile-form .select2-container {
    width: 100% !important;
}

.woocommerce-account .woocommerce form .select2-container .select2-selection--single,
.brxe-woocommerce-account-page form .select2-container .select2-selection--single,
.customer-account-profile-form .select2-container .select2-selection--single {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 46px !important;
    padding: 0 14px !important;
    border: 1px solid #b1d8fb !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: hsl(0 0% 12%) !important;
    box-shadow: none !important;
}

.woocommerce-account .woocommerce form .select2-container--open .select2-selection--single,
.woocommerce-account .woocommerce form .select2-container--focus .select2-selection--single,
.brxe-woocommerce-account-page form .select2-container--open .select2-selection--single,
.brxe-woocommerce-account-page form .select2-container--focus .select2-selection--single,
.customer-account-profile-form .select2-container--open .select2-selection--single,
.customer-account-profile-form .select2-container--focus .select2-selection--single {
    border-color: #233163 !important;
    box-shadow: 0 0 0 1px #233163 !important;
}

.woocommerce-account .woocommerce form .select2-selection--single .select2-selection__rendered,
.brxe-woocommerce-account-page form .select2-selection--single .select2-selection__rendered,
.customer-account-profile-form .select2-selection--single .select2-selection__rendered {
    width: 100% !important;
    padding: 0 24px 0 0 !important;
    color: hsl(0 0% 12%) !important;
    line-height: 1.4 !important;
}

.woocommerce-account .woocommerce form .select2-selection--single .select2-selection__arrow,
.brxe-woocommerce-account-page form .select2-selection--single .select2-selection__arrow,
.customer-account-profile-form .select2-selection--single .select2-selection__arrow {
    top: 50% !important;
    right: 12px !important;
    transform: translateY(-50%) !important;
}

.woocommerce-account .woocommerce form .password-input,
.brxe-woocommerce-account-page form .password-input,
.customer-account-profile-form .password-input,
.checkout-account-step__form .password-input {
    position: relative;
    display: block;
}

.woocommerce-account .woocommerce form .password-input input.input-text,
.brxe-woocommerce-account-page form .password-input input.input-text,
.customer-account-profile-form .password-input input.input-text,
.checkout-account-step__form .password-input input.input-text {
    padding-right: 48px !important;
}

.woocommerce-account .woocommerce form .show-password-input,
.brxe-woocommerce-account-page form .show-password-input,
.customer-account-profile-form .show-password-input,
.checkout-account-step__form .show-password-input {
    position: absolute !important;
    top: 50% !important;
    right: 14px !important;
    z-index: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    appearance: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: hsl(0 0% 28%) !important;
    cursor: pointer !important;
    font-size: 0 !important;
    line-height: 1 !important;
    opacity: 1 !important;
    text-indent: 0 !important;
    transform: translateY(-50%) !important;
}

.woocommerce-account .woocommerce form .show-password-input::before,
.brxe-woocommerce-account-page form .show-password-input::before,
.customer-account-profile-form .show-password-input::before,
.checkout-account-step__form .show-password-input::before {
    width: 18px;
    height: 18px;
    background: currentColor;
    content: "";
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 4C5.5 4 2.2 8.1 1 10c1.2 1.9 4.5 6 9 6s7.8-4.1 9-6c-1.2-1.9-4.5-6-9-6Zm0 10.2A4.2 4.2 0 1 1 10 5.8a4.2 4.2 0 0 1 0 8.4Zm0-1.7A2.5 2.5 0 1 0 10 7.5a2.5 2.5 0 0 0 0 5Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 4C5.5 4 2.2 8.1 1 10c1.2 1.9 4.5 6 9 6s7.8-4.1 9-6c-1.2-1.9-4.5-6-9-6Zm0 10.2A4.2 4.2 0 1 1 10 5.8a4.2 4.2 0 0 1 0 8.4Zm0-1.7A2.5 2.5 0 1 0 10 7.5a2.5 2.5 0 0 0 0 5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.woocommerce-account .woocommerce form .show-password-input.display-password::before,
.brxe-woocommerce-account-page form .show-password-input.display-password::before,
.customer-account-profile-form .show-password-input.display-password::before,
.checkout-account-step__form .show-password-input.display-password::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3.3 2.2 14.5 14.5-1.1 1.1-2.4-2.4A9.3 9.3 0 0 1 10 16c-4.5 0-7.8-4.1-9-6a16.3 16.3 0 0 1 3.4-3.8L2.2 3.3l1.1-1.1Zm5 5 1.2 1.2a2.5 2.5 0 0 1 2.1 2.1l1.2 1.2A4.2 4.2 0 0 0 8.3 7.2ZM10 4c4.5 0 7.8 4.1 9 6a15.2 15.2 0 0 1-2.2 2.8l-2.3-2.3V10A4.2 4.2 0 0 0 9.5 5.8L7.8 4.1C8.5 4 9.2 4 10 4Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3.3 2.2 14.5 14.5-1.1 1.1-2.4-2.4A9.3 9.3 0 0 1 10 16c-4.5 0-7.8-4.1-9-6a16.3 16.3 0 0 1 3.4-3.8L2.2 3.3l1.1-1.1Zm5 5 1.2 1.2a2.5 2.5 0 0 1 2.1 2.1l1.2 1.2A4.2 4.2 0 0 0 8.3 7.2ZM10 4c4.5 0 7.8 4.1 9 6a15.2 15.2 0 0 1-2.2 2.8l-2.3-2.3V10A4.2 4.2 0 0 0 9.5 5.8L7.8 4.1C8.5 4 9.2 4 10 4Z'/%3E%3C/svg%3E");
}

.woocommerce-account .woocommerce form input[type="checkbox"],
.woocommerce-account .woocommerce form input[type="radio"],
.brxe-woocommerce-account-page form input[type="checkbox"],
.brxe-woocommerce-account-page form input[type="radio"],
.customer-account-profile-form input[type="checkbox"],
.customer-account-profile-form input[type="radio"] {
    accent-color: #233163;
}

.woocommerce-account .woocommerce form .woocommerce-form__label-for-checkbox,
.brxe-woocommerce-account-page form .woocommerce-form__label-for-checkbox,
.customer-account-profile-form .woocommerce-form__label-for-checkbox,
.checkout-account-step__form .woocommerce-form__label-for-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 400;
}

.woocommerce-account .woocommerce form fieldset,
.brxe-woocommerce-account-page form fieldset {
    margin: 24px 0 0 !important;
    padding: 20px !important;
    border: 1px solid #b1d8fb !important;
    border-radius: 8px !important;
    background: #fff !important;
}

.woocommerce-account .woocommerce form fieldset legend,
.brxe-woocommerce-account-page form fieldset legend {
    padding: 0 8px !important;
    color: hsl(0 0% 12%) !important;
    font-weight: 700 !important;
}

.woocommerce-checkout .form-row.woocommerce-invalid label,
.woocommerce-account .woocommerce form .form-row.woocommerce-invalid label,
.woocommerce-account .woocommerce form .form-row.woocommerce-invalid-required-field label,
.brxe-woocommerce-account-page form .form-row.woocommerce-invalid label,
.brxe-woocommerce-account-page form .form-row.woocommerce-invalid-required-field label,
.customer-account-profile-form .form-row.woocommerce-invalid label,
.checkout-account-step__form .form-row.woocommerce-invalid label {
    color: #a00 !important;
}

.woocommerce-checkout .form-row.woocommerce-invalid input.input-text,
.woocommerce-checkout .form-row.woocommerce-invalid select,
.woocommerce-checkout .form-row.woocommerce-invalid textarea,
.woocommerce-checkout .form-row.woocommerce-invalid .select2-selection,
.woocommerce-account .woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce-account .woocommerce form .form-row.woocommerce-invalid select,
.woocommerce-account .woocommerce form .form-row.woocommerce-invalid textarea,
.woocommerce-account .woocommerce form .form-row.woocommerce-invalid .select2-selection,
.woocommerce-account .woocommerce form .form-row.woocommerce-invalid-required-field input.input-text,
.woocommerce-account .woocommerce form .form-row.woocommerce-invalid-required-field select,
.woocommerce-account .woocommerce form .form-row.woocommerce-invalid-required-field textarea,
.woocommerce-account .woocommerce form .form-row.woocommerce-invalid-required-field .select2-selection,
.brxe-woocommerce-account-page form .form-row.woocommerce-invalid input.input-text,
.brxe-woocommerce-account-page form .form-row.woocommerce-invalid select,
.brxe-woocommerce-account-page form .form-row.woocommerce-invalid textarea,
.brxe-woocommerce-account-page form .form-row.woocommerce-invalid .select2-selection,
.customer-account-profile-form .form-row.woocommerce-invalid input.input-text,
.customer-account-profile-form .form-row.woocommerce-invalid select,
.customer-account-profile-form .form-row.woocommerce-invalid textarea,
.customer-account-profile-form .form-row.woocommerce-invalid .select2-selection,
.checkout-account-step__form .form-row.woocommerce-invalid input.input-text,
.checkout-account-step__form .form-row.woocommerce-invalid select,
.checkout-account-step__form .form-row.woocommerce-invalid textarea {
    border-color: #a00 !important;
}

.woocommerce-shipping-fields {
    margin: 0;
    padding: 0;
}

.woocommerce-shipping-fields__field-wrapper.ameti-has-visible-following-field {
    margin-bottom: 1.2rem;
}

.ameti-shipping-destination-preview {
    clear: both;
    width: 100%;
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid #b1d8fb;
    border-radius: 8px;
    background: #edf5fc;
    color: hsl(0 0% 12%);
}

.ameti-shipping-destination-preview__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
}

.ameti-shipping-destination-preview__title {
    margin: 0;
    color: inherit;
    font: inherit;
    font-weight: 700;
    line-height: 1.3;
}

.ameti-shipping-destination-preview__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.ameti-shipping-destination-preview__edit,
.ameti-shipping-destination-preview__other {
    flex: 0 0 auto;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #233163;
    font: inherit;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: underline;
    cursor: pointer;
}

.ameti-shipping-destination-preview__edit:hover,
.ameti-shipping-destination-preview__edit:focus,
.ameti-shipping-destination-preview__other:hover,
.ameti-shipping-destination-preview__other:focus {
    color: #1e2a54;
}

.ameti-shipping-destination-preview__body {
    display: grid;
    gap: 2px;
    margin: 0;
    color: inherit;
    font-style: normal;
    line-height: 1.45;
}

.ameti-shipping-destination-preview__empty {
    color: hsl(0 0% 38%);
}

#ship-to-different-address[hidden],
#ship-to-different-address[aria-hidden="true"] {
    position: absolute !important;
    left: -1000% !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    display: block !important;
}

.checkout-account-step {
    width: 100%;
    margin: 0 0 32px;
}

body.customer-account-flow-page .section.brxe-section {
    padding-top: 0;
    padding-right: 32px;
    padding-bottom: 64px;
    padding-left: 32px;
}

body.customer-account-flow-page .container.brxe-container {
    display: flex;
    width: 100%;
    max-width: 1300px;
    margin: 0;
    column-gap: 24px;
    row-gap: 24px;
    flex-direction: row;
    justify-content: center;
}

body.customer-account-flow-page .notice-section.brxe-section {
    padding-top: 32px;
    padding-bottom: 32px;
}

body.customer-account-flow-page .last-section.brxe-section {
    padding-bottom: 0;
}

body.customer-account-flow-page .notice {
    border-radius: 8px;
}

body.customer-account-flow-page .notice :not(.woocommerce-info) a {
    border-radius: 8px !important;
}

body.customer-account-flow-page .customer-account-flow-content,
body.customer-account-flow-page .customer-account-flow-notice {
    width: 100%;
}

.checkout-account-step__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.checkout-account-step__box {
    min-width: 0;
    padding: 24px;
    border: 1px solid #b1d8fb;
    border-radius: 8px;
    background: #fff;
}

.checkout-account-step__title,
.checkout-account-step__subtitle {
    margin: 0 0 20px;
    color: hsl(0 0% 12%);
}

.checkout-account-step__subtitle {
    margin-bottom: 6px;
}

.checkout-account-step__lead {
    margin: 0 0 16px;
}

.checkout-account-step__form .form-row {
    margin-bottom: 16px;
}

.checkout-account-step__form input.input-text {
    width: 100%;
}

.checkout-account-step__form .form-row.woocommerce-invalid label {
    color: #a00;
}

.checkout-account-step__form .form-row.woocommerce-invalid input.input-text {
    border-color: #a00;
}

.checkout-account-step__validation-error {
    margin: 0 0 16px;
}

.checkout-account-step__validation-error[hidden] {
    display: none !important;
}

.checkout-account-step--password .password-input {
    position: relative;
    display: block;
}

.checkout-account-step--password .password-input input.input-text {
    padding-right: 48px;
}

.checkout-account-step--password .show-password-input {
    position: absolute;
    top: 50%;
    right: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-height: 0;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    box-shadow: none;
    color: hsl(0 0% 28%);
    cursor: pointer;
    font-size: 0;
    line-height: 1;
    opacity: 1;
    text-indent: 0;
    transform: translateY(-50%);
}

.checkout-account-step--password .show-password-input::before {
    width: 18px;
    height: 18px;
    background: currentColor;
    content: "";
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 4C5.5 4 2.2 8.1 1 10c1.2 1.9 4.5 6 9 6s7.8-4.1 9-6c-1.2-1.9-4.5-6-9-6Zm0 10.2A4.2 4.2 0 1 1 10 5.8a4.2 4.2 0 0 1 0 8.4Zm0-1.7A2.5 2.5 0 1 0 10 7.5a2.5 2.5 0 0 0 0 5Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 4C5.5 4 2.2 8.1 1 10c1.2 1.9 4.5 6 9 6s7.8-4.1 9-6c-1.2-1.9-4.5-6-9-6Zm0 10.2A4.2 4.2 0 1 1 10 5.8a4.2 4.2 0 0 1 0 8.4Zm0-1.7A2.5 2.5 0 1 0 10 7.5a2.5 2.5 0 0 0 0 5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.checkout-account-step--password .show-password-input.display-password::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3.3 2.2 14.5 14.5-1.1 1.1-2.4-2.4A9.3 9.3 0 0 1 10 16c-4.5 0-7.8-4.1-9-6a16.3 16.3 0 0 1 3.4-3.8L2.2 3.3l1.1-1.1Zm5 5 1.2 1.2a2.5 2.5 0 0 1 2.1 2.1l1.2 1.2A4.2 4.2 0 0 0 8.3 7.2ZM10 4c4.5 0 7.8 4.1 9 6a15.2 15.2 0 0 1-2.2 2.8l-2.3-2.3V10A4.2 4.2 0 0 0 9.5 5.8L7.8 4.1C8.5 4 9.2 4 10 4Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3.3 2.2 14.5 14.5-1.1 1.1-2.4-2.4A9.3 9.3 0 0 1 10 16c-4.5 0-7.8-4.1-9-6a16.3 16.3 0 0 1 3.4-3.8L2.2 3.3l1.1-1.1Zm5 5 1.2 1.2a2.5 2.5 0 0 1 2.1 2.1l1.2 1.2A4.2 4.2 0 0 0 8.3 7.2ZM10 4c4.5 0 7.8 4.1 9 6a15.2 15.2 0 0 1-2.2 2.8l-2.3-2.3V10A4.2 4.2 0 0 0 9.5 5.8L7.8 4.1C8.5 4 9.2 4 10 4Z'/%3E%3C/svg%3E");
}

.checkout-account-step__link-row {
    margin: 0 0 18px;
}

.checkout-account-step__benefits {
    display: grid;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.checkout-account-step__benefits li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 0;
}

.checkout-account-step__benefits span {
    color: #233163;
    font-weight: 700;
}

.checkout-account-step__button.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 6px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: color 0.2s, background 0.2s, border 0.2s;
}

.checkout-account-step__button--fallback.button {
    border: 1px solid #233163;
    background: #233163;
    color: #fff;
}

.checkout-account-step__button--fallback.button:hover,
.checkout-account-step__button--fallback.button:focus {
    border-color: #1e2a54;
    background: #1e2a54;
    color: #fff;
}

.checkout-account-step__button--secondary.button {
    border-color: #b1d8fb;
    background: #fff;
    color: hsl(0 0% 12%);
}

.checkout-account-step__button--secondary.button:hover,
.checkout-account-step__button--secondary.button:focus {
    border-color: #b1d8fb;
    background: #daebfb;
    color: hsl(0 0% 12%);
}

.checkout-account-step__divider {
    width: 100%;
    height: 1px;
    margin: 24px 0;
    background: #b1d8fb;
}

.checkout-account-step__guest p {
    margin: 0 0 18px;
}

@media (max-width: 991px) {
    body.customer-account-flow-page .section.brxe-section {
        padding-bottom: 32px;
    }

    body.customer-account-flow-page .container.brxe-container {
        column-gap: 16px;
        row-gap: 16px;
    }

    body.customer-account-flow-page .notice-section.brxe-section {
        padding-top: 16px;
        padding-bottom: 16px;
    }
}

@media (max-width: 767px) {
    body.customer-account-flow-page .section.brxe-section {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 640px) {
    .ameti-checkout-section-box {
        margin-top: 16px;
        padding: 16px;
    }

    .ameti-customer-type-control {
        flex-direction: column;
    }

    .ameti-customer-type-option + .ameti-customer-type-option {
        margin-top: -1px;
        margin-left: 0;
    }

    .ameti-customer-type-option:first-of-type {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .ameti-customer-type-option:last-of-type {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    .ameti-customer-type-control.invoice-data-type-control {
        flex-direction: row !important;
    }

    .ameti-customer-type-control.invoice-data-type-control .ameti-customer-type-option.invoice-data-type-option + .ameti-customer-type-option.invoice-data-type-option {
        margin-top: 0 !important;
        margin-left: 0 !important;
    }

    .ameti-customer-type-control.invoice-data-type-control .ameti-customer-type-option.invoice-data-type-option:first-of-type,
    .ameti-customer-type-control.invoice-data-type-control .ameti-customer-type-option.invoice-data-type-option:last-of-type {
        border-radius: 0 !important;
    }

    .ameti-checkout-section-fields .form-row-first,
    .ameti-checkout-section-fields .form-row-last {
        clear: both !important;
        float: none !important;
        width: 100% !important;
    }

    .woocommerce-account .woocommerce form .form-row-first,
    .woocommerce-account .woocommerce form .form-row-last,
    .brxe-woocommerce-account-page form .form-row-first,
    .brxe-woocommerce-account-page form .form-row-last,
    .customer-account-profile-form .form-row-first,
    .customer-account-profile-form .form-row-last {
        clear: both !important;
        float: none !important;
        width: 100% !important;
    }

    .ameti-shipping-destination-preview {
        margin-bottom: 16px;
        padding: 14px;
    }

    .ameti-shipping-destination-preview__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ameti-shipping-destination-preview__actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .checkout-account-step {
        margin-bottom: 24px;
    }

    .checkout-account-step__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .checkout-account-step__box {
        padding: 20px;
    }
}
