/* Your modified CSS code here */


.chatbot-toggler {
  position: fixed;
  bottom: 60px;
  left: 10px;
  outline: none;
  border: none;
  height: 50px;
  width: 50px;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #724ae8;
  transition: all 0.2s ease;
  z-index: 9999;
}

body.show-chatbot .chatbot-toggler {
  transform: rotate(90deg);
}

.chatbot-toggler span {
  color: #fff;
  position: absolute;
}

.chatbot-toggler span:last-child,
body.show-chatbot .chatbot-toggler span:first-child {
  opacity: 0;
}

body.show-chatbot .chatbot-toggler span:last-child {
  opacity: 1;
}

.chatbot {
  position: fixed;
  left: 65px;
  bottom: 30px;
  width: 400px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.5);
  transform-origin: bottom left;
  box-shadow: 0 0 128px 0 rgba(0, 0, 0, 0.1),
              0 32px 64px -48px rgba(0, 0, 0, 0.5);
  transition: all 0.1s ease;
}

body.show-chatbot .chatbot {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 9999;
}

.chatbot header {
  padding: 16px 0;
  position: relative;
  text-align: center;
  color: #fff;
  background: #724ae8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chatbot header span {
  position: absolute;
  right: 15px;
  top: 50%;
  display: none;
  cursor: pointer;
  transform: translateY(-50%);
}

header h2 {
  font-size: 1.4rem;
}

.chatbot .chatbox {
  overflow-y: auto;
  height: 280px;
  padding: 30px 20px 20px;
}

  
  .chat-container {
    max-width: 400px;
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 50vh;
  }
  
  .chat-header {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    text-align: center;
  }
  
  .chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background-color: #f5f5f5;
  }
  
  .message {
    margin: 8px;
    padding: 10px;
    border-radius: 8px;
    max-width: 70%;
  }
  
  .user-message {
    margin-left: auto;
    background-color: #dcf8c6;
    text-align: left;
  }
  
  .bot-message {
    align-self: flex-start;
    background-color: #e0e0e0;
    text-align: left;
  }
  
  .option {
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .option:hover {
    background-color: #ddd;
  }
  
  .chat-input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-top: 1px solid #ccc;
  }
  
  .chat-input input {
    flex: 1;
    padding: 8px;
    margin-right: 8px;
    border: 1px solid #ccc;
  }
  
  .chat-input button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
  }

  @media screen and (max-width: 767px) {
    .chatbot {
      width: 50vw;
    }
  }
  @media screen and (max-width: 480px) {
    .chatbot {
      width: 70vw;
    }
    
  }
  