/* Bulle BATITEC SYSTEM — couleurs de la marque (bleu #1e3f6e), lisible sur téléphone. */
#bulle-batitec { position: fixed; right: 12px; bottom: 12px; z-index: 9999; font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: #1b2a3a; text-align: right; }
#bulle-batitec .bb-urgence { margin-bottom: 8px; }
#bulle-batitec .bb-btn { display: inline-block; border: 0; border-radius: 22px; padding: 10px 16px; font-size: 16px; font-weight: bold; text-decoration: none; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
#bulle-batitec .bb-btn-urgence { background: #ffffff; color: #b3261e; border: 2px solid #b3261e; }
#bulle-batitec .bb-btn-ouvrir { background: #1e3f6e; color: #ffffff; }
#bulle-batitec .bb-panneau { position: absolute; right: 0; bottom: 112px; width: min(360px, calc(100vw - 24px)); max-height: 70vh; display: flex; flex-direction: column; background: #ffffff; border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.3); overflow: hidden; text-align: left; }
#bulle-batitec .bb-panneau[hidden] { display: none; }
#bulle-batitec .bb-entete { background: #1e3f6e; color: #ffffff; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; }
#bulle-batitec .bb-fermer { background: transparent; border: 0; color: #ffffff; font-size: 20px; cursor: pointer; }
#bulle-batitec .bb-fil { flex: 1; min-height: 120px; max-height: 260px; overflow-y: auto; padding: 10px; background: #f3f6fa; }
#bulle-batitec .bb-bulle { max-width: 85%; margin: 6px 0; padding: 8px 10px; border-radius: 10px; line-height: 1.4; white-space: pre-wrap; word-wrap: break-word; }
#bulle-batitec .bb-client { margin-left: auto; background: #1e3f6e; color: #ffffff; }
#bulle-batitec .bb-batitec { margin-right: auto; background: #ffffff; color: #1b2a3a; border: 1px solid #c9d6e3; }
#bulle-batitec .bb-form { padding: 10px; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid #dde5ee; }
#bulle-batitec .bb-form input[type=text], #bulle-batitec .bb-form input[type=tel], #bulle-batitec .bb-form textarea { font-size: 16px; padding: 8px; border: 1px solid #9fb3c4; border-radius: 6px; width: 100%; box-sizing: border-box; }
#bulle-batitec .bb-consent { font-size: 13px; color: #44546a; }
#bulle-batitec .bb-btn-envoi { background: #1e3f6e; color: #ffffff; align-self: flex-end; }
#bulle-batitec .bb-btn-envoi:disabled { opacity: .6; }
#bulle-batitec .bb-statut { color: #b3261e; font-size: 14px; margin: 0; min-height: 1em; }
#bulle-batitec .bb-piege { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 480px) { #bulle-batitec { right: 8px; bottom: 8px; } #bulle-batitec .bb-panneau { bottom: 104px; } }
