/* ChatJGT ekran katmani 0 - Comm100 birebir ekran olculeri (app.css belirteclerini kullanir)
   Kurulum, Sohbet dugmesi, Sohbet penceresi, Gecmis (Sohbetler / Mesajlar /
   Kacirilan), Denetim kaydi. Olculer: log/ekran/birebir/*-ref.png,
   tmp/b2/ref/*.json. */

/* --- ortak: akordeon karti (Comm100 "Advanced") ---------------------------- */
.kart.akordeon {
  padding: 0;
  margin-bottom: 12px;
}
.akordeonbas {
  display: flex;
  align-items: center;
  width: 100%;
  height: 66px;
  padding: 0 24px;
  background: none;
  color: var(--ink);
  border: 0;
  border-radius: var(--r);
  box-shadow: none !important;
  font-size: var(--yz-18);
  font-weight: 500;
  letter-spacing: var(--harf);
  justify-content: space-between;
}
.akordeonbas:hover {
  background: none;
}
.akordeonbas svg.ikon {
  width: 24px;
  height: 24px;
  color: var(--ink2);
  transition: transform 195ms var(--ez);
}
.akordeon.acik .akordeonbas svg.ikon {
  transform: rotate(180deg);
}
.akordeongovde {
  display: none;
  padding: 0 24px 16px;
}
.akordeon.acik .akordeongovde {
  display: block;
}
.kartdugmeler {
  display: flex;
  gap: 16px;
  margin: 8px 0;
}

/* --- Kurulum (c_installation) --------------------------------------------- */
.kart.kurulumkart {
  padding: 24px;
  margin-bottom: 12px;
}
.kurulumozet {
  margin: 0 0 20px;
  line-height: 20px;
  color: var(--ink);
}
.kurulumozet code {
  font-family: inherit;
  font-size: inherit;
}
pre.kod.kurulumkod {
  margin: 0;
  min-height: 258px;
  padding: 12px 12px 40px;
  background: #fff;
  border: 1px solid #eeeeee;
  border-radius: var(--r);
  color: #9e9e9e;
  font-family: var(--yz);
  font-size: var(--yz-14);
  line-height: 20px;
  white-space: pre-wrap;
  word-break: break-all;
}
pre.kod.kisa {
  margin: 0 0 8px;
}
.kurulumgelismis h3 {
  margin-top: 0;
}

