/**
 * Q&A 게시판 전용 스타일
 */

.badge-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.badge-status.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.badge-status.status-answered {
    background: #d1fae5;
    color: #065f46;
}

.badge-status.status-solved {
    background: #dbeafe;
    color: #1e40af;
}

.badge-answers {
    display: inline-block;
    padding: 2px 8px;
    background: #3b82f6;
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
}

.helpdesk-status-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.helpdesk-status-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s;
}

.helpdesk-status-btn:hover {
    background: #f3f4f6;
}

.helpdesk-status-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.helpdesk-qa-detail {
    padding: 20px 0;
}

.helpdesk-qa-detail-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.helpdesk-qa-detail-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 15px 0;
}

.helpdesk-qa-detail-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #6b7280;
}

.helpdesk-qa-detail-content {
    padding: 20px 0;
    line-height: 1.8;
    color: #374151;
}

.helpdesk-qa-answers {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
}

.helpdesk-qa-answers-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px 0;
}

.helpdesk-qa-answer {
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 15px;
}

.helpdesk-qa-answer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.helpdesk-qa-answer-author {
    font-weight: 600;
    color: #1f2937;
}

.helpdesk-qa-answer-date {
    font-size: 13px;
    color: #9ca3af;
}

.helpdesk-qa-answer-content {
    line-height: 1.7;
    color: #4b5563;
}

.helpdesk-qa-answer-form {
    margin-top: 20px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
}

.helpdesk-qa-answer-form h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 15px 0;
}
