/* NOUATECH - Styles pour le chatbot */

.chatbot-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.chatbot-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

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

.chatbot-button span {
  font-size: 24px;
}

.chatbot-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 350px;
  height: 450px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1001;
}

.chatbot-container.active {
  display: flex;
}

.chatbot-header {
  background-color: var(--primary);
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h3 {
  margin: 0;
  font-size: 16px;
}

.chatbot-close {
  cursor: pointer;
}

.chatbot-messages {
  flex-grow: 1;
  padding: 15px;
  overflow-y: auto;
}

.chatbot-message {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 10px;
  background-color: #f1f1f1;
  max-width: 80%;
}

.chatbot-message.user-message {
  background-color: var(--primary);
  color: white;
  margin-left: auto;
}

.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  gap: 5px;
  border-top: 1px solid #eee;
}

.suggestion-button {
  background-color: #f1f1f1;
  border: none;
  border-radius: 15px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.suggestion-button:hover {
  background-color: var(--primary);
  color: white;
}

.chatbot-contact-form {
  padding: 15px;
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
}

.contact-form-header {
  margin-bottom: 10px;
}

.contact-form-header h4 {
  margin: 0 0 5px 0;
  font-size: 14px;
}

.contact-form-header p {
  margin: 0;
  font-size: 12px;
  color: #666;
}

.contact-form-input {
  display: flex;
}

.contact-form-input input {
  flex-grow: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-right: 5px;
}

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

.chatbot-input input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-right: 10px;
}

.chatbot-input button {
  padding: 10px 15px;
}

/* Responsive design pour le chatbot */
@media screen and (max-width: 480px) {
  .chatbot-container {
    width: 90%;
    right: 5%;
    bottom: 80px;
  }
}
