/* --- Layout & utility helpers (replacing Bootstrap basics) --- */
.inschrijfmodule-v2-scope .container,
.inschrijfmodule-v2-scope .container-md {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

.inschrijfmodule-v2-scope .container-fluid {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .inschrijfmodule-v2-scope .container,
    .inschrijfmodule-v2-scope .container-md {
        max-width: 760px;
    }
}

@media (min-width: 992px) {
    .inschrijfmodule-v2-scope .container,
    .inschrijfmodule-v2-scope .container-md {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .inschrijfmodule-v2-scope .container,
    .inschrijfmodule-v2-scope .container-md {
        max-width: 1140px;
    }
}

.inschrijfmodule-v2-scope .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}

.inschrijfmodule-v2-scope [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .inschrijfmodule-v2-scope .col-md-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }

    .inschrijfmodule-v2-scope .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .inschrijfmodule-v2-scope .col-md-8 {
        flex: 0 0 66.6667%;
        max-width: 66.6667%;
    }

    .inschrijfmodule-v2-scope .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.inschrijfmodule-v2-scope .d-flex {
    display: flex !important;
}

.inschrijfmodule-v2-scope .d-none {
    display: none !important;
}

.inschrijfmodule-v2-scope .flex-column {
    flex-direction: column !important;
}

.inschrijfmodule-v2-scope .align-items-center {
    align-items: center !important;
}

.inschrijfmodule-v2-scope .align-items-stretch {
    align-items: stretch !important;
}

.inschrijfmodule-v2-scope .align-self-start {
    align-self: flex-start !important;
}

.inschrijfmodule-v2-scope .justify-content-center {
    justify-content: center !important;
}

.inschrijfmodule-v2-scope .justify-content-between {
    justify-content: space-between !important;
}

.inschrijfmodule-v2-scope .justify-content-end {
    justify-content: flex-end !important;
}

.inschrijfmodule-v2-scope .gap-3 {
    gap: 1rem !important;
}

.inschrijfmodule-v2-scope .px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.inschrijfmodule-v2-scope .p-0 {
    padding: 0 !important;
}

.inschrijfmodule-v2-scope .p-4 {
    padding: 1.5rem !important;
}

.inschrijfmodule-v2-scope .pt-0 {
    padding-top: 0 !important;
}

.inschrijfmodule-v2-scope .pb-5 {
    padding-bottom: 3rem !important;
}

.inschrijfmodule-v2-scope .p-xl-5 {
    padding: 3rem !important;
}

@media (max-width: 1199.98px) {
    .inschrijfmodule-v2-scope .p-xl-5 {
        padding: 1.5rem !important;
    }
}

.inschrijfmodule-v2-scope .mb-0 {
    margin-bottom: 0 !important;
}

.inschrijfmodule-v2-scope .mb-2 {
    margin-bottom: 0.5rem !important;
}

.inschrijfmodule-v2-scope .mb-1 {
    margin-bottom: 0.25rem !important;
}

.inschrijfmodule-v2-scope .mb-3 {
    margin-bottom: 1rem !important;
}

.inschrijfmodule-v2-scope .mb-5 {
    margin-bottom: 3rem !important;
}

.inschrijfmodule-v2-scope .my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.inschrijfmodule-v2-scope .my-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.inschrijfmodule-v2-scope .mt-3 {
    margin-top: 1rem !important;
}

.inschrijfmodule-v2-scope .mt-4 {
    margin-top: 1.5rem !important;
}

.inschrijfmodule-v2-scope .mt-5 {
    margin-top: 3rem !important;
}

.inschrijfmodule-v2-scope .ms-2 {
    margin-left: 0.5rem !important;
}

.inschrijfmodule-v2-scope .ms-auto {
    margin-left: auto !important;
}

.inschrijfmodule-v2-scope .w-100 {
    width: 100% !important;
}

@media (min-width: 992px) {
    .inschrijfmodule-v2-scope .w-lg-50 {
        width: 50% !important;
    }
}

.inschrijfmodule-v2-scope .fw-bold {
    font-weight: 600 !important;
}

.inschrijfmodule-v2-scope .text-center {
    text-align: center !important;
}

.inschrijfmodule-v2-scope .text-end {
    text-align: right !important;
}

.inschrijfmodule-v2-scope .text-danger {
    color: #c53030 !important;
}

.inschrijfmodule-v2-scope .position-relative {
    position: relative !important;
}

.inschrijfmodule-v2-scope .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* --- Existing styles --- */
@media (max-width: 479.98px) {
    .inschrijfmodule-v2-scope .signup-responsive-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .inschrijfmodule-v2-scope #signature {
        width: 100% !important;
    }
}

