/*1:1문의*/
/* 게시판 목록 */
#bo_list {margin-top: 16.6667vw; padding: 0 5.5556vw 5.5556vw; font-family: Pretendard;}
/*#bo_list #list_chk {padding:0 10px }*/

#bo_list .li_stat{float:right;display:inline-block;height:6.9444vw;padding:0 2.7778vw;border-radius:4.1667vw;margin-top:0.8333vw}
#bo_list .txt_rdy{border:0.2778vw solid #ff63ab;color:#ff63ab;line-height:6.3889vw}
#bo_list .txt_done{background:#ff63ab;color:#fff;line-height:6.9444vw}

#bo_list .li_title{display: block;font-weight: bold;margin: 1.3889vw 0;}
#bo_list .li_title strong{color: #3ca1ff !important;font-weight: normal;text-decoration: none;font-size: 0.92em;}
#bo_list .li_info{border-top: 0.2778vw solid #eee;margin: 2.7778vw 0 0;line-height: 7.7778vw;color: #666;position: relative;padding-top: 0.8333vw;} 
#bo_list .li_info:after {display:block;visibility:hidden;clear:both;content:""}
#bo_list .profile_img img{border-radius:50%;}
#bo_list .li_sbj{display: block;font-weight: bold;margin: 1.3889vw 0;font-size: 1.083em;}

#bo_cate h2 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
#bo_cate ul {margin: 2.7778vw 0 5.5556vw; padding-left:0.2778vw;zoom:1; font-family: Pretendard;}
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""} 
#bo_cate li{display:inline-block;float:left;margin:0.8333vw 1.3889vw 0.8333vw 0}
#bo_cate a {display:block;line-height:6.6667vw;padding:0 2.7778vw;border-radius:3.6111vw;background:#fff;}
#bo_cate #bo_cate_on {background:#12416d;color:#fff;
-webkit-box-shadow:0 0 5px  rgba(66,179,220,0.8);
-moz-box-shadow:0 0 5px  rgba(66,179,220,0.8);
box-shadow: 0 0 8px  rgba(66,179,220,0.8);}

.list_01 li {
    background: #fff; 
    border-radius: 3px; 
    margin: 10px 0; 
    padding: 10px 15px; 
    -webkit-box-shadow: 0 1px 4px #cbd1df; 
    -moz-box-shadow: 0 1px 4px #cbd1df; 
    box-shadow: 0 1px 4px #cbd1df;
}
.empty_list {
    padding: 50px 0 !important; 
    text-align: center !important; 
    color: #666 !important;
}
.btn_b02:visited {
    color: #fff;
}
.btn_b02 {
    background-color: #135a9a;
    border: 1px solid #135a9a; 
    padding: 10px; 
    border-radius: 10px; 
    color: #fff; 
    font-family: Pretendard; 
    font-size: 18px; 
    margin-left: 10px;
}
.btn_top top {
    display: flex;
}
.btn_top top li {
    margin: 10px 0;
}
.btn_admin {
    background-color: #135a9a;
    border: 1px solid #135a9a; 
    border-radius: 10px; 
    color: #fff; 
    font-family: Pretendard;
}

/* .frm_input required {height: } */
#bo_list .txt_rdy {border: 1px solid #12416d; color: #12416d;}
.btn_bo_adm {}


/* 관리자일 때 */
#bo_list_admin th label {position:absolute;font-size:0;line-height:0;overflow:hidden}

#bo_list_admin th:nth-of-type(1) {width:40px}
#bo_list_admin th:nth-of-type(3) {width:100px}

#bo_list_admin td:nth-of-type(1) {text-align:center}
#bo_list_admin td:nth-of-type(3) {text-align:center}

/* 관리자가 아닐 때 */
#bo_list th:nth-of-type(2) {width:100px}

#bo_list td:nth-of-type(2) {text-align:center}

