/*
 * Wellputt chatbot : fenetre de chat (reprise du bloc Creative Elements de la prod).
 * Polices Oswald/Poppins chargees par le module.
 */
#wellputt-chatbot-container { position:fixed; bottom:25px; right:25px; z-index:999999; font-family:'Poppins',sans-serif; }
#wellputt-chat-toggle { background:#e8520a; color:#fff; padding:13px 22px; border-radius:50px; cursor:pointer; box-shadow:0 4px 16px rgba(232,82,10,0.45); display:flex; align-items:center; gap:10px; font-family:'Poppins',sans-serif; font-size:14px; font-weight:500; transition:transform 0.2s,background-color 0.2s,box-shadow 0.2s; user-select:none; }
#wellputt-chat-toggle:hover { background:#d44708; transform:scale(1.04); box-shadow:0 6px 20px rgba(232,82,10,0.55); }
#wellputt-chat-window { width:370px; height:500px; background:#fff; border-radius:16px; box-shadow:0 12px 40px rgba(0,0,0,0.16); position:absolute; bottom:70px; right:0; display:none; flex-direction:column; overflow:hidden; border:1px solid #e9e9e9; }
#wellputt-chat-checkbox:checked ~ #wellputt-chat-window { display:flex !important; }
#wellputt-chat-header { background:#e8520a; color:#fff; padding:14px 16px; display:flex; justify-content:space-between; align-items:center; flex-shrink:0; }
#wellputt-chat-header-title { display:flex; align-items:center; gap:10px; }
#wellputt-chat-header-text { display:flex; flex-direction:column; line-height:1.2; }
#wellputt-chat-header-name { font-family:'Oswald',sans-serif; font-size:15px; font-weight:600; letter-spacing:0.4px; text-transform:uppercase; }
#wellputt-chat-header-sub { font-size:11px; opacity:0.85; }
#wellputt-chat-close { color:#fff; font-size:24px; cursor:pointer; opacity:0.75; user-select:none; transition:opacity 0.15s; }
#wellputt-chat-close:hover { opacity:1; }
#wellputt-chat-history { flex:1; padding:16px; overflow-y:auto; background:#f7f7f7; display:flex; flex-direction:column; gap:10px; scroll-behavior:smooth; }
#wellputt-chat-history::-webkit-scrollbar { width:4px; }
#wellputt-chat-history::-webkit-scrollbar-thumb { background:#ddd; border-radius:4px; }
.wellputt-ai-notice { margin:0; padding:8px 12px; border-radius:10px; background:#fff4ef; border:1px solid #fbd5c5; color:#7a3a1f; font-size:11.5px; line-height:1.45; }
.wellputt-message { max-width:84%; padding:10px 14px; border-radius:16px; font-size:13.5px; line-height:1.5; word-wrap:break-word; }
.wellputt-bot { background:#fff; color:#1f2937; align-self:flex-start; border-bottom-left-radius:4px; border:1px solid #e5e5e5; box-shadow:0 1px 3px rgba(0,0,0,0.06); }
.wellputt-user { background:#e8520a; color:#fff; align-self:flex-end; border-bottom-right-radius:4px; }
.wellputt-typing { display:flex; align-items:center; gap:5px; padding:12px 16px; }
.wellputt-typing span { width:7px; height:7px; background:#c0c0c0; border-radius:50%; display:inline-block; animation:wellputt-bounce 1.2s infinite ease-in-out; }
.wellputt-typing span:nth-child(2) { animation-delay:0.2s; }
.wellputt-typing span:nth-child(3) { animation-delay:0.4s; }
@keyframes wellputt-bounce { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-5px);background:#e8520a} }
#wellputt-chat-gate { padding:18px 16px; background:#fff; border-top:1px solid #ebebeb; flex-shrink:0; text-align:center; }
#wellputt-chat-gate-text { font-size:12.5px; color:#555; margin:0 0 12px; }
#wellputt-recaptcha-gate { display:flex; justify-content:center; }
#wellputt-chat-gate-error { font-size:12px; color:#dc2626; margin:10px 0 0; }
#wellputt-chat-footer { padding:10px 12px; background:#fff; border-top:1px solid #ebebeb; display:flex; align-items:center; gap:8px; flex-shrink:0; }
#wellputt-chat-input { flex:1; border:1px solid #d1d5db; border-radius:24px; padding:10px 16px; font-family:'Poppins',sans-serif; font-size:13.5px; outline:none; color:#1f2937; background:#fafafa; transition:border-color 0.2s,box-shadow 0.2s; }
#wellputt-chat-input:focus { border-color:#e8520a; box-shadow:0 0 0 3px rgba(232,82,10,0.12); background:#fff; }
#wellputt-chat-input::placeholder { color:#aaa; }
#wellputt-chat-input:disabled { background:#f0f0f0; color:#aaa; }
#wellputt-chat-send { background:#e8520a; color:#fff; border:none; width:40px; height:40px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-shrink:0; padding:0; transition:background-color 0.2s,transform 0.15s; }
#wellputt-chat-send:hover { background:#d44708; transform:scale(1.06); }
#wellputt-chat-send:disabled { background:#f0a87a; cursor:not-allowed; }
@media(max-width:480px) { #wellputt-chat-window{width:calc(100vw - 20px);right:-15px;bottom:65px;} .wellputt-toggle-text{display:none;} #wellputt-chat-toggle{padding:13px;border-radius:50%;} }