@media (max-width: 699.98px) {
    .inschrijfmodule-v2-scope .step-title.d-flex {
        flex-direction: column-reverse !important;
        align-items: stretch !important;
        gap: 0.5rem !important;
    }

    .inschrijfmodule-v2-scope .city-switch-link {
        width: 100% !important;
        display: block !important;
        text-align: right !important;
        margin-left: 0 !important;
        margin-bottom: 0.5rem !important;
        white-space: normal !important;
        word-break: break-word !important;
    }
}

.inschrijfmodule-v2-scope #submitBtn {
    width: 100%;
}

@media (min-width: 992px) {
    .inschrijfmodule-v2-scope #submitBtn {
        width: 50%;
    }
}

/* On screens <1200px, add mb-3 to all .form-control and remove mb-3 from .row.mb-3 */
@media (max-width: 1199.98px) {
    .inschrijfmodule-v2-scope #signupForm .form-control {
        margin-bottom: 1rem !important;
        /* Bootstrap mb-3 = 1rem */
    }

    .inschrijfmodule-v2-scope #signupForm .row.mb-3 {
        margin-bottom: 0 !important;
    }
}

/* Add vertical spacing between stacked form inputs on small screens */
@media (max-width: 767.98px) {
    .inschrijfmodule-v2-scope #signupForm .form-control {
        margin-bottom: 1.25rem;
    }

    .inschrijfmodule-v2-scope #signupForm label {
        margin-bottom: 0.35rem;
        display: block;
    }
}

/* Responsive cart summary styling to match form containers below 1200px */
@media (max-width: 1199.98px) {
    .inschrijfmodule-v2-scope .cart-fluid-bg {
        background: #F7F6F3;
        /* Match .signup-form-background */
        border-radius: 32px;
        /* Match .signup-form-background */
        padding: 22px 22px 18px 22px;
        /* Match .signup-form-background exactly */
        margin-bottom: 0;
        box-shadow: none;
        /* Remove any shadow if present */
    }
}

/* Custom signup layout classes for columns and rows */
.inschrijfmodule-v2-scope .signup-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}

.inschrijfmodule-v2-scope .signup-col {
    flex: 1 1 0;
    padding-left: 12px;
    padding-right: 12px;
    min-width: 0;
}

/*
* Autocomplete suggestions styling
 */
/* Improved autocomplete dropdown for address field */
.inschrijfmodule-v2-scope #address-autocomplete-suggestions.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #F8F3EC;
    border: 1px solid #C6BFB5;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 16px 0 rgba(31, 48, 94, 0.08);
    padding: 0;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.inschrijfmodule-v2-scope #address-autocomplete-group .form-control {
    border-radius: 8px 8px 0 0;
}

.inschrijfmodule-v2-scope #address-autocomplete-suggestions .suggestion {
    font-family: 'owners-wide medium', sans-serif;
    font-size: 20px;
    color: #332f29;
    padding: 11px 18px;
    background: transparent;
    border-bottom: 1px solid #E7DDD3;
    border-radius: 0;
    transition: background 0.11s;
}

.inschrijfmodule-v2-scope #address-autocomplete-suggestions .suggestion:last-child {
    border-bottom: none;
}

