

  #chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 2;
  }
  
  #chat-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 400px;
    background-color: white;
    border: 1px solid gray;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease-in-out;
    transform: translateY(100%);
    z-index: 999;
  }
  
  #chat-popup.open {
    transform: translateY(0);
  }
  
  #chat-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid gray;
  }
  
  #chat-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
  }
  
  #chat-input {
    border-top: 1px solid gray;
    padding: 10px;
    display: flex;
    align-items: center;
  }
  #chat-message-input {
    flex-grow: 1;
    padding: 5px;
    border: none;
    border-radius: 5px;
    overflow: hidden;
    resize: none; /* disables manual resize */
  }
  
  .hidden {
    display: none;
  }
  .message {
    max-width: 70%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    line-height: 1.4;
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  .outgoing-message {
    align-self: flex-end;
    background-color: #dcf8c6;
    border-bottom-right-radius: 0;
    animation: fadeIn 0.5s ease-in-out;
  }
  
  .incoming-message {
    align-self: flex-start;
    background-color: #ffffff;
    border-bottom-left-radius: 0;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
  }
  .incoming-message::before {
    content: "\f2bd";
    font-family: FontAwesome;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
    font-size: 1.2em; /* Adjust size as needed */
    color: #777; /* Adjust color as needed */
  }
  
  .option-list {
    display: none;
    margin-top: 10px;
    cursor: pointer;
    list-style-type: none;
    padding: 0;
  }
  
  .option-list li {
    background-color: #e6f7ff;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    text-align: center;
  }