/* General Styles */
body {
  font-family: 'Roboto', sans-serif;
  background-image: url('../images/chat_bot/chat\ bot.png');
  background-size: cover;
  background-position: center;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: #333;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 20px;
}

.header h1 {
  font-size: 50px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* AI Therapist Chat-Bot Section */
.description {
  text-align: center;
  margin-bottom: 20px;
}

.description h2 {
  font-size: 28px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Join Server with Therapist */
.server-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.server-buttons button {
  padding: 12px 24px;
  font-size: 16px;
  background: linear-gradient(135deg, #007BFF, #0056b3);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.server-buttons button:hover {
  background: linear-gradient(135deg, #0056b3, #007BFF);
  transform: translateY(-2px);
}

/* Online Therapists */
#online-therapists {
  margin-bottom: 20px;
  text-align: center;
}

#online-therapists h3 {
  font-size: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#therapist-list {
  list-style: none;
  padding: 0;
}

#therapist-list li {
  font-size: 16px;
  color: #FFD700;
  margin-bottom: 5px;
}

/* Chatbot Section */
.chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 350px;
  max-width: 90%;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-header {
  background: linear-gradient(135deg, #007BFF, #0056b3);
  color: white;
  padding: 15px;
  font-size: 18px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header button {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.chatbot-header button:hover {
  opacity: 0.8;
}

.chatbot-messages {
  height: 300px;
  overflow-y: auto;
  padding: 15px;
  background: #f9f9f9;
}

.chatbot-input {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
  background: #fff;
}

.chatbot-input input {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 25px;
  outline: none;
  margin-right: 10px;
}

.chatbot-input button {
  padding: 10px 20px;
  background: linear-gradient(135deg, #007BFF, #0056b3);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.chatbot-input button:hover {
  background: linear-gradient(135deg, #0056b3, #007BFF);
  transform: translateY(-2px);
}

#open-chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 24px;
  font-size: 16px;
  background: linear-gradient(135deg, #007BFF, #0056b3);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.2s ease;
}

#open-chatbot:hover {
  background: linear-gradient(135deg, #0056b3, #007BFF);
  transform: translateY(-2px);
}

/* Chat Container */
#chat-container {
  width: 90%;
  max-width: 600px;
  height: 70vh;
  border: 1px solid #ccc;
  border-radius: 15px;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: scroll;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

#chat-log {
  height: calc(100% - 60px);
  overflow-y: auto;
  padding: 10px;
}

/* Chat Form */
#chat-form {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

#chat-form input[type="text"] {
  width: calc(100% - 90px);
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 25px;
  outline: none;
}

#chat-form button {
  width: 80px;
  padding: 10px;
  font-size: 16px;
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

#chat-form button:hover {
  background: linear-gradient(135deg, #45a049, #4CAF50);
  transform: translateY(-2px);
}

/* Voice and Video Call Buttons */
#voice-call-btn,
#video-call-btn {
  margin-top: 10px;
  padding: 12px;
  font-size: 16px;
  width: 100%;
  text-align: center;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

#voice-call-btn {
  background: linear-gradient(135deg, #007BFF, #0056b3);
}

#voice-call-btn:hover {
  background: linear-gradient(135deg, #0056b3, #007BFF);
  transform: translateY(-2px);
}

#video-call-btn {
  background: linear-gradient(135deg, #ff5722, #e64a19);
}

#video-call-btn:hover {
  background: linear-gradient(135deg, #e64a19, #ff5722);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .chatbot-container {
    width: 95%;
  }

  #chat-container {
    width: 95%;
  }

  .description h2 {
    font-size: 24px;
  }

  .description p {
    font-size: 16px;
  }

  .server-buttons {
    flex-direction: column;
  }
}