/* Универсальный бейдж непрочитанных уведомлений */

[data-unread-noty-wrap],
.unread-noty-wrap {
    position: relative !important;
    display: inline-flex;
    align-items: center;
}

.unread-noty-badge,
[data-unread-noty] {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 2;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25);
}

.unread-noty-badge.is-visible,
[data-unread-noty].is-visible {
    display: inline-flex;
}

/* По умолчанию — абсолютный кружок в правом верхнем углу родителя */
.unread-noty-badge.is-float,
[data-unread-noty].is-float {
    position: absolute;
    top: -6px;
    right: -8px;
}

/* Режим рядом с текстом/иконкой (без absolute) */
.unread-noty-badge.is-inline,
[data-unread-noty].is-inline {
    position: static;
    margin-left: 6px;
}