/* 게시판 목록 공통 */
.bo_fx {margin-bottom:1.3889vw;}
.bo_fx:after {display:block;visibility:hidden;clear:both;content:""}
.bo_fx ul {margin:0;padding:0;list-style:none}
#bo_list_total {float:left;padding:0;height:2.5em;line-height:2.5em;}
.btn_bo_user {float:right;margin:0;padding:0;list-style:none}
.btn_bo_user li {float:left;margin-left:1.3889vw}
.btn_bo_adm {float:left}
.btn_bo_adm li {float:left;margin-right:1.3889vw}
.btn_bo_adm input {padding:0 2.7778vw;height:2em;border:0.2778vw solid #e8180c !important;background:#e8180c;color:#fff;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-appearance:none}
.bo_notice td {background:#f7f7f7}
.bo_notice td a {font-weight:bold}
.td_num strong {color:#000}
.bo_cate_link {display:inline-block;margin:0 0.8333vw 0 0;padding:0 1.6667vw 0 0;border-right:0.2778vw solid #e7f1ed;color:#707070 !important;font-weight:bold;text-decoration:none} 
/* 글제목줄 분류스타일 */
.bo_current {color:#e8180c}
.td_subject img {margin-left:0.8333vw}
#bo_list .cnt_cmt {display:inline-block;margin:0 0 0 0.8333vw;font-weight:bold}

#bo_sch {margin-bottom:2.7778vw;padding-top:1.3889vw;text-align:center}
#bo_sch .btn_submit{width: 16.6667vw; height: 9.7222vw; font-family: 'Pretendard'; background-color: #135A9A; border: none; border-radius: 2.7778vw; color: #fff;}


/* =========================================
   [게시판 글쓰기] 싹다버림 모던 앱 스타일 리폼
========================================= */

#bo_w {
    /* 원본: margin: -10.9222vw 0 20.9222vw 0; */
    padding: 20px;
    margin-bottom: 40px;
    box-sizing: border-box;

}

#bo_w #wr_email, 
#bo_w #wr_homepage, 
#bo_w #wr_subject {
    width: 100%;
}

/* 글자수 제한 관련 (혹시 쓰일까봐 보존) */
#char_count_desc { display: block; margin: 0 0 10px; padding: 0; }
#char_count_wrp { margin: 10px 0 0; text-align: right; }
#char_count { font-weight: bold; }
#qa_subject { width: 100%; }

.form_01 {
    /* 원본: margin: 16.7778vw 2.7778vw 6.5555vw 2.7778vw; border-radius: 1.3889vw; padding: 4.1667vw; box-shadow: 0 0.2778vw 1.1111vw #cbd1df; */
    background: #ffffff;
    margin: 0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #eaeaea;
}

/* 각 입력 항목들 사이 여백 */
.write_div {
    margin-bottom: 16px;
}
.write_div:last-child {
    margin-bottom: 0;
}

.write_div input[type="checkbox"] {
    accent-color: #1a3952;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin: 0 4px 0 0;
}
.write_div label {
    font-size: 14px;
    color: #495057;
    margin-right: 12px;
    vertical-align: middle;
}

.frm_input,
#bo_w .frm_input {
    /* 원본: height: 8.3333vw; max-width: 100%; height: 38px; border-radius: 3px; border: 0.2778vw solid #ccc; padding: 1.1111vw; margin-top: 1.3889vw; */
    width: 100%;
    height: var(--ss-ctl-h);
    box-sizing: border-box;
    border: 1px solid var(--ss-line-ctl);
    border-radius: var(--ss-radius-ctl);
    background: #fafbfc;
    color: #1a1a1a;
    font-size: 16px !important; /* iOS 초점 확대 막기 — 16px 미만 금지 */
    padding: 0 16px;
    margin-top: 0;
    transition: all 0.2s ease;
    outline: none;
}

.frm_input:focus,
#bo_w .frm_input:focus,
#bo_w textarea:focus {
    background: #ffffff;
    border-color: #1a3952;
    box-shadow: 0 0 0 3px rgba(26, 57, 82, 0.08);
}

#bo_w textarea {
    /* 원본: .textarea {width: 97%;} */
    width: 100% !important;
    box-sizing: border-box;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    background: #fafbfc;
    padding: 16px;
    font-size: 15px;
    font-family: 'Pretendard', sans-serif;
    resize: none;
    outline: none;
    transition: all 0.2s ease;
}
.bo_w_flie {
    margin-bottom: 12px;
}

#bo_w .bo_w_flie .file_wr {
    /* 원본: border:0.2778vw solid #ccc; background:#fff; border-radius:0.8333vw; padding:1.3889vw; height:9.5555vw; */
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    background: #fafbfc;
    height: 48px;
    padding-left: 54px; /* 아이콘 공간 확보 */
    overflow: hidden;
}

#bo_w .bo_w_flie .lb_icon {
    /* 원본: position:absolute; top:0.0000vw; left:0.0000vw; border-radius:4px; height:9.2222vw; width:16.1111vw; background:#eee; padding: 1.5625vw; */
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 100%;
    background: #f1f3f5;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #dcdcdc;
    color: #6e6e6e;
    font-size: 16px;
}

#bo_w .bo_w_flie .frm_file {
    /* 원본: padding-left:17.8889vw; */
    width: 100%;
    padding: 0 10px;
    border: none;
    background: transparent;
    font-size: 13px;
    color: #555555;
    outline: none;
}

#bo_w .write_div {
    margin-bottom: 16px !important;
}

#bo_w .write_div.btn_top {
    margin-bottom: 0 !important;
}

/* 🌟 문제의 btn_top (절대좌표로 날아가는 현상 강제 취소) */
#bo_w div.btn_top {
    position: static !important; /* 화면 우측 상단으로 날아가는 것 방지 */
    display: flex !important;
    gap: 12px;
    margin-top: 24px !important;
    padding: 0 !important;
    width: 100%;
}

/* 취소 버튼 */
#bo_w div.btn_top .btn_cancel {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 52px;
    background: #f1f3f5;
    color: #495057;
    font-size: 15px;
    font-weight: 600;
    border-radius: 27px;
    border: 1px solid #e2e6ea;
    text-decoration: none;
    box-sizing: border-box;
}

/* 작성완료 쫀득 버튼 */
#bo_w div.btn_top .btn_submit {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 52px;
    background: #1a3952;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 27px;
    border: none;
    box-shadow: 0 4px 12px rgba(26, 57, 82, 0.2);
    cursor: pointer;
    transition: transform 0.1s ease;
    -webkit-appearance: none;
    margin: 0; /* 불필요한 마진 초기화 */
}

#bo_w div.btn_top .btn_submit:active {
    transform: scale(0.97);
}
