.notificationIcon {
  background-image: url(/icon-w.svg);
  height: 300px;
  width: 300px;
  background-size: 70%;
  margin-left: auto;
  margin-right: auto;
  background-position: center;
  background-repeat: no-repeat;
}

@keyframes glow {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes popup {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes popdown {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}
@keyframes check-anim {
  0% {
    background-image: url(img/check1.svg);
    transform: rotateY(0deg);
  }
  50% {
    background-image: url(img/check-seen.svg);
    transform: rotateY(90deg);
  }
  100% {
    background-image: url(img/check-seen.svg);
    transform: rotateY(0deg);
  }
}
* {
  box-sizing: border-box;
  overscroll-behavior: none;
}

body {
  font-family: "Segoe UI", arial;
  margin: 0;
  overflow: hidden;
  height: var(--app-height);
  overscroll-behavior: none;
}

.i {
  width: 1em;
  height: 1em;
  display: inline-block;
}

.i svg {
  width: 100%;
  height: 100%;
}

.chatHeader {
  background-color: #6830c2;
  font-size: 1.5rem;
  margin: 0;
  color: white;
  padding: 0.5rem;
  height: 4rem;
  display: flex;
  justify-content: space-between;
}
.chatHeader #chatBack {
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  font-size: 24px;
  mask-image: url(img/arrow.svg);
  mask-size: contain;
  mask-position: center;
  background-color: #fff;
}
.chatHeader #chatMenuShowBtn {
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  mask-image: url(img/dots.svg);
  mask-size: contain;
  mask-position: center;
  background-color: #fff;
}
.chatHeader .chatHeader_avatar {
  height: 3rem;
  width: 3rem;
}
.chatHeader .chatHeader_avatar canvas {
  width: 100%;
  height: 100%;
}
.chatHeader .chatHeader_titleWrapper {
  flex-grow: 1;
  padding-left: 10px;
}
.chatHeader .chatHeader_titleWrapper #statusBar {
  font-size: 1rem;
  line-height: 0.5rem;
  display: flex;
  z-index: 1;
  position: relative;
  text-align: center;
  flex-direction: row;
  justify-content: center;
}
.chatHeader .chatHeader_titleWrapper #statusBar #statusIcon {
  display: none;
  width: 0;
  height: 0;
  border-radius: 5px;
  border-width: 5px;
  border-style: solid;
  border-color: gray;
  margin-right: 5px;
  margin-top: 2px;
  transition: 1s;
}
.chatHeader .chatHeader_titleWrapper #statusBar #statusIcon.connecting {
  border-color: yellow;
}
.chatHeader .chatHeader_titleWrapper #statusBar #statusIcon.connected {
  border-color: lime;
}

h3 {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 30px;
  margin: 0;
  font-size: 2rem;
}

p {
  margin: 0;
}

.radio {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  padding: 5px 7px 10px;
}
.radio input[type=radio] {
  display: none;
}
.radio input[type=radio] + span {
  border-radius: 6px;
  padding: 0px 8px 4px;
}
.radio input[type=radio]:checked + span {
  background-color: #fff;
  color: #6830c2;
}

#more-methods {
  display: none;
}

.arr {
  transform: rotate(90deg) translate(2px);
  display: inline-block;
}

#chat {
  background-image: url(img/chat-bg.jpg);
  background-size: 570px;
  /*height: 100dvh;*/
  height: var(--app-height);
  /*transform: translateY(var(--keyboard-offset));*/
  display: flex;
  flex-direction: column;
}

.upper-div {
  /*	position: absolute;
  	top: 0;
  	left: 0;
  	right: 0;
  	bottom: 0;
  	overflow: hidden;*/
  display: flex;
  flex-direction: column;
  height: var(--app-height);
  transform: translateY(var(--keyboard-offset));
}

