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

  &:hover {
    background: var(--zocks-grey-4);
    color: #fff;
  }

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

  &:has(.video-button--muted) {
    background: var(--zocks-error-dark);
  }

  > label {
    display: none;
  }
}

.video-button-container {
  display: flex;
  border-radius: 16px;
  height: 100%;

  .select-button__button-icon {
    &:before {
      font-size: 20px;
    }
  }

  &:has(.select-button__button-container) {
    background: var(--zocks-transparent-3);

    &:has(.video-button--muted) {
      background: rgba(105, 0, 25, 0.5);
    }

  }
}

.select-button__button {
  background: unset;
  border: none;
  cursor: pointer;
}

.select-button__button[disabled] {
  cursor: auto;
}

.select-button__button-icon {
  background: unset;
  width: unset;
  height: unset;
}

.select-button__button-container {
  button {
    width: 52px;
    height: 52px;
  }
}

.video-button--unmuted {
  &:before {
    font-family: zocksiconfont, serif;
    content: '\e808';
  }
}

.video-button--muted {
  &:before {
    font-family: zocksiconfont, serif;
    content: '\e807';
  }
}


.ring-spinner {
  display: inline-block;
  position: relative;
  width: 56px;
  height: 56px;
}
.ring-spinner div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 24px;
  height: 24px;
  margin: 16px;
  border: 3px solid;
  border-radius: 50%;
  animation: ring-spinner 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.ring-spinner div:nth-child(1) {
  animation-delay: -0.45s;
}
.ring-spinner div:nth-child(2) {
  animation-delay: -0.3s;
}
.ring-spinner div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes ring-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
