﻿.article-tabs .nav-link {
    color: #666;
    border-radius: 12px;
    padding: .8rem 1.4rem;
    font-weight: 600;
    border: none;

}
.article-tabs {
    justify-content: center;
}

.article-tabs .nav-link.active {
    background: var(--primary-light);
    color: var(--black);
    box-shadow: 0 6px 20px rgba(136,14,79,.2);
}

.article-interaction-box {
    border: 1px solid #eee;
    border-radius: 20px;
    overflow: hidden;
}

.interaction-form {
    background: var(--primary-light);
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 10px;
}

    .interaction-form textarea {
        resize: none;
        border-radius: 12px;
    }

        .interaction-form textarea:focus,
        .interaction-form input:focus {
            border-color: #880E4F;
            box-shadow: none;
        }

.submit-btn {
    background: linear-gradient(45deg,#880E4F,#4A148C);
    border: none;
    color: white;
}

    .submit-btn:hover {
        color: white;
    }

.comment-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 10px;
    margin-bottom: 10px;
    transition: .2s;
    display: flex;
    align-items: center;
}

.qa-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 15px;
    transition: .2s;
}

    .comment-card:hover,
    .qa-card:hover {
        box-shadow: 0 8px 20px rgba(0,0,0,.05);
    }

.comment-header,
.qa-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom:0px;
}

.comment-user {
    display: flex;
    align-items: center;
}

.comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    color: #880E4F;
}

.pin-badge {
    background: #fff3cd;
    color: #856404;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
}

.comment-content {
    margin-right: 20px;
    line-height: 2;
}

.question-box {
    background: #fafafa;
    border-radius: 12px;
    padding: 15px;
}

.answer-box {
    background: rgba(74,20,140,.05);
    border-right: 4px solid #4A148C;
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
}

.waiting-answer {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px;
    color: #777;
    margin-top: 15px;
}
