/* WFS Marketing Chatbot Styles */
.wfs-chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  font-family: 'Arial', sans-serif;
}

.wfs-chatbot-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(to right, #1e3c72, #2a5298);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wfs-chatbot-button:hover {
  transform: scale(1.05);
}

.wfs-chatbot-icon {
  color: white;
  font-size: 24px;
}

.wfs-chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 450px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.wfs-chatbot-window.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.wfs-chatbot-header {
  background: linear-gradient(to right, #1e3c72, #2a5298);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wfs-chatbot-title {
  font-weight: bold;
  font-size: 16px;
}

.wfs-chatbot-close {
  cursor: pointer;
  font-size: 18px;
}

.wfs-chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.wfs-message {
  margin-bottom: 15px;
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
}

.wfs-bot-message {
  background-color: #f0f2f5;
  color: #333;
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}

.wfs-user-message {
  background: linear-gradient(to right, #1e3c72, #2a5298);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}

.wfs-chatbot-input {
  padding: 15px;
  border-top: 1px solid #eee;
  display: flex;
}

.wfs-chatbot-input input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
}

.wfs-chatbot-input button {
  background: linear-gradient(to right, #1e3c72, #2a5298);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 10px 15px;
  margin-left: 10px;
  cursor: pointer;
}

.wfs-chatbot-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.wfs-chatbot-option {
  background-color: #1e3c72;
  color: white;
  padding: 8px 15px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.wfs-chatbot-option:hover {
  background-color: #2a5298;
}

.wfs-chatbot-input-field {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-top: 10px;
}

.wfs-chatbot-button-primary {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  width: 100%;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  .wfs-chatbot-window {
    width: 300px;
    height: 400px;
    bottom: 70px;
  }
}
