.section__action-buttons {
  position: relative;
}

.fixed__action-buttons {
  position: fixed;
  z-index: 10;
  bottom: 5rem;
  right: 5rem;
  width: 36rem;
  height: 10.2rem;
  display: flex;
  align-items: center;
  border: 1px solid #666666;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all .3s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.fixed__action-buttons.active {
  opacity: 1;
  visibility: visible;
}

.fixed__action-buttons.holding {
  position: absolute;
  bottom: auto;
  top: 11.5rem;
  right: 5rem;
  opacity: 1;
  transition: opacity 0.3s ease, top 0.3s ease;
}

.fixed__action-buttons .fixed__action-button {
  flex: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
}

.fixed__action-buttons .fixed__action-button+.fixed__action-button {
  border-left: 1px solid #666666;
}

.fixed__action-buttons .fixed__action-button h4 {
  font-size: 1.8rem;
  line-height: 2.2rem;
  letter-spacing: 0.05em;
  margin-bottom: .5rem;
}

.fixed__action-buttons .fixed__action-button p {
  font-size: 1.2rem;
  line-height: 1.4rem;
  letter-spacing: 0.05em;
}

.fixed__action-buttons .fixed__action-button.disabled {
  background: linear-gradient(94.28deg, rgba(217, 217, 217, 0.8) 0.24%, rgba(217, 217, 217, 0.6) 99.76%);
  cursor: not-allowed;
  pointer-events: none;
}
.fixed__action-buttons .fixed__action-button.active {
  background: linear-gradient(94.28deg, rgba(255, 213, 0, 0.8) 0.24%, rgba(255, 213, 1, 0.6) 99.76%);
}

.fixed__action-buttons .fixed__action-button.disabled h4,
.fixed__action-buttons .fixed__action-button.disabled p {
  opacity: 0.7;
}

@media screen and (max-width: 1023px) {
  .fixed__action-buttons {
    bottom: 2.2rem;
    right: 2.2rem;
    width: calc(100% - 4.4rem);
    height: 6rem;
  }

  .fixed__action-buttons.active {
    opacity: 1;
    visibility: visible;
  }

  .fixed__action-buttons.holding {
    top: 0;
    right: 2.2rem;
  }

  .fixed__action-buttons .fixed__action-button h4 {
    font-size: 1.3rem;
    line-height: 1.6rem;
    margin-bottom: .3rem;
  }

  .fixed__action-buttons .fixed__action-button p {
    font-size: 1rem;
    line-height: 1.2rem;
  }
}

.editor-styles-wrapper .fixed__action-buttons {
  position: relative;
  opacity: 1;
  visibility: visible;
  top: 0;
  left: auto;
  right: 0;
  margin-block: 3rem;
  margin-left: auto;
}