.infoBadge {
    --badge-bgSecondary: var(--opacity-10b);
    --badge-borderSecondary: var(--opacity-70b);
    --badge-bgPrimary: var(--primary-light-600);
    --badge-bgWarning: var(--warnning-500);
    --badge-textPrimaryNunebg: var(--opacity-70b);
    --badge-textPrimaryOnbg: var(--opacity-90w);
}

@media (prefers-color-scheme: dark) {
.infoBadge {
        --badge-bgSecondary: var(--opacity-30b);
        --badge-borderSecondary: var(--opacity-50w);
        --badge-bgPrimary: var(--primary-dark-600);
        --badge-bgWarning: var(--warnning-500);
        --badge-textPrimaryNunebg: var(--opacity-90w);
        --badge-textPrimaryOnbg: var(--base-white);
    }
}




.infoBadge {
    display: inline-flex;

    justify-content: center;
    align-items: center;
    flex-shrink: 0;

    border-radius: 0.5rem;
    position: relative;

}

.infoBadge.gray_bg {
    background: var(--badge-bgSecondary);
    border: 1px solid transparent;
    color: var(--badge-textPrimaryNunebg);
}

.infoBadge.outline {
    background: transparent;
    border: 1px solid var(--badge-borderSecondary);
    color: var(--badge-textPrimaryNunebg);
}

.infoBadge.primary_bg {
    background: var(--badge-bgPrimary);
    border: 1px solid transparent;
    color: var(--badge-textPrimaryOnbg);
}

.infoBadge.warningbg {
    background: var(--badge-bgWarning);
    border: 1px solid transparent;
    color: var(--badge-textPrimaryOnbg);
}

.infoBadge.text {
    background: transparent;
    border: 1px solid transparent;
    color: var(--badge-textPrimaryNunebg);
}


.infoBadge.xlarge {
    border-radius: 0.5rem;
    height: 2rem;
    min-width: 2rem;
    padding: 0rem 0.25rem;
}

.infoBadge.large-8 {
    border-radius: 0.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    padding: 0rem 0.25rem;
}

.infoBadge.large {
    border-radius: 2rem;
    height: 1.5rem;
    min-width: 1.5rem;
    padding: 0rem 0.25rem;
}

.infoBadge.medium {
    border-radius: 1.5625rem;
    height: 1.25rem;
    min-width: 1.25rem;
    padding: 0rem 0.25rem;
}

.infoBadge.small {
    border-radius: 1.5625rem;
    height: 1rem;
    min-width: 1rem;
    padding: 0rem 0.25rem;
}


.infoBadge>span {

    display: flex;
    padding: 0rem 0.25rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
}

.infoBadge[iconleft]::before {
    content: attr(iconleft);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'dr-odds';

    width: 1rem;
    height: 1rem;
    line-height: 1rem;
    font-size: 1rem;
}

.infoBadge[iconleft].medium::before {
    font-size: 0.75rem;
}

.infoBadge[iconleft].small::before {
    font-size: 0.75rem;
}


.infoBadge.notification::after {
    content: '';
    width: 0.442rem;
    height: 0.442rem;
    background-color: #F00;

    position: absolute;
    right: -0.1rem;
    top:-0.1rem;
    border-radius: 50%;
}