.base {
  width: auto;
  border-radius: 2px;
  cursor: pointer;
  color: #fff;
  font-family: regular;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: 300ms;
  position: relative;
  padding: 0 15px;
}
.base:after {
  content: "";
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1s infinite;
  display: none;
}
.hovered {
  composes: base;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.5);
  }
  100% {
    transform: scale(1);
  }
}
.disabled {
  composes: base;
  opacity: 0.5;
  pointer-events: none;
}
.loading.base:after {
  display: block;
}
.loading span {
  display: none;
}
.loading {
  composes: base;
  pointer-events: none;
}

.iconWrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  position: relative;
}
.iconHolder {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
  transition: 300ms;
}

.icon {
  composes: iconHolder;
  opacity: 1;
}

.iconHovered {
  composes: iconHolder;
  opacity: 0;
}
