:root { 
  --bg-color: linear-gradient(90deg, #cfecd0, #a0cea7, #9ec0db);
  --text-col: #000;
  --bg-clo2: #fff;
  --block-col: #fff;
  --boto: #ddd;
--mesage-my: #C8FFF2;
  --comboxtext: #fff;
}

.dark-theme {
  --bg-color: #0E0E11;
  --text-col: #f0f0f0;
  --block-col: #202022;
  --bg-clo2: #333;
    --boto: #9b9b9c;
    --comboxtext: #9b9b9c;
    --mesage-my: #006049;
}

body{
    background: var(--bg-color);
    
}


.chatBtn:hover{
    opacity: 0.6;
}



.textBlock{
    position: relative;
       display: inline-flex;
    flex-direction: column;
    padding: 7px 10px;
    /*background: var(--block-col);*/
    margin: 5px 0;
    border-radius: 10px;
    font-size: 14pt;
    cursor: pointer;
    margin-left: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
   -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media screen and (max-width: 930px){
.chatBtn{
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.6));
    position: fixed;
    top: 0;
    right: 0;
    z-index: 5;
     cursor: pointer;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
   -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.textBlock{

    width: 80%;

}

    .right{
    position: fixed;
    display: flex;
    flex-direction: column;
    bottom: 0;
    top: 0;
    right: 0;
    width: 60%;
    background: var(--bg-clo2);
    transform:translateX(100%);
    transition: transform 0.3s;
    z-index: 10;
}
.left{
    position: absolute;
    display: flex;
    flex-direction: column;

    top: 0;
    bottom: 0;
    left: 1%;
    right: 1%;
overflow-y: scroll;
padding-bottom: 70px;
}

.footInp{
    position: fixed;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    left: 0;
    right: 0;
     background: var(--block-col);
    padding: 5px;

}

.arrow{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
  width: 6vw;
  height: 6vw;
  
  /* Ограничиваем максимальный и минимальный размер для ПК и телефонов */
  max-width: 44px;
  max-height: 44px;
  min-width: 40px;
  min-height: 40px;

  /* Делает элемент круглым */
  border-radius: 50%;
    color: #fff;
    font-size: 32px;
  
    cursor: pointer;
}

.inputnn{
    width: 100%;
    min-height: 30px;
    max-height: 300px;
    height: auto;
    overflow-y: auto;
    padding: 5px 10px;
    font-size: 14pt;
    outline: none;
   color: var(--text-col);
}

}

/* Когда ширина окна от 1100 пикселей, ширина  div-2 будет 900px */
@media screen and (min-width: 930px){
.chatBtn{
    display: none;
}    
    
    
.textBlock{

    width: 60%;


}
    
    
.right{
    position: fixed;
    display: flex;
    flex-direction: column;
    bottom: 0;
    top: 0;
    right: 0;
    width: 30%;
    background: var(--bg-clo2);
    transform:translateX(0);
}
.left{
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 0;
    bottom: 0;
    left: 14%;
    right: 37%;
overflow-y: scroll;
padding-bottom: 70px;
}

.footInp{
    position: fixed;
    bottom: 0px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    left: 0;
    right: 30%;
     background: var(--block-col);
    padding: 5px;
    border-radius: 0px;
}

.arrow{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
  width: 4vw;
  height: 4vw;
  
  /* Ограничиваем максимальный и минимальный размер для ПК и телефонов */
  max-width: 40px;
  max-height: 40px;
  min-width: 32px;
  min-height: 32px;

  /* Делает элемент круглым */
  border-radius: 50%;
    color: #fff;
    font-size: 32px;
  
    cursor: pointer;
}

.inputnn{
    width: 100%;
    min-height: 30px;
    max-height: 300px;
    height: auto;
    overflow-y: auto;
    padding: 5px 10px;
    font-size: calc(14px + (4 + 4 * 0.7) * ((100vw - 320px)/1000));
    outline: none;
   color: var(--text-col);
}

}




.left::-webkit-scrollbar {
  width: 0;
}




.textName{
   font-size: 12pt;
   font-weight: bold;
   margin-bottom: 7px;
   color: var(--text-col);
}
.textText{
    font-size: 14pt;
    margin-bottom: 7px;
    color: var(--text-col);
    cursor: text;
    word-break: break-word;
}
.textTime{
    font-size: 10pt;
    text-align: right;
    color: var(--text-col);
}

.custom-menu{
    position: fixed;
    display: none;

    background: var(--block-col);
    border-radius: 8px;
    z-index: 78;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.23);
}

.custom-menu-down{
    position: relative;
    width: 100%;
    height: 100%;
    display: inline-flex;
    flex-direction: column;
}
.custom-menu-text{
    font-size: calc(10px + (4 + 4 * 0.7) * ((100vw - 320px)/1000));
    color: var(--text-col);
    cursor: pointer;
    padding: 8px 10px;
    display: flex;
    align-items: center;
}

