/* Chatbot Styles */
.chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.chatbot-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #2E8FFF;
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chatbot-button:hover {
  background-color: #2271cc;
  transform: scale(1.05);
}

.chatbot-button svg {
  width: 28px;
  height: 28px;
}

.chatbot-window {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 350px;
  height: 500px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s ease;
}

.chatbot-window.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.chatbot-header {
  background-color: #2E8FFF;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px 12px 0 0;
}

.chatbot-title {
  font-weight: 600;
  font-size: 16px;
}

.chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.chatbot-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bot-message,
.user-message {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 18px;
  margin-bottom: 4px;
  line-height: 1.4;
  font-size: 14px;
  position: relative;
}

.bot-message {
  background-color: #f0f0f0;
  color: #333;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  display: flex;
  align-items: flex-start;
}

.message-avatar {
  background-color: #2E8FFF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  flex-shrink: 0;
}

.message-avatar svg {
  width: 16px;
  height: 16px;
}

.message-content {
  flex: 1;
}

.bot-message .message-content {
  background-color: #f0f0f0;
  padding: 10px 14px;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
}

.bot-message .message-content ul {
  margin: 5px 0;
  padding-left: 20px;
}

.bot-message .message-content li {
  margin-bottom: 5px;
}

.user-message {
  background-color: #2E8FFF;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chatbot-input {
  padding: 12px 15px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  background-color: #fff;
}

.chatbot-input input {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 10px 15px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
  color: #333;
  background-color: #fff;
}

.chatbot-input input:focus {
  border-color: #2E8FFF;
}

.chatbot-send {
  background: none;
  border: none;
  color: #2E8FFF;
  margin-left: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-send svg {
  width: 20px;
  height: 20px;
  stroke: #2E8FFF;
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  align-self: flex-start;
}

.quick-reply-button {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 13px;
  color: #444;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-reply-button:hover {
  background-color: #2E8FFF;
  border-color: #2E8FFF;
  color: white;
}

.typing-indicator {
  align-self: flex-start;
  background-color: #f0f0f0;
  border-radius: 20px;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.typing-indicator span {
  height: 8px;
  width: 8px;
  float: left;
  margin: 0 1px;
  background-color: #9E9EA1;
  display: block;
  border-radius: 50%;
  opacity: 0.4;
}

.typing-indicator span:nth-of-type(1) {
  animation: 1s blink infinite 0.3333s;
}

.typing-indicator span:nth-of-type(2) {
  animation: 1s blink infinite 0.6666s;
}

.typing-indicator span:nth-of-type(3) {
  animation: 1s blink infinite 0.9999s;
}

@keyframes blink {
  50% {
    opacity: 1;
  }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  .chatbot-window {
    width: calc(100% - 40px);
    height: 60vh;
    bottom: 80px;
  }
}

.hidden {
  display: none !important;
} 