.inschrijfmodule-v2-scope #address-autocomplete-suggestions .suggestion.selected,
.inschrijfmodule-v2-scope #address-autocomplete-suggestions .suggestion:hover {
    background: #D1CCC6;
    color: #1F305E;
}

.inschrijfmodule-v2-scope #address-autocomplete-suggestions .main-text {
    font-weight: 600;
    color: #332f29;
    display: block;
}

.inschrijfmodule-v2-scope #address-autocomplete-suggestions .secondary-text {
    color: #b3a89c;
    font-size: 16px;
    margin-top: 2px;
    display: block;
}

@media (max-width: 1199.98px) {
    .inschrijfmodule-v2-scope .signup-col {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin: 0 auto !important;
        padding-left: 24px;
        padding-right: 24px;
    }

    .inschrijfmodule-v2-scope .signup-row {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
    }
}

.inschrijfmodule-v2-scope .cart-loader .spinner-border,
.inschrijfmodule-v2-scope .durations-loader .spinner-border {
    width: 2.5rem !important;
    height: 2.5rem !important;
    min-width: 2.5rem;
    min-height: 2.5rem;
    max-width: 2.5rem;
    max-height: 2.5rem;
    box-sizing: content-box;
}

.inschrijfmodule-v2-scope .cart-loader .loader-text,
.inschrijfmodule-v2-scope .durations-loader .loader-text {
    display: block;
    margin-top: 1.2rem;
    text-align: center;
    color: #1F305E;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
}

/* Loader overlay for membership durations */
.inschrijfmodule-v2-scope .durations-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(231, 221, 211, 0.7);
    /* #E7DDD3 with opacity */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

/* Loader overlay for summary cart */
.inschrijfmodule-v2-scope .cart-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(231, 221, 211, 0.7);
    /* #E7DDD3 with opacity */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

/* Sticky cart/summary sidebar */
.inschrijfmodule-v2-scope .fixed-cart {
    position: fixed;
    top: 102px;
    width: 440px;
    max-width: 440px;
    right: calc(50% + 14px);
    transform: translateX(715px);
    margin-right: 0;
}

.inschrijfmodule-v2-scope #submitBtn:not(:disabled) {
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.1s;
    cursor: pointer;
}

.inschrijfmodule-v2-scope #submitBtn:not(:disabled):hover {
    background: #1F305E !important;
    color: #fff !important;
    box-shadow: 0 2px 12px 0 rgba(31, 48, 94, 0.12);
    transform: translateY(-2px) scale(1.02);
}

.inschrijfmodule-v2-scope #submitBtn:not(:disabled):active {
    background: #16213a !important;
    color: #fff !important;
    box-shadow: 0 1px 4px 0 rgba(31, 48, 94, 0.10);
    transform: translateY(1px) scale(0.98);
}

.inschrijfmodule-v2-scope #submitBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    background: #b3a89c !important;
    color: #fff !important;
    border: none !important;
}

.inschrijfmodule-v2-scope #signature #clear.btn.form-button,
.inschrijfmodule-v2-scope #signature #save.btn.form-button {
    background: #E7DDD3 !important;
    color: #332f29 !important;
    border: 2px solid #332f29 !important;
    box-shadow: none;
    transition: background 0.18s, color 0.18s, border 0.18s;
}

.inschrijfmodule-v2-scope #signature #clear.btn.form-button:hover,
.inschrijfmodule-v2-scope #signature #save.btn.form-button:hover,
.inschrijfmodule-v2-scope #signature #clear.btn.form-button:focus,
.inschrijfmodule-v2-scope #signature #save.btn.form-button:focus {
    background: #f5eee7 !important;
    color: #1F305E !important;
    border-color: #1F305E !important;
}

.inschrijfmodule-v2-scope #submitBtn .bi {
    color: inherit !important;
    vertical-align: middle;
}

