.e-badge {
  background: rgba(var(--color-sf-primary-container));
  border-color: transparent;
  border-radius: calc(var(--e-radius) * 0.125);
  box-shadow: 0 0 0 2px transparent;
  box-sizing: border-box;
  color: rgba(var(--color-sf-on-surface-variant));
  display: inline-block;
  font-family: var(--e-font-family);
  font-size: 11px;
  font-weight: 500;
  line-height: 12px;
  padding: 2px 4px;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  text-indent: 0;
  vertical-align: middle;
}
.e-badge:hover {
  text-decoration: none;
}
.e-badge.e-badge-pill {
  border-radius: calc(var(--e-radius) * 0.625);
}
.e-badge.e-badge-notification {
  border-radius: calc(var(--e-radius) * 0.625);
  height: 14px;
  line-height: 12px;
  min-width: 0;
  padding: 1px 4px;
  width: auto;
  font-size: 11px;
  position: absolute;
  top: -10px;
  left: 100%;
}
.e-badge.e-badge-notification.e-badge-ghost {
  line-height: 1;
}
.e-badge.e-badge-circle {
  border-radius: calc(var(--e-radius) * 0.625);
  height: 16px;
  line-height: 12px;
  min-width: 0;
  padding: 2px 2px;
  width: 16px;
}
.e-badge.e-badge-circle.e-badge-ghost {
  line-height: 1;
  padding: 2px;
}
.e-badge.e-badge-overlap {
  position: absolute;
  top: -10px;
  transform: translateX(-50%);
}
.e-badge.e-badge-dot {
  border-radius: calc(var(--e-radius) * 0.625);
  height: 10px;
  line-height: 1;
  min-width: 0;
  padding: 0;
  width: 10px;
  box-shadow: none;
  margin: 0;
  overflow: visible;
  position: absolute;
  top: -3px;
  left: 100%;
}
.e-badge.e-badge-bottom.e-badge-dot {
  position: absolute;
  top: auto;
  bottom: 3px;
}
.e-badge.e-badge-bottom.e-badge-notification {
  position: absolute;
  top: auto;
  bottom: -3px;
}
button .e-badge {
  line-height: 0.9;
  position: relative;
  top: -2px;
}
button .e-badge.e-badge-circle {
  height: 18px;
  line-height: 1;
  width: 18px;
}
button .e-badge.e-badge-circle.e-badge-ghost {
  line-height: 1;
}
.e-badge.e-badge-primary:not(.e-badge-ghost):not([href]), .e-badge.e-badge-primary[href]:not(.e-badge-ghost) {
  background-color: rgba(var(--color-sf-primary));
  color: rgba(var(--color-sf-on-primary));
}
.e-badge.e-badge-secondary:not(.e-badge-ghost):not([href]), .e-badge.e-badge-secondary[href]:not(.e-badge-ghost) {
  background-color: rgba(var(--color-sf-primary-container));
  color: rgba(var(--color-sf-on-primary-container));
}
.e-badge.e-badge-success:not(.e-badge-ghost):not([href]), .e-badge.e-badge-success[href]:not(.e-badge-ghost) {
  background-color: rgba(var(--color-sf-success));
  color: rgba(var(--color-sf-success-text));
}
.e-badge.e-badge-danger:not(.e-badge-ghost):not([href]), .e-badge.e-badge-danger[href]:not(.e-badge-ghost) {
  background-color: rgba(var(--color-sf-error));
  color: rgba(var(--color-sf-warning-text));
}
.e-badge.e-badge-warning:not(.e-badge-ghost):not([href]), .e-badge.e-badge-warning[href]:not(.e-badge-ghost) {
  background-color: rgba(var(--color-sf-warning));
  color: rgba(var(--color-sf-warning-text));
}
.e-badge.e-badge-info:not(.e-badge-ghost):not([href]), .e-badge.e-badge-info[href]:not(.e-badge-ghost) {
  background-color: rgba(var(--color-sf-info));
  color: rgba(var(--color-sf-info-text));
}
.e-badge.e-badge-light:not(.e-badge-ghost):not([href]), .e-badge.e-badge-light[href]:not(.e-badge-ghost) {
  background: linear-gradient(0deg, rgba(var(--color-sf-primary), 0.08), rgba(var(--color-sf-primary), 0.08)), rgba(var(--color-sf-surface));
  color: rgba(var(--color-sf-on-surface));
}
.e-badge.e-badge-dark:not(.e-badge-ghost):not([href]), .e-badge.e-badge-dark[href]:not(.e-badge-ghost) {
  background-color: rgba(var(--color-sf-inverse-surface));
  color: rgba(var(--color-sf-inverse-on-surface));
}
.e-badge.e-badge-primary-subtle:not(.e-badge-ghost):not([href]), .e-badge.e-badge-primary-subtle[href]:not(.e-badge-ghost) {
  background-color: var(--color-sf-primary-container);
  color: var(--color-sf-primary);
}
.e-badge.e-badge-secondary-subtle:not(.e-badge-ghost):not([href]), .e-badge.e-badge-secondary-subtle[href]:not(.e-badge-ghost) {
  background: linear-gradient(0deg, rgba(var(--color-sf-primary), 0.05), rgba(var(--color-sf-primary), 0.05)), rgba(var(--color-sf-surface));
  color: var(--color-sf-on-surface);
}
.e-badge.e-badge-success-subtle:not(.e-badge-ghost):not([href]), .e-badge.e-badge-success-subtle[href]:not(.e-badge-ghost) {
  background-color: var(--color-sf-success-container);
  color: var(--color-sf-success);
}
.e-badge.e-badge-danger-subtle:not(.e-badge-ghost):not([href]), .e-badge.e-badge-danger-subtle[href]:not(.e-badge-ghost) {
  background-color: var(--color-sf-error-container);
  color: var(--color-sf-error);
}
.e-badge.e-badge-warning-subtle:not(.e-badge-ghost):not([href]), .e-badge.e-badge-warning-subtle[href]:not(.e-badge-ghost) {
  background-color: var(--color-sf-warning-container);
  color: var(--color-sf-warning);
}
.e-badge.e-badge-info-subtle:not(.e-badge-ghost):not([href]), .e-badge.e-badge-info-subtle[href]:not(.e-badge-ghost) {
  background-color: var(--color-sf-info-container);
  color: var(--color-sf-info);
}
.e-badge.e-badge-light-subtle:not(.e-badge-ghost):not([href]), .e-badge.e-badge-light-subtle[href]:not(.e-badge-ghost) {
  background: linear-gradient(0deg, rgba(var(--color-sf-primary), 0.08), rgba(var(--color-sf-primary), 0.08)), rgba(var(--color-sf-surface));
  color: var(--color-sf-on-surface);
}
.e-badge.e-badge-dark-subtle:not(.e-badge-ghost):not([href]), .e-badge.e-badge-dark-subtle[href]:not(.e-badge-ghost) {
  background-color: var(--color-sf-inverse-surface);
  color: var(--color-sf-inverse-on-surface);
}
.e-badge.e-badge-primary[href]:not(.e-badge-ghost):hover {
  text-decoration: underline;
}
.e-badge.e-badge-secondary[href]:not(.e-badge-ghost):hover {
  text-decoration: underline;
}
.e-badge.e-badge-success[href]:not(.e-badge-ghost):hover {
  text-decoration: underline;
}
.e-badge.e-badge-danger[href]:not(.e-badge-ghost):hover {
  text-decoration: underline;
}
.e-badge.e-badge-warning[href]:not(.e-badge-ghost):hover {
  text-decoration: underline;
}
.e-badge.e-badge-info[href]:not(.e-badge-ghost):hover {
  text-decoration: underline;
}
.e-badge.e-badge-light[href]:not(.e-badge-ghost):hover {
  text-decoration: underline;
}
.e-badge.e-badge-dark[href]:not(.e-badge-ghost):hover {
  text-decoration: underline;
}
.e-badge.e-badge-ghost.e-badge-primary {
  background-color: transparent;
  border: 1px solid rgba(var(--color-sf-primary));
  color: rgba(var(--color-sf-primary));
}
.e-badge.e-badge-ghost.e-badge-secondary {
  background-color: transparent;
  border: 1px solid rgba(var(--color-sf-on-primary-container));
  color: rgba(var(--color-sf-on-primary-container));
  border: 1px solid rgba(var(--color-sf-primary-container));
  color: rgba(var(--color-sf-primary-container));
}
.e-badge.e-badge-ghost.e-badge-success {
  background-color: transparent;
  border: 1px solid rgba(var(--color-sf-success));
  color: rgba(var(--color-sf-success));
}
.e-badge.e-badge-ghost.e-badge-danger {
  background-color: transparent;
  border: 1px solid rgba(var(--color-sf-error));
  color: rgba(var(--color-sf-error));
}
.e-badge.e-badge-ghost.e-badge-warning {
  background-color: transparent;
  border: 1px solid rgba(var(--color-sf-warning));
  color: rgba(var(--color-sf-warning));
}
.e-badge.e-badge-ghost.e-badge-info {
  background-color: transparent;
  border: 1px solid rgba(var(--color-sf-info));
  color: rgba(var(--color-sf-info));
}
.e-badge.e-badge-ghost.e-badge-light {
  background-color: transparent;
  border: 1px solid rgba(var(--color-sf-on-surface));
  color: rgba(var(--color-sf-on-surface));
  border: 1px solid linear-gradient(0deg, rgba(var(--color-sf-primary), 0.08), rgba(var(--color-sf-primary), 0.08)), rgba(var(--color-sf-surface));
  color: linear-gradient(0deg, rgba(var(--color-sf-primary), 0.08), rgba(var(--color-sf-primary), 0.08)), rgba(var(--color-sf-surface));
}
.e-badge.e-badge-ghost.e-badge-dark {
  background-color: transparent;
  border: 1px solid rgba(var(--color-sf-inverse-surface));
  color: rgba(var(--color-sf-inverse-surface));
}
.e-bigger .e-badge,
.e-badge.e-bigger {
  font-size: 12px;
  font-weight: 500;
  border-radius: calc(var(--e-radius) * 0.25);
  height: 16px;
  line-height: 12px;
  padding: 2px 3px;
}
.e-bigger .e-badge.e-badge-pill,
.e-badge.e-bigger.e-badge-pill {
  border-radius: calc(var(--e-radius) * 0.625);
  padding: 2px 4px;
}
.e-bigger .e-badge.e-badge-ghost,
.e-badge.e-bigger.e-badge-ghost {
  padding: 2px;
}
.e-bigger .e-badge.e-badge-ghost.e-badge-circle,
.e-badge.e-bigger.e-badge-ghost.e-badge-circle {
  padding: 2px;
}
.e-bigger .e-badge.e-badge-ghost.e-badge-notification,
.e-badge.e-bigger.e-badge-ghost.e-badge-notification {
  padding: 3px 10px;
}
.e-bigger .e-badge.e-badge-notification,
.e-badge.e-bigger.e-badge-notification {
  border-radius: calc(var(--e-radius) * 0.625);
  min-width: 0;
  padding: 2px 4px;
}
.e-bigger .e-badge.e-badge-circle,
.e-badge.e-bigger.e-badge-circle {
  border-radius: calc(var(--e-radius) * 0.625);
  min-width: 0;
  padding: 2px 3px;
  width: 22px;
}
.e-bigger .e-badge.e-badge-dot,
.e-badge.e-bigger.e-badge-dot {
  border-radius: calc(var(--e-radius) * 0.625);
  height: 12px;
  width: 12px;
}