/* ============================================================================
   E-Sohbet.Chat - PC Sohbet Ekrani Stilleri (OvroChat tarzi)
   ========================================================================== */

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f5f0fa;
    color: #2c2058;
    font-family: 'Segoe UI', 'Open Sans', Helvetica, Arial, sans-serif;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #b39ddb; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #9575cd; }

.gizle { display: none !important; }
.temizle { clear: both; height: 0; }

/* =========================================================================
   UST NAVIGATION BAR
   ========================================================================== */
.ust-nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #fff;
    border-bottom: 1px solid #ede0f5;
    box-shadow: 0 2px 8px rgba(106, 17, 203, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
}

.ust-nav-sol {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.ust-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ust-nav-logo-cember {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8e2de2 0%, #d62196 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(142, 45, 226, 0.3);
}

.ust-nav-marka {
    font-size: 18px;
    font-weight: 800;
    color: #6a11cb;
    line-height: 1.1;
}

.ust-nav-alt-yazi {
    font-size: 10px;
    color: #9575cd;
    margin-top: 2px;
}

.ust-nav-yonetim {
    background: #f3e5f5;
    border: 1px solid #e1bee7;
    color: #6a11cb;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.ust-nav-yonetim:hover {
    background: #e1bee7;
}

.ust-nav-orta {
    display: flex;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.ust-nav-link {
    color: #6a11cb;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ust-nav-link:hover {
    background: #f3e5f5;
}

.ust-nav-link.active {
    background: linear-gradient(135deg, #8e2de2 0%, #d62196 100%);
    color: #fff;
}

.ust-nav-sag {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: flex-end;
}

.ust-nav-arama {
    position: relative;
    width: 240px;
}

.ust-nav-arama i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9575cd;
    font-size: 14px;
}

.ust-nav-arama input {
    width: 100%;
    padding: 9px 12px 9px 36px;
    border: 1.5px solid #ede0f5;
    border-radius: 10px;
    font-size: 13px;
    background: #faf7fc;
    outline: none;
    color: #2c2058;
    transition: all 0.2s;
}

.ust-nav-arama input:focus {
    border-color: #8e2de2;
    background: #fff;
}

.ust-nav-bildirim {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3e5f5;
    border: none;
    color: #6a11cb;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.ust-nav-bildirim:hover {
    background: #e1bee7;
}

.ust-nav-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #e74c3c;
    color: #fff;
    border-radius: 10px;
    min-width: 16px;
    height: 16px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.ust-nav-profil {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 4px 8px 4px 4px;
    border-radius: 30px;
    transition: all 0.2s;
}

.ust-nav-profil:hover {
    background: #f3e5f5;
}

.ust-nav-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #8e2de2;
}

.ust-nav-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ust-nav-profil-bilgi {
    line-height: 1.2;
}

.ust-nav-profil-isim {
    font-size: 13px;
    font-weight: 700;
    color: #2c2058;
}

.ust-nav-profil-durum {
    font-size: 11px;
    color: #4caf50;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.ust-nav-cevrimici-nokta {
    width: 7px;
    height: 7px;
    background: #4caf50;
    border-radius: 50%;
    display: inline-block;
}

/* =========================================================================
   ANA ICERIK - 3 SUTUN LAYOUT
   ========================================================================== */
.ana-icerik {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    gap: 0;
    background: #f5f0fa;
    overflow: hidden;
}

/* =========================================================================
   SOL SIDEBAR
   ========================================================================== */
.solPanel {
    background: #fff;
    border-right: 1px solid #ede0f5;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sol-sekmeler {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 12px 12px 6px 12px;
    background: #faf7fc;
    border-bottom: 1px solid #ede0f5;
}

.sol-sekme {
    background: transparent;
    border: 1.5px solid transparent;
    color: #6a11cb;
    padding: 10px 4px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
}

.sol-sekme i {
    font-size: 18px;
}

.sol-sekme:hover {
    background: #f3e5f5;
}

.sol-sekme.active {
    background: linear-gradient(135deg, #8e2de2 0%, #d62196 100%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(142, 45, 226, 0.25);
}

.sol-sekme-badge {
    position: absolute;
    top: 4px;
    right: 8px;
    background: #e74c3c;
    color: #fff;
    border-radius: 10px;
    min-width: 16px;
    height: 16px;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.sol-sekme.active .sol-sekme-badge {
    background: #fff;
    color: #8e2de2;
}

.sol-sekme-badge.gizle { display: none; }

.sol-baglanti-durum {
    padding: 8px 14px;
    background: #faf7fc;
    border-bottom: 1px solid #ede0f5;
    font-size: 11px;
    color: #4caf50;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sol-baglanti-nokta {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    animation: baglantiPulse 2s ease-in-out infinite;
}

@keyframes baglantiPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2); }
    50%      { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0); }
}

