/* 
 * EasyCity-eu.com V2 - Styles pour l'assistant Kenoce
 * 
 * Ce fichier contient les styles CSS pour les bulles de chat
 * et la structure des messages de l'assistant Kenoce.
 */

/* Structure des bulles de chat pour l'assistant Kenoce */
.chat-message.assistant {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: 20px;
  align-self: flex-start;
}

.chat-message.assistant .chat-bubble {
  background-color: white;
  border-left: 4px solid var(--primary-color, #4a6fa5);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 16px;
  overflow: hidden;
}

/* Titre de la bulle */
.chat-message.assistant .chat-bubble-title {
  color: var(--primary-color, #4a6fa5);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

/* Contenu de la bulle */
.chat-message.assistant .chat-bubble-content {
  color: var(--text-light, #666);
  line-height: 1.6;
}

.chat-message.assistant .chat-bubble-content p {
  margin-bottom: 12px;
  line-height: 1.6;
}

.chat-message.assistant .chat-bubble-content p:last-child {
  margin-bottom: 16px;
}

/* Listes */
.chat-message.assistant .chat-bubble-content ul {
  padding-left: 20px;
  margin-bottom: 15px;
  list-style-type: none;
}

.chat-message.assistant .chat-bubble-content li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.chat-message.assistant .chat-bubble-content li:before {
  content: "•";
  color: var(--secondary-color, #ff9e44);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Suggestions */
.chat-message.assistant .chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.chat-message.assistant .suggestion {
  background-color: #f5f5f5;
  border: 1px solid #eaeaea;
  border-radius: 18px;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--text-color, #333);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 400;
}

.chat-message.assistant .suggestion:hover {
  background-color: var(--secondary-color, #ff9e44);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

/* Message utilisateur */
.chat-message.user {
  align-self: flex-end;
  max-width: 80%;
  margin-bottom: 15px;
}

.chat-message.user .chat-bubble {
  background-color: var(--secondary-color, #ff9e44);
  color: white;
  padding: 12px 16px;
  border-radius: 18px;
  border-bottom-right-radius: 5px;
}

/* Adaptations pour les écrans mobiles */
@media (max-width: 640px) {
  .chat-message.assistant .chat-bubble,
  .chat-message.user .chat-bubble {
    padding: 12px;
  }
  
  .chat-message.assistant .chat-bubble-title {
    font-size: 1.1rem;
  }
  
  .chat-message.assistant .chat-suggestions {
    flex-direction: column;
    gap: 6px;
  }
  
  .chat-message.assistant .suggestion {
    width: 100%;
    text-align: left;
  }
}
