.bd-checkbox {
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    gap: 8px;
    cursor: pointer;
}

.bd-checkbox.bd-checkbox-has-label {
    flex: 1 1 auto;
    font-size: 16px;
    max-width: 100%;
}

.bd-checkbox-input {
    width: 24px;
    height: 24px;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    z-index: 1;
}
.bd-checkbox-box {
    width: 24px;
    height: 24px;
    border-color: var(--primary-400);
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    border-width: 1px;
    border-style: solid;
    box-sizing: border-box;
    border-radius: 6px;
    color: var(--interactive-active);
}
.bd-checkbox-input:checked + .bd-checkbox-box {
    border-color: var(--bd-brand);
    background-color: var(--bd-brand);
}

.bd-checkbox-input:not(:checked) + .bd-checkbox-box > svg {
    display: none;
}

.bd-checkbox-label {
    flex: 1 1 auto;
    min-width: 0;
}

.bd-checkbox.bd-checkbox-disabled {
    opacity: .6;
    cursor: not-allowed;
}
