/* === Genel Yorum Kutusu === */
.comment-item {
    background-color: #f8f9fa;
    transition: 0.2s ease;
}

.comment-item:hover {
    background-color: #fdfdfd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Profil resmi ve içerik düzeni */
.comment-item img,
.reply img {
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

/* Rol etiketi */
.comment-item .badge {
    font-size: 0.7rem;
    font-weight: 500;
}

/* === Alt Yorumlar === */
.replies {
    border-left: 2px solid rgba(0, 0, 0, 0.08);
}

.replies .reply {
    transition: all 0.2s ease;
    background-color: #fafafa;
}

.replies .reply:hover {
    background-color: #fefefe;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* === Alıntı Görünümü === */
.quote-block {
    border-left: 3px solid var(--bs-primary);
    background: #f8f9fa;
    font-size: 0.85rem;
    border-radius: 0.3rem;
    padding-left: 0.6rem !important;
}

/* === Butonlar === */
.reply-btn,
.delete-comment-btn {
    transition: color 0.15s ease;
}

.reply-btn:hover i,
.delete-comment-btn:hover i {
    color: var(--bs-primary);
}

.reply-btn i,
.delete-comment-btn i {
    transition: transform 0.15s ease;
}

.reply-btn:hover i,
.delete-comment-btn:hover i {
    transform: scale(1.2);
}

/* === Inline Yanıt Kutusu === */
.inline-reply-box {
    animation: fadeIn 0.15s ease-in;
}

.inline-reply-box textarea {
    font-size: 0.9rem;
}

.inline-reply-box .btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
}

/* === Alert & Form === */
textarea.form-control {
    resize: vertical;
}

.alert-light a {
    text-decoration: none;
}

.alert-light a:hover {
    text-decoration: underline;
}

/* === Geri Al Bildirimi === */
.undo-del {
    font-size: 0.8rem;
    color: var(--bs-primary);
}

.undo-del:hover {
    text-decoration: underline;
}

/* === Animasyonlar === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#deleteConfirmModal .modal-content {
    border-radius: 1rem;
    animation: fadeIn .2s ease-in-out;
}
