.fes-badge {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.fes-badge .fes-badge-sup {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  color: var(--f-white);
  font-size: calc(var(--f-font-size-base) - 2px);
  line-height: 20px;
  text-align: center;
  border-radius: 10px;
  transform: translate(50%, -50%);
  transform-origin: 100% 0;
}
.fes-badge .fes-badge-sup-size-small {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  line-height: 16px;
  border-radius: 8px;
}
.fes-badge .fes-badge-sup-alone {
  position: static;
  transform: none;
}
.fes-badge .fes-badge-sup-dot {
  width: 8px;
  min-width: 8px;
  height: 8px;
  padding: 0;
}
.fes-badge .fes-badge-sup-dot.fes-badge-sup-size-small {
  width: 6px;
  min-width: 6px;
  height: 6px;
}
.fes-badge .fes-badge-sup-type-success {
  background-color: var(--f-success-color);
}
.fes-badge .fes-badge-sup-type-danger {
  background-color: var(--f-danger-color);
}
.fes-badge .fes-badge-sup-type-warning {
  background-color: var(--f-warning-color);
}
.fes-badge .fes-badge-sup-type-primary {
  background-color: var(--f-primary-color);
}
