/* Dijital asistan: sol altta; tema dugmesi sagda. Acik + koyu tema. */
.pm-bot-btn{position:fixed;left:1rem;bottom:5.5rem;z-index:45;display:inline-flex;align-items:center;gap:.5rem;height:3.25rem;padding:0 1.1rem 0 .95rem;border-radius:9999px;border:0;background:#01669a;color:#fff;font:inherit;font-weight:700;font-size:.875rem;cursor:pointer;box-shadow:0 6px 18px rgba(7,42,64,.35);transition:transform .15s,background-color .2s}
.pm-bot-btn:hover{background:#004a88;transform:translateY(-2px)}
.pm-bot-btn:focus-visible{outline:3px solid #5aa5d0;outline-offset:3px}
.pm-bot-btn svg{width:1.5rem;height:1.5rem;flex:none}
.pm-bot-btn.pm-bot-open{display:none}
@media (max-width:479px){.pm-bot-label{display:none}.pm-bot-btn{width:3.25rem;padding:0;justify-content:center}}
@media (min-width:640px){.pm-bot-btn{bottom:1.25rem;left:1.25rem;height:3.5rem}}
.pm-bot-box{position:fixed;left:.75rem;right:.75rem;bottom:5.5rem;z-index:46;display:flex;flex-direction:column;max-height:min(32rem,calc(100vh - 7rem));background:#fff;color:#0c3550;border:1px solid #cbd5e1;border-radius:1rem;box-shadow:0 14px 40px rgba(7,42,64,.35);overflow:hidden}
.pm-bot-box[hidden]{display:none}
@media (min-width:640px){.pm-bot-box{left:1.25rem;right:auto;width:23rem;bottom:1.25rem;max-height:min(34rem,calc(100vh - 2.5rem))}}
.pm-bot-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.75rem 1rem;background:#01669a;color:#fff}
.pm-bot-head strong{display:block;font-size:.95rem}.pm-bot-head small{display:block;font-size:.72rem;opacity:.85}
.pm-bot-x{border:0;background:transparent;color:#fff;font-size:1.75rem;line-height:1;width:2.75rem;height:2.75rem;border-radius:.5rem;cursor:pointer}
.pm-bot-x:hover{background:rgba(255,255,255,.18)}
.pm-bot-log{flex:1;overflow-y:auto;padding:.9rem 1rem;display:flex;flex-direction:column;gap:.6rem;background:#f8fafc;min-height:9rem}
.pm-bot-msg{max-width:88%;padding:.55rem .8rem;border-radius:.9rem;font-size:.875rem;line-height:1.45;white-space:pre-wrap;word-wrap:break-word}
.pm-bot-bot{align-self:flex-start;background:#fff;border:1px solid #e2e8f0;color:#0c3550}
.pm-bot-user{align-self:flex-end;background:#01669a;color:#fff}
.pm-bot-wait{opacity:.7;font-style:italic}
.pm-bot-chips{display:flex;flex-direction:column;gap:.4rem;align-items:flex-start}
.pm-bot-chips button{border:1px solid #01669a;background:#fff;color:#01669a;border-radius:9999px;padding:.4rem .8rem;font:inherit;font-size:.8125rem;font-weight:600;cursor:pointer;text-align:left;min-height:2.25rem}
.pm-bot-chips button:hover{background:#01669a;color:#fff}
.pm-bot-note{margin:0;padding:.5rem 1rem;font-size:.7rem;line-height:1.35;color:#475569;background:#fff;border-top:1px solid #e2e8f0}
.pm-bot-note a{color:#01669a;text-decoration:underline}
.pm-bot-form{display:flex;gap:.5rem;padding:.6rem .75rem;background:#fff;border-top:1px solid #e2e8f0}
.pm-bot-form input{flex:1;min-width:0;height:2.75rem;padding:0 .8rem;border:1px solid #cbd5e1;border-radius:.6rem;font:inherit;font-size:.875rem;background:#fff;color:#0c3550}
.pm-bot-form input:focus{outline:2px solid #01669a;border-color:#01669a}
.pm-bot-form button{height:2.75rem;padding:0 1rem;border:0;border-radius:.6rem;background:#01669a;color:#fff;font:inherit;font-weight:700;font-size:.875rem;cursor:pointer}
.pm-bot-form button:hover{background:#004a88}.pm-bot-form button:disabled{opacity:.55;cursor:default}
html[data-theme="dark"] .pm-bot-btn{background:#0a7bb8}
html[data-theme="dark"] .pm-bot-btn:hover{background:#0c8fd6}
html[data-theme="dark"] .pm-bot-box{background:#0e2230;color:#eef3f8;border-color:#24415a;box-shadow:0 14px 40px rgba(0,0,0,.7)}
html[data-theme="dark"] .pm-bot-head{background:#0b4f78}
html[data-theme="dark"] .pm-bot-log{background:#08141d}
html[data-theme="dark"] .pm-bot-bot{background:#0e2230;border-color:#24415a;color:#eef3f8}
html[data-theme="dark"] .pm-bot-user{background:#0a7bb8}
html[data-theme="dark"] .pm-bot-chips button{background:transparent;border-color:#5aa5d0;color:#8cc4e6}
html[data-theme="dark"] .pm-bot-chips button:hover{background:#0a7bb8;color:#fff}
html[data-theme="dark"] .pm-bot-note{background:#0e2230;border-top-color:#24415a;color:#a9b9c9}
html[data-theme="dark"] .pm-bot-note a{color:#8cc4e6}
html[data-theme="dark"] .pm-bot-form{background:#0e2230;border-top-color:#24415a}
html[data-theme="dark"] .pm-bot-form input{background:#0b1b27;border-color:#24415a;color:#eef3f8}
@media print{.pm-bot-btn,.pm-bot-box{display:none}}
.pm-bot-msg a{color:#01669a;text-decoration:underline;word-break:break-all}
.pm-bot-user a{color:#fff}
html[data-theme="dark"] .pm-bot-bot a{color:#8cc4e6}

/* ust menude (Iletisim Formu'nun solunda) */
.pm-bot-btn.pm-bot-in-header{position:static;flex:none;height:2.75rem;min-width:2.75rem;padding:0 .75rem;justify-content:center;box-shadow:none;font-size:.8125rem;white-space:nowrap}
.pm-bot-btn.pm-bot-in-header:hover{transform:none}
.pm-bot-btn.pm-bot-in-header.pm-bot-open{display:inline-flex;background:#004a88}
.pm-bot-btn.pm-bot-in-header .pm-bot-label{display:none}
.pm-bot-btn.pm-bot-in-header svg{width:1.35rem;height:1.35rem}
@media (min-width:1024px){.pm-bot-btn.pm-bot-in-header .pm-bot-label{display:inline}.pm-bot-btn.pm-bot-in-header{padding:0 1rem}}
