.stf__parent {
  position: relative;
  display: block;
  box-sizing: border-box;
  transform: translateZ(0);

  -ms-touch-action: pan-y;
  touch-action: pan-y;
}

.sft__wrapper {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.stf__parent canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.stf__block {
  position: absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  perspective: 2000px;
}

.stf__item {
  display: none;
  position: absolute;
  transform-style: preserve-3d;
}

.stf__outerShadow {
  position: absolute;
  left: 0;
  top: 0;
}

.stf__innerShadow {
  position: absolute;
  left: 0;
  top: 0;
}

.stf__hardShadow {
  position: absolute;
  left: 0;
  top: 0;
}

.stf__hardInnerShadow {
  position: absolute;
  left: 0;
  top: 0;
}

.flex {
  display: flex;
}

*,
:after,
:before {
  box-sizing: border-box;
  border: 0 solid #e5e7eb;
}

audio,
canvas,
embed,
iframe,
img,
object,
video {
  display: block;
  vertical-align: middle;
}

.component-selected,
.component-hovered,
.section-selected,
.section-hovered {
  position: relative;
}

.component-hovered::after {
  content: '';
  border: 1px solid #12bf0f;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}

.component-selected::after {
  content: '';
  border: 2px solid #12bf0f;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}

.section-hovered::after {
  content: '';
  border: 1px solid #7367f0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}

.section-selected::after {
  content: '';
  border: 2px solid #7367f0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}

.hidden-desktop,
.hidden-mobile {
  position: relative;
}

@media (max-width: 767px) {
  .hidden-mobile::after {
    pointer-events: none;
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: repeating-linear-gradient(
      125deg,
      rgba(0, 0, 0, 0.05),
      rgba(0, 0, 0, 0.05) 1px,
      transparent 2px,
      transparent 9px
    );
  }
}

@media (min-width: 768px) {
  .hidden-desktop::after {
    pointer-events: none;
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: repeating-linear-gradient(
      125deg,
      rgba(0, 0, 0, 0.05),
      rgba(0, 0, 0, 0.05) 1px,
      transparent 2px,
      transparent 9px
    );
  }
}

.behind::after {
  z-index: 1;
}

* {
  box-sizing: border-box;
}

::selection {
  background: #7367f0 !important;
  color: #fff !important;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
}

::-webkit-scrollbar {
  width: 8px;
  background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background-color: #b3b2b3;
  border-radius: 999px;
}

:root {
  --ck-spacing-large: 0 !important;
}

.ant-modal-root .ant-modal-wrap {
  z-index: 1050;
}

.ant-collapse-content-box {
  padding: 8px 12px !important;
}

.ant-collapse > .ant-collapse-item > .ant-collapse-header {
  padding: 8px 12px !important;
  font-size: 0.875rem;
  font-weight: 600;
}

.ant-collapse-content,
.ant-collapse-content,
.ant-collapse > .ant-collapse-item {
  border-top: unset !important;
}

.emoji-mart-anchor-icon {
  display: flex;
  justify-content: center;
}

.ant-input-number:focus,
.ant-input-number-focused,
.ant-select-selector,
.ant-input:focus,
.ant-input-focused {
  box-shadow: none !important;
}

.ant-form-item-label > label {
  font-size: 13px;
  font-weight: 500;
}

.ant-picker-dropdown {
  z-index: 2000 !important;
}

.ProseMirror {
  outline: none;
}

.ant-input-number:focus,
.ant-input-number-focused,
.ant-select-selector,
.ant-input:focus,
.ant-input-focused {
  box-shadow: none !important;
}

.lb-spin {
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-fill-mode: none;
  animation-play-state: running;
  animation-name: loadingCircle;
}

p {
  margin-bottom: 0 !important;
}

.anticon {
  display: inline-flex;
}

.anticon-spin {
  display: inline-block;
  -webkit-animation: loadingCircle 1s infinite linear;
  animation: loadingCircle 1s infinite linear;
}

@keyframes loadingCircle {
  to {
    transform: rotate(1turn);
  }
}