@font-face {
    font-family: 'owners-wide medium';
    src: url('../fonts/OwnersTRIAL-Medium-BF64361ef81f92b.otf');
    font-weight: 500;
}

@font-face {
    font-family: 'owners-wide light';
    src: url('../fonts/OwnersTRIAL-Light-BF64361ef833aae.otf');
    font-weight: 100;
}

.inschrijfmodule-v2-scope #signupForm {
    color: #323029;
    margin-bottom: 0;
}

.inschrijfmodule-v2-scope #signupForm h2,
.inschrijfmodule-v2-scope #signupForm h3,
.inschrijfmodule-v2-scope #signupForm h4,
.inschrijfmodule-v2-scope #signupForm span {
    color: #332f29;
}

.inschrijfmodule-v2-scope .signup-form-background {
    background-color: #E7DDD3;
    padding: 22px 22px 18px 22px;
    border-radius: 16px;
    margin-top: 36px;
    margin-bottom: 10px;
}

.inschrijfmodule-v2-scope #signupForm h3.step-title {
    font-family: 'owners-wide medium', sans-serif;
    font-weight: 500;
    font-size: 25px;
    color: #efe7dc;
}

.inschrijfmodule-v2-scope #signupForm .signup-form-background h3.step-title {
    color: #332f29;
}

.inschrijfmodule-v2-scope #signupForm .locations-background {
    background-color: #EFE7DC;
    min-height: calc(100vh - 200px);
}

.inschrijfmodule-v2-scope #signupForm .locations-container {
    padding: 20px 0;
}

.inschrijfmodule-v2-scope #signupForm .locations-container .location-card {
    border: 1px solid #393939;
    border-radius: 8px;
    background-color: #efe7dc;
}

.inschrijfmodule-v2-scope #signupForm h4 {
    font-family: 'owners-wide medium', sans-serif;
    font-weight: 500;
    font-size: 20px;
}

.inschrijfmodule-v2-scope #signupForm canvas {
    background-color: #F8F3EC;
    border: 1px solid #393939;
    border-radius: 15px;
}

.inschrijfmodule-v2-scope #signupForm canvas.invalid {
    border: 1px solid red;
}

.inschrijfmodule-v2-scope #signupForm canvas.stored {
    background-color: #97aad3;
}

.inschrijfmodule-v2-scope #signupForm .locations-container .location-card h2 {
    text-align: center;
    font-family: 'owners-wide medium', sans-serif;
    font-weight: 500;
    font-size: 25px;
    margin: 10px 0;
}

.inschrijfmodule-v2-scope #signupForm .locations-container .location-card img {
    width: 100%;
}

.inschrijfmodule-v2-scope #signupForm .locations-container .location-card .location-content {
    padding: 20px;
    font-family: 'owners-wide medium', sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.inschrijfmodule-v2-scope #signupForm .locations-container .location-card .location-content span.address {
    display: block;
    width: 100%;
}

/* MEMBERSHIP CARDS - Keep Bootstrap grid for row/col */

