/* --- TICKET TEMİZLİK KODU (SONOTEK) --- */

/* 1. Ticket içindeki devasa resimleri (imza, logo) küçült */
.ticket-reply-message img, 
.ticket-message img {
    max-height: 60px !important;  /* Yükseklik en fazla 60px olsun */
    width: auto !important;       /* Genişlik orantılı kalsın */
    max-width: 200px !important;  /* Genişlik çok taşmasın */
    display: inline-block;
    vertical-align: middle;
    margin: 2px !important;
    border: 1px solid #eee;       
    padding: 2px;
}

/* 2. Resmin üzerine gelince (Hover) orjinal boyutuna getir */
.ticket-reply-message img:hover, 
.ticket-message img:hover {
    max-height: none !important;
    max-width: 100% !important;
    position: relative;
    z-index: 9999;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    transition: all 0.2s ease-in-out;
    background: #fff;
}

/* 3. Gereksiz alt alta boşlukları (Enter) yok et */
.ticket-reply-message br + br, 
.ticket-message br + br {
    display: none; 
}

/* 4. Boş paragrafları gizle */
.ticket-reply-message p:empty, 
.ticket-message p:empty {
    display: none;
}

/* 5. Satır aralıklarını sıkılaştır */
.ticket-reply-message p, 
.ticket-message p {
    margin-bottom: 5px !important;
}

/* --- KOD BİTİŞ --- */