/* Scoped to the consent controls; retain the existing WPForms layout. */
.wpforms-form .medovik-form-consent {
    border: 0;
    padding: 0;
    margin: 0 0 1rem;
    min-width: 0;
    width: 100%;
    clear: both;
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.5;
}
.wpforms-form .medovik-form-consent legend { font-size: inherit; font-weight: 600; margin-bottom: 0.5rem; }
.wpforms-form .medovik-form-consent label { display: flex; align-items: flex-start; gap: 0.5rem; font-weight: normal; cursor: pointer; }
.wpforms-form .medovik-form-consent input[type="checkbox"] { appearance: auto; position: static; opacity: 1; width: 1.15rem; height: 1.15rem; min-width: 1.15rem; margin: 0.2rem 0 0; }
.wpforms-form .medovik-form-consent p { font-size: inherit; line-height: inherit; margin: 0.5rem 0 0; }
.wpforms-form .medovik-form-consent a { text-decoration: underline; overflow-wrap: anywhere; }
.wpforms-form .medovik-form-consent :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
/* Optional advertising radios remain independent from the required consent. */
.wpforms-form .medovik-advertising-consent input[type="radio"] { appearance: auto; position: static; opacity: 1; width: 1.15rem; height: 1.15rem; min-width: 1.15rem; margin: 0.2rem 0 0; }
.wpforms-form .medovik-advertising-consent label + label { margin-top: 0.5rem; }
/* Modern WPForms paints input pseudo-elements; native controls must have one mark. */
.wpforms-form .medovik-form-consent input[type="checkbox"]::before,
.wpforms-form .medovik-form-consent input[type="checkbox"]::after,
.wpforms-form .medovik-form-consent input[type="radio"]::before,
.wpforms-form .medovik-form-consent input[type="radio"]::after { content: none !important; display: none !important; }