/* --- Sohbet dugmesi / penceresi (c_chatbutton, c_chatwindow) --------------- */
.gorunumizgara {
  display: grid;
  grid-template-columns: 740px 388px;
  gap: 24px;
  align-items: start;
}
.gorunumizgara.pencereizgara {
  grid-template-columns: 730px 388px;
}
.gorunumform > .kart {
  padding: 24px;
  margin-bottom: 12px;
}
.gorunumform > .kart.akordeon {
  padding: 0;
}
.gorunumform h3 {
  margin: 18px 0 8px;
  font-size: var(--yz-16);
  font-weight: 500;
  line-height: 24px;
}
.gorunumform > .kart > h3:first-child {
  margin-top: 0;
}
.renkalan {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 220px;
  height: 44px;
  padding: 0 7px 0 14px;
  border: 1px solid rgba(0, 0, 0, 0.23);
  border-radius: var(--r);
  margin: 0 0 8px;
}
.renkalan > label {
  position: absolute;
  top: -8px;
  left: 9px;
  padding: 0 5px;
  background: #fff;
  font-size: var(--yz-12);
  line-height: 14px;
  color: var(--ink2);
}
.renkalan > span {
  color: var(--ink);
}
.renkalan .renkkod {
  flex: 1;
  min-width: 0;
  height: 32px;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  color: var(--ink);
  text-transform: uppercase;
  box-shadow: none;
}
.renkalan:focus-within {
  border-color: var(--ana);
}
.renkalan.hata,
.renkalan.hata:focus-within {
  border-color: #d32f2f;
}
.renkalan.hata > label {
  color: #d32f2f;
}
.renksarmal {
  margin: 0 0 8px;
}
.renksarmal > .renkalan {
  margin-bottom: 0;
}
.renkhata {
  margin: 4px 0 0 14px;
  font-size: var(--yz-12);
  color: #d32f2f;
}
.renkalan input[type="color"] {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.renkalan input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.renkalan input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 50%;
}
.ofsetsatir {
  display: flex;
  align-items: center;
  height: 44px;
  padding-left: 16px;
  gap: 12px;
}
.ofsetsatir > label {
  width: 123px;
  color: var(--ink);
  font-size: var(--yz-14);
}
.ofsetsatir input.ofset,
.ofsetsatir select {
  width: 82px;
  height: 32px;
  padding: 0 12px;
}
.ofsetsatir select {
  width: 120px;
}
.ofsetsatir > span {
  color: var(--ink);
}
.gorunumform .kayitdip {
  margin-top: 40px;
}
.gorunumform label.onay {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  color: var(--ink);
}
.stiller,
.turler {
  display: flex;
  gap: 16px;
  margin: 8px 0 22px;
}
.stilkutu {
  width: 102px;
  height: 102px;
  border: 1px solid #e0e0e0;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.stilkutu.on,
.turkutu.on {
  border-color: var(--ana);
}
.stilkutu.on::after,
.turkutu.on::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  border-top: 20px solid var(--ana);
  border-left: 20px solid transparent;
}
.stilciz {
  width: 44px;
  height: 58px;
  border: 2px solid #78909c;
  border-radius: 4px;
  border-top-width: 16px;
  border-top-color: var(--ana);
}
.stilciz.yuvarlak {
  border-top-width: 2px;
  border-top-color: #78909c;
  border-radius: 6px;
}
.stilciz.balon {
  border-style: dashed;
  border-top-width: 2px;
  border-top-color: #78909c;
}
.turkutu {
  width: 142px;
  height: 142px;
  border: 1px solid #e0e0e0;
  border-radius: var(--r);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink2);
}
.turciz {
  width: 100px;
  height: 78px;
  background: #eceff1;
  border: 1px solid #cfd8dc;
  border-radius: 3px;
}
.onizsutun {
  min-width: 0;
}
.onizbas {
  display: flex;
  align-items: center;
  height: 44px;
  margin-bottom: 26px;
}
.dugmealan {
  padding-top: 22px;
}
.onizbas h2 {
  margin: 0;
  font-size: 21px;
  line-height: 28px;
}
.onizkipler {
  margin-left: auto;
  display: flex;
  border: 1px solid #e0e0e0;
  border-radius: var(--r);
  background: #fff;
}
.onizkipler .onizkip {
  width: 43px;
  height: 42px;
  padding: 0;
  background: #f5f5f5;
  color: #9e9e9e;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
}
.onizkipler .onizkip.on {
  background: #fff;
  color: var(--ana);
}
.onizkip svg.ikon {
  width: 24px;
  height: 24px;
}
.onizalan {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dugmeonizkutu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 52px;
  color: var(--ink);
}
.dugmeoniz {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ana);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  position: relative;
}
.dugmeoniz::after {
  content: "";
  position: absolute;
  inset: 15px;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 4px;
}
.dugmeoniz.kapali {
  background: #b0a9a9;
}
.canlionizbag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink2);
  font-weight: 500;
  margin-top: 6px;
}
.canlionizbag svg.ikon {
  width: 18px;
  height: 18px;
}
.onizalan.mobil .pencereoniz {
  width: 300px;
}
.pencereoniz {
  width: 388px;
  height: 626px;
  border-radius: 8px;
  background: #f5f6fa;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 20px;
}
.pust {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 68px;
  padding: 0 16px 0 24px;
  background: var(--ana);
  color: #fff;
}
.pust b {
  font-weight: 500;
}
.pavatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e1e6ea;
  overflow: hidden;
}
.pavatar img {
  width: 100%;
  height: 100%;
}
.pislem {
  margin-left: auto;
  display: flex;
  gap: 12px;
}
.pislem svg.ikon {
  width: 20px;
  height: 20px;
}
.pgovde {
  flex: 1;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.psistem {
  text-align: center;
  color: var(--ink2);
  font-size: var(--yz-13);
}
.pkim {
  font-size: var(--yz-12);
  font-weight: 500;
}
.pbalon {
  align-self: flex-start;
  max-width: 260px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.pbalon.ziy {
  align-self: flex-end;
  background: #d9deec;
  box-shadow: none;
}
.pyaz {
  display: flex;
  align-items: center;
  height: 50px;
  margin: 0 12px;
  padding: 0 16px;
  background: #fff;
  border-radius: 6px;
  color: #90a4ae;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.pikon {
  margin-left: auto;
  display: flex;
  gap: 16px;
  color: #78909c;
}
.pguc {
  padding: 10px 12px 8px;
  text-align: right;
  font-size: 10px;
  color: var(--ink);
}

/* --- Gecmis: Sohbetler / Mesajlar / Kacirilan (h_chats, h_messages, h_missed) */
.kart.gecmiskart {
  padding: 0;
  overflow: hidden;
}
.gecmiskart > .filtresatir {
  padding: 16px;
  gap: 16px;
  margin: 0;
  flex-wrap: nowrap;
}
.gecmiskart > .filtresatir > .filtresatir {
  padding: 0;
  flex: 1;
}
.gecmiskart > .filtresatir > .aramakutu2 {
  margin-left: auto;
  flex-shrink: 0;
}
.gecmiskart .disaaktarsatir button {
  gap: 8px;
}
.gecmiskart .disaaktarsatir button:disabled {
  color: #9e9e9e;
}
.gecmistablo .kart.tablokart {
  box-shadow: none;
  border-radius: 0;
  margin: 0;
}
.gecmistablo table th.secim,
.gecmistablo table td.secim {
  width: 56px;
  padding-right: 4px;
}
.gecmistablo table th.secim input,
.gecmistablo table td.secim input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ana);
}
.gecmistablo .altmetin {
  color: var(--ink2);
  font-size: var(--yz-12);
}
.gecmistablo .icerikhucre {
  max-width: 420px;
}
.gecmistablo .ozethucre .tag {
  margin-left: 8px;
}
.gecmistablo select.durumsec {
  height: 30px;
  font-size: var(--yz-13);
  padding: 0 6px;
}
.kart.dokumkart {
  margin-top: 12px;
}
/* tarih secici: hazir araliklar + iki aylik takvim */
.tarihkutu {
  display: flex;
  border-radius: 0 0 var(--r) var(--r);
  transform-origin: left top;
}
.tarihkutu .tsliste {
  width: 129px;
  padding: 18px 0;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
}
.tarihkutu .tsliste button {
  height: 36px;
  padding: 0 24px;
  justify-content: flex-start;
  background: none;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
  font-weight: 400;
  letter-spacing: var(--harf);
}
.tarihkutu .tsliste button:hover {
  background: rgba(0, 0, 0, 0.04);
}
.tarihkutu .tstakvim {
  display: flex;
}
.tarihkutu .tsay {
  width: 313px;
  padding: 12px 16px 16px;
}
.tarihkutu .tsay + .tsay {
  border-left: 1px solid #e0e0e0;
}
.tsaybas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  margin-bottom: 8px;
}
.tsaybas b {
  font-weight: 400;
  font-size: var(--yz-16);
}
.tsaybas .ikondugme,
.tsaybas .tsbos {
  width: 36px;
  height: 36px;
}
.tsizgara {
  display: grid;
  grid-template-columns: repeat(7, 40px);
  row-gap: 2px;
}
.tsizgara .tsgunad {
  height: 32px;
  line-height: 32px;
  text-align: center;
  font-size: var(--yz-12);
  color: var(--ink2);
}
.tsizgara .tsgun {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink2);
  font-size: var(--yz-12);
  font-weight: 400;
  box-shadow: none !important;
}
.tsizgara .tsgun:hover {
  background: rgba(0, 0, 0, 0.04);
}
.tsizgara .tsgun.ic {
  background: rgba(0, 119, 204, 0.1);
  border-radius: 0;
}
.tsizgara .tsgun.uc {
  background: var(--ana);
  color: #fff;
}
/* Yeni filtre satiri */
.yenifiltrekutu {
  width: 745px;
  transform-origin: left top;
}
.yfsatir {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 24px 12px;
}
.yfsatir select {
  height: 44px;
  width: 100%;
}
.yfalan {
  width: 174px;
}
.yfop {
  width: 117px;
}
.yfdeger {
  width: 290px;
}
.yfdip {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding: 12px 16px 8px;
  border-top: 1px solid #eee;
}
.yfdip button {
  min-width: 80px;
}