.inschrijfmodule-v2-scope .membership-durations-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.inschrijfmodule-v2-scope .membership-durations-container .col-md-6 {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.inschrijfmodule-v2-scope .membership-durations-container .membership-duration-card {
    border: 1px solid #C3BCB2;
    border-radius: 14px;
    background-color: #D5CBC1;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    margin-bottom: 24px;
    margin-top: 0;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    height: 100%;
    flex: 1 1 0;
}

.inschrijfmodule-v2-scope .membership-durations-container .membership-duration-card h2 {
    font-family: 'owners-wide medium', sans-serif;
    font-weight: 500;
    font-size: 18px;
    margin: 0 0 2px 0;
    color: #323029;
}

.inschrijfmodule-v2-scope .membership-durations-container .membership-duration-card .pricing {
    font-size: 1.35em;
    font-weight: bold;
    color: #1F305E;
    margin-top: 6px;
    margin-bottom: 2px;
}


.inschrijfmodule-v2-scope .membership-durations-container .membership-duration-card .pricing.action {
    text-decoration: line-through;
    color: #1F305E88;
    font-size: 0.95em;
}


.inschrijfmodule-v2-scope .membership-durations-container .membership-duration-card:has(input[type="radio"]:checked),
.inschrijfmodule-v2-scope .membership-duration-card.active {
    background: #1F305E;
    color: #EFE7DC;
}

/* All text inside the selected membership card should be #EFE7DC */
.inschrijfmodule-v2-scope .membership-durations-container .membership-duration-card:has(input[type="radio"]:checked),
.inschrijfmodule-v2-scope .membership-durations-container .membership-duration-card:has(input[type="radio"]:checked) *,
.inschrijfmodule-v2-scope .membership-duration-card.active,
.inschrijfmodule-v2-scope .membership-duration-card.active * {
    color: #EFE7DC !important;
}

.inschrijfmodule-v2-scope .membership-durations-container .membership-duration-card:has(input[type="radio"]:checked) .pricing.action,
.inschrijfmodule-v2-scope .membership-duration-card.active .pricing.action {
    color: #EFE7DCcc !important;
}

.inschrijfmodule-v2-scope .membership-durations-container .membership-duration-card .action-price {
    font-size: 1.05em;
    color: #1F305E;
    font-weight: 500;
    margin-bottom: 0;
}

/* Loading spinner override for center in fieldset */
.inschrijfmodule-v2-scope #memberships-loading {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8);
}

.inschrijfmodule-v2-scope .spinner-border {
    width: 2rem;
    height: 2rem;
    border-width: .25em;
}

/* /MEMBERSHIP CARDS */

.inschrijfmodule-v2-scope #signupForm label {
    font-family: 'owners-wide medium', sans-serif;
    font-weight: 400;
    font-size: 17px;
    margin-bottom: 4px;
}

.inschrijfmodule-v2-scope #signupForm input[type="text"],
.inschrijfmodule-v2-scope #signupForm select.form-control {
    font-family: 'owners-wide medium', sans-serif;
    font-weight: 400;
    font-size: 20px;
    height: 43px;
    border: 1px solid #C6BFB5;
    border-radius: 8px;
    color: #332f29;
    background-color: #F8F3EC;
    width: 100%;
    box-sizing: border-box;
}

.inschrijfmodule-v2-scope #signupForm input[type="text"]::placeholder {
    color: #b3a89c;
    opacity: 1;
}

.inschrijfmodule-v2-scope #signupForm input[type="text"].invalid {
    border: 1px solid red;
}

/* Select styling */
.inschrijfmodule-v2-scope #signupForm select.form-control {
    appearance: none;
    background: #F8F3EC url("data:image/svg+xml;charset=UTF-8,<svg fill='black' viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'><path d='M35 55l35 35 35-35z'/></svg>") no-repeat right 14px center/18px 18px;
    padding-right: 38px;
}

/* Cart styling */
.inschrijfmodule-v2-scope .cart.signup-form-background {
    background-color: #E7DDD3;
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 25px;
}

.inschrijfmodule-v2-scope .cart .cart-content {
    width: 100%;
}

.inschrijfmodule-v2-scope #signupForm .cart h2 {
    font-family: 'owners-wide medium', sans-serif;
    font-weight: 500;
    font-size: 30px;
}

.inschrijfmodule-v2-scope #signupForm .cart h3 {
    font-family: 'owners-wide medium', sans-serif;
    font-weight: 500;
    font-size: 25px;
}

.inschrijfmodule-v2-scope #signupForm .cart span {
    font-family: 'owners-wide medium', sans-serif;
    font-weight: 400;
    font-size: 18px;
}

/* === CUSTOM CART SUMMARY STYLING === */
/* Kosten eerste periode = membership block */
.inschrijfmodule-v2-scope .membership-summary-block {
    background-color: #D1CCC6;
    border-radius: 10px;
    padding: 16px 16px 10px 16px;
    margin-bottom: 16px;
}

