/* 원본 CSS는 수정하지 않는다. 새로 더한 요소·결함 수정만 여기에 둔다. */

/* C-BBS-8: 권한 없음 안내(원본은 alert 후 뒤로가기) */
.kw-no-access { padding: 60px 20px; text-align: center; color: #333; font-size: 16px; }
.kw-no-access p { margin-bottom: 24px; }
.kw-no-access .btn_type1 { display: inline-block; min-width: 120px; padding: 10px 20px; background: #6d5b3d; color: #fff; border-radius: 4px; }

/* 검색 버튼: 원본은 <a href="javascript:"> → 접근 가능한 <button>. 원본 a.btn_search 모양 유지 */
button.btn_search { border: 0; cursor: pointer; font-size: 0; }

/* 레이어 팝업: 원본 include/popup.asp 인라인 스타일 */
.A_pop { position: absolute; background: #fff; z-index: 600; }
.A_pop .con p { margin: 0; }
.A_pop .con img { max-width: 100%; }
.A_pop .A_ch { display: table; padding: 9px 18px; width: 100%; box-sizing: border-box; background: #333; line-height: 22px; }
.A_pop .A_ch .txt { display: table-cell; font-size: 13px; color: #fff; width: 50%; text-align: left; vertical-align: middle; }
.A_pop .A_ch .bt { display: table-cell; width: 50%; text-align: right; }
.A_pop .A_ch a { display: inline-block; color: #fff; font-size: 13px; padding-right: 18px; background: url(/images/pop_close_btn.png) no-repeat right center; }
@media (max-width: 768px) { .A_pop { left: 10px !important; right: 10px; top: 80px !important; } .A_pop .con { width: auto !important; height: auto !important; } }

/* 결함 수정: FAQ 모바일에서 질문 문장이 가로로 잘림(P2 관찰) */
@media (max-width: 768px) { .list_faq .q_con a { white-space: normal; word-break: keep-all; } }

/* 회원 폼 서버 오류 안내(원본은 alert 후 뒤로가기) */
.kw-form-error { margin: 0 0 16px; padding: 12px 14px; border: 1px solid #e0b4b4; background: #fff6f6; color: #9f3a38; font-size: 14px; }
.kw-form-ok { margin: 0 0 16px; padding: 12px 14px; border: 1px solid #b7d9b9; background: #f4fbf4; color: #2c662d; font-size: 14px; }
.kw-inline-form { display: inline; margin: 0; }
.kw-inline-form button.btn_delt { border: 0; background: none; cursor: pointer; font: inherit; color: inherit; padding: 0; }
.kw-withdraw-link { margin-top: 24px; text-align: right; font-size: 13px; }
.kw-withdraw-link a { color: #888; text-decoration: underline; }

/* 글쓰기 에디터(Quill, 원본 DaumEditor 자리) · 보안문자 · 댓글 */
.kw-editor { min-height: 320px; background: #fff; }
.ql-toolbar.ql-snow { border-color: #ddd; }
.ql-container.ql-snow { border-color: #ddd; font-size: 15px; }
.kw-captcha svg { vertical-align: middle; height: 40px; width: auto; background: #f5f5f5; }
.kw-captcha a { margin: 0 8px; font-size: 13px; color: #666; text-decoration: underline; }
.kw-file-del { display: block; margin-top: 6px; font-size: 13px; color: #666; }
.kw-hidden { display: none; }
.kw-comment-form .btn_box button { margin-left: 6px; padding: 6px 16px; border: 1px solid #333; background: #333; color: #fff; cursor: pointer; }
.kw-comment-form .btn_box button.btn_w { background: #fff; color: #333; }
.kw-comment-login { padding: 16px 0; font-size: 14px; color: #666; }
.kw-comment-login a { text-decoration: underline; }
.kw-owner-btns { text-align: right; }
.kw-owner-btns .btn_bbs1 { border: 0; cursor: pointer; font: inherit; }
