.badge {
  display: inline-block;
  min-width: 16px;
  min-width: var(--size-16);
  padding: 5px 8px;
  padding: 5px var(--size-8);
  font-size: 10px;
  font-weight: 600;
  font-weight: var(--font-weight-semi-bold);
  color: #fff;
  line-height: 1.2;
  line-height: var(--line-height-control);
  vertical-align: middle;
  white-space: nowrap;
  text-align: center;
  background-color: #e74848;
  background-color: var(--color-interactive-negative);
  border-radius: 16px;
  border-radius: var(--radius-medium);
  top: -1px;
  position: relative;
}
.np-theme-personal .badge {
  display: inline-block;
  min-width: 16px;
  min-width: var(--size-16);
  padding: 4px 8px;
  padding: var(--size-4) var(--size-8);
  color: #fff;
  vertical-align: middle;
  white-space: nowrap;
  text-align: center;
  line-height: normal;
  line-height: initial;
  background-color: #e74848;
  background-color: var(--color-interactive-negative);
  border-radius: 16px;
  border-radius: var(--radius-medium);
  position: relative;
  top: 0;
}
.badge:empty {
  display: none;
}
.btn .badge {
  position: relative;
  top: -1px;
}
.btn-xs .badge,
.btn-group-xs > .btn .badge {
  top: 0;
  padding: 1px 5px;
}
a.badge:hover,
a.badge:focus {
  -webkit-text-decoration: none;
  text-decoration: none;
  cursor: pointer;
}
.list-group-item > .badge {
  float: right;
}
[dir="rtl"] .list-group-item > .badge {
  float: left;
}
.list-group-item > .badge + .badge {
  margin-right: 5px;
}
[dir="rtl"] .list-group-item > .badge + .badge {
  margin-left: 5px;
  margin-right: 0;
  margin-right: initial;
}
.nav-pills > li > a > .badge,
.nav-stacked > li > a > .badge {
  margin-left: 19px;
}
[dir="rtl"] .nav-pills > li > a > .badge,
[dir="rtl"] .nav-stacked > li > a > .badge {
  margin-right: 19px;
  margin-left: 0;
  margin-left: initial;
}
.badge-success {
  background: #2ead4b;
  background: var(--color-interactive-positive);
}
.np-theme-personal .badge-success {
  background: var(--color-sentiment-positive);
}
