    .lea-input-checkbox {
        position: relative;
        float: left;
        width: 100%;
        /* The checkbox-checkbox-container */
        .checkbox-container {
            display: block;
            position: relative;
            float: left;
            cursor: pointer;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            font-size: 1rem;
            margin: 0.5rem 0;
            padding-left: 1.5rem;
            .checkbox-text {
                &.label-disabled {
                    color: $grey;
                }
            }
            input {
                position: absolute;
                opacity: 0;
                cursor: pointer;
                height: 0;
                width: 0;
                &:checked+.checkmark {
                    .checked-animation {
                        display: block;
                        position: absolute;
                        background-color: $accent;
                        border-radius: $checkbox-radius;
                        border: $border-checkbox;
                        border-color: $accent;
                        animation: checked 0.2s forwards ease;
                        animation-delay: 0.2s;
                    }
                    .checked-circle {
                        display: block;
                        width: 1rem;
                        height: 1rem;
                        border-radius: 4rem;
                        background-color: $accent;
                        position: absolute;
                        animation: checked-circle 0.5s forwards ease;
                    }
                    &:after {
                        content: "";
                        position: absolute;
                        display: block;
                        left: 0.25rem;
                        top: 0.1rem;
                        width: 0.3rem;
                        height: 0.6rem;
                        border: solid white;
                        border-width: 0 0.2rem 0.2rem 0;
                        -webkit-transform: rotate(45deg) scale(0.5);
                        -ms-transform: rotate(45deg) scale(0.5);
                        transform: rotate(45deg) scale(0.5);
                    }
                }
                &:disabled+.checkmark {
                    cursor: not-allowed;
                    background-color: $lighter-grey;
                    transition: 0.2s border;
                    border: $border-checkbox-disabled;
                }
            }
            .checkmark {
                position: absolute;
                top: 0;
                left: 0;
                height: 1.04rem;
                width: 1rem;
                background-color: $white;
                border-radius: $checkbox-radius;
                border: $border-checkbox;
                transition: 0.2s border;
                .checked-animation {
                    display: none;
                }
                .checked-circle {
                    display: none;
                }
                &.input-error {
                    transition: $short-transition;
                    border: $border-error;
                    transition: 0.2s border;
                }
            }
            &:hover input~.checkmark {
                border: $border-checkbox-hover;
                transition: 0.2s border;
            }
        }
        .error {
            position: absolute;
            bottom: 0;
            font-size: 0.7rem;
            height: 0.7rem;
            overflow: hidden;
            left: 0;
            span {
                margin-left: 1.6rem;
                margin-top: 0;
                position: relative;
                float: left;
                color: $red;
                animation: 0.2s error ease-in-out;
            }
        }
        @keyframes error {
            from {
                margin-top: -1rem;
            }
            to {
                margin-top: 0;
            }
        }
    }
    
    @keyframes checked-circle {
        0% {
            transform: scale(0);
            opacity: 0.3;
        }
        90% {
            opacity: 0.3;
        }
        100% {
            transform: scale(2);
            opacity: 0;
        }
    }
    
    @keyframes checked {
        0% {
            top: 0.5rem;
            left: 0.5rem;
            height: 0;
            width: 0;
        }
        70% {
            height: 1.2rem;
            width: 1.2rem;
            top: -0.1rem;
            left: -0.1rem;
        }
        100% {
            top: -0.05rem;
            left: -0.05rem;
            height: 1.04rem;
            width: 1rem;
        }
    }
    
    .test {
        &:checked {
            width: 100px;
        }
    }
    
    .dark-mode {
        .lea-input-checkbox .checkbox-container .checkmark {
            background-color: transparent;
            transition: 0.5s;
        }
    }