/* =========================================
   [댓글목록] 열기/닫기 토글 버튼 스타일
========================================= */
.cmt_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    margin: 20px 0 12px;
    background: #ffffff;
    color: #1a3952;
    border: 1px solid #1a3952;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(26, 57, 82, 0.05);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.cmt_btn i {
    font-size: 16px;
}

.cmt_btn:active {
    transform: scale(0.98);
}

.cmt_btn.cmt_btn_op {
    background: #1a3952;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(26, 57, 82, 0.2);
}

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

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

#bo_w .bo_w_flie .file_wr {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    background: #fafbfc;
    height: 48px;
    padding-left: 48px;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
}

/* 왼쪽 다운로드 아이콘 박스 */
#bo_w .bo_w_flie .lb_icon {
    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;
    cursor: pointer;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 11px 0 0 11px;
}

/* 오른쪽 파일명 텍스트 부분 */
#bo_w .bo_w_flie .frm_file {
    width: 100%;
    padding: 0 12px;
    border: none;
    background: transparent;
    font-size: 13px;
    color: #555555;
    outline: none;
    cursor: pointer;
    box-sizing: border-box;
    margin: 0;
}

#bo_w .bo_w_flie .frm_file::file-selector-button {
    display: none;
}
#bo_w .bo_w_flie .frm_file::-webkit-file-upload-button {
    display: none;
}


#bo_w ul li label {
    /* 원본: margin-bottom: 1.1111vw; */
    margin-bottom: 4px;
}
/*footer*/
footer {
    position: fixed;
    /* 하단에서 20px 띄우고, 아이폰 하단 홈 바(인디케이터) 여백 추가 */
    bottom: calc(env(safe-area-inset-bottom) + 20px);
    left: 4%;
    width: 92%;
    height: 70px;
    
    /* 반투명 배경 및 블러 효과 */
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    z-index: 100;
    font-family: 'Pretendard', sans-serif;
    border-radius: 35px; /* 완전한 캡슐 형태 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); /* 그림자 범위를 넓혀 부유감 확보 */
    display: flex;
    box-sizing: border-box;
    padding: 0 5px; /* 내부 탭 여백 */
}

