.toolbar-container {
  user-select: none;
  display: flex;
  position: relative;
  height: 100vh;
  padding: 0;
  margin: 0;
  padding: 10px;
  background: #1c1d21;
  box-sizing: border-box;
}

.toolbar-wide-button {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
}

.toolbar-confirm-block {
  display: flex;
  gap: 8px;
}

.mobile-users-part-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
}

.toolbar-field {
  width: 100%;
  background: transparent;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.toolbar-field-part {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 10px;
}

.toolbar-button-caption {
  color: #c5c7ce;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  white-space: nowrap;
  position: relative;
}

.toolbar-button-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toolbar-button-container-border-line {
  width: 100%;
  height: 1px;
  background-color: #4f4f4f;
}

.toolbar-open-button {
  position: absolute;
  top: calc((100% - 128px) / 2);
  left: calc(100% - 7px);

  display: flex;
  justify-content: center;
  align-items: center;

  width: 32px;
  height: 128px;
  border: none;
  background: url("openToolbarBackIcon.svg") 50% 50% no-repeat;
  background-size: 100% 100%;

  /* background-color: #2F80ED; */

  cursor: pointer;
}

.toolbar-open-button-icon {
  width: 24px;
  height: 24px;
  background: url("pointerIcon.svg") 50% 50% no-repeat;
}

.toolbar-container.opened .toolbar-open-button-icon {
  background: url("closeToolbarIcon.svg") 50% 50% no-repeat;
}

.toolbar-button-area-container {
  position: relative;
}

.toolbar-button-area {
  cursor: pointer;
  align-items: center;
  position: relative;
  display: flex;
  gap: 8px;
  background-color: transparent;
  padding: 0;
}

.toolbar-button-area.hidden {
  visibility: hidden;
}

.user-button-admin {
  background: #2f80ed;
}

.user-button-you {
  background: #219653;
}

.user-button-default {
  background-color: #4f4f4f;
}

.user-button {
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50px;
  background-size: 100% 100%;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: #ffffff;
  font-weight: 400;
  font-size: 14px;
  justify-content: center;
  line-height: 17px;
  padding: 0px;
}

.toolbar-button {
  background: transparent;
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  cursor: pointer;
  color: #ffffff;
  font-weight: 400;
  font-size: 14px;
  justify-content: center;
  line-height: 17px;
  box-sizing: border-box;
  padding: 8px;
}

.toolbar-button-active {
  background: #567ece;
}


.toolbar-button_exit {
  background: transparent;
}

.language-caption {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

.toolbar-icon {
  width: 24px;
  height: 100%;
}

.empty__block {
  display: none;
}

.toolbar-disabled {
  position: absolute;
  width: 55%;
  left: 25%;
}

.toolbar-button:hover {
  opacity: 0.7;
}

.toolbar-open-add-button-container {
  position: absolute;
  left: -9px;
  top: -9px;
  display: flex;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 50px;
  background: #333333;
  border: 1px solid #4f4f4f;
  gap: 8px;
  z-index: 99;
}

.toolbar-open-add-button-container.show {
  visibility: visible;
}

.toolbar-button-add-buttons {
  background-color: #333333;
  position: absolute;
  top: 0;
  left: 100%;
  display: flex;
}

.toolbar-button-description-container {
  margin-left: 2px;
  opacity: 0;
  position: absolute;
  left: 126%;
  height: 24px;
  top: calc(50% - 12px);
  /* background-color: #27AE60; */
  transition: 0.3s;
  pointer-events: none;
  display: flex;
  align-items: center;
  /* width: auto; */
  box-sizing: content-box;
}


.toolbar-button-description-rectangle {
  /* display: inline-block; */
  white-space: nowrap;
  /* flex-shrink: 0; */
  background: #23242a;
  height: 24px;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  border-left: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px 0 8px;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
}

.toolbar-button-description-triangle {
  display: flex;
  width: 18px;
  height: 26px;
  background-color: #eb5757;
  background: url("icons/newCaptTriangleIcon.svg");
}

.user-control-popup {
  border-radius: 50px;
  width: 40px;
  height: 40px;
}

.toolbar-button.notification::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  background-color: #f2994a;
}

.toolbar-button.fullscreen.on {
  background: url("./icons/openFullscreenIcon.svg") 50% 50% no-repeat;
  background-color: #4f4f4f;
}

.toolbar-button.fullscreen {
  background: url("./icons/closeFullscreenIcon.svg") 50% 50% no-repeat;
  background-color: #4f4f4f;
}



.toolbar-button.admin {
  background-color: #2f80ed;
}

.toolbar-button.self {
  background-color: #27ae60;
}

.toolbar-button.guest {
  background-color: #9b51e0;
}

.toolbar-button.users {
  background: url("./icons/usersIcon.svg") 50% 50% no-repeat;
  background-color: #4f4f4f;
}

.toolbar-button.micro {
  background: url("./icons/microOffIcon.svg") 50% 50% no-repeat;
  background-color: #4f4f4f;
}

.toolbar-button.micro.on {
  background: url("./icons/microOnIcon.svg") 50% 50% no-repeat;
  background-color: #4f4f4f;
}

.toolbar-button.control {
  background: url("./icons/constrolOffIcon.svg") 50% 50% no-repeat;
  background-color: #4f4f4f;
}

.toolbar-button.control.on {
  background: url("./icons/constrolOnIcon.svg") 50% 50% no-repeat;
  background-color: #4f4f4f;
}

.toolbar-button.other {
  background: url("./icons/othertIcon.svg") 50% 50% no-repeat;
  background-color: #4f4f4f;
}

.toolbar-button.sound {
  background: url("./icons/soundOffIcon.svg") 50% 50% no-repeat;
  background-color: #4f4f4f;
}

.toolbar-button.sound.on {
  background: url("./icons/soundOnIcon.svg") 50% 50% no-repeat;
  background-color: #4f4f4f;
}

.toolbar-button.exit {
  background: url("./icons/exitIcon.svg") 50% 50% no-repeat;
  background-color: #eb5757;
}

.toolbar-button.copy {
  background: url("./icons/copyIcon.svg") 50% 50% no-repeat;
  background-color: #4f4f4f;
}

.toolbar-button.share {
  background: url("./icons/shareIcon.svg") 50% 50% no-repeat;
  background-color: #4f4f4f;
}

.toolbar-button.language {
  background-color: #4f4f4f;
}

.toolbar-button.language.ru {
  background: url("./icons/ruIcon.svg") 50% 50% no-repeat;
  background-color: #4f4f4f;
}

.toolbar-button.language.en {
  background: url("./icons/enIcon.svg") 50% 50% no-repeat;
  background-color: #4f4f4f;
}

.toolbar-language-popup {
  position: absolute;
  left: -9px;
  top: -9px;
  display: flex;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 50px;
  background: #333333;
  border: 1px solid #4f4f4f;
  gap: 8px;
  z-index: 99;
}

.toolbar-button.selected.selected {
  background-color: #ce56c2;
}

.toolbar-button.large,
.toolbar-button.control.large {
  width: 196px;
  background-image: none;
}

.toolbar-button.medium {
  width: 94px;
  background-image: none;
}

.toolbar-button-large-view,
.toolbar-button-medium-view {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
}

.toolbar-notification {
  position: absolute;
  width: 12px;
  height: 12px;
  left: 28px;
  top: 0px;
  background: #f2994a;
  border-radius: 50%;
}

.toolbar-button.large.control .toolbar-button-large-view-icon {
  width: 24px;
  height: 24px;
  background: url("icons/constrolOffIcon.svg") 50% 50% no-repeat;
  background-size: 100% 100%;
}

.toolbar-button.large.control.on .toolbar-button-large-view-icon {
  width: 24px;
  height: 24px;
  background: url("icons/constrolOnIcon.svg") 50% 50% no-repeat;
  background-size: 100% 100%;
}

.toolbar-button-large-view-title,
.toolbar-button-medium-view-title {
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  color: #ffffff;
}

.toolbar-button.yes {
  padding-left: 24.5px;
}

.toolbar-button.yes .toolbar-button-medium-view {
  width: 100%;
  justify-content: flex-start;
}

.toolbar-button.no {
  padding-left: 16px;
}

.toolbar-button.no .toolbar-button-medium-view {
  width: 100%;
  justify-content: flex-start;
}

.toolbar-button.yes .toolbar-button-medium-view-icon {
  width: 24px;
  height: 24px;
  background: url("icons/constrolOnIcon.svg") 50% 50% no-repeat;
  background-size: 100% 100%;
}

.toolbar-button.yes {
  background-color: #219653;
}

.toolbar-button.yes:hover {
  opacity: 1;
  background-color: #2ac06a;
}

.toolbar-button.no .toolbar-button-medium-view-icon {
  width: 24px;
  height: 24px;
  background: url("icons/constrolOffIcon.svg") 50% 50% no-repeat;
  background-size: 100% 100%;
}

.toolbar-button.no {
  background-color: #eb5757;
}

.toolbar-button.no:hover {
  opacity: 1;
  background-color: #f08484;
}

.control-button {
  box-sizing: border-box;
  display: flex;
  width: 196px;
  height: 40px;
  border-radius: 50px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: #4f4f4f;
  color: #ffffff;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  cursor: pointer;
  user-select: none;
  border: none;
}

.control-button.waiting {
  background: #f2994a;
}

.control-button:hover {
  opacity: 0.7;
}

.control-button-icon {
  width: 24px;
  height: 24px;
}

.show-toolbar-enter {
  transform: translateX(-60px);
}

.show-toolbar-enter-done {
  transform: translateX(0px);
}

.show-toolbar-enter-active {
  transform: translateX(0px);
  transition: 0.3s;
}

.show-toolbar-exit {
  transform: translateX(0);
}

.show-toolbar-exit-active {
  transform: translateX(-60px);
  transition: 0.3s;
}

.show-toolbar-exit-done {
  transform: translateX(-60px);
}

.show-add-buttons-enter {
  opacity: 0;
}

.show-add-buttons-enter-active {
  opacity: 1;
  transition: 0.3s;
}

.show-add-buttons-exit {
  opacity: 1;
}

.show-add-buttons-exit-active {
  opacity: 0;
  transition: 0.3s;
}

@media screen and (max-height: 700px) {
  .toolbar-field {}


  .toolbar-button:hover {
    opacity: 1;
  }

  .toolbar-button:active {
    opacity: 0.7;
  }

  .control-button {
    height: 44px;
  }

  .show-toolbar-enter {
    transform: translateX(-60px);
  }

  .show-toolbar-enter-done {
    transform: translateX(0px);
  }

  .show-toolbar-enter-active {
    transform: translateX(0px);
    transition: 0.3s;
  }

  .show-toolbar-exit {
    transform: translateX(0);
  }

  .show-toolbar-exit-active {
    transform: translateX(-60px);
    transition: 0.3s;
  }

  .show-toolbar-exit-done {
    transform: translateX(-60px);
  }

  .show-toolbar-enter .toolbar-field {
    opacity: 0;
    pointer-events: none;
  }

  .show-toolbar-enter-done .toolbar-field {
    pointer-events: all;
    opacity: 1;
  }

  .show-toolbar-enter-active .toolbar-field {
    opacity: 1;
    pointer-events: all;
    transition: 0.3s;
  }

  .show-toolbar-exit-active .toolbar-field {
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
  }

  .show-toolbar-exit-done .toolbar-field {
    opacity: 0;
    pointer-events: none;
  }
}