.recording-button {
  border: none;
  border-radius: 12px;
  width: 56px;
  height: 56px;
  background-color: var(--zocks-grey-1);
  display: inline-flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  cursor: pointer;

  &:disabled {
    cursor: not-allowed;
    background-color: var(--zocks-grey-3);
  }

  &:before {
    position: absolute;
    filter: blur(5px);
    font-family: zocksiconfont, serif;
    content: '';
    backdrop-filter: blur(10px);
    background-color: var(--zocks-error-dark);
    width: 24px;
    height: 24px;
    border-radius: 50%;
  }

  &:after {
    position: absolute;
    font-family: zocksiconfont, serif;
    content: '';
    backdrop-filter: blur(10px);
    background-color: var(--zocks-error-dark);
    width: 18px;
    height: 18px;
    border-radius: 50%;
  }


  > label {
    display: none;
  }
}

.recording-button--start {
  &:not(:disabled) {
    &:hover {
      background: var(--zocks-grey-4);
      color: #fff;
    }

    &:active {
      background: var(--zocks-grey-3);
    }
  }
}

.recording-button--stop {
  &:not(:disabled) {
    &:hover {
      background: var(--zocks-grey-4);
      color: #fff;
    }

    &:active {
      background: var(--zocks-grey-3);
    }
  }


  &:after {
    font-family: zocksiconfont, serif;
    content: '';
    background-color: var(--zocks-error-medium);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    animation: ease pulse 3s infinite;
  }
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
