/* Header integrations only; public inquiry form and BuddyPress controls keep their styles. */
.ff-bp-unread-messages-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    margin-inline-start: 6px;
    vertical-align: middle;
    text-decoration: none !important;
    box-sizing: border-box;
}
.ff-bp-unread-messages-badge[hidden] { display: none !important; }
a.ff-bp-unread-messages-badge {
    min-width: 32px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.ff-bp-unread-messages-badge .ff-bp-unread-messages-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border: 0;
    border-radius: 999px;
    background: #d32f2f !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 12px !important;
    font-weight: 700;
    line-height: 1 !important;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
}
.ff-bp-unread-messages-badge .ff-bp-unread-messages-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
a.ff-bp-unread-messages-badge:focus-visible { outline: 2px solid #d32f2f; outline-offset: 2px; }
