/* Canlı destek kutusu ve üye penceresi */
.cd-dugme { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px 0 16px; border: 0; border-radius: 18px; background: var(--deep); color: #fff; font: 600 15px var(--f-body); cursor: pointer; box-shadow: 0 18px 40px -16px rgba(10, 16, 26, .6); transition: transform .3s var(--ease-out), background-color .3s; }
.cd-dugme svg { width: 22px; height: 22px; }
.cd-dugme:hover { transform: translateY(-2px); }
.cd-dugme.acik { background: var(--deep-2); }
.cd-dugme::before { content: ""; position: absolute; top: 12px; left: 32px; width: 9px; height: 9px; border-radius: 50%; background: #7DD69A; box-shadow: 0 0 0 2px var(--deep); }
.cd-rozet { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: #E2475C; box-shadow: 0 0 0 3px var(--canvas); animation: nabiz 1.6s infinite; }
@keyframes nabiz { 50% { transform: scale(1.2); } }
.cd-panel { position: fixed; right: 18px; bottom: 84px; z-index: 75; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100vh - 110px)); height: min(600px, calc(100dvh - 110px)); display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: var(--panel); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(10, 16, 26, .55), 0 0 0 1px rgba(21, 32, 43, .08); animation: cdGel .35s var(--ease-out); }
@keyframes cdGel { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.cd-bas { display: flex; align-items: center; gap: 12px; padding: 16px 14px 16px 16px; background: var(--deep); color: #fff; }
.cd-bas > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cd-bas b { font: 600 15px var(--f-display); letter-spacing: -.01em; }
.cd-durum { font-size: 12px; color: var(--on-deep-2); display: flex; align-items: center; gap: 6px; }
.cd-durum::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #D7A24A; flex: none; }
.cd-durum.acik::before { background: #7DD69A; }
.cd-avatar { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #F4F2EC; color: var(--deep); flex: none; }
.cd-avatar svg { width: 24px; height: 25px; }
.cd-ikon { width: 40px; height: 40px; border-radius: 12px; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; flex: none; }
.cd-ikon svg { width: 18px; height: 18px; }
.cd-ikon:hover { background: rgba(255, 255, 255, .18); }
.cd-ikon.koyu { background: rgba(21, 32, 43, .06); color: var(--ink); }
.cd-govde { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; }
.cd-karsila { padding: 22px 20px 6px; display: grid; gap: 6px; }
.cd-merhaba { font: 600 22px var(--f-display); letter-spacing: -.02em; }
.cd-karsila p:last-child { color: var(--ink-2); font-size: 14.5px; }
.cd-sekme { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 14px 20px 0; padding: 4px; border-radius: 13px; background: rgba(21, 32, 43, .06); }
.cd-sekme button { min-height: 40px; border: 0; border-radius: 10px; background: none; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.cd-sekme [aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(21, 32, 43, .12); }
.cd-form { display: grid; gap: 12px; padding: 16px 20px 20px; }
.cd-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
.cd-form small { color: var(--ink-2); font-weight: 400; }
.cd-form input:not([type=checkbox]) { width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; font-size: 16px; }
.cd-form input:focus { outline: 2px solid var(--accent-ink); outline-offset: 1px; border-color: transparent; }
.cd-onay { grid-template-columns: 20px 1fr !important; font-weight: 400 !important; color: var(--ink-2); }
.cd-onay input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--deep); }
.cd-hata { color: #A3341F; font-size: 13px; font-weight: 600; min-height: 1em; }
.cd-ana { min-height: 50px; border: 0; border-radius: 14px; background: var(--deep); color: #fff; font: 600 15px var(--f-body); cursor: pointer; margin: 0 20px; }
.cd-form .cd-ana { margin: 0; }
.cd-ana:hover { background: var(--deep-2); }
.cd-not { font-size: 12.5px; color: var(--ink-2); text-align: center; }
.cd-link { border: 0; background: none; padding: 0; color: var(--accent-ink); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cd-uye-satir { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 14px 20px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.cd-akis { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.cd-gun { align-self: center; font-size: 11.5px; color: var(--ink-2); padding: 4px 10px; border-radius: 999px; background: rgba(21, 32, 43, .06); }
.cd-balon { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; animation: cdGel .3s var(--ease-out); }
.cd-balon p { white-space: pre-wrap; overflow-wrap: anywhere; }
.cd-balon small { display: block; margin-top: 4px; font-size: 11px; opacity: .6; text-align: right; }
.cd-balon.ben { align-self: flex-end; background: var(--deep); color: #fff; border-bottom-right-radius: 6px; }
.cd-balon.onlar { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.cd-kim { display: block; font-size: 11.5px; font-weight: 600; color: var(--accent-ink); margin-bottom: 2px; }
.cd-hizli { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.cd-hizli button { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: 13px; cursor: pointer; }
.cd-hizli button:hover { border-color: var(--ink); }
.cd-yaz { display: flex; gap: 8px; align-items: end; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.cd-yaz textarea { flex: 1; resize: none; min-height: 44px; max-height: 120px; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); font-size: 16px; line-height: 1.35; }
.cd-yaz textarea:focus { outline: 2px solid var(--accent-ink); outline-offset: 0; border-color: transparent; }
.cd-gonder { width: 44px; height: 44px; border-radius: 14px; border: 0; display: grid; place-items: center; background: var(--deep); color: #fff; cursor: pointer; flex: none; }
.cd-gonder svg { width: 20px; height: 20px; }
.cd-alt { display: flex; justify-content: space-between; gap: 10px; padding: 8px 16px 12px; background: #fff; font-size: 12.5px; }
@media (max-width: 560px) {
  .cd-dugme span { display: none; } .cd-dugme { padding: 0 16px; } .cd-dugme::before { left: 28px; }
  .cd-panel { right: 0; left: 0; bottom: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
}
dialog.uye-pencere { border: 0; padding: 0; border-radius: 26px; width: min(420px, calc(100vw - 24px)); background: var(--panel); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(10, 16, 26, .6); }
dialog.uye-pencere::backdrop { background: rgba(10, 16, 26, .5); backdrop-filter: blur(3px); }
.up-bas { display: flex; justify-content: space-between; align-items: center; padding: 18px 18px 0 22px; }
.up-bas h2 { font-size: 22px; }
.up-acik { padding: 10px 22px 0; color: var(--ink-2); font-size: 14px; }
.up-hesap { padding: 14px 22px 22px; display: grid; gap: 14px; }
.up-hesap span { color: var(--ink-2); font-size: 14px; }
.up-hesap > ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.up-hesap > ul > li { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.up-hesap > ul > li b { display: block; font: 600 24px var(--f-display); color: var(--ink); }
.up-eylem { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.up-eylem .cd-ana { margin: 0; flex: 1; }
.vitrin-bos { grid-column: 1 / -1; padding: 40px 24px; text-align: center; color: var(--ink-2); border: 1px dashed var(--line-strong); border-radius: var(--r); }
.kare-modu .cd-dugme, .kare-modu .cd-panel { display: none !important; }

/* İlan sohbeti: danışman başlığı ve ilan kartı */
.cd-avatar.kisi { background: none; padding: 0; overflow: hidden; }
.cd-avatar .cd-dn { width: 100%; height: 100%; border-radius: inherit; }
.cd-ilan { display: flex; align-items: center; gap: 12px; margin: 14px 16px 0; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.cd-ilan img, .cd-ilan > span { width: 64px; height: 48px; border-radius: 9px; object-fit: cover; flex: none; background: var(--deep); }
.cd-ilan div { display: grid; min-width: 0; font-size: 13px; line-height: 1.35; }
.cd-ilan small { font: 500 10.5px var(--f-label); letter-spacing: .14em; color: var(--ink-2); }
.cd-ilan b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd-ilan div > span { font-weight: 600; color: var(--accent-ink); } .cd-ilan div > span small { letter-spacing: 0; font: 400 12px var(--f-body); }
.vitrin-hepsi { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.vitrin-hepsi b { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--vurgu); font-size: 12.5px; }
.vitrin-hepsi:hover { text-decoration: underline; }

/* Hesabım: kaydedilen ilanlar ve aramalar */
.up-liste { margin-top: 14px; }
.up-liste h3 { font: 500 10.5px var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.up-liste ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.up-liste li { display: flex; align-items: center; gap: 6px; }
.up-liste a { flex: 1; min-width: 0; display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: 13.5px; }
.up-liste a span { color: var(--ink); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-liste a b { flex: none; font: 600 13.5px var(--f-body); color: var(--ink); }
.up-liste em { font-style: normal; margin-left: 4px; padding: 2px 6px; border-radius: 6px; background: #E3F0E1; color: #2E6B3F; font-size: 12px; }
.up-liste .cd-link { font-size: 20px; width: 36px; height: 36px; }
.up-ipucu { margin-top: 14px; font-size: 13px; color: var(--ink-2); }
dialog.uye-pencere { max-height: calc(100dvh - 24px); overflow: auto; }
