/**
 * @prop --icon-background-color: Background color when attribute `badge` is set to `true`. Defaults to `transparent`.
 */
:host {
  background-color: var(--icon-background-color, transparent);
  border-radius: 50%;
  display: inline-block;
  line-height: 0;
  box-sizing: border-box;
}
:host svg {
  fill: currentColor;
  height: 100%;
  pointer-events: none;
  width: 100%;
}
:host div {
  margin: var(--limel-icon-svg-margin, 0);
}

:host([hidden]) {
  display: none;
}

:host([size=x-small]) {
  height: 1rem !important;
  width: 1rem !important;
}

:host([size=small]) {
  height: 1.25rem !important;
  width: 1.25rem !important;
}

:host([size=medium]) {
  height: 1.5rem !important;
  width: 1.5rem !important;
}

:host([size=large]) {
  height: 1.75rem !important;
  width: 1.75rem !important;
}

:host([badge][size=x-small]) {
  height: 1.5rem !important;
  width: 1.5rem !important;
  --limel-icon-svg-margin: 0.25rem;
}

:host([badge][size=small]) {
  height: 1.75rem !important;
  width: 1.75rem !important;
  --limel-icon-svg-margin: 0.25rem;
}

:host([badge][size=medium]) {
  height: 2.5rem !important;
  width: 2.5rem !important;
  --limel-icon-svg-margin: 0.5rem;
}

:host([badge][size=large]) {
  height: 2.75rem !important;
  width: 2.75rem !important;
  --limel-icon-svg-margin: 0.5rem;
}