/* styles.css */

#chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  cursor: pointer;
}

#chatbot-icon {
  width: 100%;
  height: 100%;
}

#chatbot-window {
  position: fixed;
  bottom: 40px;
  right: 20px;
  width: 470px;
  height: 530px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

/*#chatbot-window {
  display: none;
  height: 570px;
  width: 500px;
  position: fixed;
  bottom: 0;
  right: 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

#chatbot-window.open {
  transform: translateY(0);
}

#chatbot-icon {
  cursor: pointer;
}

.close {
  cursor: pointer;
}*/

#chatbot-header {
  background-color: rgb(46, 0, 91);
  color: white;
  padding: 10px;
  text-align: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

#chatbot-messages {
  flex: 1;
  padding: 10px;
  max-height: 300px; /* Adjust this value as needed */
  overflow-y: auto;
}

#chatbot-input {
  border: none;
  border-top: 1px solid #ccc;
  padding: 10px;
  width: calc(100% - 20px);
  margin: 10px;
}

.user-message, .bot-message {
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
}

.user-message {
    background-color: #f1f1f1;
    align-self: flex-end;
}

.bot-message {
    background-color: #d1e7fd;
    align-self: flex-start;
}