.codeflow-button {
    display: inline-block;
    font-weight: 400;
    font-size: inherit;
    border: 1px solid transparent;
    padding: $padding-sm/2 $padding-sm;
    border-radius: .25rem;
    cursor: pointer;
    color: inherit;

    box-shadow: 0 2px 5px 0 $color-shadow, 0 2px 10px 0 $color-shadow-weak;

    &:disabled {
        opacity: .65;
        cursor: not-allowed;
    }

    &:focus {
        outline: 0;
    }

    &--rounded {
        border-radius: 20px;
        height: 2.5rem;
        line-height: 1.3rem;
        padding-left: $padding-md;
        padding-right: $padding-md;
    }

    &--loading {
        height: 3rem;
    }

    &--circle {
        border-radius: 50%;
    }

    &--neutral {
        @include button-type(inherit, inherit);
    }

    &--primary {
        @include button-type($color-primary, $color-primary-invert);
    }

    &--secondary {
        @include button-type($color-secondary, $color-secondary-invert);
    }

    &--danger {
        @include button-type($color-danger, $color-danger-invert);
    }

    
    &__content-box {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
    }
    
    &__text {

        display: inline-flex;
        justify-content: center;
        align-items: center;
        flex: 1;

        &--padding {
            margin-left: 10px;
        }

        &--bold {
            font-weight: 700;
        }
    }
}