*{
    box-sizing: border-box !important;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    font-variation-settings:"wdth" 100;
}
  body{
    margin: 0;
    padding: 0;
    background: #333;

  }
  .profile-box{

    width: 70px;
    height: calc(100%);
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    background: #000;
    padding: 10px;
  }
  .avatar-menu{
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    line-height: 50px !important;
    background: #fafafa;
    color: #333;
    font-weight: bold;
    font-size: 25px;

  }
  .created_at{
    float: right !important;
    font-size: 10px;
    opacity: 0.5;
    text-align: right;
    margin-top: 5px;

  }
  .box-info-user{
    height: 60px;
    background: #000;
  }
  #status-user-conection{
    display: block;
    text-align: center !important;
    margin-bottom: 290px;
     color: red ;
     font-size: 14px;
     margin-top: 5px;
  }
  .buttons{
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    color: #fff !important;
    padding: 13px;
    opacity: 0.5;
    cursor: pointer;
    margin-bottom: 10px;
  }
  .bottom{
    position: fixed;
    bottom: 0px;
    
    
  }
  .buttons:hover{
    opacity: 1;
    background: #333;
  }
  .buttons svg{
    width: 100%;
    height: 100%;
  }
  .avatar-menu img{
    height: 100%;
    width: 100%;
    object-fit: cover;

  }
  .box-search{
    width: 100%;
    padding: 10px;
  }
  .box-search input{
    display: block;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #555; /* Borda mais escura */
    border-radius: 8px;
    font-size: 16px;
    background-color: #444; /* Fundo dos inputs escuro */
    color: #f1f1f1; /* Cor do texto nos inputs */
    transition: border-color 0.3s;
    width: calc(100%) ;
  }
  .conversas{
    display: block;
    width: 400px;
    position: fixed;
    height: calc(100%);
    left: 70px;
    background: #fff;
     background: rgba(0, 0, 0, 0.2);
     color: #fff;
     box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
     z-index: 1;
  }
  .conversa{
    display: table;
    padding: 10px;
    cursor: pointer;
    width: 100%;


  }
  .conversa:hover{
      opacity: 0.7;
  }
  .conversa-padd{
    padding-left: 10px;
    padding-right: 10px;
  }
  .photo{
    width: 40px;
    height: 40px;
    border-radius: 5px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
    background: #fff;
    float: left;
    margin-right: 10px;

  }

  .avatar{
    display: block;
    width: 50px;
    height: 50px;
    background: #fafafa;
    position: relative;
    top: 10px;
    float: left;
    border-radius: 10px;
    background-image: url(../icones/avatar.webp);
    background-size: 80% 80%;
    background-position: center center;
    background-repeat: no-repeat;
    margin-right: 10px;
  }

  .timestamp{
    float: right;
    font-size: 14px;
    margin-bottom: -15px;
    height: 15px;
    line-height: 15px;
  }
  
  
  .name-user{
    display: block;
  
    
    height: 70px;
    position: relative;
    top: 10px;
    margin-bottom: 10px;


  }
  .name-user span{
    display: block;
    font-size: 17px;
    line-height: normal  !important;
    position: relative;
    top: 13px;
  }
    .name-user label{
    display: block;
    font-size: 13px;
    line-height: normal  !important;
    position: relative;
    top: 13px;
    color: red;
  }

  priv{
    display: block;
    width: calc(50% - 5px);
    background: red;
    font-size: 10px;
    line-height:normal;
    margin-bottom: 5px;
    background: #000;
    height: 30px;
    padding: 5px;
    border-radius: 10px;
    float: left;

  }
  priv svg{
    display: block;
    float: left;
    width: 20px;
    height: 20px;
  }
   priv span{
    display: block;
    float: right;
    width: calc(100% - 20px);
    line-height: 20px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    
  }
  pub{
    display: block;
    width: calc(50% - 5px);
    background: red;
    
    font-size: 10px;
    line-height:normal;
    margin-bottom: 5px;
    background: #000;
    height: 30px;
    padding: 5px;
    border-radius: 10px;
    float: right;
  }
  pub svg{
    display: block;
    float: left;
    width: 18px;
    height: 18px;
    
  }
   pub span{
    display: block;
    float: right;
    width: calc(100% - 20px);
    line-height: 20px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    
  }
   .actions{
      float: right;
      width: 30px;
      height: 40px;
      margin-bottom: -60px;
      position: relative;
      padding: 5px;
      margin-right: 5px;
      z-index: 1000;
      cursor: pointer;
      opacity: 0.5;
      top: 25px;
    }
    .actions svg{
      width: 100%;
      height: 100%;


    }
    .actions:hover{
      opacity: 1;
    }

    .dropdown{
      background: #333;
      display: none;
      padding: 10px;
      border-radius: 10px;
      width: 140px;
      float: right;
      position: relative;
      top: 60px;
      z-index: 1001;
      margin-right: 5px;
      margin-bottom: -106px;
      box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    }
    .open{
      display: block;
    }
    .dropdown .options{
      display: block;
      width: 100%;
     padding: 10px;
     cursor: pointer;
     font-size: 17px !important;


    }
    .options svg{
      float: left;
      width: 22px;
      height: 22px;
      margin-right: 5px;
    }
    .dropdown .options:hover{
      background: #000;
      border-radius: 10px;
      
    }
  .name{
    font-size: 16px;
    color: #fff;
    display: block;
    font-weight: bold;
    height: 20px;
    cursor: pointer;
    width: calc(100% - 120px);
    
    display: block;
    float: left;
    cursor: pointer;
    overflow: hidden;
    word-break: break-word; /* Força a quebra de palavras longas */
    overflow-wrap: break-word; /* Alternativa moderna */


  }
  .msg{
    font-size: 14px;
    color: #fff;
     height: 20px;
     cursor: pointer;
     width: calc(100% - 50px);
     display: block;
     float: left;
  }
  .chat-profile{
    display: block;
    font-size: 20px;
    padding-left: 10px;
    padding-right: 10px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
    background: rgba(0, 0, 0, 0.2);
    padding-bottom: 10px;
    width: calc(300px)  !important;
    height: 130px;
  }
  .title-conv{
    width: 100%;
    display: table;
    padding: 10px;
    line-height: 40px !important;
  }
  .chatbox{
    float: left;
    width: calc(100% - 470px);
    position: fixed;
    left: 470px;
    top: 0px;
    background-image: url(../icones/background.png);
    background-repeat: repeat;
    background-size: 240px 400px;
    height: calc(100%);
  }

  #chat{
    display: table;
    position: fixed;
    height: calc(100% - 120px);
    width: calc(100% - 470px);
    top: 60px; 
    
  }
  .scroll{
    display: block;
    width: 100%;
    height: calc(100%);
    overflow-y: auto;
    padding: 10px;
  }


  .chat-header{
    width: 100%;
    height: 60px;
    padding-left: 10px;
    padding-right: 10px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    color: white;
    float: left;
  }

  .chat-title{
    display: block;
    height: 22px;
    width: cacl(100% - 60px);
    line-height: 22px !important;
    overflow: hidden;
    
    text-overflow: ellipsis;

  }

  .status-online{
    float: left;
    color: red;
    font-size: 13px !important;
    
  }

  .box-user-chat{
    display: block;
    height: 60px !important;
    width: calc(50%);
    padding: 10px;
    height: 60px;
    float: left;
  }
  .box-utils-chat{
    display: block;
    height: 60px !important;
    width: calc(50%);
    padding: 10px;
    height: 60px;
    float: right;
    padding-right: 0px;
  }
  .button-chat{
    width: 40px;
    height: 40px;
    float: right;
    margin-left: 10px;
    opacity: 0.5;
    cursor: pointer;
    padding: 9px;
  }
  .button-chat:hover{
    opacity: 1;
  }
  .button-chat svg{
    width: 100%;
    height: 100%;

  }
  .avatar-user-chat{
    width: 40px;
    height: 40px;
    background: #ebebeb;
    border-radius: 10px;
    float: left;
    margin-right: 10px;
  }
  .online{
    color: #00FFA6 !important;
  }
  .inputs{
    display: none;
    height: 60px;
    padding: 10px;
    position: fixed;
    bottom: 0;
    right: 0;
    width: calc(100% - 470px);

     box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;

/*     background: rgba(255, 255, 255, 0.15);*/
     box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
     backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    color: white;

  }

  .files{
    width: 38px;
    height: 38px;
    float: left;
    margin-right: 10px;
    padding: 5px;
    cursor: pointer;
    opacity: 0.5;
  }
  .files svg{
    width: 100%;
    height: 100%;

  }
  .files:hover{
      opacity: 1;
  }
  .inputs input{
    display: block;
    width: calc(100% - 100px);
    float: left;
    padding: 10px;
    border-radius: 10px;
    border: none;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
    background: rgba(255, 255, 255, 0.15);
    color: #fafafa;
  }
  .inputs .send{
    display: none;
    width: 38px;
    float: right;
    border-radius: 10px;
    height: 38px;
    cursor: pointer;
    opacity: 0.6;
    padding: 5px;
  }
  .record{
     display: block;
    width: 38px;
    float: right;
    border-radius: 10px;
    height: 38px;
    cursor: pointer;
    opacity: 0.6;
    padding: 5px;
  }
  .send svg{
    width: 100%;
    height: 100%;
  }
  .record svg{
    width: 100%;
    height: 100%;
  }
  .send:hover{
    opacity: 1;
  }

  .messages{
    display: inline-flex;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    margin: 0px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    flex-direction: column;
  }
  .messages span{
    

  }
  .messages img{
    margin-top: 10px;
    border-radius:5px;
  }
  .padd-message{
    display: table;
    width: calc(100%);
   
    margin-bottom: 10px;
  }
  .from{
    float: right;
    background: #95e0f1;
  }
  .to{
    float: left;
  }
  .active{
    background: #000;
    border-radius: 10px;
  }
  .add-user{
    width: 30px ;
    height: 30px;
    float: right;
    margin-top: 3px;
    opacity: 0.5;
    cursor: pointer;
  }
  .add-user:hover{
    opacity: 1;

  }







