/* v69 Destek Asistanı: chat bubble (assets/support-bot.js). Works on the website and inside the app; own class names (pkb-). */
.pkb-fab { position: fixed; right: 18px; bottom: 18px; z-index: 1040; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 14px;
  border: 0; border-radius: 26px; background: #FD5F05; color: #fff; font: 600 15px/1 Figtree, system-ui, sans-serif; box-shadow: 0 6px 20px rgba(25, 61, 109, .28); cursor: pointer; }
.pkb-fab:hover { background: #E95403; } .pkb-fab:focus-visible { outline: 3px solid #193D6D; outline-offset: 2px; }
.pkb-fab svg { width: 24px; height: 24px; flex: none; }
.pkb-open .pkb-fab { display: none; }
body:has(.stick-cta.on) .pkb-fab { bottom: 84px; }
body.pkb-app { padding-bottom: 76px; }                       /* the last button of a page can scroll above the bubble */
@media (max-width: 575px) { .pkb-fab { padding: 0; width: 52px; justify-content: center; } .pkb-fab span { display: none; } }

.pkb-panel { position: fixed; right: 18px; bottom: 18px; z-index: 1045; width: 380px; max-width: calc(100vw - 24px); height: 580px; max-height: calc(100vh - 36px);
  display: none; flex-direction: column; background: #fff; color: #1E2A3A; border-radius: 16px; box-shadow: 0 12px 40px rgba(25, 61, 109, .3); overflow: hidden;
  font: 15px/1.45 Figtree, system-ui, sans-serif; }
.pkb-open .pkb-panel { display: flex; }
@media (max-width: 575px) { .pkb-panel { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 100%; max-height: 100%; border-radius: 0; } }
#pkb, #pkb * { box-sizing: border-box; } #pkb button { margin: 0; text-transform: none; letter-spacing: normal; min-height: 0; }
.pkb-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; background: #193D6D; color: #fff; }
.pkb-head b { display: block; font-size: 16px; } .pkb-head small { display: block; opacity: .8; font-size: 12px; }
.pkb-head .pkb-t { flex: 1; min-width: 0; }
.pkb-head button { border: 0; background: transparent; color: #fff; border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 13px; cursor: pointer; }
.pkb-head button:hover, .pkb-head button:focus-visible { background: rgba(255, 255, 255, .15); }
.pkb-head .pkb-x { font-size: 22px; line-height: 1; padding: 2px 9px 4px; }
.pkb-log { flex: 1; overflow-y: auto; padding: 14px; background: #F5F7FA; overscroll-behavior: contain; }
.pkb-m { max-width: 88%; margin: 0 0 10px; padding: 9px 12px; border-radius: 14px; white-space: normal; overflow-wrap: anywhere; }
.pkb-m p { margin: 0 0 6px; } .pkb-m p:last-child, .pkb-m ul:last-child, .pkb-m ol:last-child { margin-bottom: 0; }
.pkb-m ul, .pkb-m ol { margin: 0 0 6px; padding-left: 20px; } .pkb-m li { margin: 2px 0; }
.pkb-m a { color: #C94A00; font-weight: 600; }
.pkb-bot { background: #fff; border: 1px solid #E3E8EF; border-bottom-left-radius: 4px; }
.pkb-me { margin-left: auto; background: #193D6D; color: #fff; border-bottom-right-radius: 4px; }
.pkb-err { background: #FFF4E5; border: 1px solid #F9C27B; }
.pkb-wait { color: #6B7785; } .pkb-wait i { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: #9AA6B2; animation: pkb-b 1s infinite; }
.pkb-wait i:nth-child(2) { animation-delay: .15s; } .pkb-wait i:nth-child(3) { animation-delay: .3s; }
@keyframes pkb-b { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pkb-wait i { animation: none; } }
.pkb-ticket { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: #E9F6EC; border: 1px solid #A8D8B0; font-size: 14px; }
.pkb-ticket b { display: block; font-size: 15px; } .pkb-ticket a { color: #1F6B2A; font-weight: 600; }
.pkb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 10px; }
.pkb-chips button { border: 1px solid #F9A777; background: #FFF8F3; color: #B44400; border-radius: 16px; padding: 5px 11px; font: inherit; font-size: 13.5px; cursor: pointer; text-align: left; }
.pkb-chips button:hover { background: #FFEBDD; }
.pkb-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px; border-top: 1px solid #E3E8EF; background: #fff; }
#pkb .pkb-form textarea { flex: 1; width: auto; height: 42px; min-height: 42px; max-height: 120px; margin: 0; padding: 10px 12px; border: 1px solid #CBD3DD; border-radius: 12px;
  background: #fff; color: #1E2A3A; font: inherit; line-height: 1.35; resize: none; box-shadow: none; }
#pkb .pkb-form textarea::placeholder { color: #8A96A3; opacity: 1; }
#pkb .pkb-form textarea:focus { outline: none; border-color: #FD5F05; box-shadow: 0 0 0 3px rgba(253, 95, 5, .15); }
.pkb-form button { flex: none; height: 42px; padding: 0 16px; border: 0; border-radius: 12px; background: #FD5F05; color: #fff; font: 600 15px Figtree, system-ui, sans-serif; cursor: pointer; }
.pkb-form button:disabled { opacity: .55; cursor: default; }
.pkb-fine { margin: 0; padding: 0 12px 10px; background: #fff; color: #6B7785; font-size: 12px; }
.pkb-fine a { color: inherit; text-decoration: underline; }
