/* ============================================================
   TADILA GIRIS EKRANI VE KURUMSAL YAZISMA - STILLER
   Faz 6
   ============================================================ */

/* ---------- GIRIS KATMANI (Mobil & Masaüstü Tam Uyumlu) ---------- */
#girisKatman {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* Mobil dinamik viewport uyumu */
    background: radial-gradient(ellipse at center, #0a1428 0%, #04060c 85%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999 !important;
    backdrop-filter: blur(8px);
    transition: opacity .4s ease, visibility .4s ease;
    overflow-y: auto; /* Mobilde klavye açılınca kaydırmayı sağlar */
    -webkit-overflow-scrolling: touch;
    padding: 20px 16px;
    box-sizing: border-box;
}
#girisKatman.gizli {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.girisKutu {
    width: 100%;
    max-width: 390px;
    margin: auto; /* Mobilde ve dikeyde her zaman orantılı ortalanır */
    box-sizing: border-box;
    padding: 32px 26px 26px;
    background: rgba(8, 18, 34, .95);
    border: 1px solid rgba(230, 31, 45, .4);
    border-radius: 16px;
    box-shadow: 0 0 50px rgba(230, 31, 45, .22),
                inset 0 0 30px rgba(30, 100, 180, .08);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #cfe6ff;
}

.girisBaslik {
    text-align: center;
    font-size: 27px;
    letter-spacing: 7px;
    font-weight: 300;
    color: #7fd4ff;
    text-shadow: 0 0 18px rgba(80, 200, 255, .55);
    margin-bottom: 4px;
}
.girisAlt {
    text-align: center;
    font-size: 11.5px;
    letter-spacing: 2.4px;
    color: #4a7ba8;
    margin-bottom: 26px;
    text-transform: uppercase;
}

.girisAlan {
    margin-bottom: 15px;
}
.girisAlan label {
    display: block;
    font-size: 11px;
    letter-spacing: 1.3px;
    color: #6ba3d0;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.girisAlan input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    background: rgba(4, 12, 24, .88);
    border: 1px solid rgba(70, 130, 190, .45);
    border-radius: 8px;
    color: #d8ecff;
    font-size: 16px !important; /* iOS Safari otomatik zoom'u kesin engeller */
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    touch-action: manipulation;
}
.girisAlan input:focus {
    border-color: rgba(230, 31, 45, .75);
    box-shadow: 0 0 0 3px rgba(60, 160, 240, .13);
}
.girisAlan input:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.girisBtn {
    width: 100%;
    min-height: 48px; /* Dokunmatik ekranlar için standart parmak yüksekliği */
    padding: 13px;
    margin-top: 10px;
    background: linear-gradient(180deg, #e61f2d, #b91522);
    border: 1px solid rgba(230, 31, 45, .7);
    border-radius: 8px;
    color: #eaf7ff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2.4px;
    cursor: pointer;
    transition: filter .2s, transform .1s;
    text-transform: uppercase;
    touch-action: manipulation;
}
.girisBtn:hover:not(:disabled) { filter: brightness(1.22); }
.girisBtn:active:not(:disabled) { transform: translateY(1px); }
.girisBtn:disabled {
    opacity: .5;
    cursor: not-allowed;
    filter: grayscale(.5);
}

#girisHata {
    min-height: 20px;
    margin-top: 12px;
    font-size: 12.5px;
    text-align: center;
    color: #ff8a8a;
    line-height: 1.45;
}
#girisHata.uyari { color: #ffc46b; }
#girisHata.bilgi { color: #7fd4ff; }

/* Kalan deneme gostergesi */
.girisDeneme {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 12px;
}
.girisDeneme span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(120, 200, 255, .35);
    transition: background .3s;
}
.girisDeneme span.bitti { background: rgba(255, 90, 90, .75); }

.girisDipnot {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(70, 130, 190, .18);
    font-size: 10.5px;
    color: #3f6a92;
    text-align: center;
    line-height: 1.6;
}

/* Yuvarlak yukleniyor gostergesi */
.girisBekliyor {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-right: 7px;
    border: 2px solid rgba(120, 200, 255, .3);
    border-top-color: #7fd4ff;
    border-radius: 50%;
    animation: girisDon .7s linear infinite;
    vertical-align: -2px;
}
@keyframes girisDon { to { transform: rotate(360deg); } }

/* ---------- UST SAG: KULLANICI + CIKIS ---------- */
/* KULLANICI ÇUBUĞU — ÜST ÇUBUKLA ÇAKIŞMA DÜZELTİLDİ
   ─────────────────────────────────────────────────────────────────
   KULLANICI BİLDİRİMİ (gerçek ekrandan):
     "sağ üst olmuş mu dashboard arkada kalmış ve kullanıcı bilgisi
      üste gelmiş"

   GÖRSEL DENETİM (Claude, gerçek ekran görüntüsü):
     "SÜPER ADMİN rozetinin hemen altında bir buton (muhtemelen
      DASHBOARD) 'Sistem Yönetimi' kutusunun arkasına gizlenmiş/
      kırpılmış — üst üste binme var"

   KÖK NEDEN: `#kullaniciCubuk { right: 74px !important }` kuralı
   çubuğu sağdan 74px'e çekiyordu — yani TAM DASHBOARD butonunun
   üzerine. Ayrıca `top:14px` ile üst çubuğun üstüne biniyordu.

   ÇÖZÜM: Kullanıcı çubuğu üst çubuğun ALTINA alındı (top:76px),
   sağa hizalandı (right:20px). Artık DASHBOARD'ın önünü kapatmıyor
   ve "kullanıcı bilgisi üste gelmiş" sorunu ortadan kalkıyor.
   ───────────────────────────────────────────────────────────────── */
