/* styles.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
  }
  
  /* Style for the Open Chat button */
  .open-chat-btn {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
  }
  
  .open-chat-btn:hover {
    background-color: #0056b3;
  }
  
  /* The modal (hidden by default) */
  .chatbot-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  /* The chatbox container */
  .chatbox {
    background-color: white;
    border-radius: 10px;
    width: 350px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
  }
  
  .chat-history {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
    border-bottom: 1px solid #ddd;
    flex-grow: 1;
  }
  
  .chat-history .message {
    margin-bottom: 10px;
  }
  
  .chat-history .message.bot {
    text-align: left;
    color: #333;
  }
  
  .chat-history .message.user {
    text-align: right;
    color: #007BFF;
  }
  
  .user-input {
    padding: 10px;
    display: flex;
  }
  
  .user-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
  .user-input button {
    padding: 10px;
    margin-left: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .user-input button:hover {
    background-color: #0056b3;
  }
  
  /* Close button for the chatbot modal */
  .close-chat-btn {
    background-color: #FF0000;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 16px;
  }
  
  .close-chat-btn:hover {
    background-color: #cc0000;
  }