// Badge
.badge {
    display: inline;
}

.badge-nav {
    padding: 0;
    display: inline-block !important;
    border: solid .25rem;
    border-color: inherit;
    width: 16px;
    height: 16px;
    position: absolute;
    top: .5rem;
    right: .5rem;
}

.badge-dot {
    width: 4px;
    height: 4px;
    border-radius: 100px;
    background-color: $gray-400;
}

.ribbon {
    top: 20px;
    right: -10px;
    width: auto;
    height: 34px;
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    line-height: 34px;
    text-align: center;
    position: absolute;
    padding-right: 6px;
    background-color: $primary;
    padding: 0px 15px;
    z-index: 999; 

    &::after {
        content: '';
        right: 0;
        top: -10px;
        position: absolute;
        border-bottom: 10px solid darken($primary, 4%);
        border-right: 10px solid transparent;
    }
}