/* DestekGO Müşteri Portalı V4.9.0 — Destek talepleri */
.dt-seg { display: inline-flex; background: var(--line-2); border-radius: 11px; padding: 3px; gap: 2px; margin: 0 0 14px; flex-wrap: wrap; }
.dt-seg button { border: 0; background: none; padding: 8px 14px; border-radius: 9px; font-weight: 600; color: var(--muted); cursor: pointer; font-size: 13.5px; }
.dt-seg .on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(19,35,63,.08); }
.dt-row .dt-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--line-2); color: var(--navy-3); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.dt-row.new .dt-ic { background: var(--orange-soft); color: var(--orange-ink); }
.dt-row.new b { font-weight: 700; }
.dt-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.dt-new { font-style: normal; font-size: 11.5px; font-weight: 700; color: #fff; background: #e5484d; padding: 2px 8px; border-radius: 99px; }
.dt-note { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--blue-soft); color: #1d3f97; font-size: 13px; border-bottom: 1px solid var(--line-2); }
.mp-page > .dt-note { border: 1px solid #cfdcf8; border-radius: var(--r); margin-top: 14px; }
.dt-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.dt-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 6px; }
.dt-files { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; margin: 0 0 12px; }
.dt-files .mp-btn { height: 36px; font-size: 13.5px; }
.dt-chips { display: contents; }
.dt-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--line-2); border-radius: 99px; padding: 5px 6px 5px 12px; font-size: 13px; max-width: 100%; }
.dt-chip small { color: var(--muted); }
.dt-chip button { border: 0; background: #fff; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 15px; line-height: 1; color: var(--muted); }
.dt-thread { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.dt-msg { max-width: 82%; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; background: #fff; }
.dt-msg.me { align-self: flex-end; background: #f2f6fd; border-color: #d9e4f8; border-bottom-right-radius: 6px; }
.dt-msg.them { align-self: flex-start; background: #fff; border-left: 4px solid var(--orange); border-bottom-left-radius: 6px; }
.dt-msg-head { display: flex; gap: 10px; align-items: baseline; margin-bottom: 4px; font-size: 13px; }
.dt-msg-head b { color: var(--ink); }
.dt-msg-head time { color: var(--muted); font-size: 12px; margin-left: auto; }
.dt-body { font-size: 14.5px; line-height: 1.6; white-space: normal; overflow-wrap: anywhere; color: var(--text); }
.dt-sys { align-self: center; text-align: center; font-size: 12.5px; color: var(--muted); background: var(--line-2); padding: 5px 12px; border-radius: 99px; }
.dt-sys time { margin-left: 6px; opacity: .8; }
.dt-att { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dt-thumb { display: block; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--line-2); }
.dt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dt-doc { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: #fff; color: var(--ink); font-size: 13px; text-decoration: none !important; max-width: 100%; }
.dt-doc span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dt-doc small { display: block; color: var(--muted); font-size: 11.5px; }
.dt-reply { margin-top: 14px; }
@media (max-width: 720px) {
  .dt-two { grid-template-columns: 1fr; }
  .dt-msg { max-width: 94%; }
  .dt-thread { padding: 14px 12px; }
  .dt-actions .mp-btn { flex: 1; }
  .dt-row .dt-ic { display: none; }
  .dt-right { flex-direction: column; align-items: flex-end; gap: 4px; }
}
.mp-badge.orange { background: var(--orange-soft); color: var(--orange-ink); }
.mp-code { letter-spacing: .4em; font-size: 20px !important; font-weight: 700; text-align: center; }
/* V4.9.4: telefona bağlı hesap seçimi */
.mp-accs { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; padding: 12px; background: var(--blue-soft); border: 1px solid #cfdcf8; border-radius: 12px; font-size: 13.5px; color: #1d3f97; }
.mp-acc { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; color: var(--text); }
.mp-acc:has(input:checked) { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,122,0,.15); }
.mp-acc small { display: block; color: var(--muted); font-size: 12.5px; }
.mp-acc input { width: 18px; height: 18px; accent-color: var(--orange); flex: none; }

/* V4.10.0: memnuniyet puanı */
.dt-rate .mp-panel-body { display: grid; gap: 10px; }
.dt-stars-pick { display: flex; gap: 6px; }
.dt-stars-pick button { font-size: 30px; line-height: 1; background: none; border: 0; padding: 2px; color: #c4cbd6; cursor: pointer; }
.dt-stars-pick button.on { color: #ff9a1f; }
.dt-rate textarea { width: 100%; border: 1px solid #d9dfe8; border-radius: 10px; padding: 10px 12px; font: inherit; resize: vertical; }
.dt-stars { color: #ff9a1f; letter-spacing: 2px; }
/* V4.11.0: ilgili kişiler */
.dt-added { font-style: normal; font-size: 11.5px; font-weight: 700; color: #1d3f97; background: var(--blue-soft); padding: 3px 8px; border-radius: 99px; margin-right: 6px; }
.dt-people .mp-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px 6px; }
.dt-people h2 { margin: 0; font-size: 16px; }
.dt-people p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.dt-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 18px 16px; }
.dt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: 13.5px; font-weight: 600; background: #fff; }
.dt-chip.own { padding-right: 12px; background: var(--line-2); }
.dt-chip small { font-weight: 400; color: var(--muted); font-size: 12px; }
.dt-chip button { border: 0; background: transparent; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); cursor: pointer; }
.dt-chip button:hover { background: #fde8e8; color: #c62828; }
.dt-chip button svg { width: 14px; height: 14px; }
.dt-pick { display: grid; gap: 8px; max-height: 50vh; overflow: auto; }
.dt-pick label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.dt-pick label:has(input:checked) { border-color: var(--orange); background: var(--orange-soft); }
.dt-pick input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--orange); }
.dt-pick small { display: block; color: var(--muted); font-size: 12.5px; }
/* V4.11.1: yeni talep — bilgi (CC) */
.dt-cc-list { display: flex; flex-wrap: wrap; gap: 8px; }
.dt-cc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--ink, #13233f); }
.dt-cc-chip svg { width: 15px; height: 15px; }
.dt-cc-chip small { font-weight: 400; color: var(--muted); }
.dt-cc-chip.on { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-ink, #b45300); }
.dt-cc > span small { font-weight: 400; }

/* V4.13.1 kişi seçici */
.dt-cc-list .dt-pp { width: 100%; }
.dt-pp-sel { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.dt-pp-sel .dt-cc-chip svg:last-child { width: 13px; height: 13px; opacity: .7; }
.dt-pp-q { position: relative; display: block; }
.dt-pp-q > svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.dt-pp-q .mp-input { padding-left: 38px; width: 100%; }
.dt-pp-res { margin-top: 8px; }
.dt-pp-list { display: grid; gap: 6px; max-height: 320px; overflow-y: auto; }
.dt-pp-list button { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: var(--ink, #13233f); }
.dt-pp-list button:hover { border-color: var(--orange); }
.dt-pp-list button.on { border-color: var(--orange); background: var(--orange-soft); }
.dt-pp-list button svg { width: 17px; height: 17px; flex: none; color: var(--muted); }
.dt-pp-list button.on svg { color: var(--orange); }
.dt-pp-list small { display: block; color: var(--muted); font-size: 12.5px; }
.dt-pp-hint { margin: 4px 2px 0; font-size: 13px; }
.dt-pp-q input { width: 100%; height: 44px; border: 1px solid #d5dbe5; border-radius: 10px; padding: 0 13px 0 38px !important; background: #fff; font-size: 15px; }
.dt-pp-q input:focus { outline: 0; border-color: var(--navy-3, #26406b); box-shadow: 0 0 0 3px rgba(38,64,107,.12); }

/* V4.16.9: canlı destek (web) — balon + sayfa */
.lc-ui { display: flex; flex-direction: column; height: 100%; min-height: 0; background: #fff; }
.lc-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.lc-top .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lc-top b { font-size: 15px; color: #fff; }
.lc-status { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.lc-dot { width: 8px; height: 8px; border-radius: 50%; background: #c3ccd9; flex: none; }
.lc-dot.on { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.lc-av { width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; flex: none; }
.lc-av .ic { width: 19px; height: 19px; }
.lc-thread { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; background: #f7f9fc; }
.lc-hello { align-self: center; max-width: 420px; text-align: center; display: flex; flex-direction: column; gap: 6px; padding: 22px 10px; color: var(--muted); font-size: 13.5px; }
.lc-hello b { color: var(--ink); font-size: 15.5px; }
.lc-hello a, .dt-sys a { color: var(--orange); font-weight: 600; }
.lc-compose { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; padding: 10px 12px; border-top: 1px solid var(--line-2); background: #fff; }
.lc-compose textarea { width: 100%; resize: none; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; font: inherit; font-size: 14.5px; min-height: 44px; max-height: 140px; background: #fff; line-height: 1.4; }
.lc-compose textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,122,0,.15); }
.lc-compose .mp-btn { height: 44px; }
.lc-compose .mp-form-err { grid-column: 1 / -1; }
.lc-compose .mp-form-err:empty { display: none; }
.mp-btn.sm { padding: 6px 10px; font-size: 12.5px; min-height: 0; }
/* sayfa görünümü */
.lc-page { height: min(68vh, 640px); overflow: hidden; }
/* balon penceresi */
.lc-pop { position: fixed; right: 22px; bottom: 88px; z-index: 60; width: 380px; height: min(600px, calc(100vh - 120px)); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(19,35,63,.28), 0 2px 8px rgba(19,35,63,.12); border: 1px solid var(--line); animation: lcIn .18s ease-out; }
@keyframes lcIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.lc-ui.compact .lc-top { background: var(--navy, #13233f); border-bottom: 0; padding: 12px 10px 12px 14px; }
.lc-ui.compact .lc-status { color: #c9d4e6; }
.lc-ui.compact .mp-icon-btn { color: #fff; background: rgba(255,255,255,.08); border-color: transparent; }
.lc-ui.compact .mp-btn.sm { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.lc-ui.compact .dt-msg { max-width: 88%; padding: 9px 12px; }
.lc-ui.compact .dt-thread { padding: 14px 12px; gap: 10px; }
/* balon düğmesi */
.lc-fab { position: fixed; right: 22px; bottom: 22px; z-index: 61; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border: 0; border-radius: 99px; background: var(--orange); color: #fff; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; box-shadow: 0 10px 24px rgba(255,122,0,.35); }
.lc-fab:hover { filter: brightness(1.05); }
.lc-fab .ic { width: 20px; height: 20px; }
.lc-fab[hidden] { display: none; }
.lc-fab.open { background: var(--navy, #13233f); box-shadow: 0 10px 24px rgba(19,35,63,.3); }
.lc-fab-dot { position: absolute; top: -2px; right: -2px; width: 14px; height: 14px; border-radius: 50%; background: #ef4444; border: 2px solid #fff; }
.lc-fab-dot[hidden] { display: none; }
@media (max-width: 720px) {
  .lc-fab { bottom: calc(78px + env(safe-area-inset-bottom)); right: 14px; padding: 13px; }
  .lc-fab span { display: none; }
  .lc-pop { inset: 0; width: auto; height: auto; border-radius: 0; border: 0; bottom: 0; }
  body.lc-open .lc-fab { display: none; }
  body.lc-open { overflow: hidden; }
  .lc-pop .lc-ui.compact .lc-top { padding-top: calc(12px + env(safe-area-inset-top)); }
  .lc-pop .lc-compose { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .lc-page { height: calc(100dvh - 300px); min-height: 300px; }
}