.window {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 0;
  /*bottom: 0;*/
  left: 0;
  right: 0;
  width: 100%;
  /*height: 100%;*/
  height: var(--app-height);
}
.window.showing {
  display: block !important;
  animation: popup 0.2s ease-in-out;
  /*transition: 0.2s;*/
}
.window.showing.flex {
  display: flex !important;
}
.window.showing.hiding {
  opacity: 0;
  transform: scale(0.8);
  /*			animation: popdown 0.2s ease-in-out;*/
}
.window .closeWindowBtn {
  mask-image: url(img/plus.svg);
  mask-size: 2rem;
  mask-position: center;
  background-color: #FFF;
  mask-repeat: no-repeat;
  position: absolute;
  transform: rotate(45deg);
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  z-index: 2;
}
.window .closeWindowBtn::after {
  /*content: '+';*/
  font-weight: bold;
  transform: rotate(45deg);
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  color: #fff;
  font-size: 2rem;
}
.window .downloadImageBtn {
  mask-image: url(img/download.svg);
  mask-size: 2.5rem;
  mask-position: center;
  background-color: #FFF;
  mask-repeat: no-repeat;
  position: absolute;
  top: 10px;
  left: 10px;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  z-index: 2;
}
.window input[type=text] {
  border: none;
  font-size: 14px;
  border-radius: 6px;
  font-size: inherit;
  padding: 5px 10px;
}
.window button {
  background-color: #fff;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  color: #6830c2;
  width: 250px;
  margin-bottom: 10px;
}

.message {
  text-align: center;
}
.message p {
  font-size: 1.5rem;
  padding-bottom: 20px;
}

.regAvatarHolder {
  display: flex;
  align-items: end;
  justify-content: center;
}
.regAvatarHolder .regAvatar {
  background-color: #fff;
  width: 110px;
  height: 110px;
  padding: 5px;
  user-select: none;
}
.regAvatarHolder .regAvatar div {
  width: 100px;
  height: 100px;
}
.regAvatarHolder .regAvatar div canvas {
  width: 100%;
  height: 100%;
}

#console {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  background: #222;
  color: #0f0;
  padding: 10px;
  font-family: monospace;
  height: 200px;
  overflow: auto;
  opacity: 0.4;
  pointer-events: none;
  display: none;
}

.menu {
  display: none;
  position: absolute;
  color: #000;
  z-index: 2;
  background-color: #fff;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
  border-radius: 0.3rem;
  overflow: hidden;
}
.menu.open {
  display: block;
}
.menu .menuItem {
  padding: 8px 15px;
  cursor: pointer;
  font-size: 1.5rem;
  color: #555;
  display: flex;
  gap: 0.5rem;
}
.menu .menuItem:hover {
  background-color: #ddd;
}
.menu .menuItem .menuicon {
  display: inline-block;
  mask-size: 2.2rem;
  mask-position: center;
  background-color: #555;
  mask-repeat: no-repeat;
  width: 2rem;
  height: 2rem;
}
.menu .menuItem .menuicon.file {
  mask-image: url(img/file.svg);
}
.menu .menuItem .menuicon.image {
  mask-image: url(img/image.svg);
}
.menu .menuItem.selected {
  font-weight: bold;
}

#chatMenu {
  right: 0;
  top: 4rem;
}

#ttlMenu {
  right: 0;
  top: 4rem;
}

#fileMenu {
  right: 0;
  bottom: 3rem;
}

#initWindow {
  /*background-color: $mainColor;*/
  /*background-image: radial-gradient(circle,rgba(104, 48, 194, 1) 0%, rgba(158, 57, 184, 1) 100%);*/
  color: #fff;
}
#initWindow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgb(104, 48, 194) 0%, rgb(158, 57, 184) 100%);
}
#initWindow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgb(158, 57, 184) 0%, rgb(104, 48, 194) 100%);
  /*background: radial-gradient(circle at center, rgba(158, 57, 184, 1), rgba(104, 48, 194, 1));*/
  animation: glow 2s ease-in-out infinite alternate;
  opacity: 0;
}

