/*
 * Gebruik zoveel mogelijk nested CSS
 * Meer informatie: https://www.w3schools.com/cssref/sel_nesting.php
 */

.woocommerce-form-register .awcf-b2b-type {
    border: 0;
    padding: 0;
    margin: 0 0 16px 0;

    /* Het thema geeft een legend koptekstformaat; hier hoort hij bij de veldlabels. */
    legend {
        padding: 0;
        margin: 0 0 8px 0;
        font-size: inherit;
        line-height: inherit;
        font-weight: 600;
    }

    .awcf-b2b-type__opties {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 24px;
    }

    .awcf-b2b-type__optie {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        cursor: pointer;
    }

    .awcf-b2b-type__uitleg {
        display: none;
        margin: 8px 0 0 0;
        font-size: 0.875em;
    }

    &:has(input[value="zakelijk"]:checked) .awcf-b2b-type__uitleg {
        display: block;
    }
}