#kullaniciCubuk {
    position: fixed;
    top: 76px;
    right: 20px;
    display: none;
    align-items: center;
    gap: 11px;
    padding: 7px 13px;
    background: rgba(8, 18, 34, .74);
    border: 1px solid rgba(80, 190, 255, .24);
    border-radius: 20px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 12.5px;
    color: #a8d4f5;
    z-index: 8500;
    backdrop-filter: blur(6px);
}
#kullaniciCubuk.gorunur { display: flex; }

#kullaniciAd {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#kullaniciRol {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    letter-spacing: .8px;
    text-transform: uppercase;
    background: rgba(60, 140, 210, .28);
    color: #8fd0ff;
}
#kullaniciRol.yonetici {
    background: rgba(210, 160, 40, .3);
    color: #ffd77a;
}
#kullaniciRol.editor {
    background: rgba(120, 90, 210, .3);
    color: #c3aaff;
}

#cikisBtn {
    padding: 4px 11px;
    background: rgba(180, 50, 50, .26);
    border: 1px solid rgba(255, 110, 110, .38);
    border-radius: 12px;
    color: #ffb0b0;
    font-size: 11px;
    cursor: pointer;
    transition: background .2s;
}
#cikisBtn:hover { background: rgba(210, 60, 60, .42); }

/* ---------- KURUMSAL YAZISMA PANELI ---------- */
#yazismaPanel {
    position: fixed;
    top: 0;
    right: -780px;
    /* WhatsApp benzeri IKI SUTUN: sol sohbet listesi + sag mesaj akisi.
       Kullanici istegi: "tipik whatsapp gibi yetenekleri olacak".
       Tek sutunda grup/dosya/kamera sigmiyordu. */
    width: 760px;
    max-width: 96vw;
    height: 100%;
    background: rgba(6, 14, 26, .93);
    border-left: 1px solid rgba(80, 190, 255, .2);
    display: flex;
    /* IKI SUTUN: solda sohbet listesi, sagda mesaj akisi */
    flex-direction: row;
    z-index: 8600;
    transition: right .32s cubic-bezier(.4, 0, .2, 1);
    font-family: 'Segoe UI', system-ui, sans-serif;
    backdrop-filter: blur(9px);
}
#yazismaPanel.acik { right: 0; }

.yazismaBaslik {
    padding: 15px 17px;
    border-bottom: 1px solid rgba(80, 190, 255, .16);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #7fd4ff;
    font-size: 14.5px;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}
.yazismaKapat {
    background: none;
    border: none;
    color: #5f8fb5;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}
.yazismaKapat:hover { color: #9fd8ff; }

#yazismaListe {
    flex: 1;
    overflow-y: auto;
    padding: 9px 0;
}
#yazismaListe::-webkit-scrollbar { width: 7px; }
#yazismaListe::-webkit-scrollbar-thumb {
    background: rgba(80, 160, 220, .3);
    border-radius: 4px;
}

.yazismaKisi {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 17px;
    cursor: pointer;
    transition: background .16s;
    border-left: 3px solid transparent;
}
.yazismaKisi:hover { background: rgba(60, 140, 210, .11); }
.yazismaKisi.secili {
    background: rgba(60, 140, 210, .18);
    border-left-color: #4fb0e8;
}

.yazismaAvatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d5c8a, #2b86bd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eaf7ff;
    font-size: 13.5px;
    font-weight: 600;
    flex-shrink: 0;
}

.yazismaBilgi { flex: 1; min-width: 0; }
.yazismaAd {
    font-size: 13.5px;
    color: #cfe6ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.yazismaRol {
    font-size: 10.5px;
    color: #5d87ab;
    margin-top: 2px;
}

.yazismaRozet {
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 10px;
    background: #2f8fd0;
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ---------- SOHBET GORUNUMU ----------
   DIKKAT: Eskiden position:absolute; inset:0 idi ve sol sutundaki
   sohbet listesini tamamen KAPATIYORDU. Iki sutunlu duzende sag
   sutun olarak akista kalmali (flex child), mutlak konumlanmamali. */
#yazismaSohbet {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    min-height: 0;
    background: rgba(6, 14, 26, .55);
}
#yazismaSohbet.acik { display: flex; }

.yazismaSohbetUst {
    padding: 13px 15px;
    border-bottom: 1px solid rgba(80, 190, 255, .16);
    display: flex;
    align-items: center;
    gap: 11px;
    color: #a8d4f5;
    font-size: 13.5px;
}
.yazismaGeri {
    background: none;
    border: none;
    color: #6fa8d0;
    font-size: 19px;
    cursor: pointer;
    padding: 0 5px;
}
.yazismaGeri:hover { color: #9fd8ff; }

#yazismaMesajlar {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
#yazismaMesajlar::-webkit-scrollbar { width: 7px; }
#yazismaMesajlar::-webkit-scrollbar-thumb {
    background: rgba(80, 160, 220, .3);
    border-radius: 4px;
}

.ymb {
    max-width: 78%;
    padding: 8px 12px;
    border-radius: 13px;
    font-size: 13.5px;
    line-height: 1.45;
    word-wrap: break-word;
    white-space: pre-wrap;
}
.ymb.ben {
    align-self: flex-end;
    background: linear-gradient(135deg, #1a6fa8, #14588a);
    color: #eaf7ff;
    border-bottom-right-radius: 4px;
}
.ymb.onlar {
    align-self: flex-start;
    background: rgba(40, 70, 105, .55);
    color: #cfe6ff;
    border-bottom-left-radius: 4px;
}
.ymbGonderen {
    font-size: 10.5px;
    color: #5d87ab;
    margin-bottom: 3px;
}
.ymbZaman {
    font-size: 9.5px;
    color: #4a7ba8;
    margin-top: 3px;
    text-align: right;
}

.yazismaYaz {
    padding: 12px 13px;
    border-top: 1px solid rgba(80, 190, 255, .16);
    display: flex;
    gap: 9px;
}
#yazismaGirdi {
    flex: 1;
    padding: 10px 12px;
    background: rgba(4, 12, 24, .8);
    border: 1px solid rgba(70, 130, 190, .32);
    border-radius: 9px;
    color: #d8ecff;
    font-size: 13.5px;
    resize: none;
    outline: none;
    font-family: inherit;
    max-height: 95px;
}
#yazismaGirdi:focus { border-color: rgba(90, 200, 255, .62); }