.inschrijfmodule-v2-scope .membership-summary-block h3 {
    color: #332f29;
    margin-bottom: 12px;
}

/* Prices in cart summary bold and colored */
.inschrijfmodule-v2-scope .cart-price,
.inschrijfmodule-v2-scope .membership-summary .cart-price,
.inschrijfmodule-v2-scope .signupCosts-block .cart-price {
    color: #1F305E;
    font-weight: 700;
}

/* Expansion Deal block styling */
.inschrijfmodule-v2-scope .deal-block {
    background-color: #1F305E;
    color: #EFE7DC;
    border-radius: 10px;
    padding: 14px 16px 10px 16px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.inschrijfmodule-v2-scope .deal-label {
    color: #EFE7DC;
    font-family: 'owners-wide medium', sans-serif;
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 5px;
}

.inschrijfmodule-v2-scope .deal-extra-text {
    color: #fff;
    font-family: 'owners-wide light', sans-serif;
    font-size: 17px;
    font-weight: 400;
    margin-left: 2px;
}

/* Hide by default, show when JS adds .deal-block:not(.d-none) */
.inschrijfmodule-v2-scope .deal-block.d-none {
    display: none !important;
}

/* Acceptance container */
.inschrijfmodule-v2-scope .acceptance-container.signup-form-background {
    margin-top: 36px;
    margin-bottom: 36px;
    border-radius: 16px;
    border: 1px solid #C3BCB2;
    background-color: #E7DDD3;
}

/* Remove old gender/checkbox styles (now using select for gender) */
.inschrijfmodule-v2-scope .col-md-2 .gender-label,
.inschrijfmodule-v2-scope .col-md-2 input[type="radio"].gender-radio,
.inschrijfmodule-v2-scope .col-md-2 .gender-radio-btn,
.inschrijfmodule-v2-scope .col-md-2 .gender-radio-btn .inner,
.inschrijfmodule-v2-scope .col-md-2:has(.gender-radio:checked) .gender-radio-btn .inner {
    all: unset !important;
}

/* Hide radio/checkboxes for styled cards */
.inschrijfmodule-v2-scope #signupForm .membership-types-container .membership-type-card input[type="radio"],
.inschrijfmodule-v2-scope #signupForm .membership-durations-container .membership-duration-card input[type="radio"],
.inschrijfmodule-v2-scope #signupForm .addons-container .addon-card input[type="checkbox"] {
    display: none;
}

.inschrijfmodule-v2-scope #signupForm .membership-types-container .membership-type-card:has(input[type="radio"]:checked),
.inschrijfmodule-v2-scope #signupForm .membership-durations-container .membership-duration-card:has(input[type="radio"]:checked),
.inschrijfmodule-v2-scope #signupForm .addons-container .addon-card:has(input[type="checkbox"]:checked) {
    background-color: #1f305e;
    color: #97aad3;
}

.inschrijfmodule-v2-scope #signupForm .membership-types-container .membership-type-card:has(input[type="radio"]:checked) h2,
.inschrijfmodule-v2-scope #signupForm .membership-durations-container .membership-duration-card:has(input[type="radio"]:checked) h2,
.inschrijfmodule-v2-scope #signupForm .addons-container .addon-card:has(input[type="checkbox"]:checked) h2 {
    color: #97aad3;
}

/* Buttons */
.inschrijfmodule-v2-scope #signupForm button.form-button {
    background-color: #332f29;
    border-radius: 15px;
    color: #F8F3EC;
    font-family: 'owners-wide medium', sans-serif;
    font-weight: 400;
    font-size: 18px;
    padding: 5px 15px;
    border: none;
    height: 48px;
}

.inschrijfmodule-v2-scope .signature-btns .btn.form-button,
.inschrijfmodule-v2-scope #signature #clear.btn.form-button,
.inschrijfmodule-v2-scope #signature #save.btn.form-button {
    background: #E7DDD3 !important;
    color: #332f29 !important;
    border: 2px solid #332f29 !important;
    box-shadow: none;
    transition: background 0.18s, color 0.18s, border 0.18s;
}

