@charset "utf-8";

/* ===== QnA 상담게시판 보충 스타일 ===== */
/* board.css에 없는 QnA 전용 스타일만 정의 */

/* 비밀번호 잠금 영역 */
.qna_password_lock {
    padding: 40px 15px;
    text-align: center;
    border: 1px solid #ddd;
}
.qna_lock_icon {
    font-size: 36px;
    color: #ddd;
    margin-bottom: 12px;
}
.qna_password_lock p {
    color: #999;
    margin-bottom: 15px;
    font-size: 14px;
}
.qna_password_form {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}
.qna_password_form input {
    border: 1px solid #d0d3db;
    height: 40px;
    padding: 0 12px;
    border-radius: 3px;
    width: 200px;
    font-size: 14px;
    font-family: inherit;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

/* 글쓰기 폼 레이아웃 */
.qna_write_row {
    display: flex;
    align-items: stretch;
}
.qna_write_row > label {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #fafafa;
    min-width: 130px;
    border-right: 1px solid #eee;
}
.qna_write_input {
    flex: 1;
    padding: 12px 20px;
    display: flex;
    align-items: center;
}

/* 개인정보 동의 */
.qna_consent {
    padding: 20px 25px;
    background: #fafafa;
}
.qna_consent_box {
    border: 1px solid #e8e8e8;
    background: #fff;
    padding: 20px;
    margin-bottom: 12px;
    max-height: 120px;
    overflow-y: auto;
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}
.qna_consent_label {
    font-size: 14px;
    cursor: pointer;
}
.qna_consent_label input[type="checkbox"] {
    margin-right: 6px;
}

/* 관리자 답변 폼 */
.qna_admin_reply_form {
    margin: 0;
    padding: 25px 15px;
    background: #fdf8f3;
    border: 1px solid #f0e4d6;
}
.qna_admin_reply_form h4 {
    font-size: 15px;
    font-weight: 500;
    color: #bc9374;
    margin-bottom: 12px;
}
.qna_admin_reply_form textarea {
    width: 100%;
    height: 120px;
    border: 1px solid #e0d5c9;
    border-radius: 3px;
    padding: 12px;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.6;
    resize: vertical;
}
.qna_admin_reply_form textarea:focus {
    outline: none;
    border-color: #bc9374;
}
.qna_admin_reply_form .btn_area {
    margin-top: 10px;
    text-align: right;
}
.qna_admin_reply_form .btn_reply {
    background: #d4ae85;
    color: #fff;
    border: 0;
    padding: 8px 24px;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: 0.25s;
    border-radius: 3px;
}
.qna_admin_reply_form .btn_reply:hover {
    background: #bc9374;
}

/* ===== 모바일 대응 ===== */
@media (max-width: 768px) {
    .qna_write_row {
        flex-direction: column;
    }
    .qna_write_row > label {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .qna_password_form {
        flex-direction: column;
    }
    .qna_password_form input {
        width: 100%;
        max-width: 250px;
    }
    .qna_admin_reply_form {
        padding: 15px 10px;
    }
}
