#translate-zh-en {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#translate-zh-en .translate-zh-en__text {
  font-size: 0.92em;
  font-weight: 700;
  line-height: 1;
}

#translate-zh-en.is-translating {
  pointer-events: none;
  opacity: 0.6;
}

#translate-zh-en.is-translating::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: translate-spin 0.7s linear infinite;
}

@keyframes translate-spin {
  to {
    transform: rotate(360deg);
  }
}
