.c-checkbox {
    display: grid;
    grid-template-columns: calc(28rem / 16);
    cursor: pointer;
}

.c-checkbox__fauxinput {
    background-color: var(--c-white);
    box-shadow: var(--box-shadow);
    padding: 2px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    border: 1px solid var(--c-input-border);
    width: calc(28rem / 16);
    height: calc(28rem / 16);
    grid-area: 1 / 1 / 1 / 1;
}

.o-form__checkbox .c-checkbox {
    margin-right: 0.5rem;
}

input.c-checkbox__check,
.umbraco-forms-form .checkbox input.c-checkbox__check {
    width: calc(28rem / 16) !important;
    height: calc(28rem / 16) !important;
    margin: 0;
    opacity: 0;
    grid-area: 1 / 1 / 1 / 1;
    z-index: 1;
    cursor: pointer;
}

.c-checkbox__fauxinput .c-icon--active {
    opacity: 0;
}

.c-checkbox__check:checked ~ .c-checkbox__fauxinput .c-icon--active {
    opacity: 1;
}

.umbraco-forms-hidden {
    display: none;
}