@charset "utf-8";
/* ============================================================
   게시판(bbs) 페이지 스타일 — 에코파워텍
   /bbs/ 경로에서만 로드된다(head.sub.php).
   그누보드 기본 게시판(#bo_list/#bo_v/#bo_w)은 max-width 컨테이너가 없어
   콘텐츠가 화면 풀폭으로 퍼져 "스킨 안 붙은" 것처럼 보였다 →
   쇼핑몰(.eco-shop-wrap)과 동일하게 1400 중앙 정렬 + 여백을 준다.
   ============================================================ */

/* 콘텐츠 컨테이너: 풀폭 방지, 1400 중앙.
   basic·gallery 스킨은 새로 짜면서 .eco-board / ecopower.css 가 컨테이너를 갖는다.
   여기 남은 건 아직 옛 표 구조를 쓰는 견적문의(estimate) 목록용이다.
   이 파일이 ecopower.css 보다 뒤에 실리므로 겹치면 여기가 이긴다 — 범위를 좁혀 둔다. */
#bo_list:not(.eco-board), #bo_gall:not(.eco-board), #bo_sch, #bo_cate {
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
}
#bo_list:not(.eco-board) { padding-top: 36px; padding-bottom: 72px; }
#bo_gall:not(.eco-board), #bo_sch { padding-top: 24px; padding-bottom: 72px; }

/* 목록 상단 요약/버튼 줄 */
#bo_list .bo_fx, #bo_list #bo_list_total { margin-bottom: 10px; }
#bo_list #bo_list_total { font-size: 14px; color: #7a7c79; }

/* 목록 테이블 */
#bo_list .tbl_head01, #bo_list .bo_lst { border-top: 2px solid #211816; }
#bo_list table { width: 100%; border-collapse: collapse; }
#bo_list thead th, #bo_list .bo_tit_row th, #bo_list table th {
    background: #f7f9f7;
    color: #211816;
    font-weight: 600 !important;
    font-size: 15px;
    padding: 16px 10px !important;
    border-bottom: 1px solid #e6ebe6 !important;
    border-top: 0 !important;
}
#bo_list tbody td {
    padding: 16px 10px !important;
    border-bottom: 1px solid #f0f2f0 !important;
    font-size: 15px;
    color: #3a3a38;
}
#bo_list tbody tr:hover td { background: #fafbfa; }
#bo_list .bo_subject a, #bo_list .td_subject a { color: #211816; }
#bo_list .bo_subject a:hover, #bo_list .td_subject a:hover { color: #3e9188; }
/* 빈 목록 */
#bo_list .empty_table, #bo_list td.empty_li, #bo_list .bo_empty {
    padding: 60px 0 !important;
    text-align: center;
    color: #9a9c98;
    font-size: 15px;
}

/* 스팹 허니팟 — 보이지 않게 두되 display:none 은 쓰지 않는다(봇이 걸러낸다) */
.eco-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* 견적문의 목록 상단 안내 + CTA (theme/unid/skin/board/estimate/list.skin.php).
   목록은 본인 글만 보이므로 비회원에겐 늘 비어 있다 — 상단에 요청 버튼을 둔다. */
