/* Styling for the send button */
.send-button {
    background-color: #7da8d6;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
  }
  
  .send-button:hover {
    background-color: #60768a;
  }
  
  /* Positioning the chat messages */
  .container {
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    height: 100%; /* Set the container height to fill the viewport */
  }
  
  .chat-box {
    display: flex;
    width: 100%; /* Adjust the width to 100% for responsiveness */
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;
    height: 80vh;
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  @media (min-width: 500px) {
    /* Adjust the width for larger screens */
    .chat-box {
      width: 500px;
    }
  }
  
  .chat-messages {
    display: flex;
    flex-direction: column;
  }
  
  .message,.chatmessages,.assistant_1{
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;}

  .message {
    background-color: #dbf5ff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    align-self: flex-end;
    max-width: 70%; /* Adjust the maximum width as needed */
  }
  
  .chatmessages {
    background-color: #e8e8e8;
    max-width: 70%; /* Adjust the maximum width as needed */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .assistant_1 {
    background-color: #e8e8e8;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* Styling for assistant messages */
  .assistant {
    margin: 0;
    color: #212121;
  }
  
  /* Centering the input */
  #chat-input {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  #message-input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Arial, sans-serif;}

/* Styling for the send button */
.send-button {
    background-color: #7da8d6;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
  }
  
  .send-button:hover {
    background-color: #60768a;
  }
  
  /* Positioning the chat messages */
  .container {
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    height: 100%; /* Set the container height to fill the viewport */
  }
  
  .chat-box {
    display: flex;
    width: 100%; /* Adjust the width to 100% for responsiveness */
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;
    height: 85vh;
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  @media (min-width: 500px) {
    /* Adjust the width for larger screens */
    .chat-box {
      width: 500px;
    }
  }
  
  .chat-messages {
    display: flex;
    flex-direction: column;
  }
  
  .message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: #dbf5ff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    align-self: flex-end;
    max-width: 70%; /* Adjust the maximum width as needed */
  }
  
  .chatmessages {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: #e8e8e8;
    max-width: 70%; /* Adjust the maximum width as needed */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .assistant_1 {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: #e8e8e8;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* Styling for assistant messages */
  .assistant {
    margin: 0;
    color: #212121;
  }
  
  /* Centering the input */
  #chat-input {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  #message-input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Arial, sans-serif;
    width: 100%; /* Adjust the width to 100% for responsiveness */
    max-width: 280px; /* Set the maximum width for smaller screens */}
    
    /* Custom scrollbar for chat box */
    .chat-box::-webkit-scrollbar {
      width: 8px;
    }
    
    .chat-box::-webkit-scrollbar-thumb {
      background-color: rgba(0, 0, 0, 0.2);
      border-radius: 4px;
    }
    
    .chat-box::-webkit-scrollbar-thumb:hover {
      background-color: rgba(0, 0, 0, 0.3);
    }
    
    .chat-box::-webkit-scrollbar-track {
      background-color: rgba(0, 0, 0, 0.1);
      border-radius: 4px;
    }
    