@charset "utf-8";

/* ============================================================
   style.css — 그누보드5 설문 게시판 기본 스타일 (전면 재작성)
   기존 기능 100% 유지 · 모던 플랫 디자인 적용
   Primary: #3a8afd  |  Radius: 10px  |  Border: #e8eaf0
   ============================================================ */

/* ─────────────────────────────
   공통 버튼 시스템
───────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1.5px solid #e8eaf0;
    background: #fff;
    color: #555e6e;
    font-size: .875em;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .16s, background .16s, color .16s;
    white-space: nowrap;
    line-height: 1;
    box-sizing: border-box;
}
.btn:hover { border-color: #3a8afd; color: #3a8afd; background: #f0f6ff; text-decoration: none; }
.btn_b01  { border-color: #e8eaf0; }
.btn_admin { border-color: #e8eaf0; color: #aab2c0; }
.btn_submit {
    background: #3a8afd;
    border-color: #3a8afd;
    color: #fff;
    font-weight: 600;
}
.btn_submit:hover { background: #1a6fd4; border-color: #1a6fd4; color: #fff; }
.btn_cancel {
    background: #f4f6fa;
    border-color: #e8eaf0;
    color: #6b7585;
}
.btn_cancel:hover { background: #e8eaf0; color: #2d3648; text-decoration: none; }

/* ─────────────────────────────
   카테고리 탭
───────────────────────────── */
#bo_cate { margin: 20px 0; }
#bo_cate h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_cate ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0; margin: 0;
}
#bo_cate ul::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_cate li { display: inline-block; }
#bo_cate a {
    display: block;
    padding: 6px 16px;
    border-radius: 30px;
    border: 1.5px solid #d6e8ff;
    color: #3a8afd;
    font-size: .85em;
    font-weight: 500;
    text-decoration: none;
    transition: all .15s;
}
#bo_cate a:hover, #bo_cate a:focus, #bo_cate a:active {
    background: #3a8afd; border-color: #3a8afd; color: #fff; text-decoration: none;
}
#bo_cate #bo_cate_on {
    background: #3a8afd; border-color: #3a8afd; color: #fff;
    font-weight: 700; box-shadow: 0 3px 10px rgba(58,138,253,.3);
}
.td_subject img { margin-left: 5px; }

