.cp__footer {
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 10px 20px;
  background-color: var(--ls-primary-background-color);
  z-index: 10;
  display: flex;
  flex: 0 0 auto;
  white-space: nowrap;
  height: 80px;
  align-items: flex-start;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);

  .bottom-action {
    width: 23px;
    height: 23px;
  }

  .ti, .timer {
    color: var(--ls-primary-text-color);
  }

  .timer {
    position: absolute;
    left: 40px;
  }
}

.action-bar {
  position: fixed;
  bottom: 100px;
  height: 70px;
  padding: 6px;
  border-radius: 10px;
  background-color: var(--ls-secondary-background-color);
  overflow-x: overlay;
  overflow-y: hidden;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 1px 0px, rgba(27, 31, 35, 0.10) 0px 0px 0px 1px;
  z-index: 100;

  .action-bar-commands {
    position: relative;
    display: flex;
    justify-content: space-around;
    width: 120%;


    .ti, .tie {
      color: var(--ls-primary-text-color);
      font-size: 23px;
      opacity: 50%;
    }

    .description {
      color: var(--ls-primary-text-color);
      font-size: 13px;
      opacity: 60%;
    }

    button {
      padding: 5px 10px
    }
  }
}

#mobile-editor-toolbar {
  position: fixed;
  bottom: 0;
  transition: bottom 260ms;
  transition-timing-function: ease-out;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: space-between;

  button {
    @apply flex items-center py-2 px-2;
  }

  .submenu {
    @apply fixed left-0 bottom-0 w-full flex-row justify-evenly items-center z-10 bg-base-2;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
    overflow-x: overlay;
    overflow-y: hidden;
    height: 40px;
    display: none;

    &.show-submenu {
      display: flex;
    }
  }

  .toolbar-commands {
    justify-content: space-between;
    display: flex;
    align-items: center;
    overflow-x: overlay;
    overflow-y: hidden;
    overflow-scrolling: touch;
    width: 95%;

    &::-webkit-scrollbar {
      height: 4px;
    }
  }

  .toolbar-hide-keyboard {
    border-left: 1px solid;
    border-color: var(--ls-quaternary-background-color);
  }
}

html.is-native-ipad {
  .cp__footer {
    height: 55px;
    right: 0;
    box-shadow: none;
    flex: 1;
    index: 0;
  }

  .action-bar {
    width: 70%;
    min-width: 550px;

    .action-bar-commands {
      width: 100%;
    }

    @media (orientation: landscape) {
      width: 50%;
    }
  }
}

html.is-native-iphone {

  .action-bar {
    left: 3%;
    right: 3%;
  }

  @media (orientation: landscape) {
    .cp__footer {
      height: 45px;
    }

    .action-bar {
      bottom: 50px;
      left: 15%;
      right: 15%;
      width: 70%;
      min-width: 450px;

      .action-bar-commands {
        width: 100%;
      }
    }
  }
}

html.is-native-iphone-without-notch,
html.is-native-android {
  .cp__footer {
    height: 45px;
  }

  .action-bar {
    left: 5%;
    right: 5%;
  }

  @media (orientation: landscape) {

    .action-bar {
      bottom: 50px;
      left: 15%;
      right: 15%;
      width: 70%;

      .action-bar-commands {
        width: 100%;
      }
    }
  }

  .cp__sidebar-left-layout {
    bottom: 0;
  }
}

html.is-zoomed-native-ios {
  .cp__footer {
    height: 70px;
  }

  @media (orientation: landscape) {
    .cp__footer {
      height: 50px;
    }
  }
}

.cp__graph-picker {
  button.toggle-item {
    opacity: .5;
    background: transparent !important;
    -webkit-tap-highlight-color: transparent;

    &:hover {
      color: inherit;
      opacity: .5;
    }

    &.is-on {
      @apply opacity-100;
    }
  }
}
