/* =========================================================
   MINDBODYFITNESS × SPORTIVITY
   PREMIUM REGISTRATION EXPERIENCE
   ========================================================= */


/* =========================================================
   RESET / BASE
   ========================================================= */

.mbf-registration-wrapper,
.mbf-registration-wrapper * {
    box-sizing: border-box;
}


/* =========================================================
   MAIN EXPERIENCE
   ========================================================= */

.mbf-registration-wrapper {
    --mbf-primary: #d06a73;
    --mbf-primary-light: #ed9da1;
    --mbf-primary-mid: #e7838b;
    --mbf-primary-dark: #bd5962;

    --mbf-heading: #252a35;
    --mbf-text: #454a54;
    --mbf-muted: #737984;

    --mbf-white: #ffffff;
    --mbf-input: #eeeeee;
    --mbf-input-hover: #f3f3f3;

    --mbf-border: rgba(37, 42, 53, 0.08);

    position: relative;
    isolation: isolate;

    width: 100%;

    padding: 88px 38px 70px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 16%,
            rgba(238, 157, 161, 0.16) 0%,
            rgba(238, 157, 161, 0) 32%
        ),
        radial-gradient(
            circle at 92% 80%,
            rgba(194, 97, 105, 0.11) 0%,
            rgba(194, 97, 105, 0) 31%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fffafa 52%,
            #ffffff 100%
        );

    border-radius: 34px;

    color: var(--mbf-text);
}


/* Decorative background circles */

.mbf-registration-wrapper::before,
.mbf-registration-wrapper::after {
    content: "";

    position: absolute;
    z-index: -1;

    pointer-events: none;

    border-radius: 50%;
}


.mbf-registration-wrapper::before {
    top: 120px;
    left: -120px;

    width: 285px;
    height: 285px;

    background:
        linear-gradient(
            135deg,
            rgba(239, 170, 173, 0.16),
            rgba(239, 170, 173, 0.025)
        );

    border:
        1px solid
        rgba(208, 106, 115, 0.08);
}


.mbf-registration-wrapper::after {
    right: -145px;
    bottom: 80px;

    width: 355px;
    height: 355px;

    background:
        linear-gradient(
            135deg,
            rgba(208, 106, 115, 0.10),
            rgba(208, 106, 115, 0.01)
        );

    border:
        1px solid
        rgba(208, 106, 115, 0.06);
}


/* =========================================================
   MAIN FORM CARD
   ========================================================= */

.mbf-registration-form {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1060px;

    margin: 0 auto;
    padding: 58px 58px 54px;

    background:
        rgba(255, 255, 255, 0.95);

    border:
        1px solid
        rgba(37, 42, 53, 0.08);

    border-radius: 28px;

    box-shadow:
        0 30px 80px
        rgba(34, 37, 45, 0.08),

        0 8px 25px
        rgba(208, 106, 115, 0.05);

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);
}


/* Premium accent line */

.mbf-registration-form::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 135px;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            #efaaad 0%,
            #e7838b 50%,
            #bd5962 100%
        );

    border-radius:
        0 0 10px 10px;

    transform:
        translateX(-50%);
}


/* =========================================================
   SECTIONS
   ========================================================= */

.mbf-form-section {
    position: relative;

    margin: 0 0 44px;
    padding: 0 0 44px;

    background: transparent;

    border: none;
    border-bottom:
        1px solid
        rgba(37, 42, 53, 0.07);

    border-radius: 0;

    box-shadow: none;
}


.mbf-form-section h2 {
    margin: 0 0 28px;
    padding: 0;

    color: var(--mbf-heading);

    font-family: inherit;

    font-size: 27px;
    font-weight: 500;
    line-height: 1.2;

    letter-spacing: -0.7px;
}


/* =========================================================
   GRID
   ========================================================= */

.mbf-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 30px;
    row-gap: 26px;
}


.mbf-field {
    display: flex;
    flex-direction: column;

    min-width: 0;

    gap: 9px;
}


/* =========================================================
   LABELS
   ========================================================= */

.mbf-field label {
    margin: 0;
    padding: 0;

    color: #353535;

    font-family: inherit;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}


