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

/* C-BBS-8 / WE-4: 권한 없음 안내(원본은 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: #000; color: #fff; }

/* 갤러리 검색 버튼: 원본은 <a href="javascript:submit_searchFrom()"> → JS 없이 제출되는 <button>. 원본 a 모양 그대로 */
.board_list .top_search_box .search_box button { width: 100px; height: 50px; font-size: 16px; color: #fff; background: #000; line-height: 50px; text-align: center; border: 0; cursor: pointer; padding: 0; font-family: inherit; }
@media (max-width: 767px) { .board_list .top_search_box .search_box button { width: 80px; height: 40px; line-height: 40px; font-size: 15px; } }

/* 비밀글 비밀번호 확인: 원본 pass.asp 의 확인 링크 → <button> (모양은 원본 .btn_type1) */
.page_sub .pass_box .c_btn_wrap button.btn_type1 { -webkit-box-flex: 1; -ms-flex: 1 1 0px; flex: 1 1 0px; display: inline-block; vertical-align: top; line-height: 48px; font-size: 16px; color: #fff; width: 120px; text-align: center; background: #000; border: 1px solid #000; cursor: pointer; font-family: inherit; padding: 0; }
.page_sub .pass_box .c_btn_wrap button + a { margin-left: 20px; }
.pass_box .kw-pass-error { color: #c00; padding-bottom: 15px; }

/* 회원 화면: 서버 결과 안내(원본은 alert 후 이동·뒤로가기 — 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; }
/* MY HOME 삭제하기·글 삭제: 원본 <a> 링크 → 출처 검사하는 POST 폼(모양은 원본 그대로) */
.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; }
.kw-withdraw-txt { margin-bottom: 20px; }
button.kw-btn-reset { border: 0; cursor: pointer; font-family: inherit; }

/* 글쓰기 에디터(Quill, 원본 CKEditor5 자리) · 보안문자 · 첨부 삭제 */
.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; }
.board_write .tbl_board table th, .board_write .tbl_board table td { padding: 10px; }
.Terms_pop .Terms_Box { white-space: normal; }
/* 댓글 로그인 안내(원본은 댓글 등급 미만이면 작성칸을 숨김) */
.kw-comment-login { padding: 16px 0; font-size: 14px; color: #666; }
.kw-comment-login a { text-decoration: underline; }
