
.wt-button {
  position: relative;
}
.p-button--with-badge {
  overflow: visible;
}
.wt-button__contents {
  display: contents;
}

/*
	@author HlukhovYe
	Hides the icon instantly when the loader is shown.
*/
.wt-button__icon--hidden {
  opacity: 0;
}

/*
	Theme sets svg fill by button color; let the explicit iconColor
	(set on .wt-icon) win. Disabled state keeps theme color.
*/
.p-button:not(:disabled) .wt-button__icon--custom-color svg {
  fill: inherit !important;
}
.wt-badge.wt-badge--absolute {
  position: absolute;
  top: 0;
  right: 0;
}