/* =========================================================
   INPUTS
   ========================================================= */

.mbf-field input,
.mbf-field select {
    width: 100%;
    min-height: 54px;

    margin: 0;
    padding: 0 20px;

    color: #353535;

    background:
        var(--mbf-input);

    border:
        1px solid transparent;

    border-radius: 999px;

    box-shadow: none;
    outline: none;

    font-family: inherit;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


.mbf-field input:hover,
.mbf-field select:hover {
    background:
        var(--mbf-input-hover);
}


.mbf-field input:focus,
.mbf-field select:focus {
    background: #f5f5f5;

    border-color:
        rgba(208, 106, 115, 0.60);

    box-shadow:
        0 0 0 4px
        rgba(208, 106, 115, 0.10);
}


.mbf-field input::placeholder {
    color: #65717c;
    opacity: 1;
}


/* Date */

.mbf-field input[type="date"] {
    cursor: pointer;
}


/* =========================================================
   MEMBERSHIP SELECTION — SALES PAGE MATCH
   ========================================================= */

.mbf-membership-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;

    width: 100%;
    margin: 0;
    padding: 10px;

    border: 1px solid rgba(20, 17, 15, 0.055);
    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.48) 0%,
            rgba(255, 255, 255, 0.22) 100%
        );

    box-shadow:
        0 26px 70px rgba(20, 17, 15, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.46);
}


.mbf-membership-card {
    position: relative;
    display: block;
    min-width: 0;
    margin: 0;

    cursor: pointer;
}


.mbf-membership-card > input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}


.mbf-membership-content {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 520px;
    height: 100%;

    padding: 30px 30px 27px;

    overflow: hidden;
    isolation: isolate;

    color: #14110f;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.76) 0%,
            rgba(255, 255, 255, 0.40) 62%,
            rgba(255, 255, 255, 0.22) 100%
        );

    border: 1px solid rgba(20, 17, 15, 0.095);
    border-radius: 20px;

    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}


.mbf-membership-card-featured .mbf-membership-content {
    border-color: rgba(243, 137, 143, 0.32);

    background:
        radial-gradient(
            circle at 92% 8%,
            rgba(255, 255, 255, 0.86) 0%,
            rgba(255, 255, 255, 0.30) 26%,
            rgba(255, 255, 255, 0.00) 56%
        ),
        linear-gradient(
            145deg,
            rgba(243, 137, 143, 0.24) 0%,
            rgba(243, 137, 143, 0.12) 42%,
            rgba(255, 255, 255, 0.46) 100%
        );
}


/* Selected state — subtle, no floating check icon */
.mbf-membership-card > input:checked + .mbf-membership-content {
    border-color: rgba(189, 95, 102, 0.72);

    box-shadow:
        0 0 0 2px rgba(243, 137, 143, 0.13),
        0 18px 42px rgba(20, 17, 15, 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 0.50);
}


.mbf-membership-card:not(.mbf-membership-card-featured) >
input:checked +
.mbf-membership-content {
    border-color: rgba(20, 17, 15, 0.48);

    box-shadow:
        0 0 0 2px rgba(20, 17, 15, 0.055),
        0 18px 42px rgba(20, 17, 15, 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 0.50);
}


.mbf-membership-card > input:checked + .mbf-membership-content::after {
    display: none !important;
    content: none !important;
}


.mbf-membership-plan-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 18px;
    width: 100%;
}


.mbf-membership-plan-copy {
    display: block;
    min-width: 0;
}


.mbf-membership-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 30px;

    padding: 8px 14px;

    border-radius: 999px;

    background: rgba(243, 137, 143, 0.13);
    color: #bd5f66;

    font-size: 9.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.14em;

    text-transform: uppercase;
}


.mbf-membership-badge-muted {
    background: rgba(20, 17, 15, 0.055);
    color: rgba(20, 17, 15, 0.58);
}


.mbf-membership-plan-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 auto;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #eca0a4 0%,
            #f3898f 48%,
            #bd5f66 100%
        );

    color: #ffffff;

    font-size: 12px;
    font-weight: 600;
    line-height: 1;

    box-shadow:
        0 12px 24px rgba(189, 95, 102, 0.18);
}