#addChat-btn {
  font-size: 2rem;
  font-weight: bold;
  /*position: absolute;*/
  /*right: 10px;*/
  /*top: 10px;*/
  border-radius: 50%;
  color: #6830c2;
  background-color: #fff;
  width: 2rem;
  height: 2rem;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
  text-align: center;
  line-height: 22px;
  cursor: pointer;
  mask-image: url(img/plus.svg);
  mask-size: 2rem;
  mask-position: center;
  background-color: #FFF;
  mask-repeat: no-repeat;
}

#notificationWindow, #reconWindow {
  /*background-color: $mainColor;*/
  /*background-image: radial-gradient(circle,rgba(104, 48, 194, 1) 0%, rgba(158, 57, 184, 1) 100%);*/
  color: #fff;
  z-index: 2;
}
#notificationWindow::before, #reconWindow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgb(104, 48, 194) 0%, rgb(158, 57, 184) 100%);
}
#notificationWindow::after, #reconWindow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgb(158, 57, 184) 0%, rgb(104, 48, 194) 100%);
  /*background: radial-gradient(circle at center, rgba(158, 57, 184, 1), rgba(104, 48, 194, 1));*/
  animation: glow 2s ease-in-out infinite alternate;
  opacity: 0;
}
#notificationWindow a, #reconWindow a {
  color: inherit;
}

#newChatWindow {
  /*background-color: $mainColor;*/
  /*background-image: radial-gradient(circle,rgba(104, 48, 194, 1) 0%, rgba(158, 57, 184, 1) 100%);*/
  color: #fff;
  z-index: 2;
}
#newChatWindow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgb(104, 48, 194) 0%, rgb(158, 57, 184) 100%);
}
#newChatWindow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgb(158, 57, 184) 0%, rgb(104, 48, 194) 100%);
  /*background: radial-gradient(circle at center, rgba(158, 57, 184, 1), rgba(104, 48, 194, 1));*/
  animation: glow 2s ease-in-out infinite alternate;
  opacity: 0;
}
#newChatWindow input[type=tel] {
  height: 40px;
  width: 40px;
  font-family: inherit;
  text-align: center;
  font-size: 1.5rem;
  border-radius: 6px;
  border: none;
}
#newChatWindow .mycode input {
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
}

.slider {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.slider .slider-dots {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.slider .slider-dots div {
  border-color: #fff;
  border-style: solid;
  border-width: 5px;
  border-radius: 10px;
  margin-right: 10px;
  transition: 0.3s;
  transition-timing-function: ease-in-out;
  width: 10px;
  box-sizing: border-box;
}
.slider .slider-dots div.active {
  width: 40px;
}

#peers {
  flex-flow: 1;
}
#peers .peer {
  height: 4rem;
  width: 100%;
  display: flex;
  cursor: pointer;
  position: relative;
  border-bottom: 1px solid #eee;
}
#peers .peer div {
  /*border: 1px solid red;*/
}
#peers .peer .name-time {
  display: flex;
  justify-content: space-between;
}
#peers .peer .avatar {
  margin: 0.5rem;
  width: 3rem;
  height: 3rem;
  color: #fff;
  position: relative;
}
#peers .peer .avatar canvas {
  width: 100%;
  height: 100%;
}
#peers .peer .unread {
  position: absolute;
  background-color: #6830c2;
  right: 0.5rem;
  bottom: 0.5rem;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  text-align: center;
  color: #fff;
  opacity: 1;
  transition: 0.3s;
}
#peers .peer .unread.hidden {
  opacity: 0;
  pointer-events: none;
}
#peers .peer .title {
  flex-grow: 1;
  padding-left: 0.5rem;
}
#peers .peer .title .name {
  font-size: 1.2rem;
}
#peers .peer .title .time {
  font-size: 0.8rem;
  margin-top: 0.2rem;
  margin-right: 0.5rem;
}
#peers .peer .title .last-msg {
  font-size: 1rem;
  color: #333;
  margin-top: 0.5rem;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  max-width: 70vw;
}

