.checkbox {
    display: flex;
}
.checkbox_center {
    justify-content: center;
}

.checkbox__checkbox {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.checkbox__label {
    cursor: pointer;
    display: flex;
    flex-direction: row-reverse;
    font-family: AvenirRoman, sans-serif;
}
.checkbox__label_reversed {
    display: flex;
    flex-direction: row;
}

.checkbox__label::after {
    content: '';
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    flex-grow: 0;
    margin-top: 3px;
    margin-right: 10px;
    border: 2px solid var(--light-blue);
    border-radius: 2px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}
.checkbox__label_ml50.checkbox__label::after {
    margin-left: 50px;
    margin-top: 0;
}
.checkbox__label_white-checkbox.checkbox__label::after {
    border: 2px solid var(--white);
}
.checkbox__label_error.checkbox__label::after {
    border: 2px solid var(--red);
}
.checkbox__checkbox:checked~.checkbox__label::after {
    border-color: var(--light-blue);
    background-color:var(--light-blue);
}
.checkbox__checkbox:checked~.checkbox__label_white-checkbox.checkbox__label::after {
    border-color: var(--white);
    background-color:var(--white);
}

.checkbox__checkbox:disabled~.checkbox__label::after {
    background-color: #e9ecef;
}