.mbf-membership-plan-icon-dark {
    background: #14110f;
    color: #ffffff;

    box-shadow:
        0 12px 24px rgba(20, 17, 15, 0.10);
}


.mbf-membership-title {
    display: block;

    width: 100%;
    max-width: 440px;

    margin: 24px 0 0;
    padding: 0;

    color: #14110f;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: clamp(30px, 2.45vw, 42px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.052em;
}


.mbf-membership-price-row {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;

    gap: 13px;

    margin-top: 28px;
}


.mbf-membership-price {
    display: block;

    margin: 0;

    color: #14110f;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: clamp(64px, 5.1vw, 88px);
    font-weight: 400;
    line-height: 0.82;
    letter-spacing: -0.056em;
}


.mbf-membership-currency {
    display: inline-block;

    margin-right: 0.045em;

    letter-spacing: -0.030em;
}


.mbf-membership-period {
    display: block;

    margin-bottom: 7px;

    color: rgba(20, 17, 15, 0.56);

    font-size: 13px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.018em;
}


.mbf-membership-details {
    display: block;

    width: 100%;

    margin-top: 28px;

    border-top:
        1px solid
        rgba(20, 17, 15, 0.12);
}


.mbf-membership-detail-row {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    column-gap: 20px;

    padding: 13px 0;

    border-bottom:
        1px solid
        rgba(20, 17, 15, 0.095);
}


.mbf-membership-detail-row > span {
    color: rgba(20, 17, 15, 0.58);

    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: -0.018em;
}


.mbf-membership-detail-row strong {
    color: #14110f;

    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.018em;

    text-align: right;
}


.mbf-membership-benefits {
    display: grid;

    gap: 11px;

    width: 100%;
    min-height: 96px;

    margin-top: 22px;
    margin-bottom: 26px;
}


.mbf-membership-benefit {
    display: grid;

    grid-template-columns:
        20px
        minmax(0, 1fr);

    column-gap: 11px;

    margin: 0;
    padding: 0;

    color: rgba(20, 17, 15, 0.64);

    font-size: 13.8px;
    font-weight: 300;
    line-height: 1.34;
    letter-spacing: -0.022em;
}


.mbf-membership-benefit-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    margin-top: 2px;

    border-radius: 999px;

    background: #f3898f;
    color: #ffffff;

    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}


.mbf-membership-card:not(.mbf-membership-card-featured)
.mbf-membership-benefit-check {
    background: #14110f;
}


/* Visual CTA only; the full card remains the radio control */
.mbf-membership-visual-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;

    margin-top: auto;
    flex-shrink: 0;

    padding: 15px 24px;

    border:
        1px solid
        rgba(255, 255, 255, 0.16);

    border-radius: 999px;

    background:
        linear-gradient(
            105deg,
            #eca0a4 0%,
            #f3898f 48%,
            #bd5f66 100%
        );

    color: #ffffff;

    box-shadow:
        0 12px 28px rgba(189, 95, 102, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.055em;

    text-align: center;
    text-transform: uppercase;

    pointer-events: none;
}


.mbf-membership-visual-button-dark {
    background: #14110f;

    box-shadow:
        0 12px 28px rgba(20, 17, 15, 0.10);
}


.mbf-membership-note {
    width: 100%;

    margin: 20px 0 0 !important;
    padding: 0 !important;

    color: rgba(20, 17, 15, 0.58) !important;

    font-size: 13.5px !important;
    font-weight: 300 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.018em !important;

    text-align: center;
}


/* Fallback if a future non-Founder membership is made public */
.mbf-membership-fallback-title {
    display: block;

    color: #14110f;

    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
}


.mbf-membership-fallback-price {
    display: block;

    margin-top: 18px;

    color: #14110f;

    font-size: 36px;
    font-weight: 500;
    line-height: 1;
}


.mbf-membership-fallback-period,
.mbf-membership-fallback-action,
.mbf-membership-fallback-description {
    display: block;

    margin-top: 12px;

    color: rgba(20, 17, 15, 0.58);

    font-size: 13px;
    line-height: 1.45;
}


