/* YONETIXO destek asistanı balonu — yx_update_016 */
#yx-chat{--c-ink:#13233F;--c-blue:#1F50D6;--c-green:#179A57;--c-line:#E3E8F0;--c-muted:#64748B;font-family:inherit}
.yxc-fab{position:fixed;right:20px;bottom:20px;z-index:9990;display:flex;align-items:center;gap:10px;border:0;cursor:pointer;background:var(--c-blue);color:#fff;border-radius:999px;padding:14px 20px 14px 16px;font:700 15px/1 inherit;font-family:inherit;box-shadow:0 10px 30px rgba(31,80,214,.35),0 2px 6px rgba(15,23,42,.15);transition:transform .15s ease,box-shadow .15s ease}
.yxc-fab:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(31,80,214,.42),0 2px 6px rgba(15,23,42,.15)}
.yxc-fab svg{width:24px;height:24px;flex:none}
.yxc-fab .yxc-dot{position:absolute;top:6px;right:8px;width:10px;height:10px;border-radius:50%;background:#3DDC84;box-shadow:0 0 0 2px var(--c-blue)}
.yxc-open .yxc-fab{display:none}
.yxc-panel{position:fixed;right:20px;bottom:20px;z-index:9991;width:min(380px,calc(100vw - 24px));height:min(600px,calc(100vh - 40px));display:none;flex-direction:column;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 24px 60px rgba(15,23,42,.28),0 0 0 1px rgba(15,23,42,.06)}
.yxc-open .yxc-panel{display:flex;animation:yxcIn .18s ease-out}
@keyframes yxcIn{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
.yxc-head{display:flex;align-items:center;gap:12px;padding:16px 16px 14px;background:var(--c-ink);color:#fff}
.yxc-av{width:40px;height:40px;border-radius:12px;background:#fff;display:grid;place-items:center;flex:none}
.yxc-av svg{width:28px;height:28px}
.yxc-head b{display:block;font-size:16px}
.yxc-head small{display:block;font-size:12px;color:#B9C6DD;margin-top:2px}
.yxc-head small i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#3DDC84;margin-right:5px;vertical-align:1px}
.yxc-x{margin-left:auto;border:0;background:rgba(255,255,255,.12);color:#fff;width:34px;height:34px;border-radius:10px;cursor:pointer;font-size:20px;line-height:1}
.yxc-x:hover{background:rgba(255,255,255,.22)}
.yxc-body{flex:1;overflow-y:auto;padding:16px;background:#F6F8FB;display:flex;flex-direction:column;gap:10px}
.yxc-msg{max-width:86%;padding:11px 14px;border-radius:16px;font-size:14.5px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}
.yxc-bot{align-self:flex-start;background:#fff;color:var(--c-ink);border:1px solid var(--c-line);border-bottom-left-radius:6px}
.yxc-me{align-self:flex-end;background:var(--c-blue);color:#fff;border-bottom-right-radius:6px}
.yxc-bot a{color:var(--c-blue);font-weight:600}
.yxc-link{display:inline-block;margin-top:8px;padding:7px 12px;border-radius:10px;background:#E8EEFC;color:var(--c-blue)!important;text-decoration:none;font-weight:700;font-size:13.5px}
.yxc-sug{display:flex;flex-wrap:wrap;gap:6px;align-self:flex-start}
.yxc-sug button{border:1px solid #C9D6F5;background:#fff;color:var(--c-blue);border-radius:999px;padding:7px 12px;font:600 13px/1.2 inherit;font-family:inherit;cursor:pointer;text-align:left}
.yxc-sug button:hover{background:#E8EEFC}
.yxc-typing{align-self:flex-start;background:#fff;border:1px solid var(--c-line);border-radius:16px;padding:12px 14px;display:flex;gap:4px}
.yxc-typing span{width:7px;height:7px;border-radius:50%;background:#9AA8BF;animation:yxcB 1s infinite}
.yxc-typing span:nth-child(2){animation-delay:.15s}.yxc-typing span:nth-child(3){animation-delay:.3s}
@keyframes yxcB{0%,60%,100%{opacity:.35;transform:none}30%{opacity:1;transform:translateY(-3px)}}
.yxc-lead{align-self:stretch;background:#fff;border:1px solid var(--c-line);border-radius:16px;padding:12px;display:grid;gap:8px}
.yxc-lead b{font-size:14px;color:var(--c-ink)}
.yxc-lead input,.yxc-lead textarea{width:100%;box-sizing:border-box;border:1px solid var(--c-line);border-radius:10px;padding:9px 11px;font:14px inherit;font-family:inherit;color:var(--c-ink);background:#fff}
.yxc-lead textarea{min-height:70px;resize:vertical}
.yxc-lead .yxc-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.yxc-lead button{border:0;background:var(--c-green);color:#fff;border-radius:10px;padding:10px;font:700 14px inherit;font-family:inherit;cursor:pointer}
.yxc-lead .yxc-err{color:#B42318;font-size:13px}
.yxc-foot{display:flex;gap:8px;padding:12px;border-top:1px solid var(--c-line);background:#fff}
.yxc-foot textarea{flex:1;resize:none;border:1px solid var(--c-line);border-radius:14px;padding:11px 13px;font:15px/1.35 inherit;font-family:inherit;color:var(--c-ink);max-height:110px;min-height:44px;box-sizing:border-box;outline:none}
.yxc-foot textarea:focus{border-color:var(--c-blue);box-shadow:0 0 0 3px rgba(31,80,214,.12)}
.yxc-send{border:0;background:var(--c-blue);color:#fff;width:46px;border-radius:14px;cursor:pointer;display:grid;place-items:center;flex:none}
.yxc-send:disabled{opacity:.5;cursor:default}
.yxc-send svg{width:20px;height:20px}
.yxc-note{font-size:11px;color:var(--c-muted);text-align:center;padding:0 12px 10px;background:#fff}
.yxc-note a{color:var(--c-muted)}
@media (max-width:520px){
  .yxc-fab{right:14px;bottom:14px;padding:13px}
  .yxc-fab .yxc-lbl{display:none}
  .yxc-panel{right:0;bottom:0;width:100vw;height:100dvh;max-height:100vh;border-radius:0}
}
@media print{#yx-chat{display:none!important}}