.inschrijfmodule-v2-scope .signature-btns .btn.form-button:hover,
.inschrijfmodule-v2-scope .signature-btns .btn.form-button:focus,
.inschrijfmodule-v2-scope #signature #clear.btn.form-button:hover,
.inschrijfmodule-v2-scope #signature #save.btn.form-button:hover,
.inschrijfmodule-v2-scope #signature #clear.btn.form-button:focus,
.inschrijfmodule-v2-scope #signature #save.btn.form-button:focus {
    background: #f5eee7 !important;
    color: #1F305E !important;
    border-color: #1F305E !important;
}

.inschrijfmodule-v2-scope #signupForm .btn-group .btn {
    flex-basis: 50%;
}

/**
 * DatePicker custom overrides for Sluis Gym style
 */
.inschrijfmodule-v2-scope .datepicker-picker {
    background: #E7DDD3 !important;
    border-radius: 16px !important;
    border: 1.5px solid #C3BCB2 !important;
    font-family: 'owners-wide medium', sans-serif !important;
    color: #332f29 !important;
    box-shadow: 0 4px 24px 0 rgba(31, 48, 94, 0.10) !important;
    padding: 8px 10px 10px 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.inschrijfmodule-v2-scope .datepicker-header .datepicker-controls .button,
.inschrijfmodule-v2-scope .datepicker-footer .datepicker-controls .button {
    background: #332f29 !important;
    color: #EFE7DC !important;
    border: 1.5px solid #332f29 !important;
    border-radius: 8px !important;
    font-family: 'owners-wide medium', sans-serif !important;
    font-size: 1.5rem !important;
    transition: background 0.18s, color 0.18s, border 0.18s;
    margin-left: 2px;
    margin-right: 2px;
}

.inschrijfmodule-v2-scope .datepicker-header .datepicker-controls .button:hover,
.inschrijfmodule-v2-scope .datepicker-footer .datepicker-controls .button:hover {
    background: #1F305E !important;
    color: #fff !important;
    border-color: #1F305E !important;
}

.inschrijfmodule-v2-scope .datepicker-header .datepicker-controls .button:active,
.inschrijfmodule-v2-scope .datepicker-footer .datepicker-controls .button:active {
    background: #16213a !important;
    color: #fff !important;
    border-color: #16213a !important;
}

.inschrijfmodule-v2-scope .datepicker-header .datepicker-controls .button[disabled],
.inschrijfmodule-v2-scope .datepicker-footer .datepicker-controls .button[disabled] {
    opacity: 0.5 !important;
    background: #b3a89c !important;
    color: #fff !important;
    border: none !important;
}

.inschrijfmodule-v2-scope .datepicker-title,
.inschrijfmodule-v2-scope .datepicker-footer {
    background: #D1CCC6 !important;
    color: #332f29 !important;
    border-radius: 10px !important;
    font-family: 'owners-wide medium', sans-serif !important;
}


.inschrijfmodule-v2-scope .datepicker-main {
    padding: 6px 0 0 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.inschrijfmodule-v2-scope .datepicker-view {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.inschrijfmodule-v2-scope .datepicker-view .days {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.inschrijfmodule-v2-scope .datepicker-view .days-of-week {
    display: flex !important;
}

.inschrijfmodule-v2-scope .datepicker-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    width: 100% !important;
    gap: 2px !important;
}


.inschrijfmodule-v2-scope .datepicker-view .dow,
.inschrijfmodule-v2-scope .datepicker-view .days .datepicker-cell {
    text-align: center !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 1.05rem !important;
    font-family: 'owners-wide medium', sans-serif !important;
    float: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    word-break: normal !important;
}


.inschrijfmodule-v2-scope .datepicker-view .dow {
    width: 14.2857% !important;
    max-width: 14.2857% !important;
    min-width: 14.2857% !important;
}



.inschrijfmodule-v2-scope .datepicker-cell {
    background: #F8F3EC !important;
    color: #332f29 !important;
    border-radius: 8px !important;
    font-size: 1.08rem !important;
    font-family: 'owners-wide medium', sans-serif !important;
    margin: 1px !important;
    border: none !important;
    transition: background 0.18s, color 0.18s;
}

.inschrijfmodule-v2-scope .datepicker-cell:not(.disabled):hover {
    background: #D1CCC6 !important;
    color: #1F305E !important;
}

.inschrijfmodule-v2-scope .datepicker-cell.selected:hover {
    background: #16213a !important;
    color: #EFE7DC !important;
    font-weight: 600 !important;
}

.inschrijfmodule-v2-scope .datepicker-cell.focused:not(.selected) {
    background: #b3a89c !important;
    color: #332f29 !important;
}

.inschrijfmodule-v2-scope .datepicker-cell.disabled {
    color: #b3a89c !important;
    background: #EFE7DC !important;
    opacity: 0.7 !important;
}

.inschrijfmodule-v2-scope .datepicker-cell.today:not(.selected) {
    background: #E7DDD3 !important;
    color: #1F305E !important;
    border: 1.5px solid #1F305E !important;
}

.inschrijfmodule-v2-scope .datepicker-cell.range,
.inschrijfmodule-v2-scope .datepicker-cell.range-start,
.inschrijfmodule-v2-scope .datepicker-cell.range-end {
    background: #97aad3 !important;
    color: #332f29 !important;
}

.inschrijfmodule-v2-scope .datepicker-cell.range.focused,
.inschrijfmodule-v2-scope .datepicker-cell.range-start.focused,
.inschrijfmodule-v2-scope .datepicker-cell.range-end.focused {
    background: #b3a89c !important;
    color: #332f29 !important;
}

.inschrijfmodule-v2-scope .datepicker-cell.prev,
.inschrijfmodule-v2-scope .datepicker-cell.next {
    color: #332f29 !important;
    background: #f8f3ecbb !important;
    opacity: 1 !important;
    cursor: pointer;
}

.inschrijfmodule-v2-scope .datepicker-cell.prev.disabled,
.inschrijfmodule-v2-scope .datepicker-cell.next.disabled {
    color: #b3a89c !important;
    background: #EFE7DC !important;
    opacity: 0.7 !important;
    cursor: not-allowed;
    font-weight: normal !important;
}

.inschrijfmodule-v2-scope .datepicker-cell.selected {
    background: #1F305E !important;
    color: #EFE7DC !important;
    font-weight: 600 !important;
}



@media (max-width: 1500px) {
    .inschrijfmodule-v2-scope .fixed-cart {
        right: 750px;
        width: 30vw !important;
    }
}

@media (max-width: 1200px) {
    .inschrijfmodule-v2-scope .fixed-cart {
        position: static;
        top: auto;
        right: auto;
        left: auto;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        margin: 32px 0 0 0;
        transform: none;
        box-shadow: none;
        z-index: auto;
    }

    /* Only expand the main form column if it has .signup-main-form */
    .inschrijfmodule-v2-scope .signup-main-form {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin: 0 auto !important;
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 992px) {

    .inschrijfmodule-v2-scope #signupForm,
    .inschrijfmodule-v2-scope .signup-form-background,
    .inschrijfmodule-v2-scope .main-content,
    .inschrijfmodule-v2-scope .container,
    .inschrijfmodule-v2-scope .content-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100%;
    }

    .inschrijfmodule-v2-scope .cart.signup-form-background {
        padding: 14px 4vw 10px 4vw;
    }
}

@media (max-width: 600px) {
    .inschrijfmodule-v2-scope .fixed-cart {
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .inschrijfmodule-v2-scope .cart.signup-form-background {
        padding: 8px 2vw 8px 2vw;
    }
}