/* Hover */
@media (hover: hover) and (pointer: fine) {

    .mbf-membership-card:hover
    .mbf-membership-content {
        transform: translateY(-4px);

        border-color:
            rgba(243, 137, 143, 0.38);

        box-shadow:
            0 22px 55px
            rgba(20, 17, 15, 0.075);
    }
}


/* Tablet */
@media only screen and (max-width: 980px) {

    .mbf-membership-options {
        grid-template-columns: 1fr;

        max-width: 650px;

        margin-left: auto;
        margin-right: auto;
    }

    .mbf-membership-content {
        min-height: auto;
    }
}


/* Mobile */
@media only screen and (max-width: 767px) {

    .mbf-membership-options {
        grid-template-columns: 1fr;

        gap: 12px;

        padding: 8px;

        border-radius: 22px;
    }


    .mbf-membership-content {
        min-height: auto;

        padding:
            23px
            17px
            20px;

        border-radius: 18px;
    }


    .mbf-membership-badge {
        min-height: 28px;

        padding:
            8px
            11px;

        font-size: 8.5px;
        letter-spacing: 0.11em;
    }


    .mbf-membership-plan-icon {
        width: 34px;
        height: 34px;

        border-radius: 11px;

        font-size: 11px;
    }


    .mbf-membership-title {
        margin-top: 24px;

        font-size:
            clamp(
                22px,
                6.1vw,
                29px
            );

        line-height: 1.05;
        letter-spacing: -0.038em;
    }


    .mbf-membership-price-row {
        margin-top: 22px;
    }


    .mbf-membership-price {
        font-size:
            clamp(
                52px,
                14.2vw,
                70px
            );

        line-height: 0.86;
        letter-spacing: -0.052em;
    }


    .mbf-membership-period {
        margin-bottom: 6px;

        font-size: 12px;
    }


    .mbf-membership-details {
        margin-top: 22px;
    }


    .mbf-membership-detail-row {
        grid-template-columns: 1fr;

        row-gap: 5px;

        padding: 12px 0;
    }


    .mbf-membership-detail-row strong {
        text-align: left;
    }


    .mbf-membership-benefits {
        margin-top: 20px;

        gap: 10px;
    }


    .mbf-membership-benefit {
        font-size: 13.2px;
        line-height: 1.35;
    }


    .mbf-membership-visual-button {
        margin-top: 24px;

        min-height: 51px;

        font-size: 10.3px;
    }
}


/* =========================================================
   ADDRESS LOOKUP
   ========================================================= */

.mbf-address-status {
    min-height: 18px;

    margin-top: 1px;
    padding-left: 4px;

    color: #858991;

    font-size: 12px;
    line-height: 1.4;
}


.mbf-address-status-success {
    color: #4d8061;
}


.mbf-address-status-loading {
    color: #858991;
}


.mbf-address-status-notice {
    color: #956823;
}


/* =========================================================
   BANK DETAILS
   ========================================================= */

#mbf-iban,
#mbf-bic {
    text-transform: uppercase;
}


#mbf-iban {
    letter-spacing: 0.04em;
}