#messages {
  /*background-color: #feffff;*/
  /*background-image: url(img/chat-bg.jpg);*/
  background-size: 570px;
  flex-grow: 1;
  overflow-y: auto;
  scroll-behavior: smooth;
  position: relative;
  min-height: 0;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  padding-bottom: 4rem;
}

#messages > :first-child {
  margin-top: auto;
}

#form {
  background-color: #fff;
  height: 3rem;
  max-height: 3rem;
  display: flex;
  /*border-top: 1px solid #ddd;*/
  /*position: absolure;*/
  /*bottom:0;*/
  border-radius: 2rem;
  margin: 0 0.5rem 0.5rem;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
#form #textInput {
  flex-grow: 1;
  border-radius: 2rem;
  overflow: hidden;
}
#form #textInput textarea {
  border: none;
  width: 100%;
  height: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  resize: none;
  padding-left: 14px;
  padding-top: 9px;
}
#form #textInput textarea:focus {
  outline: none;
}
#form .button {
  width: 3rem;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 5px;
  margin-left: 5px;
  cursor: pointer;
}
#form #attachButton {
  mask-image: url(img/attach.svg);
  mask-size: 2.2rem;
  mask-position: center;
  background-color: #cccccc;
  mask-repeat: no-repeat;
}
#form #sendMsgButton {
  background-image: url(img/send.svg);
  background-size: 32px;
}

input {
  font-family: inherit;
}

div {
  box-sizing: border-box;
}

#imageWindow {
  justify-content: center;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.6823529412);
  z-index: 2;
  overflow: hidden;
}

#imageWindowImage {
  /*transform-origin: 100px 100px;*/
  will-change: transform;
  user-select: none;
}

.chat-msg {
  display: flex;
}
.chat-msg .msg-infoShade {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.7);
  bottom: 0;
  height: 1.2rem;
  width: 4rem;
  border-top-left-radius: 1.5rem;
  right: 0;
}
.chat-msg.dir-in {
  flex-direction: row;
}
.chat-msg.dir-in .msg-baloon {
  background-color: #fff;
}
.chat-msg.dir-in .msg-baloon::after {
  left: -8px;
}
.chat-msg.dir-in .msg-baloon .msg-infoShade {
  width: 3.3rem;
}
.chat-msg.dir-out {
  flex-direction: row-reverse;
}
.chat-msg.dir-out .msg-baloon {
  background-color: #CFC;
}
.chat-msg.dir-out .msg-baloon .msg-text {
  margin-right: 3rem;
}
.chat-msg.dir-out .msg-baloon .msg-date {
  right: 1.8rem;
}
.chat-msg.dir-out .msg-baloon .msg-check {
  position: absolute;
  right: 10px;
  bottom: 4px;
  width: 16px;
  height: 11px;
  background-image: url(img/check1.svg);
  transition: 0.5s;
}
.chat-msg.dir-out .msg-baloon::after {
  border-bottom-color: #CFC;
  right: -8px;
}
.chat-msg .msg-avatar {
  height: 3rem;
  width: 3rem;
  border-radius: 1.5rem;
  border: 2px solid #ccc;
}
.chat-msg .msg-fileIcon {
  height: 3rem;
  width: 3rem;
  background-color: #ddd;
  border-radius: 50%;
  float: left;
  margin-right: 0.5rem;
}
.chat-msg .msg-imageThumb img {
  max-height: 25rem;
  max-width: 25rem;
  display: block;
  object-fit: cover;
  object-position: center;
  width: 100%;
}
.chat-msg .msg-baloon {
  background-color: #fff;
  border-radius: 1.5rem;
  margin-bottom: 0.2rem;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 4px;
  padding-bottom: 4px;
  margin-left: 10px;
  margin-right: 10px;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
  position: relative;
  transition: 1s;
  max-width: 75%;
  display: flex;
  position: relative;
}
.chat-msg .msg-baloon:link {
  text-decoration: none;
  color: inherit;
}
.chat-msg .msg-baloon .msg-text {
  line-height: 1.1rem;
  padding: 0.3rem;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin-right: 3rem;
}
.chat-msg .msg-baloon .msg-text::after {
  content: "";
  display: inline-block;
  width: 3rem;
  height: 10px;
}
.chat-msg .msg-baloon .msg-date {
  font-size: 0.75rem;
  text-align: right;
  position: absolute;
  bottom: 2px;
  right: 14px;
}
.chat-msg .msg-baloon.msg-file {
  cursor: pointer;
  min-width: 11rem;
}
.chat-msg .msg-baloon.msg-file .msg-text {
  white-space: nowrap;
}
.chat-msg .msg-baloon.msg-image {
  overflow: hidden;
  padding-left: 0;
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  cursor: pointer;
}
.chat-msg .msg-baloon::after {
  display: none;
  position: absolute;
  width: 0px;
  height: 0px;
  bottom: 0;
  z-index: 0;
  content: " ";
  border-bottom: 10px solid #fff;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  transition: 1s;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
}

