.thread-card {
    border: 1px solid var(--colorsecondary10);
    border-radius: 8px;
    background-color: #fff;
}

.thread-card .card-header {
    background-color: var(--colorsecondary10);
    font-weight: bold;
    color: var(--colorprimary);
    border-bottom: 1px solid var(--colorsecondary10);
}

.thread-card .card-text {
    color: var(--colorsecondary);
}

.comments-container {
    border-top: 1px solid var(--colorsecondary10);
}

.comment-body,
.reply {
    background-color: var(--colorsecondary10);
    padding: 0.75rem;
    border-radius: 5px;
}

.comment-actions a {
    color: #000;
    font-size: 0.875rem;
    text-decoration: none;
}

.comment-actions a:hover {
    text-decoration: underline;
    color: var(--colorprimary);
}

.comment-actions .text-danger {
    color: red !important;
}

.replies {
    border-left: 2px solid var(--colorprimary50);
}

.comment-meta {
    color: var(--colorsecondary50);
}

textarea {
    background-color: #fff !important;
    border: 1px solid var(--colorsecondary50);
    border-radius: 4px;
    font-size: 0.95rem;
}

.comment-edit-form,
.comment-reply-form,
.thread-comment-form {
    animation: fadeIn 0.3s ease-in-out;
}

.comment.active-accordion {
    background-color: #fff;
}

.toggle-icon {
    transition: transform 0.2s ease;
}

.comment.active-accordion .toggle-icon {
    transform: rotate(180deg);
}

.topic-closed-message {
    padding: 0.5rem;
    font-style: italic;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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