.mbf-field-help {
    margin: 18px 0 0;

    color: #858991;

    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   TERMS & PRIVACY
   ========================================================= */

.mbf-legal-section {
    margin-bottom: 20px;

    padding-bottom: 15px;

    border-bottom: 0;
}


.mbf-checkbox-field label {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    margin: 0;

    cursor: pointer;
}


.mbf-checkbox-field input {
    width: 19px;
    height: 19px;

    flex: 0 0 auto;

    margin: 2px 0 0;

    accent-color:
        var(--mbf-primary);

    cursor: pointer;
}


.mbf-checkbox-field span {
    color: #454545;

    font-size: 14px;
    line-height: 1.65;
}


.mbf-checkbox-field a,
.mbf-privacy-notice a {
    color:
        #a7565d;

    font-weight: 600;

    text-decoration: underline;

    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}


.mbf-checkbox-field a:hover,
.mbf-privacy-notice a:hover {
    color:
        var(--mbf-primary-dark);
}


.mbf-privacy-notice {
    max-width: 790px;

    margin:
        16px 0 0 32px;

    padding: 0;

    color: #858991;

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.mbf-form-submit {
    display: flex;

    align-items: center;
    justify-content: center;

    margin-top: 10px;
}


.mbf-submit-button {
    display: inline-flex;

    width: auto;
    min-width: 290px;
    min-height: 52px;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin: 0;
    padding: 15px 30px;

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            #ed9da1 0%,
            #f18d94 45%,
            #c26169 100%
        );

    border: none;
    border-radius: 7px;

    box-shadow:
        0 14px 30px
        rgba(202, 97, 106, 0.19);

    font-family: inherit;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;

    text-align: center;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}


.mbf-submit-button:hover {
    transform:
        translateY(-2px);

    filter:
        brightness(1.03);

    box-shadow:
        0 18px 36px
        rgba(202, 97, 106, 0.27);
}


.mbf-submit-button:active {
    transform:
        translateY(0);
}


/* =========================================================
   LOADING STATE
   ========================================================= */

.mbf-submit-button:disabled {
    cursor: wait;

    opacity: 0.82;

    transform: none;
}


.mbf-form-is-submitting {
    pointer-events: none;

    opacity: 0.95;
}


.mbf-submit-spinner {
    display: inline-block;

    width: 17px;
    height: 17px;

    flex: 0 0 17px;

    border:
        2px solid
        rgba(255,255,255,0.40);

    border-top-color:
        #ffffff;

    border-radius: 50%;

    animation:
        mbf-spin
        0.75s linear infinite;
}


@keyframes mbf-spin {

    to {
        transform:
            rotate(360deg);
    }
}


/* =========================================================
   VALIDATION
   ========================================================= */

.mbf-field-has-error input,
.mbf-field-has-error select {
    background:
        #fff5f5 !important;

    border-color:
        #d96870 !important;

    box-shadow:
        0 0 0 4px
        rgba(208, 106, 115, 0.08)
        !important;
}


.mbf-membership-options.mbf-field-has-error
.mbf-membership-content {
    border-color:
        rgba(217, 104, 112, 0.70);
}


.mbf-checkbox-field.mbf-field-has-error {
    margin: -12px;

    padding: 12px;

    background: #fff4f4;

    border-radius: 14px;
}


/* =========================================================
   GENERAL ERROR MESSAGE
   ========================================================= */

.mbf-form-message {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 1060px;

    margin:
        0 auto 26px;

    padding:
        18px 21px;

    border-radius: 14px;

    font-size: 14px;
    line-height: 1.55;
}


.mbf-form-error {
    color: #8a3037;

    background: #fff4f4;

    border:
        1px solid #efc4c7;
}


/* =========================================================
   SUCCESS EXPERIENCE
   ========================================================= */

.mbf-registration-wrapper >
.mbf-form-success {
    position: relative;
    z-index: 3;

    max-width: 720px;

    margin: 10px auto;

    padding: 50px 38px 42px;

    color:
        var(--mbf-heading);

    background:
        rgba(255, 255, 255, 0.95);

    border:
        1px solid
        rgba(37, 42, 53, 0.08);

    border-radius: 28px;

    box-shadow:
        0 30px 80px
        rgba(34, 37, 45, 0.08),

        0 8px 25px
        rgba(208, 106, 115, 0.05);

    text-align: center;

    font-size: 16px;
    line-height: 1.65;

    backdrop-filter:
        blur(14px);
}


.mbf-registration-wrapper >
.mbf-form-success::before {
    content: "✓";

    display: flex;

    width: 58px;
    height: 58px;

    margin:
        0 auto 24px;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #ed9da1,
            #bd5962
        );

    border-radius: 50%;

    box-shadow:
        0 12px 28px
        rgba(202, 97, 106, 0.22);

    font-size: 25px;
    font-weight: 700;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.mbf-registration-form input:focus-visible,
.mbf-registration-form select:focus-visible,
.mbf-registration-form a:focus-visible,
.mbf-submit-button:focus-visible {
    outline:
        3px solid
        rgba(208, 106, 115, 0.20);

    outline-offset: 3px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media only screen and (max-width: 980px) {

    .mbf-registration-wrapper {
        padding:
            65px 24px 58px;

        border-radius: 28px;
    }


    .mbf-registration-form {
        padding:
            48px 38px 44px;

        border-radius: 24px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media only screen and (max-width: 767px) {

    .mbf-registration-wrapper {
        padding:
            45px 15px 42px;

        border-radius: 22px;
    }


    .mbf-registration-wrapper::before {
        top: 70px;
        left: -190px;
    }


    .mbf-registration-wrapper::after {
        right: -235px;
        bottom: 70px;
    }


    .mbf-registration-form {
        padding:
            39px 20px 34px;

        border-radius: 20px;

        box-shadow:
            0 22px 50px
            rgba(34, 37, 45, 0.07),

            0 6px 18px
            rgba(208, 106, 115, 0.04);
    }


    .mbf-form-section {
        margin-bottom: 34px;
        padding-bottom: 34px;
    }


    .mbf-form-section h2 {
        margin-bottom: 23px;

        font-size: 23px;
        line-height: 1.2;
    }


    .mbf-form-grid,
    .mbf-membership-options {
        grid-template-columns:
            1fr;
    }


    .mbf-form-grid {
        row-gap: 20px;
    }


    .mbf-field input,
    .mbf-field select {
        min-height: 52px;

        padding-left: 17px;
        padding-right: 17px;

        font-size: 16px;
    }


    .mbf-membership-content {
        min-height: 0;

        padding: 22px;

        border-radius: 18px;
    }


    .mbf-membership-title {
        font-size: 17px;
    }


    .mbf-membership-price {
        font-size: 29px;
    }


    .mbf-privacy-notice {
        margin:
            17px 0 0;

        padding: 0;
    }


    .mbf-submit-button {
        width: 100%;
        min-width: 0;

        min-height: 52px;
    }


    .mbf-registration-wrapper >
    .mbf-form-success {
        padding:
            40px 22px 32px;

        border-radius: 20px;
    }
}

/* =========================================
   Input text vertical alignment fix
========================================= */

.mbf-field input:not([type="checkbox"]):not([type="radio"]):not([type="date"]),
.mbf-field select {
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 20px !important;
    line-height: 54px !important;
}

/* Date field apart houden */
.mbf-field input[type="date"] {
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 20px !important;
    line-height: normal !important;
}

/* Zorg dat placeholder en ingevulde tekst mooi gelijk staan */
.mbf-field input,
.mbf-field select {
    vertical-align: middle;
}

/* Browser autofill netjes houden */
.mbf-field input:-webkit-autofill,
.mbf-field input:-webkit-autofill:hover,
.mbf-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: #353535;
    transition: background-color 9999s ease-in-out 0s;
    box-shadow: 0 0 0px 1000px #eeeeee inset;
    border-radius: 999px;
}

/* =========================================================
   FINAL MEMBERSHIP OVERRIDES
   Keep the sales-page card layout authoritative.
   ========================================================= */

.mbf-membership-card > input:checked + .mbf-membership-content::after {
    display: none !important;
    content: none !important;
}

@media only screen and (max-width: 767px) {

    .mbf-membership-content {
        min-height: auto !important;
        padding: 23px 17px 20px !important;
        border-radius: 18px !important;
    }

    .mbf-membership-title {
        max-width: 100% !important;
        margin: 24px 0 0 !important;
        font-size: clamp(22px, 6.1vw, 29px) !important;
        font-weight: 400 !important;
        line-height: 1.05 !important;
        letter-spacing: -0.038em !important;
    }

    .mbf-membership-price {
        margin: 0 !important;
        font-size: clamp(52px, 14.2vw, 70px) !important;
        font-weight: 400 !important;
        line-height: 0.86 !important;
        letter-spacing: -0.052em !important;
    }

    .mbf-membership-period {
        margin-bottom: 6px !important;
        font-size: 12px !important;
    }

    .mbf-membership-benefits {
        min-height: 0 !important;
        margin-top: 20px !important;
        margin-bottom: 22px !important;
        gap: 10px !important;
    }

    .mbf-membership-visual-button {
        min-height: 51px !important;
        margin-top: 0 !important;
    }
}
