@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap");
body {
  font-family: "JetBrains Mono", monospace;
  overflow: hidden;
  overscroll-behavior-x: none;
}
.preloader {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  background: #eff3f7;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}
.preloader.active {
  opacity: 1;
  visibility: visible;
  z-index: 100000;
}
.preloader svg {
  width: 150px;
  height: 150px;
}
@keyframes flickerAnimation {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes flickerAnimation {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes flickerAnimation {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes flickerAnimation {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
.animate-flicker {
  -webkit-animation: flickerAnimation 1s infinite;
  -moz-animation: flickerAnimation 1s infinite;
  -o-animation: flickerAnimation 1s infinite;
  animation: flickerAnimation 1s infinite;
}
.amd-tags-item {
  margin: 0px 10px 10px 0px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  background-color: #eff3f7;
}
.amd-tags-item:hover {
  opacity: 0.7;
  color: #fff;
  background-color: #04AA6D;
}
.amd-tags-item-active {
  background-color: #04AA6D;
  color: #fff;
}
.amd-tags-item-active:hover {
  opacity: 1;
}
.amd-tags-item input {
  position: absolute;
  height: 0px;
  width: 0px;
}
.amd-container {
  display: flex;
}
.amd-sidebar {
  width: 270px;
  height: 100vh;
  background-color: #19191b;
  color: #fff;
}
.amd-sidebar-title {
  font-size: 14px;
  font-weight: 700;
  color: #a3a3a8;
  margin: 0px 0px 10px 0px;
}
.amd-sidebar-chat {
  padding: 15px;
}
.amd-sidebar-chats button {
  margin: 0px 0px 10px 0px;
  color: #fff;
  padding: 10px 5px;
  display: block;
  align-items: center;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 6px;
  font-size: 14px;
  overflow: hidden;
  background-color: transparent;
  border: none !important;
  transition: all 0.3s ease-in-out;
}
.amd-sidebar-chats button:last-child {
  margin: 0px;
}
.amd-sidebar-chats button svg {
  height: auto;
  width: 20px;
}
.amd-sidebar-chats button.charts-active, .amd-sidebar-chats button:hover {
  background-color: #303135;
  color: #fff;
}
.amd-sidebar-new {
  border-bottom: 1px #303135 solid;
  padding: 15px;
}
.amd-sidebar-header {
  border-bottom: 1px #303135 solid;
  padding: 15px;
  font-size: 22px;
  font-weight: 700;
}
.amd-sidebar-header svg {
  width: 35px;
  height: auto;
  margin: 0px 5px 0px 0px;
}
.amd-block {
  width: calc(100vw - 270px);
  align-items: center;
  display: flex;
  justify-content: center;
}
.amd-block-view {
  display: block;
}
.amd-state {
  margin: 0px 0px 15px 0px;
}
.amd-header-title {
  font-weight: 700;
  font-size: 42px;
  margin: 0px;
}
.amd-content {
  max-height: 900px;
  height: 100%;
  width: 100%;
  max-width: 800px;
  padding: 15px;
  height: calc(100vh);
  overflow: auto;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.amd-content-view {
  max-height: 100vh;
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}
.amd-content-types {
  display: flex;
  align-items: center;
}
.amd-content-types span {
  padding: 5px 15px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  margin: 0px 15px 0px 0px;
  transition: all 0.3s ease-in-out;
}
.amd-content-types span:last-child {
  margin: 0px;
}
.amd-content-types span.active {
  background-color: #eff3f7;
}
.amd-content-types span:hover {
  background-color: #eff3f7;
}
.amd-content-send {
  position: absolute;
  top: 0;
  right: 0;
}
.amd-content-send svg {
  width: 25px;
  height: auto;
  opacity: 0.4;
}
.amd-content-writebox {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
  background-color: #fff;
  border: 1px transparent solid;
  transition: all 0.3s ease-in-out;
}
.amd-content-writebox textarea {
  width: 100%;
  outline: none;
  border: none;
  padding: 0px 50px 0px 0px;
}
.amd-content-writebox:hover {
  border-color: #737477;
}
.amd-content-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0px 0px 10px 0px;
}
.amd-content-header {
  margin: 0px 0px 30px 0px;
}
.amd-content-settings {
  margin: 0px 0px 30px 0px;
}
.amd-content-text {
  margin: 0px 0px 10px 0px;
  position: relative;
}
.amd-negative {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
  background-color: #fff;
  border: 1px transparent solid;
  outline: none;
  transition: all 0.3s ease-in-out;
}
.amd-negative:hover {
  border-color: #737477;
}
.amd-btn-new {
  color: #fff;
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px #737477 solid;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
}
.amd-btn-new:hover {
  background-color: #303135;
  border-color: #303135;
  color: #fff;
}
.amd-btn-new svg {
  width: 15px;
  height: auto;
  margin: 0px 10px 0px 0px;
}
.mirror-text {
  white-space: pre-wrap;
  visibility: hidden;
  position: absolute;
  z-index: -1;
}
.auto-expand {
  min-height: 40px;
  height: auto;
  overflow: hidden;
  resize: none;
}
.msg-row {
  display: flex;
  margin: 0px 0px 30px 0px;
}
.msg-row:last-child {
  margin: 0px;
}
.msg-row-right {
  justify-content: end;
}
.msg-row-right .msg-content {
  border-top-left-radius: 0px;
  background-color: #7492e6;
}
.msg-row-left {
  justify-content: start;
}
.msg-row-left .msg-content {
  border-top-left-radius: 0px;
  background-color: #424242;
}
.msg-header {
  margin: 0px 0px 0px 0px;
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  background-color: #424242;
  border-radius: 6px;
  padding: 5px 10px;
  color: #fff;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
.msg-content {
  border-color: #737477;
  box-shadow: rgba(34, 60, 80, 0.2) 0px 0px 8px 0px;
  max-width: calc(100% - 200px);
  border-radius: 15px;
  padding: 15px;
  background-color: #e1e2e2;
  color: #fff;
}
.msg-tags span {
  margin: 10px 10px 0px 0px;
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  color: #000;
}
.msg-img {
  display: flex;
  flex-wrap: wrap;
}
.msg-img-preview {
  position: relative;
}
.msg-img-preview-2 {
  flex: 0 0 50%;
  max-width: 50%;
}
.msg-img-preview-3 {
  flex: 0 0 calc(100% / 3);
  max-width: calc(100% / 3);
}
.msg-img-preview:hover span {
  opacity: 1;
}
.msg-img-preview span {
  opacity: 0.4;
  position: absolute;
  top: 5px;
  left: 5px;
  background-color: #fff;
  padding: 5px 10px;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}
.msg-img-preview img {
  width: 100%;
}
.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  border-top: 4px solid #FFF;
  border-right: 4px solid transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loader::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border-left: 4px solid #2859d8;
  border-bottom: 4px solid transparent;
  animation: rotation 0.5s linear infinite reverse;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