/*  modal add-user*/
 /* Botão de abrir modal */
   

    /* Modal: fundo escuro */
    .modal {
      display: none;
      position: fixed;
      z-index: 1;
      left: 0; top: 0;
      width: 100%; height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      justify-content: center;
      align-items: center;
      color: #fff;
    }

    /* Conteúdo centralizado do modal */
    .modal-content {
      background-color: #222;
      padding: 30px;
      border-radius: 8px;
      text-align: center;
      box-shadow: 0 0 10px rgba(0,0,0,0.5);
      width: 400px;
    }

    .modal-content input {
      padding: 10px;
      margin-bottom: 15px;
      width: 100%;
      border: none;
      border-radius: 5px;
    }

    .modal-content button {
      padding: 10px 20px;
      background-color: #3b3b3b;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

    .modal-content button:hover {
      background-color: #555;
    }
    .modal img{
      border-radius: 10px;
      margin-bottom: 20px;
    }
    .conversa .status{
      display: block;
      width: 15px;
      height: 15px;
      background: red;
      position: relative;
      border-radius: 10px;
      top: -2px;
      left: -2px;
      box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    }
    .online-user{
      background: #00FFA6 !important;
    }
    
    #wave-records{
      width: calc(50%);
      float: right;
      height: 30px;
      margin-top: 5px;
      margin-right: 10px;
      display: none;
    }
    #record-canva{
      width: calc(100% - 105px) !important;
      height: 30px !important;
      margin-left: 5px;
    }
    #record-time{
      top: 0px !important;
      height: 30px !important;
      display: block;
      
      background: #000000;
      border-radius: 10px;
      width: 60px !important;
      float: right;
      color: #fff;
      text-align: right;
      padding: 5px;
      line-height: 20px !important;
    }

    #remove-time {
      width: 30px;
      height: 30px;
      padding: 3px;
      color: red !important;
      cursor: pointer;
      opacity: 0.6;
      float: left !important;
    }

    #remove-time svg{
      width: 100%;
      height: 100%;
    }
    #remove-time:hover{
      opacity: 1;
    }