.badge {
    padding: 0.25rem  0.45rem;
    font-weight: 600;
    border-radius: $default-radius;
}
.badge-sm {
    font-weight: normal;
    font-size: 0.625rem;
}
.btn {
    &.btn-outline-primary {
        .badge {
            background-color: $primary;
            color: $white;
        }
        &:hover,&:focus,&:active {
            .badge {
                background-color: rgba(0, 0, 0, 0.1);
                color: $white;
            }   
        }
    }
    &.btn-outline-secondary {
        .badge {
            background-color: $secondary;
            color: $white;
        }
        &:hover,&:focus,&:active {
            .badge {
                background-color: rgba(0, 0, 0, 0.1);
                color: $white;
            }   
        }
    }
    &.btn-outline-warning {
        .badge {
            background-color: $warning;
            color: $white;
        }
        &:hover,&:focus,&:active {
            .badge {
                background-color: rgba(0, 0, 0, 0.1);
                color: $white;
            }   
        }
    }
    &.btn-outline-info {
        .badge {
            background-color: $info;
            color: $white;
        }
        &:hover,&:focus,&:active {
            .badge {
                background-color: rgba(0, 0, 0, 0.1);
                color: $white;
            }   
        }
    }
    &.btn-outline-success {
        .badge {
            background-color: $success;
            color: $white;
        }
        &:hover,&:focus,&:active {
            .badge {
                background-color: rgba(0, 0, 0, 0.1);
                color: $white;
            }   
        }
    }
    &.btn-outline-danger {
        .badge {
            background-color: $danger;
            color: $white;
        }
        &:hover,&:focus,&:active {
            .badge {
                background-color: rgba(0, 0, 0, 0.1);
                color: $white;
            }   
        }
    }
}
.custom-badge {
    font-size: 0.7rem;
    font-weight: 600;
}
.icon-badge {
    position: relative;
    .icon {
        width: 2rem;
        height: 2rem;
        fill: $text-muted;
        font-size: 2rem;
    }
    .badge {
        position: absolute;
        inset-inline-start: 0.95rem
    }
}
.text-badge {
    position: relative;
    .badge {
        position: absolute;
        inset-inline-start: 3rem;
        inset-block-start: 0rem;
    }
}