.sol-tab-icerik {
    display: none;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
}

.sol-tab-icerik.active {
    display: flex;
}

.sol-liste-baslik {
    padding: 14px 16px 8px 16px;
    font-size: 12px;
    color: #9575cd;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sol-liste-sayi {
    background: #f3e5f5;
    color: #6a11cb;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.sol-arama {
    position: relative;
    padding: 0 12px 10px 12px;
}

.sol-arama i {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #9575cd;
    font-size: 13px;
}

.sol-arama input {
    width: 100%;
    padding: 8px 10px 8px 32px;
    border: 1.5px solid #ede0f5;
    border-radius: 8px;
    font-size: 12px;
    background: #faf7fc;
    outline: none;
    color: #2c2058;
    transition: all 0.2s;
}

.sol-arama input:focus {
    border-color: #8e2de2;
    background: #fff;
}

.sol-liste-govde {
    flex: 1;
    overflow-y: auto;
    padding: 0 8px;
}

/* Kisi listesi ogesi */
.kisiLiOda {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 2px;
}

.kisiLiOda:hover {
    background: #f3e5f5;
}

.kisiLiOda .kisi-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #8e2de2;
    flex-shrink: 0;
    overflow: hidden;
}

.kisiLiOda .kisi-avatar.erkek { border-color: #2196f3; }
.kisiLiOda .kisi-avatar.kadin { border-color: #e91e63; }

.kisiLiOda .kisi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kisiLiOda .kisi-bilgi {
    flex: 1;
    min-width: 0;
}

.kisiLiOda .kisi-rumuz {
    font-size: 13px;
    font-weight: 700;
    color: #2c2058;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kisiLiOda .kisi-rumuz.erkek { color: #1976d2; }
.kisiLiOda .kisi-rumuz.kadin { color: #c2185b; }

.kisiLiOda .kisi-rozet {
    background: #f3e5f5;
    color: #6a11cb;
    padding: 1px 6px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
}

.kisiLiOda .kisi-durum {
    font-size: 11px;
    color: #4caf50;
    margin-top: 2px;
}

.kisiLiOda .kisi-yetki {
    font-size: 10px;
    color: #f39c12;
    margin-top: 1px;
}

/* Oda listesi ogesi */
.oda_liste_oge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 4px;
    background: #faf7fc;
    border: 1.5px solid transparent;
}

.oda_liste_oge:hover {
    background: #f3e5f5;
    border-color: #e1bee7;
}

.oda_liste_oge.aktif {
    background: linear-gradient(135deg, #f3e5f5, #fff);
    border-color: #8e2de2;
}

.oda_liste_oge .oda-ikon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #8e2de2, #d62196);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.oda_liste_oge .oda-icerik {
    flex: 1;
    min-width: 0;
}

.oda_liste_oge .oda-adi {
    font-size: 13px;
    font-weight: 700;
    color: #2c2058;
}

.oda_liste_oge .oda-aciklama {
    font-size: 11px;
    color: #9575cd;
    margin-top: 1px;
}

.oda_liste_oge .oda-online {
    background: #4caf50;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    min-width: 28px;
    text-align: center;
}

/* Istatistikler */
.sol-istatistik {
    padding: 12px 16px;
    background: #faf7fc;
    border-top: 1px solid #ede0f5;
    font-size: 12px;
}

.sol-istatistik-satir {
    display: flex;
    justify-content: space-between;
    color: #9575cd;
    padding: 3px 0;
}

.sol-istatistik-satir strong {
    color: #2c2058;
}

/* Premium kart */
.sol-premium-kart {
    margin: 12px;
    padding: 14px;
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
    border: 1px solid #f8bbd0;
    border-radius: 12px;
    text-align: center;
}

.sol-premium-baslik {
    font-size: 13px;
    font-weight: 800;
    color: #c2185b;
    margin-bottom: 8px;
}

.sol-premium-ozellik {
    font-size: 11px;
    color: #6a1b3a;
    margin: 4px 0;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.sol-premium-ozellik i {
    color: #e91e63;
    font-size: 12px;
}

.sol-premium-link {
    display: inline-block;
    margin-top: 8px;
    background: #e74c3c;
    color: #fff;
    padding: 6px 14px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.sol-premium-link:hover {
    background: #c0392b;
}

/* =========================================================================
   ORTA: SOHBET PANELI
   ========================================================================== */
.sagPanel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f5f0fa;
    min-width: 0;
}

/* Oda baslik paneli */
.oda-baslik-paneli {
    background: #fff;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ede0f5;
    box-shadow: 0 2px 6px rgba(106, 17, 203, 0.04);
}

.oda-baslik-sol {
    display: flex;
    align-items: center;
    gap: 12px;
}

.oda-baslik-kare {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8e2de2 0%, #d62196 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(142, 45, 226, 0.25);
}

.oda-baslik-adi {
    font-size: 18px;
    font-weight: 800;
    color: #2c2058;
    line-height: 1.2;
}

.oda-baslik-alt {
    display: flex;
    gap: 16px;
    margin-top: 4px;
    font-size: 12px;
    color: #9575cd;
}

.oda-baslik-alt span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.oda-baslik-alt i {
    font-size: 12px;
}

.oda-baslik-sag {
    display: flex;
    align-items: center;
    gap: 10px;
}

.oda-baslik-aktif {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.oda-baslik-aktif::before {
    content: '●';
    color: #4caf50;
}

.oda-baslik-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f3e5f5;
    border: none;
    color: #6a11cb;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.oda-baslik-btn:hover {
    background: #e1bee7;
}

/* Mesajlasma alani */
.messages_oda {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
    background:
        radial-gradient(circle at 20% 30%, rgba(214, 33, 150, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(106, 17, 203, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, #faf7fc 0%, #f5f0fa 100%);
}

.mesaj-tarih-ayraci {
    text-align: center;
    margin: 8px 0 18px 0;
}

.mesaj-tarih-ayraci span {
    background: #fff;
    color: #6a11cb;
    padding: 4px 16px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #ede0f5;
    box-shadow: 0 2px 6px rgba(106, 17, 203, 0.05);
}

.mesaj_hos_geldiniz {
    text-align: center;
    color: #9575cd;
    padding: 20px 10px;
    font-size: 12px;
    font-style: italic;
}

.mesaj_hos_geldiniz i {
    font-size: 28px;
    color: #b39ddb;
    display: block;
    margin-bottom: 6px;
}

.mesaj_hos_geldiniz p { margin: 0; }

/* Mesaj baloncuk */
.mesaj-baloncuk {
    background: #fff;
    border-radius: 14px;
    padding: 10px 14px;
    margin: 8px 0;
    max-width: 70%;
    box-shadow: 0 2px 8px rgba(106, 17, 203, 0.06);
    word-wrap: break-word;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    clear: both;
}

.mesaj-baloncuk.erkek {
    float: left;
    border-left: 3px solid #2196f3;
}

.mesaj-baloncuk.kadin {
    float: left;
    border-left: 3px solid #e91e63;
}

.mesaj-baloncuk.ben {
    float: right;
    background: linear-gradient(135deg, #f3e5f5, #fff);
    border-left: none;
    border-right: 3px solid #8e2de2;
    flex-direction: row-reverse;
}

.mesaj-baloncuk.sistem {
    background: rgba(255, 255, 255, 0.7);
    border: 1px dashed #b39ddb;
    color: #6a11cb;
    text-align: center;
    font-size: 11px;
    font-style: italic;
    float: none;
    max-width: 90%;
    margin: 10px auto;
    justify-content: center;
    align-items: center;
}

.mesaj-baloncuk.sistem i {
    margin-right: 6px;
    color: #b39ddb;
}

/* Mesaj avatari */
.mesaj-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #8e2de2;
}

.mesaj-avatar.erkek { border-color: #2196f3; }
.mesaj-avatar.kadin { border-color: #e91e63; }

.mesaj-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mesaj-icerik-kutusu {
    flex: 1;
    min-width: 0;
}

.mesaj-baslik {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
    font-size: 11px;
}

.mesaj-rumuz {
    font-weight: 700;
    color: #6a11cb;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mesaj-rumuz.erkek { color: #2196f3; }
.mesaj-rumuz.kadin { color: #e91e63; }

.mesaj-rozet {
    background: #f3e5f5;
    color: #6a11cb;
    padding: 1px 6px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
}

.mesaj-saat {
    color: #b39ddb;
    font-size: 10px;
}

.mesaj-icerik {
    color: #2c2058;
    font-size: 14px;
    line-height: 1.5;
}

.mesaj-icerik img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 6px;
}

.mesaj-icerik a {
    color: #8e2de2;
    text-decoration: underline;
}

.mesaj-yetki {
    font-size: 10px;
    color: #f39c12;
    margin-left: 4px;
}

/* Mesaj giris alani */
.mesaj_giris_alani {
    background: #fff;
    border-top: 1px solid #ede0f5;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 -2px 8px rgba(106, 17, 203, 0.04);
}

.mesaj-giris-araclar {
    display: flex;
    gap: 4px;
}

.mesaj-arac-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f3e5f5;
    border: none;
    color: #6a11cb;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.mesaj-arac-btn:hover {
    background: #e1bee7;
    color: #4a0aa8;
    transform: translateY(-1px);
}

.mesaj-giris-input {
    flex: 1;
}

.mesaj-giris-input input {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid #ede0f5;
    border-radius: 22px;
    font-size: 14px;
    background: #faf7fc;
    outline: none;
    color: #2c2058;
    transition: all 0.2s;
}

.mesaj-giris-input input:focus {
    border-color: #8e2de2;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(142, 45, 226, 0.1);
}

.mesaj-giris-gonder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8e2de2 0%, #d62196 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(142, 45, 226, 0.3);
    flex-shrink: 0;
}

.mesaj-giris-gonder:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(142, 45, 226, 0.4);
}

.mesaj-giris-gonder:active {
    transform: translateY(0);
}

/* Alt sunucu bilgisi */
.alt-sunucu-bilgi {
    padding: 6px 20px;
    background: #faf7fc;
    border-top: 1px solid #ede0f5;
    font-size: 11px;
    color: #9575cd;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
}

/* =========================================================================
   SAG YAN PANEL: Ses kanali + Oda bilgileri + Hizli islemler
   ========================================================================== */
.sag-panel-yan {
    background: #fff;
    border-left: 1px solid #ede0f5;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0;
}

.sag-panel-bolum {
    padding: 14px 16px;
    border-bottom: 1px solid #ede0f5;
}

.sag-panel-bolum-baslik {
    font-size: 13px;
    font-weight: 800;
    color: #2c2058;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sag-panel-bolum-sayi {
    background: #f3e5f5;
    color: #6a11cb;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.sag-panel-ekle-btn {
    width: 100%;
    background: #faf7fc;
    border: 1.5px dashed #b39ddb;
    color: #6a11cb;
    padding: 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sag-panel-ekle-btn:hover {
    background: #f3e5f5;
    border-color: #8e2de2;
}

/* Sesli kanal basligi */
.sag-panel-sesli-baslik {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 800;
    color: #2c2058;
    margin-bottom: 12px;
}

.sag-panel-sesli-baslik i {
    color: #8e2de2;
    font-size: 15px;
}

.sag-panel-sesli-sayac {
    margin-left: auto;
    background: #f3e5f5;
    color: #6a11cb;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

/* 10 Mikrofon slotu - 5x2 grid */
.sag-mikrofon-slotlari {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 8px;
    margin-bottom: 14px;
}

.sag-mikrofon-slotlari .mikrofon-slot {
    background: transparent;
    border: none;
    padding: 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.sag-mikrofon-slotlari .mikrofon-slot .mik-daire {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px dashed #b39ddb;
    background: #faf7fc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
}

.sag-mikrofon-slotlari .mikrofon-slot.bos .mik-daire {
    border: 2px dashed #b39ddb;
    background: #faf7fc;
}

.sag-mikrofon-slotlari .mikrofon-slot.bos .mik-daire .mik-icon {
    color: #b39ddb;
    font-size: 16px;
    opacity: 0.6;
}

.sag-mikrofon-slotlari .mikrofon-slot.dolu .mik-daire {
    border: 2px solid #8e2de2;
    background: linear-gradient(135deg, #8e2de2 0%, #6a11cb 100%);
    box-shadow: 0 4px 10px rgba(142, 45, 226, 0.3);
}

.sag-mikrofon-slotlari .mikrofon-slot.dolu.erkek .mik-daire {
    border-color: #2196f3;
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
}

.sag-mikrofon-slotlari .mikrofon-slot.dolu.kadin .mik-daire {
    border-color: #e91e63;
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.3);
}

.sag-mikrofon-slotlari .mikrofon-slot.dolu.benim .mik-daire {
    border-color: #4caf50;
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.sag-mikrofon-slotlari .mikrofon-slot.dolu .mik-daire .mik-icon {
    color: #fff;
    font-size: 18px;
}

.sag-mikrofon-slotlari .mikrofon-slot.konusuyor .mik-daire {
    animation: sagMikPulse 1.5s ease-in-out infinite;
}

@keyframes sagMikPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(142, 45, 226, 0.5); }
    50%      { box-shadow: 0 0 0 6px rgba(142, 45, 226, 0); }
}

.sag-mikrofon-slotlari .mik-rumuz {
    font-size: 10px;
    font-weight: 700;
    color: #2c2058;
    max-width: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.1;
}

.sag-mikrofon-slotlari .mikrofon-slot.bos .mik-rumuz {
    color: #b39ddb;
    font-weight: 500;
    font-size: 9px;
}

.sag-mikrofon-slotlari .mik-sure {
    font-size: 9px;
    color: #6a11cb;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    line-height: 1;
}

.sag-mikrofon-slotlari .mikrofon-slot.bos .mik-sure { display: none; }

/* Mikrofona katil butonu */
.sag-mikrofon-katil {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #8e2de2 0%, #d62196 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(142, 45, 226, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sag-mikrofon-katil:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(142, 45, 226, 0.4);
}

.sag-mikrofon-katil:active {
    transform: translateY(0);
}

/* Oda bilgileri tablo */
.sag-oda-bilgi-tablo {
    background: #faf7fc;
    border-radius: 10px;
    padding: 4px 12px;
}

.sag-bilgi-satir {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #ede0f5;
    font-size: 12px;
}

.sag-bilgi-satir:last-child {
    border-bottom: none;
}

.sag-bilgi-satir span {
    color: #9575cd;
}

.sag-bilgi-satir strong {
    color: #2c2058;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sag-bilgi-nokta {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    display: inline-block;
}

.sag-bilgi-aktif {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
}

/* Hizli islemler butonlari */
.sag-islem-btn {
    width: 100%;
    background: #faf7fc;
    border: 1px solid #ede0f5;
    color: #2c2058;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.sag-islem-btn:hover {
    background: #f3e5f5;
    border-color: #b39ddb;
    color: #6a11cb;
}

.sag-islem-btn i {
    color: #6a11cb;
    font-size: 15px;
}

.sag-islem-cikis {
    color: #e74c3c;
}

.sag-islem-cikis i {
    color: #e74c3c;
}

.sag-islem-cikis:hover {
    background: #fdecea;
    border-color: #f5c6cb;
    color: #c0392b;
}

/* Sinirsiz Istanbul butonu */
.sag-sinirsiz-btn {
    margin: 14px 16px 20px 16px;
    padding: 14px;
    background: linear-gradient(135deg, #8e2de2 0%, #d62196 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(142, 45, 226, 0.3);
    text-align: left;
}

.sag-sinirsiz-btn i {
    font-size: 22px;
}

.sag-sinirsiz-baslik {
    font-size: 14px;
    font-weight: 700;
}

.sag-sinirsiz-alt {
    font-size: 11px;
    opacity: 0.9;
    margin-top: 2px;
}

.sag-sinirsiz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(142, 45, 226, 0.4);
}

/* =========================================================================
   Ozel mesaj penceresi
   ========================================================================== */
.ozel_pencereler_alani {
    position: fixed;
    bottom: 0;
    right: 340px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.ozel_pencere {
    width: 280px;
    height: 380px;
    background: #fff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 20px rgba(106, 17, 203, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ozel_pencere_baslik {
    background: linear-gradient(135deg, #8e2de2, #d62196);
    color: #fff;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 13px;
}

.ozel_pencere_baslik .kapat {
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.ozel_pencere_mesajlar {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background: #faf7fc;
}

.ozel_mesaj_baloncuk {
    background: #fff;
    border-radius: 10px;
    padding: 7px 11px;
    margin: 5px 0;
    max-width: 85%;
    font-size: 13px;
    word-wrap: break-word;
    box-shadow: 0 1px 4px rgba(106, 17, 203, 0.08);
}

.ozel_mesaj_baloncuk.ben {
    margin-left: auto;
    background: linear-gradient(135deg, #f3e5f5, #fff);
    border-right: 2px solid #8e2de2;
}

.ozel_mesaj_baloncuk.o {
    margin-right: auto;
    background: #fff;
    border-left: 2px solid #d62196;
}

.ozel_pencere_giris {
    border-top: 1px solid #ede0f5;
    padding: 8px;
    display: flex;
    gap: 6px;
}

.ozel_pencere_giris input {
    flex: 1;
    border: 1px solid #ede0f5;
    border-radius: 16px;
    padding: 7px 12px;
    font-size: 13px;
    outline: none;
    background: #faf7fc;
}

.ozel_pencere_giris input:focus { border-color: #8e2de2; }

.ozel_pencere_giris button {
    background: linear-gradient(135deg, #8e2de2, #d62196);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
}

/* =========================================================================
   Yardimci siniflar
   ========================================================================== */
.opacity04 { opacity: 0.4; }
.padding40 { padding: 40px; }
.gray { color: #9575cd !important; }
.green { color: #4caf50 !important; }
.blue { color: #2196f3 !important; }
.red { color: #e74c3c !important; }
.margin0 { margin: 0 !important; }
.no-box-shadow { box-shadow: none !important; }
.borderless { border: none !important; }

/* =========================================================================
   Mobil uyumluluk (1024px altinda sag panel gizlenir)
   ========================================================================== */
@media (max-width: 1024px) {
    .ana-icerik {
        grid-template-columns: 240px 1fr;
    }
    .sag-panel-yan { display: none; }
    .ust-nav-arama { width: 160px; }
}

@media (max-width: 768px) {
    .ana-icerik {
        grid-template-columns: 1fr;
    }
    .solPanel {
        position: absolute;
        top: 0;
        left: 0;
        width: 280px;
        height: 100%;
        z-index: 200;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    .solPanel.acik { transform: translateX(0); }
    .ust-nav-orta { display: none; }
    .ust-nav-arama { display: none; }
}
