body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.chatbot-container {
  background: #F5E8DD;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 700px;
  max-width: 90%;
  overflow: hidden;
}

.chatbot-header {
  background: #704264;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

.chatbot-header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.chatbot-content {
  padding: 1rem;
}

.chat-output {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  height: 150px;
  overflow-y: auto;
}

.chat-output p {
  margin: 0.5rem 0;
}

.chatbot-input {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chatbot-input button {
  background: #704264;
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.chatbot-input button:hover {
  background: #BB8493;
}

.task-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.task-options button {
  background-color: #50727B; 
  color: #fff; 
  border: none;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 1rem;
}

.task-options button:hover {
  background: #9290C3;
}

/* For tablets (screen width 768px or less) */
@media (max-width: 768px) {
  .chatbot-container {
    width: 100%;
    margin: 0 1rem;
  }

  .chatbot-header h1 {
    font-size: 1.2rem;
  }

  .chat-output {
    height: 120px;
  }

  .task-options button {
    font-size: 0.9rem;
    padding: 0.5rem;
  }
}

/* For mobile devices (screen width 480px or less) */
@media (max-width: 480px) {
  body {
    flex-direction: column;
    align-items: stretch;
    height: auto;
  }

  .chatbot-container {
    margin: 1rem;
    border-radius: 12px;
  }

  .chatbot-header h1 {
    font-size: 1rem;
  }

  .chat-output {
    height: 100px;
    padding: 0.75rem;
  }

  .chatbot-input button, 
  .task-options button {
    font-size: 0.8rem;
    padding: 0.5rem;
  }

  .task-options {
    gap: 0.25rem;
  }
}