.eco-estimate-lead { text-align: center; margin: clamp(18px, 2vw, 28px) 0 clamp(26px, 3vw, 40px); padding: 0 20px; }
.eco-estimate-lead p { font-size: clamp(14px, 1.2vw, 16px); color: var(--eco-text-secondary, #7a7c79); line-height: 1.6; margin: 0 0 clamp(16px, 1.8vw, 24px); }
.eco-estimate-lead-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   견적문의 커스텀 폼 (theme/unid/skin/board/estimate/write.skin.php)
   ecopower.css 의 일반 글쓰기 규칙은 #bo_w 아이디 선택자라 클래스 하나로는
   못 이긴다. 이 폼만 다른 모양이므로 선택자를 #bo_w.eco-estimate 로 받는다.
   ============================================================ */
#bo_w.eco-estimate { padding: clamp(32px, 3.4vw, 50px) 20px clamp(55px, 7.0vw, 100px); box-sizing: border-box; }
#bo_w.eco-estimate .tbl_frm01 { margin-top: 8px; }
#bo_w.eco-estimate .eco-estimate-form { max-width: var(--eco-max-w, 1400px); margin: 0 auto; }
#bo_w.eco-estimate .eco-estimate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; align-items: start; }
#bo_w.eco-estimate .eco-estimate-grid > .eco-field { margin-bottom: 0; }
#bo_w.eco-estimate .eco-estimate-grid > .eco-full { grid-column: 1 / -1; }
.eco-estimate-intro { text-align: center; margin-bottom: 40px; }
.eco-estimate-eyebrow { display:inline-block; padding:6px 16px; border-radius:999px; background:#e7f1ef; color:#3e9188; font-size:13px; font-weight:600; margin-bottom:16px; }
.eco-estimate-intro h3 { font-size:28px; font-weight:800; color:#211816; letter-spacing:-1px; margin:0 0 12px; line-height:1.35; }
.eco-estimate-intro p { font-size:15px; color:#7a7c79; line-height:1.6; margin:0; }
#bo_w.eco-estimate .eco-field { margin-bottom:22px; }
#bo_w.eco-estimate .eco-field-row { display:flex; gap:16px; }
#bo_w.eco-estimate .eco-field-row .eco-field { flex:1; margin-bottom:22px; }
#bo_w.eco-estimate .eco-label { display:block; font-size:14px; font-weight:600; color:#211816; margin-bottom:8px; }
#bo_w.eco-estimate .eco-label .req { color:#e2542b; }
#bo_w.eco-estimate .eco-input { width:100%; height:50px; border:1px solid #d3d7dd; border-radius:10px; padding:0 16px; font-size:15px; box-sizing:border-box; background:#fff; transition:border-color .15s, box-shadow .15s; font-family:'Pretendard',sans-serif; color:#211816; }
#bo_w.eco-estimate .eco-input:focus { border-color:#3e9188; outline:none; box-shadow:0 0 0 3px rgba(62,145,136,0.12); }
#bo_w.eco-estimate .eco-select { appearance:none; -webkit-appearance:none; padding-right:44px; background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%237a7c79' stroke-width='1.6' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 16px center; }
#bo_w.eco-estimate .wr_content textarea, #bo_w.eco-estimate #wr_content { width:100%; min-height:0; border:1px solid #d3d7dd; border-radius:10px; padding:14px 16px; font-size:15px; line-height:1.7; box-sizing:border-box; font-family:'Pretendard',sans-serif; resize:vertical; color:#211816; }
#bo_w.eco-estimate .wr_content textarea:focus, #bo_w.eco-estimate #wr_content:focus { border-color:#3e9188; outline:none; box-shadow:0 0 0 3px rgba(62,145,136,0.12); }
#bo_w.eco-estimate .eco-help { font-size:13px; color:#9a9c98; margin:8px 0 0; line-height:1.6; }

/* 도면·사진 첨부 — 기본 file 위젯은 숨기고 라벨 버튼 + 파일명만 보여준다 */
#bo_w.eco-estimate .eco-files { display:flex; flex-direction:column; gap:10px; }
#bo_w.eco-estimate .eco-file-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
#bo_w.eco-estimate .eco-file-input { position:absolute; width:1px; height:1px; padding:0; margin:0; border:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
#bo_w.eco-estimate .eco-file-btn { display:inline-flex; align-items:center; gap:8px; height:44px; padding:0 18px; border:1px dashed #b8beb8; border-radius:8px; background:#f7f9f7; color:#3a3a38; font-size:14px; font-weight:500; cursor:pointer; white-space:nowrap; margin:0; }
#bo_w.eco-estimate .eco-file-btn:hover { border-color:#3e9188; color:#3e9188; background:#eef5f3; }
#bo_w.eco-estimate .eco-file-input:focus + .eco-file-btn { border-color:#3e9188; color:#3e9188; box-shadow:0 0 0 3px rgba(62,145,136,0.12); }
#bo_w.eco-estimate .eco-file-name { font-size:13px; color:#9a9c98; word-break:break-all; }
#bo_w.eco-estimate .eco-file-name.is-set { color:#3a3a38; }

/* 자동등록방지 — 기본 캡챠 마크업을 한 줄로 정렬한다 */
#bo_w.eco-estimate .eco-captcha #captcha { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:4px; }
#bo_w.eco-estimate .eco-captcha #captcha_img { height:50px; border:1px solid #d3d7dd; border-radius:8px; }
#bo_w.eco-estimate .eco-captcha #captcha_key { width:120px; height:50px; margin:0; border:1px solid #d3d7dd; border-radius:10px; background:#fff; }
#bo_w.eco-estimate .eco-captcha #captcha_key:focus { border-color:#3e9188; outline:none; box-shadow:0 0 0 3px rgba(62,145,136,0.12); }
#bo_w.eco-estimate .eco-captcha #captcha_info { flex:1 0 100%; margin:0; font-size:13px; color:#9a9c98; letter-spacing:normal; }

#bo_w.eco-estimate .bo_v_option { list-style:none; padding:0; margin:0; display:flex; gap:18px; }
.eco-estimate-actions { display:flex; gap:12px; justify-content:center; margin-top:40px; }
@media (max-width:768px) {
  #bo_w.eco-estimate .eco-estimate-grid { grid-template-columns: 1fr; gap: 20px; }
  #bo_w.eco-estimate .eco-field-row { flex-direction:column; gap:0; }
  .eco-estimate-intro h3 { font-size:22px; }
}