footer ul {
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

footer li {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60px;
    font-size: 11px;
    font-weight: 500;
    color: #6e6e6e;
    cursor: pointer;
    border-radius: 30px; /* 클릭 시 둥근 배경이 들어가도록 설정 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

footer li img {
    display: block;
    height: 24px;
    margin-bottom: 4px;
    opacity: 0.4; /* 비활성 아이콘 명도 낮춤 */
}

footer li.active {
    background: #222; 
    color: #fff;
    font-weight: 600;
}

footer li.active img {
    opacity: 1;
    filter: invert(100%) sepia(0%) saturate(7482%) hue-rotate(72deg) brightness(114%) contrast(114%);
}


/*미디어쿼리*/
@media only screen and (max-width: 320px) {
    .pop-layer { width: 70%; }
}


/* 카드방침 */
.card_main{margin-top: 20.1111vw; padding: 0 4.1667vw;}
.card_main button{border: 0; background: transparent;}
.card_main h3{font-size:4.4444vw; font-weight: normal; margin-bottom: 2.7778vw;}
.card_main .card_txt{padding: 2.7778vw 4.1667vw; border: 0.2778vw solid #12416d; border-radius: 1.1111vw;}
.card_main .card_txt div{display: flex; align-items: center; justify-content: space-between;}
.card_main .card_txt p{font-size: 3.8889vw;}
.card_main .card_txt span{font-size: 3.8889vw;}
.card_main .card_txt .card_1 p{font-size: 3.8889vw; font-weight: bold;}
.card_main .card_txt .card_1 button{font-size: 3.3333vw;}
.card_main .card_txt .card_1 .dele{margin-left: 4.1667vw; color: #FF0000;}
.card_main .card_txt .card_1 .emend{color: #B4B4B4;}
.card_main .card_txt .card_2{margin: 4.7222vw 0 0.8333vw 0;}
.card_main .card_registr{ position: fixed;  bottom: 13.8889vw; padding: 2.5000vw 36.2778vw 4.4444vw 35.2778vw; font-size: 5.0000vw; background-color: #12416d; color: #fff; border-radius: 1.9444vw; }

/* 카드수정 */
#emend{margin-top: 20.1111vw; padding: 0 4.1667vw;}
#emend input{padding: 1.3889vw ; border: 1px solid #E4E4E4; border-radius: 4px;}
#emend ul li{display: flex; align-items: center; justify-content: space-between;}
#emend ul li b{font-size: 4.4444vw;}
#emend ul .card-num input{width: 8.1111vw;}
#emend ul .card-period {margin: 2.7778vw 0;}
#emend ul .card-period input{width: 19.5555vw;}
#emend ul .card-pass input{width: 51.2778vw;}
#emend .card_registr{ position: fixed;  bottom: 13.8889vw; padding: 2.5000vw 40.8333vw 4.4444vw 40.8333vw; font-size: 5.0000vw;border: 0; background-color: #12416d; color: #fff; border-radius: 1.9444vw; }


/* 채팅하기 -채팅목록 */
#chat{margin-top: 15.1111vw;font-family:Noto Sans CJK KR; }
#chat .one_line{display: flex; align-items: center; justify-content: space-between; height: 19.4444vw; padding: 0 4.1667vw; border-bottom: 1px solid #E4E4E4;}
#chat .one_line .front{display: flex; align-items: center;}
#chat .one_line .chat_profil{max-width: 11.1111vw; margin-right: 4.1667vw;}
#chat .one_line .chat_profil img{width: 100%;}
#chat .one_line .info p{font-size: 4.4444vw; font-weight: bold;}
#chat .one_line .info span{font-size: 3.3333vw; color: #9F9F9F;}
#chat .one_line .close_BT{border: 0; background: none; max-width: 6.6667vw;}
#chat .one_line .close_BT img{width: 100%;}


/* 채팅하기 - 관리자 */
#chat_write{margin-top: 10.1111vw; padding: 0 4.1667vw; font-family:Noto Sans CJK KR;}
#chat_write .date{font-size: 3.3333vw; text-align: center; margin-top: 3vw;}
#chat_write .wrap{padding: 0 0 34.5555vw 0;}
#chat_write ul li{}
#chat_write .wrap .chat .textbox{position: relative; display: inline-block;  padding:  2.2222vw 2.7778vw;  border-radius: 2.7778vw; background-color: #E6E7F2; font-size: 3.8889vw;}
#chat_write .wrap .chat .time{padding-right: 5px; font-size:3.3333vw ;}
#chat_write .wrap .ch1 {display: flex; justify-content: flex-end; align-items: flex-end; text-align: left; margin-top: 2.3889vw;}
#chat_write .wrap .ch1 .textbox{min-width: 42.8333vw; max-width: 61.1111vw; border-bottom-right-radius: 0;}
#chat_write .wrap .ch2 .textbox{min-width: 42.8333vw; max-width: 61.1111vw; border-top-left-radius: 0; background-color: #F8F8F8;}
#chat_write .wrap .ch2 {display: flex;  margin-top: 13.3888vw; margin-bottom: 11.6666vw;}
#chat_write .wrap .ch2 .img_box{display: flex; align-items: flex-end; }
/* #chat_write .wrap .ch2_img{align-items: flex-end; margin-left: 12.1111vw; margin-top: 1.1111vw; margin-bottom: 9.9999vw;} */
#chat_write .wrap .ch2  .icon{display: flex; flex-direction: column; margin-left: 1.9444vw;}
#chat_write .wrap .ch2  .icon_ch2{margin-left: 12.9444vw;}
#chat_write .wrap .ch2  .icon .fa-user{font-size: 4.4444vw; margin-bottom: 1.6667vw;}
#chat_write .wrap .ch2 .left{max-width: 11.1111vw; max-height: 11.1111vw;}
#chat_write .wrap .ch2 .left img{max-width: 100%; max-height: 100%;}

#chat_write .wrap .upload{width: 50vw; padding: 1.3333vw; border-radius: 2.6667vw; background-color: #fff; border: 0.2667vw solid #E2E2E2; margin-top: 1.0000vw;}
#chat_write .wrap .upload img{width:100%;  border-radius: 2.6667vw;}
#chat_write .wrap .upload_a1 {display: block; float: right; } 

#message_area .message{position: fixed; bottom: 0; left: 0;  display: flex; align-items: center; height: 19.4444vw;  padding: 0 2.7778vw;background-color: #F1F1F1;}
#message_area .message .btn_upload{ width: 10.7777vw;height: 10.7777vw;font-size: 5.3333vw;font-weight: bold;background-color: #fff;border: 1px solid #E4E4E4;display: flex;align-items: center;justify-content: center;}
#message_area .message #file{display: none;}
#message_area .message .add_img_bt img{width: 100%;}
#message_area .message .messge_input{margin-right: 1.3889vw; margin-left: 1.3889vw;}
#message_area .message .messge_input input{width: 60.2778vw; border: 1px solid #E4E4E4; padding: 3.3332vw 0 3.5556vw 2.7778vw;}
#message_area .message .messge_input input::placeholder{font-size: 3.8889vw; color: #BBBBBB;}
#message_area .message .submit_bt{width: 17.2222vw;border: 0; padding: 3.0556vw 0 2.7778vw 0; background: none; background-color: #135A9A; font-size: 3.8889vw; color: #fff;}
