

 #chat-container {
    position: fixed;
    bottom: 18px;
    right: 10px;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  
  #envelope-btn {
 /*   position: relative;   */
    
    position: fixed;     /* Fix position relative to viewport */
    bottom: 20px;        /* 20px from the bottom */
    right: 80px;         /* 20px from the right */
    
  /*  width: 80px;
    height: 60px; */
    background: transparent;
    border: none;
  /*  cursor: pointer;  */
  
  }
  
  
  #envelope-icon {
    position: fixed;  
    width: 80px;
    height: 50px;
    bottom: 20px;
    right: 80px; 
    fill: #333;
  }
  
  #badge {
    position: absolute;
    top: 20px;
    right: 15px;
    width: 16px;
    height: 16px;
    background-color: red;
    color: white;
    font-size: 12px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
  }
  
 /* #chat-window {   */
   
   .chat-window {   
  
    height: 550px;
    width: 450px;
    border: 2px solid #ccc;
    border-radius: 10px;
    background: #fff;
    display: none;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  
  #chat-header {
    padding: 10px;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    cursor: pointer;  
  }
  
  #messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
  }
  
  #input-area {
    display: flex;
    padding: 1px;
    border-top: 1px solid #ccc;
  }
  
  #user-input {
    width: 360px; 
    height: 47px;
    flex: 1;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  
  #send-btn {
    
    width: 85px;  
    height: 47px;
    margin-left: 2px;
    padding: 1px 1px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;  
  }
  