.#{$eccgui}-badge__tag {
    padding: 0 $tag-padding-top * 0.5;
    text-align: center;

    &.#{$ns}-round {
        padding: 0 $tag-padding-top * 0.5;
    }

    .#{$eccgui}-badge--icon & {
        min-width: 0;
        min-height: 0;
        padding: 0;
    }
}

.#{$eccgui}-badge--inline {
    display: inline-flex;
    vertical-align: middle;
}

.#{$eccgui}-badge--bottom-right {
    position: absolute;
    right: 0;
    bottom: 0;

    .#{$eccgui}-badge__tag {
        right: -50%;
        bottom: -0.5 * $eccgui-size-inline-whitespace;
    }
}

.#{$eccgui}-badge--top-right {
    position: absolute;
    top: 0;
    right: 0;

    .#{$eccgui}-badge__tag {
        top: -0.5 * $eccgui-size-inline-whitespace;
        right: -50%;
    }
}
