/**
 * Review Etkileşimleri (Cevap, Alıntı, Beğeni) - Styles
 * Twitter benzeri sosyal etkileşim UI stilleri
 */

/* ============================================
   Etkileşim Butonları (Review Kartında)
   ============================================ */

.review-interaction-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid #e6e6e6;
    margin-top: 15px;
}

.btn-interaction {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    vertical-align: middle;
    line-height: 1;
    position: relative;
}

.btn-interaction:hover {
    background: #f5f5f5;
    color: var(--primary-dark);
}

.btn-interaction.liked {
    color: #e74c3c;
}

/* SVG Icon stilleri */
.svg-icon {
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
}

/* Icon renkleri - sayıya göre (SVG fill ile) */
.btn-interaction.no-count .interaction-icon .svg-icon path,
.btn-like.no-count .icon-wrapper .svg-icon path,
.btn-reply.no-count .icon-wrapper .svg-icon path {
    fill: var(--accent-coral, #ff9a76) !important;
    stroke: var(--accent-coral, #ff9a76) !important;
    /* Turuncu tema rengi */
}

.btn-interaction.has-count .interaction-icon .svg-icon path,
.btn-like.has-count .icon-wrapper .svg-icon path {
    fill: #e74c3c !important;
    stroke: #e74c3c !important;
    /* Kırmızı */
}

/* Liked durumu için kırmızı */
.btn-interaction.liked .interaction-icon .svg-icon path,
.btn-like.liked .icon-wrapper .svg-icon path {
    fill: #e74c3c !important;
    stroke: #e74c3c !important;
}

.btn-interaction.liked .interaction-icon {
    animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Instagram tarzı uçan kalp animasyonu */
.flying-heart {
    position: absolute;
    font-size: 24px;
    pointer-events: none;
    z-index: 10000;
    animation: flyUp 1.5s ease-out forwards;
    opacity: 1;
}

@keyframes flyUp {
    0% {
        transform: translateY(0) translateX(0) scale(0.5) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(var(--random-x, 0px)) scale(1.5) rotate(var(--random-rotate, 0deg));
        opacity: 0;
    }
}

.interaction-icon {
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.interaction-count {
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.btn-conversation {
    margin-left: auto;
    background: var(--primary-dark);
    color: white;
    padding: 8px 16px;
}

.btn-conversation:hover {
    background: var(--accent-coral, #ff9a76);
    color: white;
}

.btn-view-more {
    background: var(--accent-coral, #E57373);
    color: white;
    padding: 8px 16px;
}

.btn-view-more:hover {
    background: var(--accent-coral-dark, #D32F2F);
    color: white;
}

/* ============================================
   Sohbet Modalı
   ============================================ */

.conversation-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.2s ease;
    transition: opacity 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.conversation-modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 0;
    width: 90%;
    max-width: 700px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s ease;
    pointer-events: auto; /* Modal içindeki butonlar her zaman tıklanabilir */
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.conversation-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e6e6e6;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.conversation-modal-header h2 {
    margin: 0;
    font-size: 24px;
    color: var(--primary-dark);
    font-family: 'Cormorant Garamond', serif;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    left: auto;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(52, 73, 94, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
    font-size: 0;
    line-height: 0;
}

/* Modern X ikonu - CSS ile çizilmiş */
.modal-close::before,
.modal-close::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close::before {
    transform: rotate(45deg);
}

.modal-close::after {
    transform: rotate(-45deg);
}

.modal-close:hover {
    background: var(--accent-coral);
    border-color: var(--accent-coral);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 16px rgba(255, 154, 118, 0.35);
}

.modal-close:hover::before,
.modal-close:hover::after {
    background: white;
    width: 20px;
}

/* ============================================
   Orijinal Değerlendirme (Modalda)
   ============================================ */

.original-review-section {
    padding: 20px 25px;
    background: #f9f9f9;
    border-bottom: 1px solid #e6e6e6;
}

.review-card-mini {
    background: white;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
}

.review-card-mini .review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.review-card-mini .review-book-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 5px 0;
}

.review-card-mini .review-book-author {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px 0;
}

.review-card-mini .review-rating {
    margin: 0 10px 0 0;
}

.review-card-mini .review-text {
    margin: 10px 0;
    color: #333;
    line-height: 1.6;
}

.review-stats {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    font-size: 14px;
    color: #666;
}

.review-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   Tab Navigasyon
   ============================================ */

.conversation-tabs {
    display: flex;
    border-bottom: 1px solid #e6e6e6;
    background: white;
    position: sticky;
    top: 71px;
    z-index: 9;
}

.conversation-tab {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.conversation-tab:hover {
    color: var(--primary-dark);
    background: #f9f9f9;
}

.conversation-tab.active {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
    background: white;
}

/* ============================================
   Tab İçerikleri
   ============================================ */

.conversation-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 25px;
}

.conversation-tab-content {
    display: none;
}

.conversation-tab-content.active {
    display: block;
}

/* ============================================
   Cevap/Alıntı Input Alanları
   ============================================ */

.reply-input-section,
.quote-input-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e6e6e6;
}

.reply-input-section textarea,
.quote-input-section textarea,
.reply-input-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
    margin-bottom: 10px;
    transition: border-color 0.2s ease;
}

.reply-input-section textarea:focus,
.quote-input-section textarea:focus,
.reply-input-container textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
}

.btn-primary {
    background: var(--primary-dark);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--accent-coral, #ff9a76);
    color: white;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-secondary {
    background: #e0e0e0;
    color: #666;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.btn-secondary:hover {
    background: var(--accent-coral, #ff9a76);
    color: white;
}

/* ============================================
   Yorumlar (Threaded)
   ============================================ */

.comments-list,
.quotes-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-left: 0; /* Nested yapı için padding yok */
    margin-left: 0; /* Nested yapı için margin yok */
}

/* Review comments için özel comment-item stili - styles.css'teki genel tanımı override eder */
.review-comments-list .comment-item,
.review-comments-section .comment-item {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    transition: all 0.2s ease;
    position: relative;
    margin-bottom: 0; /* Nested replies container boşluk verecek */
    border-left: 1px solid #e6e6e6 !important; /* styles.css'teki border-left'i override et */
}

/* Level 0 comment'ler (değerlendirmeye direkt cevap) - değerlendirme ile aynı hizada, mavi çizgi */
.review-comments-list .comment-item[data-comment-level="0"],
.review-comments-section .comment-item[data-comment-level="0"] {
    margin-bottom: 15px !important; /* Sadece level 0 comment'ler arası boşluk */
    margin-left: 0 !important; /* Değerlendirme ile aynı hizada */
    padding-left: 24px !important; /* Mavi çizgi için alan (2px çizgi + 22px padding) */
}

.review-comments-list .comment-item[data-comment-level="0"]::before,
.review-comments-section .comment-item[data-comment-level="0"]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #1da1f2; /* Mavi çizgi - değerlendirmeye cevap olduğunu göster */
    z-index: 1;
}

/* Nested reply'ler - her seviye için artan indent */
.review-comments-list .comment-item.nested-comment,
.review-comments-section .comment-item.nested-comment {
    position: relative;
    margin-bottom: 0 !important; /* Nested replies container boşluk verecek */
    padding-left: 15px !important; /* Normal padding */
    /* margin-left level bazlı CSS'te tanımlı */
}

/* Nested replies container - Twitter tarzı indent ve mavi çizgi */
.review-comments-list .nested-replies,
.review-comments-section .nested-replies {
    margin-top: 8px !important;
    margin-left: 0 !important; /* margin-left comment-item'da olacak */
    margin-bottom: 15px !important; /* Alt boşluk */
    padding-left: 24px !important; /* Çizgi için alan */
    border-left: 2px solid #1da1f2 !important; /* Sol tarafta mavi çizgi - cevaba cevap olduğunu göster */
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important; /* Nested comment'ler arası boşluk */
    width: 100% !important; /* Container genişliği */
    min-height: 20px !important; /* Minimum yükseklik */
}

/* İç içe nested replies için daha fazla indent (her seviye için artan) */
.review-comments-list .nested-replies .nested-replies,
.review-comments-section .nested-replies .nested-replies {
    margin-left: 0 !important; /* margin-left comment-item'da olacak */
    padding-left: 24px !important; /* Çizgi için alan */
    border-left: 2px solid #1da1f2 !important; /* Her seviye için mavi çizgi */
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}

/* Level 1 nested comment'ler için ek margin - CEVABA CEVAP */
.review-comments-list .comment-item[data-comment-level="1"],
.review-comments-section .comment-item[data-comment-level="1"] {
    margin-left: 40px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    position: relative !important;
}

/* Level 2 nested comment'ler için daha fazla margin - CEVABA VERİLEN CEVABA CEVAP */
.review-comments-list .comment-item[data-comment-level="2"],
.review-comments-section .comment-item[data-comment-level="2"] {
    margin-left: 80px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    position: relative !important;
}

/* Level 3+ nested comment'ler için daha da fazla margin */
.review-comments-list .comment-item[data-comment-level="3"],
.review-comments-section .comment-item[data-comment-level="3"],
.review-comments-list .comment-item[data-comment-level="4"],
.review-comments-section .comment-item[data-comment-level="4"],
.review-comments-list .comment-item[data-comment-level="5"],
.review-comments-section .comment-item[data-comment-level="5"] {
    margin-left: 120px !important;
    margin-top: 8px !important;
    position: relative !important;
}

/* Level bazlı görsel farklılıklar - hangi cevabın hangi yoruma verildiğini göster */
.comment-item[data-comment-level="1"] {
    /* Level 1: Cevaba cevap - nested-replies container içinde zaten mavi çizgi var */
}

.comment-item[data-comment-level="2"] {
    /* Level 2: Cevaba verilen cevaba cevap - daha fazla indent */
}

.comment-item[data-comment-level="3"] {
    /* Level 3: Daha da iç içe - daha fazla indent */
}

.comment-item:hover {
    background: #f5f5f5;
    border-color: #d6d6d6;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.replying-to {
    font-size: 12px;
    color: #1da1f2; /* Mavi renk - Twitter tarzı */
    font-weight: 500;
    margin-bottom: 2px;
}

.comment-info strong {
    font-size: 14px;
    color: var(--primary-dark);
}

.comment-date {
    font-size: 12px;
    color: #999;
}

.comment-content {
    margin: 10px 0;
    color: #333;
    line-height: 1.6;
    font-size: 14px;
}

.comment-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    align-items: center;
    justify-content: space-between;
}

.comment-actions .btn-edit-comment {
    margin-left: auto;
}

.comment-actions .btn-delete-comment {
    margin-left: 8px;
}

.btn-like,
.btn-reply {
    background: transparent;
    border: none;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Icon wrapper - çerçeve yok */
.btn-like .icon-wrapper,
.btn-reply .icon-wrapper {
    display: inline-block;
    line-height: 1;
}

.btn-like:hover,
.btn-reply:hover {
    background: #e6e6e6;
    color: var(--primary-dark);
}

.btn-like.liked {
    color: #e74c3c;
}

/* İç içe cevaplar - Bu tanım yukarıdaki nested-replies tanımını override etmemeli */
/* .nested-replies tanımı yukarıda zaten var, bu satırı kaldırıyoruz */

.comment-edit-container {
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
}

.comment-edit-container textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
    margin-bottom: 10px;
}

.comment-edit-container textarea:focus {
    outline: none;
    border-color: var(--primary-blue, #4a90e2);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}

.comment-edit-container .btn-primary,
.comment-edit-container .btn-secondary {
    margin-right: 8px;
}

.reply-input-container .btn-secondary {
    background: #e0e0e0;
    color: #666;
}

.reply-input-container .btn-secondary:hover {
    background: var(--accent-coral, #ff9a76);
    color: white;
}

.reply-input-container {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
}

/* ============================================
   Alıntılar (Embedded)
   ============================================ */

.quote-item {
    background: white;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    transition: all 0.2s ease;
}

.quote-item:hover {
    border-color: #d6d6d6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.quote-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.quote-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.quote-info {
    display: flex;
    flex-direction: column;
}

.quote-info strong {
    font-size: 14px;
    color: var(--primary-dark);
}

.quote-date {
    font-size: 12px;
    color: #999;
}

.quote-comment {
    margin: 12px 0;
    color: #333;
    line-height: 1.6;
    font-size: 15px;
}

/* Embedded Orijinal Değerlendirme */
.quoted-review-embed {
    background: #f9f9f9;
    border: 1px solid #e6e6e6;
    border-left: 3px solid var(--accent-coral);
    padding: 12px 15px;
    border-radius: 8px;
    margin: 15px 0;
    transition: all 0.2s ease;
}

.quoted-review-embed:hover {
    background: #f5f5f5;
}

.embed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.embed-header strong {
    font-size: 13px;
    color: var(--primary-dark);
}

.embed-book {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
    font-weight: 500;
}

.embed-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 8px 0 0 0;
}

.quote-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.quote-replies-count {
    font-size: 13px;
    color: #666;
}

/* ============================================
   Boş Mesajlar
   ============================================ */

.empty-message {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-size: 14px;
}

/* ============================================
   Responsive Design (Mobile)
   ============================================ */

@media (max-width: 768px) {
    .conversation-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .conversation-modal-header {
        padding: 15px 20px;
    }
    
    .conversation-modal-header h2 {
        font-size: 20px;
    }
    
    .modal-close {
        position: absolute !important;
        top: 50px !important;
        right: 20px !important;
        left: auto !important;
        width: 52px !important;
        height: 52px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(12px) !important;
        border: 2px solid rgba(52, 73, 94, 0.2) !important;
        box-shadow: 0 4px 20px rgba(44, 62, 80, 0.2) !important;
        z-index: 10001 !important;
    }
    
    .modal-close::before,
    .modal-close::after {
        width: 22px !important;
        height: 2.5px !important;
        background: var(--primary-dark) !important;
    }
    
    .modal-close:hover {
        background: var(--accent-coral) !important;
        border-color: var(--accent-coral) !important;
        box-shadow: 0 6px 24px rgba(255, 154, 118, 0.45) !important;
        transform: rotate(90deg) scale(1.12) !important;
    }
    
    .modal-close:hover::before,
    .modal-close:hover::after {
        background: white !important;
        width: 24px !important;
    }
    
    .conversation-content {
        padding: 15px 20px;
    }
    
    .original-review-section {
        padding: 15px 20px;
    }
    
    .review-interaction-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .btn-interaction {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .btn-conversation {
        flex: 1 0 100%;
        text-align: center;
        justify-content: center;
    }
    
    /* İç içe cevaplar için girinti - Nested yapıyı koru */
    .review-comments-list .comment-item[data-comment-level="0"],
    .review-comments-section .comment-item[data-comment-level="0"] {
        margin-left: 0 !important; /* Level 0 aynı hizada */
    }
    .review-comments-list .comment-item[data-comment-level="1"],
    .review-comments-section .comment-item[data-comment-level="1"] {
        margin-left: 30px !important; /* Mobile'da daha az indent */
    }
    .review-comments-list .comment-item[data-comment-level="2"],
    .review-comments-section .comment-item[data-comment-level="2"] {
        margin-left: 60px !important;
    }
    .review-comments-list .comment-item[data-comment-level="3"],
    .review-comments-section .comment-item[data-comment-level="3"],
    .review-comments-list .comment-item[data-comment-level="4"],
    .review-comments-section .comment-item[data-comment-level="4"],
    .review-comments-list .comment-item[data-comment-level="5"],
    .review-comments-section .comment-item[data-comment-level="5"] {
        margin-left: 90px !important;
    }
}

/* ============================================
   Scroll Bar Stilleri
   ============================================ */

.conversation-content::-webkit-scrollbar {
    width: 8px;
}

.conversation-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.conversation-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.conversation-content::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* ============================================
   Review Kartı Altında Cevaplar (Inline)
   ============================================ */

.review-comments-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e6e6e6;
}

.review-comment-input {
    margin-bottom: 15px;
}

.review-comment-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
    margin-bottom: 10px;
    transition: border-color 0.2s ease;
}

.review-comment-textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
}

.review-comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-left: 0; /* Nested yapı için padding yok */
    margin-left: 0; /* Nested yapı için margin yok */
}

.btn-edit-comment {
    background: var(--primary-blue, #4a90e2);
    color: white;
    border: none;
    font-size: 13px;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-edit-comment:hover {
    background: var(--primary-dark, #2c5aa0);
    transform: translateY(-1px);
}

.btn-delete-comment {
    background: #e74c3c;
    border: 1px solid #e74c3c;
    color: white;
    font-size: 13px;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-left: 8px;
    font-weight: 500;
}

.btn-delete-comment:hover {
    background: #c0392b;
    border-color: #c0392b;
    color: white;
    transform: translateY(-1px);
}

/* ============================================
   Hover Tooltip - Beğenenler ve Yorum Yapanlar
   ============================================ */

.interaction-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    white-space: nowrap;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    max-width: 320px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.interaction-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #2c3e50;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.btn-interaction:hover .interaction-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.tooltip-loading {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-size: 12px;
}

.tooltip-user-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 240px;
    overflow-y: auto;
    padding-right: 4px;
}

.tooltip-user-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
}

.tooltip-user-item:hover {
    background: rgba(255, 154, 118, 0.2);
    transform: translateX(4px);
}

.tooltip-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9a76 0%, #ff6b6b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
    box-shadow: 0 2px 8px rgba(255, 154, 118, 0.3);
    text-transform: uppercase;
}

.tooltip-user-name {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.2px;
}

.tooltip-empty {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    font-size: 12px;
    padding: 4px 0;
}

.tooltip-scrollable {
    white-space: normal;
    max-width: 300px;
}

/* Scrollbar styling for tooltip list */
.tooltip-user-list::-webkit-scrollbar {
    width: 5px;
}

.tooltip-user-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.tooltip-user-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff9a76 0%, #ff6b6b 100%);
    border-radius: 10px;
    transition: background 0.2s ease;
}

.tooltip-user-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffb196 0%, #ff8585 100%);
}

/* Tooltip başlığı (opsiyonel) */
.tooltip-header {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 154, 118, 0.9);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tooltip animasyonu için */
@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(-5px) scale(1);
    }
}