#yazismaGonder {
    padding: 0 17px;
    background: linear-gradient(180deg, #e61f2d, #b91522);
    border: 1px solid rgba(90, 200, 255, .4);
    border-radius: 9px;
    color: #eaf7ff;
    cursor: pointer;
    font-size: 16px;
    transition: filter .2s;
}
#yazismaGonder:hover { filter: brightness(1.22); }

.yazismaBos {
    padding: 34px 20px;
    text-align: center;
    color: #4a7ba8;
    font-size: 12.5px;
    line-height: 1.7;
}

/* Yazisma butonu — Üst barda (#ustSag) aksiyon butonlarının yanında */
#yazismaBtn {
    position: relative;
    bottom: auto;
    right: auto;
    height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(30, 58, 98, 0.78));
    border: 1px solid rgba(125, 211, 252, 0.38);
    color: #e0f2fe;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 7px;
    z-index: 32;
    transition: all .2s ease;
    backdrop-filter: blur(8px);
}
#yazismaBtn svg { display: block; width: 16px; height: 16px; flex-shrink: 0; }
#yazismaBtn.gorunur { display: inline-flex; }
#yazismaBtn:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.38), rgba(37, 99, 235, 0.48));
    border-color: #7dd3fc;
    color: #ffffff;
    transform: translateY(-1px);
}
#yazismaBtn .rozet {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.5);
}
#yazismaBtn .rozet.gorunur { display: flex; }

/* ---------- KURUMSAL KATMAN (hologram uzerinde) ---------- */
.kurumsalKilit {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 12, .88);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8800;
    flex-direction: column;
    gap: 17px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: #a8d4f5;
    text-align: center;
    padding: 30px;
}
.kurumsalKilit .ikon { font-size: 44px; opacity: .75; }
.kurumsalKilit .metin {
    font-size: 15px;
    line-height: 1.65;
    max-width: 430px;
}
.kurumsalKilit .alt {
    font-size: 11.5px;
    color: #4a7ba8;
    max-width: 380px;
    line-height: 1.6;
}

/* Imha sayaci uyarisi */
#imhaUyari {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 330px;
    padding: 13px 15px;
    background: rgba(60, 40, 10, .92);
    border: 1px solid rgba(255, 180, 70, .4);
    border-radius: 10px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 12.5px;
    color: #ffd9a0;
    line-height: 1.5;
    z-index: 8700;
    display: none;
    backdrop-filter: blur(6px);
}
#imhaUyari.gorunur { display: block; }
#imhaUyari button {
    margin-top: 9px;
    margin-right: 6px;
    padding: 5px 12px;
    background: rgba(255, 190, 80, .2);
    border: 1px solid rgba(255, 190, 80, .45);
    border-radius: 6px;
    color: #ffe4b8;
    font-size: 11.5px;
    cursor: pointer;
}
#imhaUyari button:hover { background: rgba(255, 190, 80, .32); }

/* ============================================================
   YONETICI AYARLARI - KATEGORILI MENU
   Faz 13
   ============================================================ */

/* Panel genisletme - yonetici menusu icin daha genis */
#ayarPanel.yonetici {
    width: 480px;
    max-height: 84vh;
}

/* ---------- SEKMELER ---------- */
.yonSekmeler {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(80, 190, 255, .18);
    background: rgba(4, 12, 24, .5);
    position: sticky;
    top: 0;
    z-index: 10;
}

.yonSekme {
    flex: 1 1 auto;
    min-width: 62px;
    padding: 7px 6px;
    background: rgba(10, 30, 52, .7);
    border: 1px solid rgba(70, 140, 200, .22);
    border-radius: 6px;
    color: #7aa8cc;
    font-size: 10.5px;
    letter-spacing: .4px;
    cursor: pointer;
    text-align: center;
    transition: all .18s;
    font-family: inherit;
    white-space: nowrap;
}
.yonSekme:hover {
    background: rgba(30, 90, 140, .5);
    color: #a8d8ff;
}
.yonSekme.aktif {
    background: linear-gradient(180deg, rgba(30, 110, 170, .85),
                                       rgba(20, 80, 130, .85));
    border-color: rgba(90, 200, 255, .55);
    color: #eaf7ff;
    box-shadow: 0 0 12px rgba(60, 160, 240, .25);
}

/* ---------- ICERIK ---------- */
.yonIcerik {
    padding: 4px 0 8px;
}

