/* Free Chat follow-up — shared by client, expert and admin ECA pages */
.tffc-badge{display:inline-flex;align-items:center;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;border-radius:20px;padding:2px 8px;background:#e0f2fe;color:#0369a1;border:1px solid #bae6fd;line-height:1.3;white-space:nowrap;vertical-align:middle}
.tffc-badge.dark{background:rgba(14,165,233,.16);color:#7dd3fc;border-color:rgba(14,165,233,.4)}
.tffc-note{display:flex;align-items:flex-start;gap:9px;padding:9px 16px;border-bottom:1px solid #bae6fd;background:#f0f9ff;color:#075985;font-size:12.5px;line-height:1.45;flex:0 0 auto}
.tffc-note .tffc-noteIc{flex:0 0 auto;width:17px;height:17px;border-radius:50%;background:#0284c7;color:#fff;font:800 11px/17px Georgia,serif;text-align:center;font-style:italic;margin-top:1px}
.tffc-note.dark{background:rgba(14,165,233,.08);border-bottom-color:rgba(14,165,233,.3);color:#bae6fd}
.tffc-btn{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:6px 12px;font:600 12px/1.2 inherit;font-family:inherit;cursor:pointer;white-space:nowrap;border:1px solid #bae6fd;background:#e0f2fe;color:#0369a1}
.tffc-btn:hover{background:#bae6fd}
.tffc-btn.danger{border-color:#fecaca;background:#fef2f2;color:#b91c1c}
.tffc-btn.danger:hover{background:#fee2e2}
.tffc-btn:disabled{opacity:.55;cursor:not-allowed}
.tffc-btn.dark{background:rgba(14,165,233,.12);border-color:rgba(14,165,233,.4);color:#7dd3fc}
.tffc-btn.dark.danger{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.45);color:#fca5a5}
.tffc-acts{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}
.svcDone .tffc-startBtn{border:1px solid #166534;border-radius:9px;padding:8px 14px;background:#fff;color:#166534;font:inherit;cursor:pointer;white-space:nowrap}
.svcDone .tffc-startBtn:hover{background:#f0fdf4}
.svcDone .tffc-startBtn:disabled{opacity:.6;cursor:not-allowed}
@media(max-width:560px){.svcDone .tffc-startBtn{width:100%}.tffc-note{padding:8px 12px;font-size:12px}}
/* Attachments never available in Free Chat */
body .tffc-free #attachBtn,body .tffc-free.composer #attachBtn,body .tffc-free .tfdm-abtn,body .tffc-free .tfdm-mic,body .tffc-free .tfdm-recbar,body .tffc-free #fileInput,body .tffc-free #adminFile{display:none!important}
.tffc-free.dropOver,.tffc-free .dropOver{outline:none!important}
body.tfdm .composer.tffc-free .tfdm-cbtn.tfdm-abtn,
body.tfdm .composer.tffc-free .tfdm-cbtn.tfdm-vbtn,
body.tfdm .composer.tffc-free .tfdm-cbtn.tfdm-mic,
body.tfdm .composer.tffc-free .tfdm-recbar{display:none!important}
/* confirm popup */
.tffc-modalWrap{position:fixed;inset:0;z-index:10050;background:rgba(15,23,42,.55);display:flex;align-items:center;justify-content:center;padding:18px;animation:tffcFade .14s ease}
.tffc-modal{background:#fff;color:#0f172a;border-radius:16px;max-width:420px;width:100%;padding:22px 22px 18px;box-shadow:0 20px 60px rgba(0,0,0,.3);text-align:center;animation:tffcPop .18s ease}
.tffc-mIcon{width:42px;height:42px;margin:0 auto 10px;border-radius:50%;background:#fee2e2;color:#b91c1c;font:800 22px/42px system-ui,sans-serif}
.tffc-modal h3{margin:0 0 8px;font-size:17px}
.tffc-modal p{margin:0 0 18px;font-size:13.5px;line-height:1.55;color:#475569}
.tffc-mBtns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.tffc-mBtns button{flex:1 1 140px;border:0;border-radius:10px;padding:11px 14px;font:700 14px/1.2 system-ui,sans-serif;cursor:pointer}
.tffc-mNo{background:#e2e8f0;color:#0f172a}
.tffc-mYes{background:linear-gradient(90deg,#ef4444,#dc2626);color:#fff}
.tffc-modalWrap.dark .tffc-modal{background:#171a23;color:#e7eaf0;border:1px solid #2a2f3d}
.tffc-modalWrap.dark .tffc-modal p{color:#9aa3b2}
.tffc-modalWrap.dark .tffc-mNo{background:#2a2f3d;color:#e7eaf0}
@keyframes tffcFade{from{opacity:0}to{opacity:1}}
@keyframes tffcPop{from{opacity:0;transform:translateY(6px) scale(.98)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.tffc-modalWrap,.tffc-modal{animation:none}}
