.consent-checkbox {
    position: relative;
    display: inline-block;
    padding-left: 28px;
    font-size: 14px;
    line-height: 20px;
    color: #393939;
    text-align: left;
    cursor: pointer;
}
.consent-checkbox-input {
    position: absolute;
    top: 0;
    left: 0;

    width: 20px;
    height: 20px;
    opacity: 0;
}
.consent-text a {
    color: var(--blue);
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all 250ms ease;
}

@media (hover: hover) {
    .consent-text a:hover {
        text-decoration-color: currentColor;
    }
}
.consent-text::before,
.consent-text::after {
    content: "";
    position: absolute;
}

.consent-text::before {
    top: 0;
    left: 0;

    width: 18px;
    height: 18px;

    border-radius: 3px;
    background: #fff;
    border: 1px solid var(--border);
    transition: all 250ms ease;
}

.consent-text::after {
    top: 3px;
    left: 1px;

    width: 16px;
    height: 16px;

    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg' style='flex-shrink: 0'%3E%3Cpath d='M13.8541 5.85054L9.00987 10.6947C8.61935 11.0853 7.98618 11.0853 7.59566 10.6947L5.11629 8.21538' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100%;
    opacity: 0;
    transition: opacity 250ms ease;
}

.consent-checkbox-input:checked ~ .consent-text::before {
    background-color: var(--blue);
    border-color: var(--blue);
}

.consent-checkbox-input:checked ~ .consent-text::after {
    opacity: 1;
}
.consent-error {
    display: none;
    color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
}

.form-consent-item {
    margin: 15px 0;
}

.quick-form-row .form-consent-item {
    margin: 0;
    grid-column: span 2;
    text-align: left;
}

@media (max-width: 900px) {
    .quick-form-row .form-consent-item {
        grid-column: span 1;
        margin: 15px 0;
    }
}