/* Yonetici bolumu (kategori basligi) */
.yonBolum {
    margin: 0 0 2px;
}
.yonBolum > h5 {
    margin: 0;
    padding: 11px 14px 9px;
    color: #7fd4ff;
    font-size: 11.5px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(80, 190, 255, .12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}
.yonBolum > h5:hover { background: rgba(40, 110, 170, .12); }
.yonBolum > h5 .ok {
    color: #4a7ba8;
    font-size: 13px;
    transition: transform .2s;
}
.yonBolum.kapali > h5 .ok { transform: rotate(-90deg); }
.yonBolum.kapali .yonGovde { display: none; }

.yonGovde {
    padding: 10px 14px 14px;
}

/* Ayar satiri */
.yonSatir {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(80, 160, 220, .09);
}
.yonSatir:last-child { border-bottom: none; }

.yonEtiket {
    flex: 1;
    min-width: 0;
}
.yonEtiket b {
    display: block;
    color: #cfe6ff;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 2px;
}
.yonEtiket em {
    display: block;
    color: #5d87ab;
    font-size: 10px;
    font-style: normal;
    line-height: 1.4;
}

.yonDeger {
    flex-shrink: 0;
    min-width: 90px;
    text-align: right;
}

/* Girdi alanlari */
.yonGirdi {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 9px;
    background: rgba(4, 12, 24, .75);
    border: 1px solid rgba(70, 130, 190, .32);
    border-radius: 5px;
    color: #d8ecff;
    font-size: 12px;
    outline: none;
    font-family: inherit;
}
.yonGirdi:focus {
    border-color: rgba(90, 200, 255, .6);
    box-shadow: 0 0 0 2px rgba(60, 160, 240, .12);
}
.yonGirdi.kucuk { width: 90px; text-align: right; }

/* Anahtar (toggle) */
.yonAnahtar {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
    flex-shrink: 0;
}
.yonAnahtar input {
    opacity: 0;
    width: 0;
    height: 0;
}
.yonAnahtar span {
    position: absolute;
    inset: 0;
    background: rgba(60, 90, 120, .6);
    border-radius: 11px;
    cursor: pointer;
    transition: background .22s;
}
.yonAnahtar span::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: #b8d8ee;
    border-radius: 50%;
    transition: transform .22s;
}
.yonAnahtar input:checked + span {
    background: linear-gradient(90deg, #1a6fa8, #2f9fd8);
}
.yonAnahtar input:checked + span::before {
    transform: translateX(20px);
    background: #fff;
}

/* Deger gosterimi (salt okunur) */
.yonBilgi {
    padding: 7px 10px;
    background: rgba(20, 50, 80, .4);
    border-left: 2px solid rgba(80, 190, 255, .4);
    border-radius: 4px;
    color: #8fb8d8;
    font-size: 11px;
    line-height: 1.55;
    margin: 7px 0;
}
.yonBilgi b { color: #7fd4ff; }

/* Durum rozeti */
.yonRozet {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 9px;
    font-size: 9.5px;
    letter-spacing: .5px;
    text-transform: uppercase;
    background: rgba(60, 140, 210, .25);
    color: #8fd0ff;
}
.yonRozet.iyi { background: rgba(40, 170, 110, .25); color: #7ee8b0; }
.yonRozet.kotu { background: rgba(190, 60, 60, .25); color: #ff9a9a; }
.yonRozet.uyari { background: rgba(200, 150, 40, .25); color: #ffd77a; }

/* Kucuk dugme */
.yonDugme {
    padding: 5px 11px;
    background: rgba(20, 70, 110, .7);
    border: 1px solid rgba(80, 180, 240, .35);
    border-radius: 5px;
    color: #a8d8ff;
    font-size: 10.5px;
    cursor: pointer;
    font-family: inherit;
    transition: all .18s;
    white-space: nowrap;
}
.yonDugme:hover {
    background: rgba(30, 100, 150, .85);
    color: #eaf7ff;
}
.yonDugme.tehlike {
    background: rgba(140, 40, 40, .6);
    border-color: rgba(255, 110, 110, .4);
    color: #ffb0b0;
}
.yonDugme.tehlike:hover { background: rgba(180, 50, 50, .8); }

/* Dugme grubu */
.yonDugmeler {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* Kullanici listesi */
.yonListe {
    max-height: 200px;
    overflow-y: auto;
    margin-top: 8px;
    border: 1px solid rgba(80, 160, 220, .16);
    border-radius: 6px;
}
.yonListe::-webkit-scrollbar { width: 6px; }
.yonListe::-webkit-scrollbar-thumb {
    background: rgba(80, 160, 220, .3);
    border-radius: 3px;
}
.yonKisi {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-bottom: 1px solid rgba(80, 160, 220, .09);
    font-size: 11px;
}
.yonKisi:last-child { border-bottom: none; }
.yonKisi .ad { flex: 1; color: #cfe6ff; min-width: 0;
               overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yonKisi .mail { color: #4a7ba8; font-size: 9.5px; }
.yonKisi select {
    padding: 3px 6px;
    background: rgba(4, 12, 24, .8);
    border: 1px solid rgba(70, 130, 190, .3);
    border-radius: 4px;
    color: #cfe6ff;
    font-size: 10.5px;
    font-family: inherit;
}

/* Bos durum */
.yonBos {
    padding: 20px;
    text-align: center;
    color: #4a7ba8;
    font-size: 11.5px;
}

/* ============================================================
   AYARLAR DÜĞMESİ — BAŞLIK ÇUBUĞUNUN PARÇASI
   ============================================================
   DÜZELTME (kullanıcı: "ayarlar ikonuda orantısız görüntü var
   yerleşimde onuda düzelt"):

   ESKİ HATA: Burada Faz 13'ten kalma bir kural vardı ve TÜM
   özellikleri `!important` ile eziyordu:
       position: fixed !important;  -> düğmeyi başlıktan KOPARIYORDU
       width/height: 46px !important; -> index.html'deki 38px'i eziyordu
       font-size: 22px !important;
   Sonuç: düğme başlıktaki "SESLE KONUŞMA" yazısıyla hizasız, kendi
   başına sağ üste yapışmış, orantısız bir kutu olarak görünüyordu.

   YENİ: Konum ve boyut artık index.html'deki #ust / #ustSag akışına
   bırakıldı (flex ile başlığın sağında, yazıyla aynı hizada).
   Burada yalnızca GÖRSEL vurgu (renk, gölge, kenarlık) tanımlanır.
   ============================================================ */
#ayarBtn {
    background: linear-gradient(135deg, rgba(20, 90, 140, .92),
                                        rgba(12, 60, 100, .92));
    border: 2px solid rgba(90, 200, 255, .6);
    color: #7fd4ff;
    box-shadow: 0 0 14px rgba(60, 170, 240, .32),
                inset 0 0 10px rgba(30, 100, 160, .3);
    z-index: 8500;
}
#ayarBtn:hover {
    background: linear-gradient(135deg, rgba(35, 130, 190, .95),
                                        rgba(20, 90, 140, .95));
    border-color: rgba(120, 220, 255, .9);
    box-shadow: 0 0 24px rgba(80, 200, 255, .55);
}

/* KULLANICI ÇUBUĞU KONUMU — KALDIRILDI
   Eskiden `right:74px !important` idi ve DASHBOARD butonunun üstüne
   biniyordu. Konum artık ana tanımda (top:76px; right:20px) —
   burada override YOK. */

/* Kucuk ekranlarda panel tam genislik */
@media (max-width: 900px) {
    #ayarPanel { width: calc(100vw - 24px) !important; left: 12px !important; }
    #ayarPanel.yonetici { width: calc(100vw - 24px) !important; }
}

/* ============================================================
   SOL ÜST AYARLAR DÜĞMESİ — KALDIRILDI (kullanıcı isteği)
   ============================================================
   "ayarlar menüsü 2 tane olmuş hem sağda hem solda sadece sağdaki kalsın"
   Düğme artık oluşturulmuyor (bkz. yonetici.js › SOL_DUGME_AKTIF=false).
   CSS kuralları da kaldırıldı ki ileride yanlışlıkla görünmesin.
   ============================================================ */

/* ============================================================
   KULLANICI YONETIMI (Faz 14)
   ============================================================ */
.yonKulArac {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.ykMesaj {
    min-height: 16px;
    font-size: 11px;
    color: #7fd4ff;
    margin-bottom: 8px;
    transition: color .2s;
}

.ykToplu {
    display: none;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 8px 10px;
    margin-bottom: 10px;
    background: rgba(30, 90, 140, .35);
    border: 1px solid rgba(90, 200, 255, .35);
    border-radius: 7px;
    font-size: 11px;
    color: #a8d8ff;
}
.ykToplu select {
    padding: 3px 6px;
    background: rgba(4, 12, 24, .8);
    border: 1px solid rgba(70, 130, 190, .35);
    border-radius: 4px;
    color: #cfe6ff;
    font-size: 10.5px;
    font-family: inherit;
}

.ykListe {
    border: 1px solid rgba(80, 160, 220, .18);
    border-radius: 7px;
    overflow: hidden;
}

.ykBaslik {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: rgba(20, 55, 90, .6);
    border-bottom: 1px solid rgba(80, 160, 220, .2);
    font-size: 9px;
    letter-spacing: 1px;
    color: #6ba3d0;
    text-transform: uppercase;
}
.ykBaslik .ykAd { flex: 1; }

.ykSatir {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 8px;
    border-bottom: 1px solid rgba(80, 160, 220, .08);
    transition: background .15s;
}
.ykSatir:hover { background: rgba(40, 110, 170, .12); }
.ykSatir:last-of-type { border-bottom: none; }

.ykSec { width: 20px; flex-shrink: 0; text-align: center; }
.ykSecKutu { cursor: pointer; accent-color: #2f9fd8; }
.ykKilit { font-size: 11px; opacity: .6; }

.ykAd {
    flex: 1;
    min-width: 0;
}
.ykAd b {
    display: block;
    color: #cfe6ff;
    font-size: 11.5px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ykAd em {
    display: block;
    color: #4a7ba8;
    font-size: 9.5px;
    font-style: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ykRol { width: 92px; flex-shrink: 0; }
.ykRolSec {
    width: 100%;
    padding: 3px 5px;
    background: rgba(4, 12, 24, .8);
    border: 1px solid rgba(70, 130, 190, .3);
    border-radius: 4px;
    color: #cfe6ff;
    font-size: 10px;
    font-family: inherit;
    cursor: pointer;
}
.ykRolSec:disabled { opacity: .5; cursor: not-allowed; }

.ykIz { display: flex; gap: 3px; flex-shrink: 0; }
.ykIzin {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.ykIzin input { display: none; }
.ykIzin span {
    display: block;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 8px;
    letter-spacing: .3px;
    background: rgba(60, 90, 120, .4);
    color: #5d87ab;
    border: 1px solid transparent;
    transition: all .16s;
}
.ykIzin input:checked + span {
    background: rgba(30, 120, 180, .6);
    color: #cfe6ff;
    border-color: rgba(90, 200, 255, .5);
}
.ykIzin:hover span { border-color: rgba(90, 200, 255, .35); }

.ykDur {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}
.ykBtn {
    width: 22px;
    height: 22px;
    padding: 0;
    background: rgba(20, 60, 95, .6);
    border: 1px solid rgba(70, 140, 200, .25);
    border-radius: 4px;
    color: #8fb8d8;
    font-size: 11px;
    cursor: pointer;
    line-height: 1;
    transition: all .16s;
}
.ykBtn:hover {
    background: rgba(35, 105, 160, .8);
    color: #eaf7ff;
    border-color: rgba(90, 200, 255, .5);
}
.ykBtn.tehlike:hover {
    background: rgba(150, 45, 45, .8);
    color: #ffb0b0;
    border-color: rgba(255, 110, 110, .5);
}

.ykNot {
    padding: 5px 12px 7px 34px;
    background: rgba(60, 45, 15, .35);
    border-bottom: 1px solid rgba(80, 160, 220, .08);
    color: #ffd9a0;
    font-size: 10px;
    line-height: 1.45;
}


/* ==========================================================================
   WHATSAPP BENZERİ TAM PANEL — EKLER
   Kullanıcı isteği: "Ekran Resmi ... ana ekranda sağ altta kurumsal
   mesajlaşma ikonuna basınca açılan pencere ... bahsettiğim burası"
   Panel tek sütundan iki sütuna çıkarıldı ve şu özellikler eklendi:
   grup kurma, dosya ekleme, fotoğraf çekme, arama, eklenti önizleme.
   ========================================================================== */

/* --- Sol sütun: sohbet listesi --- */
#yazismaListe {
    /* SABIT genislik — flex ile esit bolunmesin (olculdu: 380/379 oluyordu) */
    flex: 0 0 300px;
    width: 300px;
    border-right: 1px solid rgba(80, 190, 255, .14);
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.ylBas {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 15px 14px 11px;
    border-bottom: 1px solid rgba(80, 190, 255, .16);
}
.ylBaslik {
    color: #7fd4ff;
    font-size: 13px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    font-weight: 600;
}
.ylDugme { display: flex; gap: 5px; }
.ylDugme button {
    width: 27px;
    height: 27px;
    border-radius: 7px;
    border: 1px solid rgba(80, 190, 255, .3);
    background: rgba(20, 50, 80, .55);
    color: #8fd8ff;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: .16s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ylDugme button:hover {
    background: rgba(40, 110, 170, .7);
    color: #d8f2ff;
    border-color: rgba(120, 220, 255, .55);
}
#ymAra {
    margin: 9px 12px;
    padding: 8px 12px;
    border-radius: 9px;
    border: 1px solid rgba(80, 190, 255, .22);
    background: rgba(10, 26, 44, .8);
    color: #cfe8ff;
    font-size: 12.5px;
    font-family: inherit;
    outline: none;
}
#ymAra:focus { border-color: rgba(90, 200, 255, .6); }
#ymSohbetler { flex: 1; overflow-y: auto; padding-bottom: 8px; }
#ymSohbetler::-webkit-scrollbar { width: 7px; }
#ymSohbetler::-webkit-scrollbar-thumb {
    background: rgba(80, 160, 220, .3);
    border-radius: 4px;
}
.ymGrupEtiket {
    margin-left: 6px;
    font-size: 9.5px;
    color: #6fb0d8;
    background: rgba(60, 130, 190, .22);
    padding: 1px 6px;
    border-radius: 6px;
    letter-spacing: .5px;
}

/* --- Sağ sütun: mesaj akışı --- */
#yazismaSohbet { flex: 1; min-width: 0; }
.yUstBilgi { display: flex; flex-direction: column; gap: 1px; }
.yAltBilgi { font-size: 10.5px; color: #5f8fb5; letter-spacing: .4px; }

/* --- Dosya eki balonu --- */
.yMbEk, .ymbEk {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 5px 0 3px;
    padding: 9px 11px;
    border-radius: 9px;
    background: rgba(20, 55, 90, .6);
    border: 1px solid rgba(80, 190, 255, .22);
    text-decoration: none;
    color: inherit;
    transition: .16s;
}
.yMbEk:hover, .ymbEk:hover {
    background: rgba(35, 85, 135, .75);
    border-color: rgba(120, 220, 255, .45);
}
.yMbEkIkon, .ymbEkIkon { font-size: 20px; line-height: 1; }
.yMbEkAd, .ymbEkAd {
    font-size: 12.5px;
    color: #cfe8ff;
    word-break: break-all;
}
.yMbEkBoyut, .ymbEkBoyut {
    font-size: 10.5px;
    color: #6fa8cc;
    margin-top: 1px;
}
.yMbMetin, .ymbMetin { word-break: break-word; }

/* --- Eklenti önizleme şeridi --- */
#ymEkSerit {
    display: none;
    flex-wrap: wrap;
    gap: 7px;
    padding: 9px 13px;
    border-top: 1px solid rgba(80, 190, 255, .16);
    background: rgba(8, 22, 38, .7);
}
.ymEk {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border-radius: 8px;
    background: rgba(25, 60, 95, .8);
    border: 1px solid rgba(80, 190, 255, .28);
    max-width: 240px;
}
.ymEkAd {
    font-size: 11.5px;
    color: #cfe8ff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ymEkBoyut { font-size: 10px; color: #6fa8cc; }
.ymEkSil {
    background: none;
    border: none;
    color: #ff8f8f;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
}
.ymEkSil:hover { color: #ffc0c0; }

/* --- Yazma alanı araç düğmeleri --- */
.ymArac {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(80, 190, 255, .28);
    background: rgba(20, 50, 80, .55);
    color: #8fd8ff;
    cursor: pointer;
    transition: .16s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ymArac:hover {
    background: rgba(40, 110, 170, .75);
    color: #d8f2ff;
    transform: scale(1.07);
}

/* --- Kişi / grup seçici --- */
#ymSecici {
    position: fixed;
    inset: 0;
    z-index: 8900;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(4, 10, 18, .82);
    backdrop-filter: blur(7px);
}
#ymSecici.acik { display: flex; }
.ymSeciciKutu {
    width: min(440px, 92vw);
    max-height: 78vh;
    display: flex;
    flex-direction: column;
    background: rgba(10, 22, 38, .98);
    border: 1px solid rgba(80, 190, 255, .3);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 22px 65px rgba(0, 0, 0, .65);
}
.ymSeciciKutu h3 {
    margin: 0;
    padding: 16px 19px 13px;
    font-size: 13.5px;
    color: #7fd4ff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(80, 190, 255, .16);
}
#ymKisiListe { flex: 1; overflow-y: auto; padding: 7px 0; }
.ymKisiSatir {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 17px;
    cursor: pointer;
    transition: background .15s;
}
.ymKisiSatir:hover { background: rgba(60, 140, 210, .13); }
.ymKisiSatir input[type=checkbox] {
    width: 17px;
    height: 17px;
    accent-color: #4fb0e8;
    flex-shrink: 0;
}
.ymSeciciDugme {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    padding: 13px 17px;
    border-top: 1px solid rgba(80, 190, 255, .16);
}
.ymSeciciDugme button {
    padding: 8px 17px;
    border-radius: 9px;
    border: 1px solid rgba(80, 190, 255, .3);
    background: rgba(20, 50, 80, .6);
    color: #9fd8ff;
    font-size: 12.5px;
    font-family: inherit;
    cursor: pointer;
    transition: .16s;
}
.ymSeciciDugme button:hover { background: rgba(40, 110, 170, .8); }
.ymSeciciDugme button.ana {
    background: rgba(40, 130, 195, .85);
    color: #eaf8ff;
    border-color: rgba(120, 220, 255, .5);
}

/* --- Kamera örtüsü --- */
#ymKamPerde {
    position: fixed;
    inset: 0;
    z-index: 8950;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(3, 8, 14, .94);
    backdrop-filter: blur(9px);
}
#ymKamPerde.acik { display: flex; }
.ymKamBaslik {
    font-size: 14.5px;
    color: #7fd4ff;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}
#ymKamVideo {
    width: min(680px, 88vw);
    max-height: 62vh;
    border-radius: 13px;
    background: #000;
    border: 1px solid rgba(80, 190, 255, .3);
}
.ymKamDugmeler { display: flex; gap: 11px; }
.ymKamDugmeler button {
    padding: 11px 23px;
    border-radius: 10px;
    border: 1px solid rgba(80, 190, 255, .32);
    background: rgba(20, 55, 90, .8);
    color: #cfe8ff;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: .16s;
}
.ymKamDugmeler button:hover { background: rgba(40, 120, 180, .9); }

/* ==========================================================================
   MOBİL KURUMSAL MESAJLAŞMA PANELİ (#yazismaPanel) TAM EKRAN UYUMLULUĞU
   ========================================================================== */
@media (max-width: 900px) {
    #yazismaPanel {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        background: #111b21 !important;
        border: none !important;
        box-shadow: none !important;
        z-index: 100000 !important;
        display: none !important;
        flex-direction: column !important;
        right: -105vw !important;
        transition: right 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    }
    #yazismaPanel.acik {
        display: flex !important;
        right: 0 !important;
    }
    
    /* SOHBET LİSTESİ (SOL KOLON) */
    #yazismaListe {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        background: #111b21 !important;
        border-right: none !important;
    }
    .ylBas {
        height: 58px !important;
        padding: 0 16px !important;
        background: #202c33 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    .ylBaslik {
        font-size: 19px !important;
        font-weight: 700 !important;
        color: #e9edef !important;
        letter-spacing: normal !important;
        text-transform: none !important;
    }
    .ylDugme {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }
    #ymYeni, #ymGrup, #ymKapat {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: none !important;
        color: #aebac1 !important;
        font-size: 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
    }
    #ymYeni {
        background: #00a884 !important;
        color: #ffffff !important;
        font-size: 22px !important;
        font-weight: 300 !important;
    }

    /* ARAMA ALANI */
    #ymAra {
        margin: 8px 12px !important;
        width: calc(100% - 24px) !important;
        height: 38px !important;
        background: #202c33 !important;
        border: none !important;
        border-radius: 10px !important;
        color: #e9edef !important;
        font-size: 14.5px !important;
        padding: 0 14px !important;
        box-sizing: border-box !important;
    }
    #ymAra::placeholder { color: #8696a0 !important; }

    /* KİŞİ / SOHBET LİSTESİ */
    #ymSohbetler {
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        background: #111b21 !important;
    }
    .yazismaKisi {
        min-height: 70px !important;
        padding: 10px 14px !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        border-bottom: 1px solid rgba(134, 150, 160, 0.12) !important;
        background: transparent !important;
        cursor: pointer !important;
    }
    .yazismaKisi:active { background: #202c33 !important; }
    .yazismaAvatar {
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, #00a884, #005c4b) !important;
        color: #ffffff !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    .yazismaBilgi {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
    }
    .yazismaAd {
        font-size: 15.5px !important;
        font-weight: 600 !important;
        color: #e9edef !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    .yazismaRol {
        font-size: 13px !important;
        color: #8696a0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .ymGrupEtiket {
        font-size: 9.5px !important;
        background: #202c33 !important;
        color: #00a884 !important;
        padding: 1px 5px !important;
        border-radius: 4px !important;
        font-weight: 700 !important;
        margin-left: 5px !important;
    }
    .yazismaRozet {
        min-width: 19px !important;
        height: 19px !important;
        border-radius: 10px !important;
        background: #25d366 !important;
        color: #111b21 !important;
        font-size: 10.5px !important;
        font-weight: 800 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 4px !important;
        flex-shrink: 0 !important;
    }

    /* AKTİF SOHBET EKRANI (SAĞ KOLON OVERLAY) */
    #yazismaSohbet {
        position: absolute !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        background: #0b141a !important;
        z-index: 10 !important;
        display: none !important;
        flex-direction: column !important;
    }
    #yazismaSohbet.acik {
        display: flex !important;
    }
    
    .yazismaSohbetUst {
        height: 58px !important;
        background: #202c33 !important;
        padding: 0 10px !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        flex-shrink: 0 !important;
    }
    .yazismaGeri {
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #e9edef !important;
        font-size: 20px !important;
        font-weight: bold !important;
        background: rgba(255, 255, 255, 0.06) !important;
        border: none !important;
        cursor: pointer !important;
    }
    .yUstBilgi {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1px !important;
    }
    #yazismaKarsi {
        font-size: 15.5px !important;
        font-weight: 700 !important;
        color: #e9edef !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    #yazismaAltBilgi {
        font-size: 11.5px !important;
        color: #00a884 !important;
        font-weight: 500 !important;
    }

    /* MESAJ AKIŞI */
    #yazismaMesajlar {
        flex: 1 1 auto !important;
        background-color: #0b141a !important;
        background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) !important;
        background-size: 20px 20px !important;
        padding: 12px 12px 16px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    /* GELEN MESAJ BALONU */
    .ymb.onlar {
        align-self: flex-start !important;
        background: #202c33 !important;
        color: #e9edef !important;
        border-radius: 12px 12px 12px 2px !important;
        padding: 8px 12px 6px !important;
        max-width: 82% !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) !important;
        font-size: 14px !important;
        line-height: 1.45 !important;
    }
    .ymbGonderen {
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #53bdeb !important;
        margin-bottom: 2px !important;
    }

    /* GİDEN MESAJ BALONU (WHATSAPP YEŞİLİ) */
    .ymb.ben {
        align-self: flex-end !important;
        background: #005c4b !important;
        color: #e9edef !important;
        border-radius: 12px 12px 2px 12px !important;
        padding: 8px 12px 6px !important;
        max-width: 82% !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) !important;
        font-size: 14px !important;
        line-height: 1.45 !important;
    }
    .ymbZaman {
        font-size: 9.5px !important;
        color: #8696a0 !important;
        margin-top: 3px !important;
        text-align: right !important;
    }

    /* ALT MESAJ YAZMA GİRDİSİ */
    .yazismaYaz {
        background: #202c33 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 8px)) 10px !important;
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
        flex-shrink: 0 !important;
    }
    .ymArac {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: transparent !important;
        border: none !important;
        color: #8696a0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
    }
    #yazismaGirdi {
        flex: 1 1 auto !important;
        background: #2a3942 !important;
        border: none !important;
        border-radius: 20px !important;
        color: #e9edef !important;
        font-size: 16px !important;
        padding: 9px 14px !important;
        box-sizing: border-box !important;
        max-height: 90px !important;
        outline: none !important;
        font-family: inherit !important;
    }
    #yazismaGirdi::placeholder { color: #8696a0 !important; }
    #yazismaGonder {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        border-radius: 50% !important;
        background: #00a884 !important;
        border: none !important;
        color: #ffffff !important;
        font-size: 17px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 8px rgba(0, 168, 132, 0.45) !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
    }
}