.custom-menu-text-svg{
    margin-right: 5px;
}

.custom-menu2{
    position: fixed;
    display: none;

    background: var(--block-col);
    border-radius: 8px;
    z-index: 78;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.23);
}

.leftText2{
    position: fixed;
    padding: 7px 10px;
    top: 40%;
    left: 40%;
    transform: translate(-50%, -50%);
    border-radius: 7px;
    font-size: 36pt;
    color: #aaa;
    width: auto;
}




.footInpSvg{
    cursor: pointer;
    margin: 2px 5px;
}

.footInpSmile{
    cursor: pointer;
    margin: 2px 15px 2px 5px;
    
}


[contenteditable=true]:not(:focus):empty:before {
  content: attr(data-placeholder);
}
[contenteditable=true]:empty:before {
  content: attr(data-placeholder);
  color: #aaa;
  pointer-events: none; /* Allows clicking "through" the text to focus the div */
  display: block; /* Ensures it takes up space in some browsers */
}




.arrow:hover{
    opacity: 0.8;
}

.allBaxa{
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-bottom: 100px;
}
.ligol{
    padding: 5px 10px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-col);
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
   -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


.ligol:hover{
opacity: 0.7;
}

.inpBxaBlock{
display: flex;
align-items: center;
justify-content: space-evenly;
padding: 10px 0;

}

.btninpBxatext{
    display: flex;
    font-size: 28px;
    color: var(--text-col);
}

.btninpBxa{
display: flex;
cursor: pointer;
}
.btninpBxa:hover{
    opacity: 0.5;
}


.findBxa{
    padding: 5px 10px;
    background: var(--block-col);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    font-size: 12px;
    color: var(--text-col);
    width: 87%;
    margin: 0 auto;
    margin-bottom: 5px;
}


.pelena{
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #333;
    opacity: 0.8;
    z-index: 99999999999;
}


.blcokOtpr{
    position: absolute;
    display: none;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 40%;
    height: 200px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 5px;
    z-index: 9999999999999999;
  
}

.exit{
    position: absolute;
    top: -6px;
    right: 1px;
font-size: calc(18px + (8 + 8 * 0.7) * ((100vw - 320px)/1000));
cursor: pointer;
z-index: 9999999999999999;
}


.blcokOtprDown{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 17px;
}

.inpimotext{
    font-size: calc(16px + (4 + 4 * 0.7) * ((100vw - 320px)/1000));
    text-align: center;
    margin-bottom: 10px;
}

.inpimo{
    position: relative;
    display: flex;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    outline: none;
    font-size: 13pt;
    color: #374151;
    margin-bottom: 10px;
    padding: 5px 10px;
}

.btnOtpravit{
    
    bottom: 0;
}


.emojiBlock{
    position: fixed;
    display: none;
    background: var(--block-col);
    border-radius: 8px;
    z-index: 79;
    width: 240px;
    height: 240px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.23);
    
}

.emojiBlockDown{
    position: relative;
    width: 100%;
    height: 100%;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow-y: scroll;
    scrollbar-width: none;
}

.emoji-btn{
    margin: 10px;
    border: 0;
    background: transparent;
    font-size: 14pt;
    cursor: pointer;
}


.btnCnop{
    position: fixed;
    display: none;
    z-index: 79;
    bottom: 60px;
    left: 3px;
}



.btnCnopDown{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.btnCnopDownBtn{
  display: inline-flex;
  align-items: center;
  background: var(--block-col);
  padding: 7px 10px;
  font-size: calc(12px + (4 + 4 * 0.7) * ((100vw - 320px)/1000));
  margin: 3px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.23);
  cursor: pointer;
  border-radius: 10px;
  color: var(--text-col);
}

.btnCnopDownBtnSvg{
    margin-right: 10px;
}



.fedal{
  position: absolute;
  display: none;
  top: 0;
  width: 120px;
  border: 1px solid #ddd;
  background: var(--block-col);
  z-index: 40;
  padding: 5px;
  border-radius: 5px;
   
}


.getdet0{
  position: relative;
width: 100%;
height: 100%;
  display: flex;
  flex-direction: column;
}

.fedal2{
  position: relative;
  display: flex;
  justify-content: space-evenly;
  height: 50%;
}

.cfb{
  padding: 3px;
  cursor: pointer;

  border-radius: 5px;
}
.cfb:hover{
  background: #eee;
}

.imghol{
    position: relative;
  left: 50%;
  transform: translateX(-50%);
    width: 100%;
    border-radius: 5px;
    object-fit: contain;
}

