.chat-msg.dir-out.seen .msg-baloon .msg-check {
  animation: check-anim 0.5s;
  background-image: url(img/check-seen.svg);
}

.dir-in + .dir-in .msg-avatar, .dir-out + .dir-out .msg-avatar {
  visibility: hidden;
}

.dir-in + .dir-in .msg-avatar, .dir-out + .dir-out .msg-avatar {
  visibility: hidden;
}

/*.dir-in + .dir-in .msg-baloon:after, .dir-out + .dir-out .msg-baloon:after {
	display: none;
}*/
.dir-out .msg-baloon {
  border-bottom-right-radius: 1rem;
}

.dir-out + .dir-out .msg-baloon {
  border-top-right-radius: 1rem;
}

/*.dir-out + .dir-out .msg-baloon:after{*/
.dir-out:not(:has(+ .dir-out)) .msg-baloon:after {
  display: block;
  border-bottom-color: #CFC;
  /*border-top-right-radius: 10rem;*/
}

.dir-out + .dir-out:has(+ .dir-out) .msg-baloon {
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
}
.dir-out + .dir-out:has(+ .dir-out) .msg-baloon:after {
  display: none;
}

.dir-in .msg-baloon {
  border-bottom-left-radius: 1rem;
}

.dir-in + .dir-in .msg-baloon {
  border-top-left-radius: 1rem;
}

/*.dir-in + .dir-in .msg-baloon:after{*/
.dir-in:not(:has(+ .dir-in)) .msg-baloon:after {
  display: block;
  border-bottom-color: #fff;
  /*border-top-left-radius: 10rem;*/
}

.dir-in + .dir-in:has(+ .dir-in) .msg-baloon {
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}
.dir-in + .dir-in:has(+ .dir-in) .msg-baloon:after {
  display: none;
}

.date-stick, .msg-system {
  display: flex;
  justify-content: center;
  top: 5px;
  z-index: 1;
  padding-bottom: 5px;
}
.date-stick div, .msg-system div {
  background-color: #aaa;
  color: #fff;
  border-radius: 5rem;
  padding: 3px 7px;
  font-size: 0.8rem;
}

.date-stick {
  position: sticky;
}

#downBtn {
  background-color: #fff;
  position: absolute;
  bottom: 65px;
  right: 10px;
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid #eee;
  opacity: 1;
  transition: 0.5s;
}
#downBtn.hidden {
  opacity: 0;
  pointer-events: none;
}
#downBtn #downBtnAr {
  mask-image: url(img/down-ar.svg);
  mask-repeat: no-repeat;
  mask-size: 2rem;
  mask-position: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: #555;
}
#downBtn #unreadCounter {
  background-color: #6830c2;
  color: #fff;
  border-radius: 1rem;
  width: 1.5rem;
  display: block;
  height: 1.5rem;
  text-align: center;
  position: absolute;
  top: -0.75rem;
  left: 0.75rem;
  opacity: 1;
}
#downBtn #unreadCounter.hidden {
  opacity: 0;
  pointer-events: none;
}

/*# sourceMappingURL=style.css.map */
