/* Badge styles for cyberpunk theme */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    border-radius: 10px;
    color: #000;
    background: linear-gradient(to right, var(--neon-color), var(--accent-color));
    box-shadow: 0 0 8px var(--neon-glow-color);
    text-shadow: none;
    margin-left: 4px;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.badge.hidden {
    display: none;
}

/* Pulsing animation for unread badges */
@keyframes pulse {
    0% {
        box-shadow: 0 0 4px var(--neon-glow-color);
    }
    50% {
        box-shadow: 0 0 12px var(--neon-glow-color), 0 0 20px var(--neon-glow-color);
    }
    100% {
        box-shadow: 0 0 4px var(--neon-glow-color);
    }
}

/* Badge on specific elements */
.nav-messaging .badge {
    position: relative;
    top: -1px;
}

/* Channel unread indicators */
.channel-item .badge {
    float: right;
    margin-right: 5px;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
}
