.solution-qa-container {
    min-height: 600px;
    padding: 24px 0 60px;
    background: #f8fafc;
}

.solution-qa-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.solution-qa-main {
    flex: 1;
    min-width: 0;
}

.qa-page-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 24px;
}

.qa-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.qa-filter select {
    padding: 8px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
}

.qa-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.qa-list li {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #e5e7eb;
}

.qa-list .qa-item-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.qa-list .qa-item-title a {
    color: #1e293b;
    text-decoration: none;
}

.qa-list .qa-item-title a:hover {
    color: var(--color);
}

.qa-list .qa-item-meta {
    font-size: 13px;
    color: #94a3b8;
}

.qa-list .qa-item-solution {
    font-size: 13px;
    color: var(--color);
    margin-top: 6px;
}

.qa-pagination {
    margin-top: 24px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.solution-qa-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.sidebar-block {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.sidebar-block h3 {
    font-size: 16px;
    margin: 0 0 14px;
    color: #1e293b;
}

.btn-ask {
    display: inline-block;
    padding: 10px 20px;
    background: var(--color);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.btn-ask:hover { color: #fff; opacity: 0.9; }

/* Question detail */
.question-detail-container {
    min-height: 600px;
    padding: 24px 0 60px;
    background: #f8fafc;
}

.question-detail-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.question-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px;
    line-height: 1.4;
}

.question-detail-meta {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

.question-detail-meta a {
    color: var(--color);
    margin-left: 12px;
}

.question-detail-content {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
}

.answers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.answers-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.answers-list .answer-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
}

.answers-list .answer-card.accepted {
    border-color: var(--color);
    background: #f0f9ff;
}

.answer-card .answer-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #64748b;
}

.answer-card .answer-badge {
    padding: 2px 8px;
    background: var(--color);
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
}

.answer-card .answer-content {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

.answer-card .answer-actions {
    margin-top: 12px;
}

.answer-card .btn-upvote {
    padding: 4px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
}

.answer-form-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.answer-form-wrap h3 {
    font-size: 16px;
    margin: 0 0 12px;
    color: #1e293b;
}

.answer-form-wrap textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .solution-qa-layout {
        flex-direction: column;
    }
    .solution-qa-sidebar {
        width: 100%;
    }
}
