/* ChatJGT ekran katmani 2 - Comm100 birebir ekran olculeri (app.css belirteclerini kullanir).
   Kapsam: faz2.js ekranlari (.icerik.e2). Olculer: tmp/b2/ref/*.json ve
   log/ekran/birebir/<ekran>-ref.png piksel olcumu. */

/* sayfa basligi + aciklama (Comm100: baslik 24/28, 8px alti 12/18 aciklama) */
.e2 .sayfabasi h1 {
  margin-bottom: 8px;
  padding-bottom: 0;
}
.e2 .sayfaozet {
  margin: 0 0 26px;
  font-size: var(--yz-12);
  line-height: 18px;
  color: var(--ink2);
  max-width: none;
}
.e2 h2.bolumbaslik {
  margin: 24px 0 16px;
}

/* baslik ON/OFF ana anahtari (Comm100: 50x24 hap, icinde OFF/ON) */
.e2 h1 .anahtar.basanahtar {
  position: relative;
  margin-left: 0;
}
.e2 .basanahtar .yol {
  width: 50px;
  height: 24px;
  border-radius: 12px;
  background: #bdbdbd;
}
.e2 .basanahtar .yol::after {
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.e2 .basanahtar input:checked + .yol {
  background: var(--ana);
}
.e2 .basanahtar input:checked + .yol::after {
  transform: translateX(26px);
  background: #fff;
}
.e2 .basanahtar .basmetin {
  position: absolute;
  top: 7px;
  left: 26px;
  font-size: 9px;
  line-height: 10px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.3px;
  pointer-events: none;
}
.e2 .basanahtar .basmetin::before {
  content: "OFF";
}
.e2 .basanahtar input:checked ~ .basmetin {
  left: 8px;
}
.e2 .basanahtar input:checked ~ .basmetin::before {
  content: "ON";
}

/* ayar kartlari: Comm100 onay kutusu satirlari (Password Policy olcusu) */
.e2 .ayarform > .kart {
  padding: 15px 24px 17px;
}
.e2 .ayarform > .kart > h2:first-child {
  margin-top: 9px;
}
.e2 .kayitform:not(.ayarform) > .kart {
  padding: 24px 24px 8px;
}
.e2 .kart > h2:first-child {
  margin-bottom: 16px;
}
.e2 .ayarsatir {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  font-size: var(--yz-14);
  color: var(--ink);
  cursor: pointer;
}
.e2 .ayarsatir:has(.kucukgirdi) {
  min-height: 48px;
}
.e2 .ayarsatir input[type="checkbox"],
.e2 .ayarsatir input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0 0 0 3px;
  flex-shrink: 0;
}
.e2 input.kucukgirdi {
  width: 82px;
  height: 32px;
  padding: 0 12px;
}
.e2 .ayaryardim {
  margin: -4px 0 8px;
  font-size: var(--yz-12);
  line-height: 17px;
  color: var(--ink2);
}
.e2 .kartanahtar {
  min-height: 40px;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.e2 .kartdip {
  margin-top: 8px;
  padding-bottom: 8px;
}
.e2 .kartsatir {
  margin: 0 0 12px;
}
.e2 .kayitdip.ust0 {
  margin-top: 28px;
}
.e2 .malansatir.genis2 {
  width: 100%;
  max-width: 1104px;
}

/* kosul / dugme / gun tablolari (kart ici duzenleyici) */
.e2 table.kosultablo {
  margin: 0 0 8px;
}
.e2 table.kosultablo th {
  height: 40px;
  background: #fafafa;
  border-bottom: 1px solid #e0e0e0;
}
.e2 table.kosultablo td {
  padding: 8px;
  border-bottom: 1px solid #e0e0e0;
}
.e2 table.kosultablo input:not([type="checkbox"]),
.e2 table.kosultablo select {
  height: 36px;
  width: 100%;
}
.e2 .kosulkutu {
  margin-bottom: 8px;
}

/* liste arac satiri sagi: secici (Login History "Any Agent" 175x44) */
.e2 .filtresec {
  width: 190px;
}
.e2 .hatametin {
  color: var(--bad);
}
.e2 .filtresec .malansarmal {
  width: 220px;
  margin: 0;
}
.e2 .filtresec > select {
  width: 190px;
  height: 44px;
  padding: 0 14px;
  border-color: rgba(0, 0, 0, 0.12);
}
.e2 .tarihkutu {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 272px;
  height: 44px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--r);
}
.e2 .tarihkutu input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  padding: 0 4px;
  background: transparent;
  box-shadow: none;
}
.e2 .tarihkutu span {
  color: var(--ink4);
}
.e2 td.ua {
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* IP izin listesi: zorunluluk karti */
.e2 .kart.ipzorunlu {
  padding: 20px 24px 12px;
  margin-bottom: 16px;
}
.e2 .ipzbas {
  display: flex;
  align-items: center;
  gap: 16px;
}
.e2 .ipzbas h3 {
  margin: 0;
  font-size: var(--yz-16);
}

/* e-posta: test satiri */
.e2 .testkart {
  margin-top: 16px;
}
.e2 .testsatir {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.e2 .testsatir .malansarmal {
  margin-bottom: 8px;
}
.e2 .testsatir button {
  margin-top: 4px;
}
.e2 .testsatir .msg {
  margin: 4px 0 0;
}

/* ozel rapor: metrik izgarasi */
.e2 .metrikizgara {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 16px;
}

/* panel metinleri: grup kartlari */
.e2 .metinkart {
  min-height: 0;
  margin-bottom: 12px;
}
.e2 .metinkart .pkbas {
  padding: 20px 24px 12px;
}
.e2 .metinkart .pkbas h2 {
  margin: 0;
}
.e2 .metinkart td input {
  width: 100%;
  height: 36px;
}

/* ------------------------------------------------------------------ pano
   Comm100 Live Chat Dashboard: ust kart 1142x304; altta sol 678 + sag 452,
   aralik 12px. */
.e2 .panoizgara {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 678fr) minmax(0, 452fr);
  gap: 12px;
  align-items: start;
}
.e2 .panoizgara > .kart {
  margin: 0;
}
.e2 .panoizgara > .panogercek,
.e2 .panoizgara > .tamgen {
  grid-column: 1 / -1;
}
.e2 .panoizgara > .msg.panozaman {
  position: absolute;
  top: 20px;
  right: 150px;
  z-index: 2;
  margin: 0;
  padding: 0;
  background: none;
  font-size: var(--yz-12);
  color: var(--ink3);
}
.e2 .pkbas {
  display: flex;
  align-items: center;
  gap: 12px;
}
.e2 .pkbas h2 {
  margin: 0;
  font-size: var(--yz-16);
  line-height: 21px;
  font-weight: 500;
}
.e2 .pkbas .ikondugme {
  width: 32px;
  height: 32px;
  color: var(--ink2);
}
.e2 .pkbas .ayrinti {
  margin-left: auto;
  font-size: var(--yz-14);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.e2 .pkbas .ayrinti svg.ikon {
  width: 14px;
  height: 14px;
}
.e2 .panogercek {
  padding: 13px 24px 27px;
}
.e2 .panogercek .pano {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 51px 0;
  align-items: start;
  margin: 43px 0 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
}
.e2 .panogercek .pkutu {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  background: none;
  box-shadow: none;
  border: 0;
  padding: 0;
  min-height: 69px;
  text-align: left;
}
.e2 .panogercek .pkutu .pad {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 16px;
  font-size: var(--yz-12);
  font-weight: 500;
  line-height: 16px;
  color: var(--ink2);
}
.e2 .panogercek .pkutu .pad svg.ikon {
  width: 22px;
  height: 22px;
  color: var(--ink2);
}
.e2 .panogercek .pkutu .pdeger {
  margin-top: 17px;
  font-size: 28px;
  line-height: 36px;
  font-weight: 400;
  color: var(--ink);
}
.e2 .panogercek .pkutu .pek {
  position: absolute;
  left: 0;
  top: 70px;
  font-size: var(--yz-12);
  color: var(--ink3);
}
.e2 .bugunserit {
  display: flex;
  gap: 24px;
  padding: 12px 24px 16px;
  font-size: var(--yz-12);
  color: var(--ink2);
}
.e2 .bugunserit b {
  color: var(--ink);
  font-weight: 500;
}
.e2 .panografik {
  padding: 0;
  min-height: 516px;
}
.e2 .panografik .pkbas,
.e2 .panohizli .pkbas {
  height: 60px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}
.e2 .panografik .grafikkutu {
  margin: 0;
  padding: 0 24px 16px;
}
.e2 .panografik .gosterge {
  margin: 0 -24px 16px;
  padding: 16px 24px;
  background: #fafafa;
  justify-content: flex-start;
}
.e2 .panohizli {
  padding: 0;
  min-height: 233px;
}
.e2 .hizliizgara {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 172px;
}
.e2 .hizliizgara a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px;
  color: var(--ink2);
  font-size: var(--yz-14);
  font-weight: 500;
  text-align: center;
  border-right: 1px solid var(--line);
}
.e2 .hizliizgara a:last-child {
  border-right: 0;
}
.e2 .hizliizgara a:hover {
  background: rgba(0, 0, 0, 0.02);
  text-decoration: none;
}
.e2 .hizliizgara a svg.ikon {
  width: 52px;
  height: 52px;
  color: var(--ana);
}
.e2 .hizliizgara a:nth-child(2) svg.ikon {
  color: #ef6c00;
}
.e2 .hizliizgara a:nth-child(3) svg.ikon {
  color: #2e9e3e;
}
.e2 td.kisalt {
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ------------------------------------------------------------------ Live Chat panosu (Comm100 Dashboard)
   Ust "Real Time" karti tam genislik; altta sol "Chats & Messages" (678),
   sag sutun (452): Quick Access, App Download, News & Tips. */
.e2.lcpano .lcizgara {
  align-items: start;
}
.e2.lcpano .lcsag {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.e2.lcpano .lcsag > .kart {
  margin: 0;
}
.e2.lcpano .panogercek .pkutu .pdeger small {
  margin-left: 1px;
  font-size: var(--yz-14);
  line-height: 1;
}
.e2.lcpano .panografik {
  min-height: 0;
}
.e2.lcpano .lcgosterge {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 16px 24px;
  background: #fafafa;
  justify-content: flex-start;
}
.e2.lcpano .lccip {
  height: 24px;
  padding: 0 12px;
  border: 1px solid #455a64;
  border-radius: 12px;
  background: #fff;
  color: var(--ink2);
  font-size: var(--yz-12);
  font-weight: 400;
  gap: 6px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: opacity 195ms cubic-bezier(0.4, 0, 0.2, 1);
}
.e2.lcpano .lccip .nokta {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--renk);
  box-sizing: border-box;
}
.e2.lcpano .lccip.ziyaret .nokta {
  background: #fff;
  border: 2px solid var(--renk);
}
.e2.lcpano .lccip.kapali {
  opacity: 0.45;
}
.e2.lcpano .lcsvg {
  display: block;
  width: 100%;
  height: auto;
}
.e2.lcpano .lcsvg .izgara {
  stroke: #e0e0e0;
  stroke-dasharray: 4 3;
}
.e2.lcpano .lcsvg .eksen {
  font-size: 12px;
  fill: #9e9e9e;
}
.e2.lcpano .lcsvg .eksen.sag {
  fill: #45b649;
}
.e2.lcpano .lcsvg .xeksen {
  font-size: 14px;
  fill: #9e9e9e;
}
.e2.lcpano .lctablo {
  border-top: 1px solid var(--line);
}
.e2.lcpano .lctab {
  width: 100%;
}
.e2.lcpano .lctab th,
.e2.lcpano .lctab td {
  padding: 14px 24px;
}
.e2.lcpano .panoindir .pkbas,
.e2.lcpano .panohaber .pkbas {
  height: 60px;
  padding: 0 24px;
}
.e2.lcpano .panoindir {
  padding: 0;
}
.e2.lcpano .lcuygizgara {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 32px 8px 32px;
}
.e2.lcpano .lcuyg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink2);
  font-size: var(--yz-12);
  text-decoration: none;
}
.e2.lcpano .lcuyg svg.ikon {
  width: 28px;
  height: 28px;
  color: #607d8b;
}
.e2.lcpano .lcuyg:hover {
  color: var(--ana);
}
.e2.lcpano .panohaber {
  padding: 0 0 12px;
}
.e2.lcpano .lchaber {
  margin: 0;
  padding: 4px 24px 8px 40px;
  list-style: disc;
  color: var(--ana);
}
.e2.lcpano .lchaber li {
  margin: 0 0 12px;
}
.e2.lcpano .lchaber li a {
  color: var(--ink);
  font-size: var(--yz-14);
  line-height: 20px;
}
.e2.lcpano .lchaber li.ilk a {
  font-weight: 500;
}
.e2.lcpano .lchaber li p {
  margin: 6px 0 0;
  color: var(--ink2);
  font-size: var(--yz-13);
  line-height: 19px;
}
