#gform_103 .gform_footer,
#gform_103 .gform_page_footer {
    display: none !important;
}
/* Conteneur global du chat */
#h2j-chat {
  max-width: none;
	width: 100%;  
  margin: 0 auto;
  border-radius: 16px;
  padding: 16px;
  background: #f7f8fc;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* En-tête */
#h2j-chat-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  padding-bottom: 8px;
  margin-bottom: 4px;
}

#h2j-chat-header .h2j-chat-title {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
}

#h2j-chat-header .h2j-chat-subtitle {
  font-size: 13px;
  color: #64748b;
}

/* Zone de messages */
#h2j-chat-log {
  max-height: 340px;
  overflow-y: auto;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Rendre les retours à la ligne visibles */
#h2j-chat-log .msg {
  white-space: pre-line;
}

/* Style générique des bulles */
#h2j-chat-log .msg {
  display: inline-block;
  max-width: 90%;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
}

/* Messages utilisateur : alignés à droite, bulles bleues */
#h2j-chat-log .msg.user {
  align-self: flex-end;
  background: #2563eb;
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

/* Messages assistant : alignés à gauche, bulles claires */
#h2j-chat-log .msg.assistant {
  align-self: flex-start;
  background: #e5e7eb;
  color: #111827;
  border-bottom-left-radius: 4px;
}

/* Zone d'entrée */
#h2j-chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

/* Champ texte */
#h2j-chat-input #h2j-message {
  flex: 1;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#h2j-chat-input #h2j-message:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

/* Bouton avec icône */
#h2j-send {
  border: none;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

#h2j-send:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

#h2j-send:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Icône dans le bouton */
.h2j-send-icon svg {
  display: block;
}

/* Scrollbar un peu plus propre (optionnel, uniquement sur navigateurs modernes) */
#h2j-chat-log::-webkit-scrollbar {
  width: 6px;
}
#h2j-chat-log::-webkit-scrollbar-track {
  background: transparent;
}
#h2j-chat-log::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}