/* TADİLA KURUMSAL GİRİŞ AÇIK & LÜKS TEMA */
#girisKatman {
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.95) 0%, rgba(244,244,246,0.98) 85%) !important;
}
.girisKutu {
    background: #FFFFFF !important;
    border: 1px solid #E4E4E7 !important;
    border-top: 4px solid #E61F2D !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05) !important;
    color: #18181B !important;
}
.girisBaslik h2 {
    color: #18181B !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
}
.girisBaslik small {
    color: #E61F2D !important;
    font-weight: 700 !important;
}
.girisAlan label {
    color: #52525B !important;
    font-weight: 600 !important;
}
.girisAlan input {
    background: #FAFAFA !important;
    border: 1px solid #E4E4E7 !important;
    color: #18181B !important;
}
.girisAlan input:focus {
    background: #FFFFFF !important;
    border-color: #E61F2D !important;
    box-shadow: 0 0 0 2px rgba(230,31,45,0.15) !important;
}
.girisBtn {
    background: linear-gradient(135deg, #E61F2D 0%, #B91522 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(230,31,45,0.35) !important;
}
.girisAlt p {
    color: #71717A !important;
}


/* MOBİL KİŞİ SEÇİCİ & SOHBET LİSTESİ TAM EKRAN (WHATSAPP TARZI) */
#ymSecici {
    z-index: 100010 !important;
}

