/* Chat Widget Styles */
#chatBubble {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.3s ease;
}

#chatBubble:hover {
  transform: scale(1.1);
}

#chatModal {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 320px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

#chatModal.visible {
  opacity: 1;
  visibility: visible;
}

.chat-header {
  background-color: var(--primary);
  color: #fff;
  padding: 1rem;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-body {
  padding: 1rem;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #f1f1f1;
}

.chat-body::-webkit-scrollbar {
  width: 8px;
}

.chat-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.chat-body::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.chat-message {
  margin-bottom: 0.75rem;
  word-wrap: break-word;
  max-width: 100%;
}

.chat-message.bot {
  color: #333;
}

.chat-message.user {
  color: var(--primary);
  text-align: right;
}

#closeChat {
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.2s ease;
}

#closeChat:hover {
  transform: scale(1.2);
} 