.chat-container {
    font-family: Arial, sans-serif;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
  }
  
  .chat-body {
    height: 250px;
    overflow-y: auto;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: column;
  }
  
  .chat-footer {
    display: flex;
    padding: 10px;
    background: #f1f1f1;
  }
  
  .chat-footer input {
    flex: 1;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
  }
  
  .chat-footer input:disabled,
  .chat-footer input[disabled],
  .chat-footer input:disabled:hover {
    cursor: progress;
  }
  
  .chat-footer button {
    margin-left: 5px;
    padding: 5px 10px;
    border: none;
    background: #26453f;
    color: white;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .chat-footer button:disabled,
  .chat-footer button[disabled],
  .chat-footer button:disabled:hover
  {
    background: #969fa8;
    cursor: progress;
  }
  
  .chat-footer button:hover {
    background: #26453f;
  }
  
  .chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #26453f;
    color: white;
    border: none;
    border-radius: 50%;
    width: fit-content;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  .chat-toggle:hover {
    background: #9a3246;
  }
  
  .message {
    max-width: 80%;
    padding: 8px;
    margin: 5px;
    border-radius: 10px;
    clear: both;
  }
  
  .user-message {
    background: #26453f;
    color: white;
    align-self: flex-end;
  }
  
  .bot-message {
    background: #e1e1e1;
    align-self: flex-start;
  }
  
  .chat-header {
    background: #26453f;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    position: relative;
  }
  
  .close-chat {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
  }
  
  .message-source {
    font-size: 12px;
    color: gray;
    margin-top: 4px;
    font-style: italic;
    max-width: 100%;
    overflow-wrap: break-word;
    white-space: normal;
  }
  
  .source-list {
    padding-left: 15px; /* Indentation for list */
    margin: 5px 0;
  }
  
  .source-list li {
    font-size: 12px;
    color: gray;
  }