@charset "UTF-8";

/* 협정매니저 상담 신청 레이어 — CI3 원문 레이어 등가.
   원본은 사이트 전역 아톰(ij_popup·ij_table·ij_input·ij_btn)에 얹혀 있는데 재구축 레이아웃엔 그 아톰이
   없으므로 같은 시각 결과를 gongdong-counsel-* 커스텀 클래스로 재구성한다(컨설팅 reserve.css 와 같은 방식).
   원본은 건·전이 바이트 동일 — 이 파일도 사이트 무관 1벌이고 브랜드색만 변수로 받는다. */

.gongdong-counsel-layer { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.5); }
.gongdong-counsel-layer[hidden] { display: none; }

/* 원본 폭 600px 고정. */
.gongdong-counsel-layer .counsel-popup { position: relative; width: 600px; box-sizing: border-box; background: #fff; }
.gongdong-counsel-layer header { height: 60px; padding: 0 30px; line-height: 60px; font-size: 24px; font-weight: 700; text-align: left; color: #fff; background-color: var(--brand-primary, #3267e9); }   /* 전기넷 = `ij_layout_jungi.css:3831` #00993a(토큰) */
.gongdong-counsel-layer .counsel-close { position: absolute; top: 20px; right: 20px; width: 19px; height: 19px; border: 0; background: none; cursor: pointer; padding: 0; line-height: 0; }
.gongdong-counsel-layer section { padding: 30px; }
.gongdong-counsel-layer .counsel-lead { text-align: left; margin: 0 0 8px; }

/* 폼 테이블 — 원본 ij_table type1 border + 화면 override(th padding 9px 10px 10px, 배경 #f1f5ff). */
.counsel-table { margin-top: 16px; border-top: 1px solid #d6dbe4; }
.counsel-table table { width: 100%; border-collapse: collapse; }
.counsel-table th, .counsel-table td { padding: 9px 10px 10px; border-bottom: 1px solid #e2e6ee; font-size: 14px; text-align: left; }
.counsel-table th { width: 110px; background: #f1f5ff; font-weight: 500; }
/* 입력칸 = `input.ij_input[type=text]`(`ij_layout.css:1047-1058`) + `wd-160` · 칸 묶음 = `.ij_input_union`(`:1270-1281`) + `wd-50`
   · 선택상자 = `div.ij_select`(`:390-420`) + `wd-160` — 원문 공용 부품 값. */
.counsel-table input[type="text"] { box-sizing: border-box; border: 1px solid #aab6cb; border-radius: 0; font-size: 13px; line-height: 19px; margin: 0; padding: 4px 8px 5px; width: 160px; vertical-align: baseline; outline: none; }
.counsel-table .counsel-select { position: relative; display: inline-block; width: 160px; }
.counsel-table .counsel-select:before { content: ""; position: absolute; top: 13px; right: 8px; pointer-events: none; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #8491a7; }
.counsel-table select { font-size: 13px; font-weight: 400; padding: 0 30px 0 8px; height: 30px; line-height: 26px; box-sizing: border-box; width: 100%; color: #8491a7; border: 1px solid #aab6cb; border-radius: 0; background-color: #fff; margin: 0; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.counsel-table .input-union { display: inline-block; border: 1px solid #aab6cb; font-size: 14px; white-space: nowrap; }
.counsel-table .input-union input[type="text"] { border: none; text-align: center; width: 50px; }

/* 동의 박스 — 원본 인라인 스타일(margin-top 10 / padding 16 / #f3f5f9 / 높이 30 라인). */
.counsel-agree { margin-top: 10px; padding: 16px; background-color: #f3f5f9; text-align: center; font-size: 14px; }
.counsel-agree label { display: inline; cursor: pointer; }
.counsel-agree label input { margin-right: 6px; }
.counsel-agree .counsel-terms { margin-left: 6px; padding: 0; border: 0; background: none; font-size: inherit; color: var(--brand-primary, #3267e9); cursor: pointer; }

.counsel-submit-wrap { box-sizing: content-box; width: 100%; text-align: center; padding: 30px 0 0; }
.counsel-submit { padding: 9px 35px; border: 1px solid var(--brand-primary, #3267e9); background: #fff; color: var(--brand-primary, #3267e9); font-size: 14px; font-weight: 500; cursor: pointer; }
.counsel-submit:hover { color: #fff; background-color: var(--brand-primary, #3267e9); }
.counsel-submit[disabled] { opacity: .6; cursor: default; }

/* ── 원문 값 ──
 * 머리·본문 = 원문 전역 content-box(600 − 좌우 30 = 540).
 * 표 = `.ij_table.type1 table{border-top:1px solid #5c667b}` · th/td 아래·좌우 #aab6cb(`ij_layout.css:586-603 · 849-853`)
 *   · 칸 높이 30 content-box(`:568-572`) · th 는 레이어 덮개(`agreement_inquiry.css:3-8` padding 9 10 10 · #f1f5ff).
 * 원문 th 에 폭 선언 없음(colgroup 110). */
.gongdong-counsel-layer header,
.gongdong-counsel-layer section { box-sizing: content-box; }
.counsel-table { border-top: 0; }
.counsel-table table { border-top: 1px solid #5c667b; }
.counsel-table th,
.counsel-table td { box-sizing: content-box; height: 30px; border-bottom: 1px solid #aab6cb; border-left: 1px solid #aab6cb; border-right: 1px solid #aab6cb; }
.counsel-table th { width: auto; }

/* 레이어 자리 — 원문 `.ij_popup{position:fixed}`(top 없음)는 흐름상 자리에 선다:
   `.center_layer_wrap{margin-top:20px}` 아래 머리 띠 밑(뷰포트 y 160) · 600 폭 가운데(`common.css:122-124`).
   재구축 덮개는 화면 가운데 정렬이었다(원문 rect.y 160 ↔ 약 310). */
.gongdong-counsel-layer .counsel-popup { position: fixed; top: 160px; left: calc(50% - 300px); }

/* 동의 줄 — 원문 `div.desc_content{height:30px;line-height:30px}`(인라인) +
   `input.ij_checkbox + div`(CSS 로 그린 네모 · `ij_layout.css:256-316`) + `[약관보기]` `.fc_blue2`(`common.css:23` #0f50dd) · 네모 색은 전기넷도 파랑(`ij_layout_jungi.css:258·286` — 사이트 색 덮개 없음). */
.counsel-agree { line-height: 30px; }
.counsel-agree > label { display: inline; }
.counsel-agree label input[type="checkbox"] { position: absolute; opacity: 0; margin: 0; }
.counsel-agree label input[type="checkbox"] + span { margin-right: 4px; box-sizing: border-box; position: relative; padding-left: 20px; display: inline-block; line-height: 16px; vertical-align: baseline; }
.counsel-agree label input[type="checkbox"] + span:hover { color: #3267e9; cursor: pointer; }
.counsel-agree label input[type="checkbox"] + span:before { position: absolute; top: 1px; left: 0; display: inline-block; content: ""; border: 1px solid #3267e9; border-radius: 2px; background: #fff; box-sizing: border-box; width: 16px; height: 16px; cursor: pointer; }
.counsel-agree label input[type="checkbox"]:checked + span { color: #333; }
.counsel-agree label input[type="checkbox"]:checked + span:after { position: absolute; top: 4px; left: 3px; display: inline-block; content: ""; border-left: 2px solid #fff; border-bottom: 2px solid #fff; box-sizing: border-box; width: 10px; height: 6px; transform: rotate(-45deg); }
.counsel-agree label input[type="checkbox"]:checked + span:before { background: #3267e9; }
.counsel-agree label input[type="checkbox"]:focus + span:before { border-width: 2px; border-color: #000; }
.counsel-agree .counsel-terms { margin-left: 0; color: #0f50dd; }
/* 표 위 여백 = 원문 `.ij_table.mt-2`(8px · 앞 글줄과 겹침) · 동의 줄 글자 = `.ij_description_wrap div{color:#5c667b}`(`ij_layout.css:128-131`). */
.counsel-table { margin-top: 8px; }
.counsel-agree { color: #5c667b; }

/* 닫기 = 원문 `.ij_popup header .close{position:absolute;top:-2px;right:20px;width:19px;height:19px}`(`ij_layout.css:2542-2549`) 인 div 가
   머리 글꼴(24px · 700 · 줄 높이 60)을 상속하고 그림은 그 줄의 기준선에 선다 — button 도 같은 상속·정렬로.
   신청 = `.submitWrap button{width:150px}`(`ij_layout.css:106-118` 계열). */
.gongdong-counsel-layer .counsel-close { top: -2px; font: inherit; line-height: 60px; letter-spacing: inherit; text-align: left; }
.counsel-submit { width: 150px; }