/* ─────────────────────────────
   체크박스 커스텀
───────────────────────────── */
.selec_chk { position: absolute; top: 0; left: 0; width: 0; height: 0; opacity: 0; outline: 0; z-index: -1; overflow: hidden; }
.chk_box { position: relative; }
.chk_box input[type="checkbox"] + label { position: relative; color: #6b7585; transition: color .15s; }
.chk_box input[type="checkbox"] + label:hover { color: #3a8afd; }
.chk_box input[type="checkbox"] + label span {
    float: left; width: 16px; height: 16px; display: block;
    background: #fff; border: 1.5px solid #cdd2dc; border-radius: 4px;
    transition: border-color .15s, background .15s;
}
.write_div .chk_box input[type="checkbox"] + label,
.bo_vc_w  .chk_box input[type="checkbox"] + label { padding-left: 22px; }
.write_div .chk_box input[type="checkbox"] + label span,
.bo_vc_w  .chk_box input[type="checkbox"] + label span {
    position: absolute; top: 2px; left: 0; width: 16px; height: 16px;
    display: block; margin: 0; background: #fff; border: 1.5px solid #cdd2dc; border-radius: 4px;
}
.chk_box input[type="checkbox"]:checked + label { color: #1a1f2e; }
.chk_box input[type="checkbox"]:checked + label span {
    background: url(./img/chk.png) no-repeat 50% 50% #3a8afd;
    border-color: #3a8afd; border-radius: 4px;
}

/* ─────────────────────────────
   게시판 목록 레이아웃
───────────────────────────── */
#bo_list { position: relative; margin-bottom: 28px; }
#bo_list::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_list .td_board    { width: 120px; text-align: center; }
#bo_list .td_chk      { width: 34px; text-align: center; border-top: 1px solid #f0f2f7; border-bottom: 1px solid #f0f2f7; }
#bo_list .td_date,
#bo_list .td_datetime { width: 64px; text-align: center; }
#bo_list .td_group    { width: 100px; text-align: center; }
#bo_list .td_mb_id    { width: 100px; text-align: center; }
#bo_list .td_mng      { width: 80px; text-align: center; }
#bo_list .td_name     { width: 90px; text-align: left; padding: 10px 0; }
#bo_list .td_nick     { width: 100px; text-align: center; }
#bo_list .td_num      { width: 52px; text-align: center; }
#bo_list .td_num2     { width: 52px; text-align: center; }
#bo_list .td_numbig   { width: 80px; text-align: center; }
#bo_list .txt_active  { color: #16a34a; font-weight: 600; }
#bo_list .txt_expired { color: #c8cdd8; }
#bo_list tbody tr { border-left: 3px solid transparent; transition: border-color .15s, background .15s; }
#bo_list tbody tr:hover { border-left-color: #3a8afd; background: #f7faff; }
#bo_list tbody .even td { background: #fafbfc; }

/* ─────────────────────────────
   상단 버튼 바 / 툴바
───────────────────────────── */
#bo_btn_top {
    display: flex; align-items: center;
    justify-content: space-between;
    margin: 14px 0; flex-wrap: wrap; gap: 8px;
}
#bo_btn_top::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_list_total { float: left; line-height: 36px; font-size: .875em; color: #7a8499; }
.bo_fx { margin-bottom: 6px; float: right; }
.bo_fx::after { display: block; visibility: hidden; clear: both; content: ""; }
.bo_fx ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 6px; }
.btn_bo_user { float: right; margin: 0; padding: 0; list-style: none; display: flex; gap: 6px; align-items: center; }
.btn_bo_user li { float: left; width: 36px; text-align: center; background: transparent; }
.btn_bo_user > li { position: relative; }
.btn_bo_adm { float: left; }
.btn_bo_adm li { float: left; margin-right: 5px; }
.btn_bo_adm input { padding: 0 8px; border: 0; background: #e8eaf0; color: #6b7585; vertical-align: middle; border-radius: 6px; }

/* 공지글 */
.bo_notice td { background: #fffcf0 !important; border-bottom: 1px solid #fde68a; }
.bo_notice td a { font-weight: 600; }
.bo_notice .notice_icon {
    display: inline-flex; align-items: center;
    line-height: 1; padding: 3px 9px; border-radius: 20px;
    font-weight: 700; color: #b45309; background: #fef3c7; font-size: .78em;
}

/* 더보기 메뉴 */
.more_opt {
    display: none; position: absolute; top: 44px; right: 0;
    background: #fff; border: 1px solid #e8eaf0;
    border-radius: 12px; z-index: 999;
    box-shadow: 0 8px 30px rgba(0,0,0,.1); min-width: 110px; overflow: hidden;
}
.more_opt::before {
    content: ""; position: absolute; top: -8px; right: 11px;
    border: 7px solid transparent; border-bottom-color: #e8eaf0; border-top: 0;
}
.more_opt::after {
    content: ""; position: absolute; top: -6px; right: 11px;
    border: 7px solid transparent; border-bottom-color: #fff; border-top: 0;
}
.more_opt li { border-bottom: 1px solid #f3f5f9; float: none; width: auto; margin: 0; }
.more_opt li:last-child { border-bottom: 0; }
.more_opt li button,
.more_opt li a {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 10px 14px; border: 0;
    background: transparent; color: #4e5a6e; font-size: .875em;
    cursor: pointer; transition: background .13s, color .13s;
}
.more_opt li:hover a,
.more_opt li:hover button { background: #f7faff; color: #1a1f2e; }
.more_opt li i { margin-left: 8px; opacity: .45; }

/* ─────────────────────────────
   목록 내 아이콘 / 배지
───────────────────────────── */
.td_num strong { color: #1a1f2e; font-weight: 600; }
.bo_cate_link {
    float: left; display: inline-flex; align-items: center;
    margin-right: 8px; background: #eef4ff; color: #3a8afd;
    font-weight: 500 !important; height: 20px; padding: 0 8px;
    border-radius: 20px; font-size: .8em; text-decoration: none;
}
.bo_cate_link:hover { background: #dbeafe; text-decoration: none; }
.bo_tit { display: block; color: #1a1f2e; font-weight: 600; }
.bo_current { color: #ef4444; font-weight: 700; }
#bo_list .profile_img img { border-radius: 50%; }
#bo_list .cnt_cmt {
    display: inline-flex; align-items: center;
    background: #eef4ff; color: #3a8afd;
    font-size: .75em; height: 18px; padding: 0 6px;
    border-radius: 20px; vertical-align: middle; font-weight: 600;
}
/* 아이콘 배지 공통 */
#bo_list .bo_tit .new_icon,
#bo_list .bo_tit .hot_icon,
#bo_list .bo_tit .fa-lock,
#bo_list .bo_tit .fa-download,
#bo_list .bo_tit .fa-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; font-size: .72em;
    text-align: center; border-radius: 4px; vertical-align: middle;
}
#bo_list .bo_tit .fa-heart   { color: #ef4444; }
#bo_list .bo_tit .fa-lock    { color: #0891b2; background: #cffafe; }
#bo_list .bo_tit .new_icon   { color: #16a34a; background: #dcfce7; margin-left: 3px; font-weight: 700; }
#bo_list .bo_tit .hot_icon   { color: #dc2626; background: #fee2e2; }
#bo_list .bo_tit .fa-caret-right { color: #d1d5db; }
#bo_list .bo_tit .fa-download { color: #b45309; background: #fef3c7; margin-left: 4px; }
#bo_list .bo_tit .fa-link     { color: #7c3aed; background: #ede9fe; margin-left: 4px; }

/* ─────────────────────────────
   검색 모달
───────────────────────────── */
.bo_sch_wrap { display: none; width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index: 9999; }
.bo_sch {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: #fff; width: 340px; border-radius: 16px;
    border: 1px solid #e8eaf0; box-shadow: 0 20px 60px rgba(0,0,0,.12); overflow: hidden;
}
.bo_sch::after { display: block; visibility: hidden; clear: both; content: ""; }
.bo_sch h3 { padding: 18px 20px; border-bottom: 1px solid #f3f5f9; font-size: .95em; font-weight: 700; color: #1a1f2e; margin: 0; }
.bo_sch legend { background: transparent; }
.bo_sch form { padding: 16px 20px; display: block; }
.bo_sch select {
    border: 1.5px solid #e8eaf0; width: 100%; height: 42px;
    border-radius: 8px; padding: 0 12px; font-size: .9em; color: #374151;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none; -webkit-appearance: none;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
}
.bo_sch .sch_bar {
    display: flex; align-items: center; margin-top: 10px;
    border: 1.5px solid #e8eaf0; border-radius: 8px;
    overflow: hidden; background: #fff;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
}
.bo_sch .sch_input { flex: 1; height: 42px; border: 0; padding: 0 12px; background: transparent; font-size: .9em; color: #1a1f2e; outline: none; }
.bo_sch .sch_btn { height: 42px; width: 44px; border: 0; background: transparent; color: #7a8499; font-size: 1em; cursor: pointer; flex-shrink: 0; transition: color .15s; }
.bo_sch .sch_btn:hover { color: #3a8afd; }
.bo_sch .bo_sch_cls { position: absolute; right: 0; top: 0; color: #aab2c0; border: 0; padding: 16px 18px; font-size: 1em; background: transparent; cursor: pointer; transition: color .15s; }
.bo_sch .bo_sch_cls:hover { color: #ef4444; }
.bo_sch_bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.22); }

/* ─────────────────────────────
   글쓰기 폼 기본 요소
───────────────────────────── */
#char_count_desc { display: block; margin: 0 0 6px; padding: 0; font-size: .85em; color: #7a8499; }
#char_count_wrap { margin: 6px 0 0; text-align: right; font-size: .85em; color: #aab2c0; }
#char_count { font-weight: 700; color: #3a8afd; }

#autosave_wrapper { position: relative; }
#autosave_pop {
    display: none; z-index: 100; position: absolute !important;
    top: 40px; right: 0; width: 340px; max-height: 200px; height: auto !important;
    border: 1px solid #e8eaf0; border-radius: 12px; background: #fff;
    box-shadow: 0 8px 28px rgba(0,0,0,.1); overflow: hidden;
}
#autosave_pop::before { content: ""; position: absolute; top: -8px; right: 45px; border: 7px solid transparent; border-bottom-color: #e8eaf0; border-top: 0; }
#autosave_pop::after  { content: ""; position: absolute; top: -6px; right: 45px; border: 7px solid transparent; border-bottom-color: #fff; border-top: 0; }
html.no-overflowscrolling #autosave_pop { height: auto; max-height: 10000px !important; }
#autosave_pop strong { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#autosave_pop div { text-align: center; margin: 0 !important; }
#autosave_pop button { margin: 0; padding: 0; border: 0; }
#autosave_pop ul { padding: 8px; border-top: 1px solid #f3f5f9; list-style: none; overflow-y: scroll; max-height: 140px; border-bottom: 1px solid #f3f5f9; margin: 0; }
#autosave_pop li { padding: 8px 10px; border-radius: 6px; background: #f7f9fc; margin-bottom: 4px; display: flex; align-items: center; justify-content: space-between; }
#autosave_pop li::after { display: block; visibility: hidden; clear: both; content: ""; }
#autosave_pop a { display: block; float: left; color: #374151; font-size: .875em; text-decoration: none; }
#autosave_pop span { display: block; float: right; font-size: .8em; font-style: italic; color: #aab2c0; }
.autosave_close { cursor: pointer; width: 100%; height: 32px; background: none; color: #7a8499; font-weight: 500; font-size: .875em; border: 0; transition: color .15s; }
.autosave_close:hover { color: #3a8afd; }
.autosave_content { display: none; }
.autosave_del { background: url(./img/close_btn.png) no-repeat 50% 50%; text-indent: -999px; overflow: hidden; height: 18px; width: 18px; opacity: .4; cursor: pointer; transition: opacity .15s; }
.autosave_del:hover { opacity: .75; }

/* 입력 폼 */
.frm_input {
    height: 42px; padding: 0 12px;
    border: 1.5px solid #e8eaf0; border-radius: 8px;
    font-size: .95em; color: #1a1f2e; background: #fff;
    transition: border-color .18s, box-shadow .18s; outline: none;
    box-sizing: border-box;
}
.frm_input:focus { border-color: #3a8afd; box-shadow: 0 0 0 3px rgba(58,138,253,.12); }
.full_input { width: 100%; }
.half_input { width: 49%; }

/* ─────────────────────────────
   글 읽기 화면
───────────────────────────── */
#bo_v { margin-bottom: 24px; background: #fff; box-sizing: border-box; }
#bo_v_table { position: absolute; top: 0; right: 16px; margin: 0; padding: 0 10px; height: 26px; background: #ef4444; color: #fff; font-weight: 700; line-height: 26px; border-radius: 0 0 6px 6px; font-size: .82em; }
#bo_v_title .bo_v_cate { display: inline-flex; align-items: center; background: #eef4ff; color: #3a8afd; padding: 4px 12px; border-radius: 20px; font-size: .8em; font-weight: 600; }
#bo_v_title .bo_v_tit { display: block; font-size: 1.7em; font-weight: 800; margin: 8px 0 0; word-break: break-all; color: #1a1f2e; letter-spacing: -.02em; }
#bo_v_info { margin: 0; border-bottom: 1px solid #f3f5f9; color: #6b7585; padding-bottom: 14px; }
#bo_v_info::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_v_info h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_v_info .profile_info { margin: 16px 0 10px; display: inline-flex; align-items: center; float: left; }
#bo_v_info .profile_info .pf_img { float: left; margin-right: 12px; }
#bo_v_info .profile_info .pf_img img { border-radius: 50%; width: 44px; height: 44px; }
#bo_v_info .profile_info .profile_info_ct { float: left; padding: 4px 0; line-height: 20px; }
#bo_v_info strong { display: inline-block; margin: 0 10px 0 0; font-weight: 400; }
#bo_v_info .sv_member,
#bo_v_info .sv_guest,
#bo_v_info .member,
#bo_v_info .guest { font-weight: 700; color: #1a1f2e; }
#bo_v_info .profile_img { display: none; }
#bo_v_info .if_date { margin: 0; color: #aab2c0; font-size: .85em; }

/* 첨부파일 / 관련링크 */
#bo_v_file h2, #bo_v_link h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_v_file ul, #bo_v_link ul { margin: 0; list-style: none; padding: 0; }
#bo_v_file li, #bo_v_link li {
    padding: 12px 16px; position: relative; margin: 8px 0;
    border: 1.5px solid #e8eaf0; border-radius: 10px;
    display: flex; align-items: center; background: #fafbfc;
    transition: border-color .15s, background .15s;
}
#bo_v_file li:hover, #bo_v_link li:hover { border-color: #93c5fd; background: #f0f6ff; }
#bo_v_file li i, #bo_v_link li i { color: #c4cbda; font-size: 2em; margin-right: 16px; flex-shrink: 0; transition: color .15s; }
#bo_v_file li:hover i, #bo_v_link li:hover i { color: #3a8afd; }
#bo_v_file a, #bo_v_link a { text-decoration: none; color: #374151; word-wrap: break-word; font-size: .9em; }
#bo_v_file a:hover, #bo_v_link a:hover, #bo_v_file li:hover a, #bo_v_link li:hover a { color: #3a8afd; text-decoration: underline; }
#bo_v_file img, #bo_v_link img { float: left; margin: 0 10px 0 0; }
#bo_v_file .bo_v_file_cnt, #bo_v_link .bo_v_link_cnt { color: #c4cbda; font-size: .8em; display: block; margin-top: 3px; }
#bo_v_file li:hover .bo_v_file_cnt, #bo_v_link li:hover .bo_v_link_cnt { color: #93c5fd; }

/* 버튼 영역 */
#bo_v_top, #bo_v_bot { zoom: 1; }
#bo_v_top::after, #bo_v_bot::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_v_top h2, #bo_v_bot h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_v_top ul, #bo_v_bot ul { padding: 0; list-style: none; background: transparent; display: flex; gap: 6px; flex-wrap: wrap; }
.bo_v_com { margin: 16px 0; float: right; display: flex; gap: 6px; }
.bo_v_com > li { position: relative; float: left; }

/* 이전/다음글 */
.bo_v_nb { position: relative; margin: 24px 0; clear: both; }
.bo_v_nb::after { display: block; visibility: hidden; clear: both; content: ""; }
.bo_v_nb li { border-top: 1px solid #f3f5f9; padding: 13px 16px; display: flex; align-items: center; gap: 12px; transition: background .15s; }
.bo_v_nb li:last-child { border-bottom: 1px solid #f3f5f9; }
.bo_v_nb li:hover { background: #f7faff; }
.bo_v_nb li i { font-size: .85em; color: #c4cbda; flex-shrink: 0; }
.bo_v_nb li .nb_tit { display: inline-flex; align-items: center; gap: 6px; padding-right: 14px; color: #aab2c0; font-size: .85em; flex-shrink: 0; }
.bo_v_nb li a { color: #374151; text-decoration: none; font-size: .9em; flex: 1; }
.bo_v_nb li a:hover { color: #3a8afd; }
.bo_v_nb li .nb_date { float: right; color: #aab2c0; font-size: .82em; }

/* 본문 */
#bo_v_atc { min-height: 200px; height: auto !important; }
#bo_v_atc_title { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_v_img { width: 100%; overflow: hidden; zoom: 1; }
#bo_v_img::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_v_img a.view_image { display: block; }
#bo_v_img img { margin-bottom: 18px; max-width: 100%; height: auto; border-radius: 8px; }
#bo_v_con { margin: 12px 0 28px; width: 100%; line-height: 1.75em; min-height: 200px; word-break: break-all; overflow: hidden; color: #1f2937; }
#bo_v_con a { color: #3a8afd; text-decoration: underline; }
#bo_v_con img { max-width: 100%; height: auto; border-radius: 6px; }

/* 추천/비추천 */
#bo_v_act { margin-bottom: 28px; text-align: center; }
#bo_v_act .bo_v_act_gng { position: relative; display: inline-block; }
#bo_v_act a { margin: 0 6px; vertical-align: middle; color: #4e5a6e; text-decoration: none; transition: color .15s; }
#bo_v_act a:hover { color: #ef4444; }
#bo_v_act i { font-size: 1.3em; margin-right: 4px; }
#bo_v_act_good, #bo_v_act_nogood {
    display: none; position: absolute; top: 38px; left: 50%; transform: translateX(-50%);
    z-index: 9999; padding: 10px 16px; width: 160px;
    background: #3a8afd; color: #fff; text-align: center;
    border-radius: 10px; font-size: .85em; box-shadow: 0 4px 14px rgba(58,138,253,.35);
}
#bo_v_act .bo_v_good, #bo_v_act .bo_v_nogood {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border: 1.5px solid #e8eaf0; padding: 0 22px; height: 46px;
    border-radius: 30px; font-size: .9em; transition: border-color .15s, color .15s; text-decoration: none;
}
#bo_v_act .bo_v_good:hover   { border-color: #3a8afd; color: #3a8afd; }
#bo_v_act .bo_v_nogood:hover { border-color: #ef4444; color: #ef4444; }

/* SNS 공유 */
#bo_v_sns { padding: 0; list-style: none; float: left; display: inline-flex; gap: 6px; }
#bo_v_sns::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_v_sns li { float: left; }
#bo_v_sns li a { height: 34px; line-height: 34px; padding: 0 14px; border-radius: 8px; color: #fff; font-size: .875em; display: block; text-decoration: none; }
#bo_v_sns li img { vertical-align: middle; margin-right: 5px; }
#bo_v_sns li .sns_f { background: #1877f2; }
#bo_v_sns li .sns_t { background: #1da1f2; }
#bo_v_sns li .sns_g { background: #ea4335; }
#bo_v_sns li .sns_k { background: #fee500; color: #333; }
#bo_v_share { position: relative; padding: 16px 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#bo_v_share::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_v_share .btn { padding: 0 14px; height: 34px; font-size: .875em; }
#bo_v_share .btn i { margin-right: 5px; vertical-align: middle; }

/* ─────────────────────────────
   댓글
───────────────────────────── */
.cmt_btn {
    width: 100%; text-align: left; border: 0;
    border-bottom: 2px solid #f3f5f9; background: transparent;
    font-weight: 700; margin: 28px 0 0; padding: 0 0 14px; cursor: pointer;
}
.cmt_btn span.total { position: relative; display: inline-flex; align-items: center; gap: 4px; font-size: 1em; color: #3a8afd; }
.cmt_btn span.cmt_more { float: right; display: inline-block; width: 15px; height: 10px; background: url(./img/btn_cmt.png) no-repeat right 2px; margin-top: 5px; }
.cmt_btn_op span.cmt_more { background-position: right -8px; }
.cmt_btn b { font-size: 1.1em; color: #1a1f2e; }
.cmt_btn span.total::after { position: absolute; bottom: -16px; left: 0; display: inline-block; background: #3a8afd; content: ""; width: 100%; height: 2px; border-radius: 1px; }
#bo_vc h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_vc article { margin: 20px 0; position: relative; border-bottom: 1px solid #f3f5f9; padding-bottom: 4px; }
#bo_vc article::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_vc article .profile_img img { border-radius: 50%; }
#bo_vc article .pf_img { float: left; margin-right: 12px; }
#bo_vc article .pf_img img { border-radius: 50%; width: 44px; height: 44px; }
#bo_vc article .cm_wrap { float: left; max-width: 870px; width: 90%; }
#bo_vc header { position: relative; width: 100%; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
#bo_vc header::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_vc header .profile_img { display: none; }
#bo_vc header .icon_reply { position: absolute; top: 14px; left: -20px; color: #d1d5db; }
#bo_vc .member, #bo_vc .guest, #bo_vc .sv_member, #bo_vc .sv_guest { font-weight: 700; color: #1a1f2e; }
.bo_vc_hdinfo { color: #aab2c0; font-size: .8em; }
#bo_vc h1 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_vc .cmt_contents { line-height: 1.75em; padding: 0 0 16px; color: #374151; }
#bo_vc p a { text-decoration: underline; color: #3a8afd; }
#bo_vc p a.s_cmt { text-decoration: underline; color: #ed6479; }
#bo_vc_empty { margin: 0; padding: 60px 0 !important; color: #aab2c0; text-align: center; }
#bo_vc #bo_vc_winfo { float: left; }
#bo_vc .bo_vl_opt { position: absolute; top: 0; right: 0; }
.bo_vc_act {
    display: none; position: absolute; right: 0; top: 40px;
    min-width: 72px; border: 1px solid #e8eaf0;
    border-radius: 10px; list-style: none; background: #fff;
    z-index: 9999; box-shadow: 0 6px 22px rgba(0,0,0,.09); overflow: hidden; margin: 0; padding: 0;
}
.bo_vc_act::before { content: ""; position: absolute; top: -8px; right: 5px; border: 7px solid transparent; border-bottom-color: #e8eaf0; border-top: 0; }
.bo_vc_act::after  { content: ""; position: absolute; top: -6px; right: 5px; border: 7px solid transparent; border-bottom-color: #fff; border-top: 0; }
.bo_vc_act li { border-bottom: 1px solid #f3f5f9; }
.bo_vc_act li:last-child { border-bottom: 0; }
.bo_vc_act li a { display: block; padding: 9px 14px; font-size: .85em; color: #4e5a6e; transition: color .13s, background .13s; }
.bo_vc_act li a:hover { color: #3a8afd; background: #f0f6ff; text-decoration: none; }

/* 댓글 작성 */
.bo_vc_w { position: relative; margin: 12px 0; display: block; }
.bo_vc_w::after { display: block; visibility: hidden; clear: both; content: ""; }
.bo_vc_w h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
.bo_vc_w #char_cnt { display: block; margin: 0 0 6px; font-size: .85em; color: #aab2c0; }
.bo_vc_w textarea {
    border: 1.5px solid #e8eaf0; background: #fff; color: #1a1f2e;
    border-radius: 10px; padding: 12px 14px;
    width: 100%; height: 110px; font-size: .95em; line-height: 1.65;
    resize: vertical; transition: border-color .18s, box-shadow .18s;
    outline: none; font-family: inherit;
}
.bo_vc_w textarea:focus { border-color: #3a8afd; box-shadow: 0 0 0 3px rgba(58,138,253,.1); }
#wr_secret {}
.bo_vc_w_info { margin: 10px 0; float: left; }
.bo_vc_w_info::after { display: block; visibility: hidden; clear: both; content: ""; }
.bo_vc_w_info .frm_input { float: left; margin-right: 6px; }
.bo_vc_w_info #captcha { padding-top: 10px; display: block; clear: both; }
.bo_vc_w .btn_confirm { clear: both; margin-top: 12px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.bo_vc_w .btn_confirm label { display: inline-block; margin-right: 10px; border-radius: 6px; font-size: 1.4em; text-align: center; }
.bo_vc_w .btn_submit { height: 44px; padding: 0 22px; border-radius: 8px; font-weight: 700; font-size: 1em; background: #3a8afd; color: #fff; border: none; cursor: pointer; transition: background .18s; }
.bo_vc_w .btn_submit:hover { background: #1a6fd4; }
.bo_vc_w .btn_confirm .secret_cm label { font-size: 1em !important; }
.bo_vc_w_wr::after { display: block; visibility: hidden; clear: both; content: ""; }
.secret_cm { display: inline-flex; align-items: center; float: left; }
#bo_vc_send_sns { display: inline-block; float: left; }
#bo_vc_sns { display: inline-flex; margin: 0; padding: 0; list-style: none; gap: 6px; }
#bo_vc_sns li { float: left; margin: 0; }
#bo_vc_sns .sns_li_f { border-radius: 8px; background: #1877f2; height: 38px; line-height: 38px; padding: 0 0 0 10px; }
#bo_vc_sns .sns_li_t { border-radius: 8px; background: #1da1f2; height: 38px; line-height: 38px; padding: 0 0 0 10px; }
#bo_vc_sns .sns_li_off { background: #d1d5db; border-radius: 8px; }
#bo_vc_sns a { display: inline-block; padding: 0 14px 0 5px; color: #fff; text-decoration: none; }
#bo_vc_sns input { margin: 0 5px 0 0; }

/* ─────────────────────────────
   글쓰기 폼 (#bo_w)
───────────────────────────── */
#bo_w .bo_v_option li { display: inline-block; float: left; text-align: left; margin: 0 8px 0 0; }
#bo_w .bo_v_option li label { vertical-align: baseline; }
#bo_w .bo_v_option .chk_box input[type="checkbox"] + label span { margin-left: 0; margin-right: 5px; }
#bo_w .write_div { margin: 12px 0; position: relative; }
#bo_w .write_div::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_w .bo_w_info::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_w .bo_w_info .frm_input { float: left; margin-bottom: 1%; }
#bo_w #wr_password, #bo_w #wr_homepage { margin-left: 1%; }
#bo_w .wr_content.smarteditor2 iframe { background: #fff; border-radius: 8px; }
#bo_w .bo_w_tit { position: relative; }
#bo_w .bo_w_tit .frm_input { padding-right: 130px; }
#bo_w .bo_w_tit #btn_autosave { position: absolute; top: 6px; right: 6px; line-height: 28px; height: 28px; padding: 0 10px; font-size: .8em; border: 1px solid #e8eaf0; border-radius: 6px; background: #f7f9fc; color: #7a8499; cursor: pointer; transition: border-color .15s, color .15s; }
#bo_w .bo_w_tit #btn_autosave:hover { border-color: #3a8afd; color: #3a8afd; }
#bo_w .bo_w_link label { position: absolute; top: 1px; left: 1px; border-radius: 7px 0 0 7px; height: 40px; line-height: 40px; width: 42px; font-size: 1.1em; text-align: center; color: #cdd2dc; }
#bo_w .bo_w_link .frm_input { padding-left: 52px; }
#bo_w .bo_w_flie .lb_icon { position: absolute; top: 0; left: 0; border-radius: 7px 0 0 7px; height: 40px; line-height: 40px; width: 42px; font-size: 1.1em; text-align: center; color: #cdd2dc; }
#bo_w .bo_w_flie .frm_file { padding-left: 52px; margin-top: 3px; }
#bo_w .bo_w_flie .file_wr { position: relative; border: 1.5px solid #e8eaf0; background: #fff; color: #1a1f2e; border-radius: 8px; padding: 5px; height: 42px; margin: 0; display: flex; align-items: center; }
#bo_w .bo_w_flie .frm_input { margin: 10px 0 0; }
#bo_w .bo_w_flie .file_del { position: absolute; top: 10px; right: 10px; font-size: .875em; color: #aab2c0; }
#bo_w .bo_w_select select { border: 1.5px solid #e8eaf0; width: 100%; height: 42px; border-radius: 8px; padding: 0 12px; font-size: .95em; color: #374151; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; -webkit-appearance: none; transition: border-color .18s; outline: none; }
#bo_w .bo_w_select select:focus { border-color: #3a8afd; }
#bo_w .btn_submit { padding: 0 24px; font-size: 1.05em; }
#bo_w .btn_cancel { border-radius: 8px; font-size: 1.05em; }
.btn_confirm.write_div { display: flex; gap: 8px; justify-content: flex-end; }
