/* Q&A 게시판 — styles.css 위에 얹는 최소 스타일 */

.qna-meta { font-size: 13px; color: #64748b; margin: 6px 0 0; }
.qna-desc { color: #475569; line-height: 1.7; margin-bottom: 20px; }

.qna-notice {
    font-size: 13px;
    color: #64748b;
    line-height: 1.8;
    padding: 16px 18px;
    background: #f8fafc;
    border-left: 3px solid #cbd5e1;
    border-radius: 6px;
}

.qna-label {
    font-size: 14px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.qna-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #1e40af;
    background: #dbeafe;
    border-radius: 4px;
    padding: 2px 6px;
    vertical-align: middle;
}

.qna-question,
.qna-answer {
    padding: 22px 24px;
    border-radius: 12px;
    margin-bottom: 18px;
    line-height: 1.8;
}
.qna-question { background: #f1f5f9; }
.qna-answer { background: #eff6ff; border-left: 4px solid #1e40af; }
.qna-answer.qna-pending { background: #f8fafc; border-left-color: #cbd5e1; color: #64748b; }
.qna-question p,
.qna-answer p { margin: 0; word-break: break-word; overflow-wrap: anywhere; }

.qna-list li { margin-bottom: 18px; }
.qna-list .qna-empty { color: #64748b; list-style: none; }

/* 폼 */
.qna-form { max-width: 720px; }
.qna-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin: 16px 0 6px;
}
.qna-form input[type="text"],
.qna-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font: inherit;
    font-size: 15px;
    color: #0f172a;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    line-height: 1.6;
}
.qna-form input[type="text"]:focus,
.qna-form textarea:focus {
    outline: 2px solid #1e40af;
    outline-offset: 1px;
    border-color: #1e40af;
}
.qna-form textarea { resize: vertical; min-height: 140px; }

.qna-form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
@media (max-width: 640px) {
    .qna-form-row { grid-template-columns: 1fr; }
}

.qna-form button { margin-top: 22px; }
.qna-form button[disabled] { opacity: 0.6; cursor: not-allowed; }

.qna-status { margin-top: 14px; font-size: 14px; min-height: 20px; }
.qna-status-ok { color: #15803d; font-weight: 600; }
.qna-status-error { color: #b91c1c; font-weight: 600; }