/* --- Denetim kaydi (g_audit) ----------------------------------------------- */
.listearac .araclsec select {
  height: 44px;
  width: 175px;
}
.tariharalik {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--r);
}
.tariharalik input {
  border: 0;
  height: 40px;
  width: 130px;
  padding: 0 4px;
  box-shadow: none;
}

/* gecmis satirlari: Comm100 satir yuksekligi 52px (22px ikon dugmeleri) */
.gecmistablo td .ikondugme {
  width: 30px;
  height: 21px;
}
.gecmistablo td .islemler {
  gap: 4px;
}
.gecmistablo td.secim input {
  vertical-align: middle;
}
/* Comm100 Chat Window: stil/tur kartlari dugme, baslik sekmeleri, onizleme turleri */
button.stilkutu,
button.turkutu {
  background: #fff;
  padding: 0;
  cursor: pointer;
  box-shadow: none;
}
button.stilkutu:hover,
button.turkutu:hover {
  border-color: var(--ana);
}
.turciz.popup {
  background:
    linear-gradient(#cfd8dc, #cfd8dc) 8px 8px / 44px 34px no-repeat,
    #eceff1;
}
.bassekme {
  display: inline-flex;
  margin: 4px 0 12px;
}
.bassekme button {
  position: relative;
  height: 37px;
  padding: 0 20px;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  background: #fff;
  color: var(--ink2);
  font-size: var(--yz-14);
  box-shadow: none;
}
.bassekme button + button {
  margin-left: -1px;
}
.bassekme button:first-child {
  border-radius: 2px 0 0 2px;
}
.bassekme button:last-child {
  border-radius: 0 2px 2px 0;
}
.bassekme button.on {
  z-index: 1;
  border-color: var(--ana);
  color: var(--ana);
}
.bassekme button.on::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  border-top: 14px solid var(--ana);
  border-left: 14px solid transparent;
}
.baspanel {
  padding: 0 0 8px 16px;
}
.pencereform label.onay {
  height: 36px;
}
.pencereform .disbag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--yz-14);
}
.pencereform .disbag svg.ikon {
  width: 14px;
  height: 14px;
}
.pbaslikkap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.punvan,
.pbio {
  font-size: var(--yz-12);
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.punvan[hidden],
.pbio[hidden],
.pavatar[hidden],
.pmavatar[hidden] {
  display: none;
}
.plogo {
  height: 26px;
  max-width: 90px;
  object-fit: contain;
}
.pkim {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pmavatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #cfd8dc;
}
.pencereoniz.bas-banner .pust {
  height: 104px;
  align-items: flex-end;
  padding-bottom: 14px;
  background-size: cover;
  background-position: center;
}
.pencereoniz.stil-yuvarlak .pavatar {
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
}
.pencereoniz.stil-yuvarlak .pbalon {
  border-radius: 18px;
}
.pencereoniz.stil-sade .pust {
  background: #fff !important;
  color: var(--ana) !important;
  border-bottom: 1px solid #e3e6ea;
}
.pencereoniz.doku .pgovde {
  background-image: radial-gradient(rgba(0, 51, 226, 0.12) 1px, transparent 1.5px);
  background-size: 14px 14px;
}