@media (max-width: 1023px) {
    #ymSecici {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        background: #111b21 !important;
        display: none !important;
        align-items: stretch !important;
        justify-content: stretch !important;
    }
    #ymSecici.acik {
        display: flex !important;
    }
    .ymSeciciKutu {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: #111b21 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .ymSeciciKutu h3 {
        height: 58px !important;
        padding: 0 16px !important;
        display: flex !important;
        align-items: center !important;
        background: #202c33 !important;
        color: #e9edef !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        letter-spacing: normal !important;
        text-transform: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        flex-shrink: 0 !important;
    }
    #ymKisiListe {
        flex: 1 1 auto !important;
        height: calc(100dvh - 120px) !important;
        max-height: calc(100dvh - 120px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        background: #111b21 !important;
        padding: 4px 0 !important;
    }
    .ymKisiSatir {
        min-height: 56px !important;
        padding: 12px 16px !important;
        border-bottom: 1px solid rgba(134, 150, 160, 0.12) !important;
        color: #e9edef !important;
        font-size: 15px !important;
    }
    .ymSeciciDugme {
        height: 62px !important;
        background: #202c33 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 0 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 12px !important;
        flex-shrink: 0 !important;
    }
    .ymSeciciDugme button {
        padding: 8px 18px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
    }
    .ymSeciciDugme button.ana {
        background: #00a884 !important;
        border-color: #00a884 !important;
        color: #ffffff !important;
        font-weight: 600 !important;
    }

    /* SOHBET LİSTESİ TAM EKRAN BOYUTLANDIRMASI */
    #yazismaListe {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        flex: 1 1 100% !important;
        display: flex !important;
        flex-direction: column !important;
        background: #111b21 !important;
        border-right: none !important;
    }
    #ymSohbetler {
        flex: 1 1 auto !important;
        height: calc(100dvh - 108px) !important;
        max-height: calc(100dvh - 108px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        background: #111b21 !important;
    }
}
