@charset "UTF-8";

/* 건·전 로그인 — cross-site 공용 1벌. 라이브 발췌 포팅.
   원천 = CI3 resource/common/css/login/login.css(화면 전용) + ij_layout.css / ij_layout_jungi.css·common.css(사용 아톰만).
   활성 탭 = 파랑(라이브가 테스트용 빨강 인라인을 걷었다). 탭 li float 은 원천엔 전역 리셋에 있던 것을 지역화.
   강조색: 라이브는 공유 CSS 를 `body.jungi` 로 덮어 전기넷만 초록(#00993a·hover #00772f)을 쓴다 — 재구축은
   각 사이트 layout.css 의 브랜드 토큰(건설넷 파랑 #3267e9/#1449c9 · 전기넷 초록)을 참조해 한 벌로 델타를 소멸시킨다(값 동일, 실측). */

/* 라이브 로그인은 `main` 없이 박스 margin(20px)만 — 공용 .site-main(원문 main.sub 값)의 여백·최소 높이를 이 화면만 0 으로 */
.site-main { padding: 0; min-height: 0; }

/* 라이브(CI3)는 box-sizing 전역 리셋이 없다(content-box 기본) — 우리 layout 의 border-box 리셋이
   인풋/탭에 1~4px 드리프트를 만들어 이 화면 스코프만 라이브 기본으로 되돌린다.
   개별 요소의 border-box 는 라이브가 명시한 자리(ij_icon_input·탭·버튼)에 아래 규칙들이 다시 건다. */
.ijMainContent, .ijMainContent * { box-sizing: content-box; }

.ijMainContent { display: block; min-height: 660px; box-sizing: border-box; }
.login_box { width: 1200px; margin: 20px auto; border: 1px solid #d7dce5; }
.ijMainContent .ijContentWrap.small { width: 500px; margin: 0 auto; padding: 90px 0 120px; }

h1.ij_title { font-size: 34px; font-weight: 700; text-align: center; margin: 0 0 50px; padding: 0; color: #202020; }

/* 탭 */
ul.login_tab { margin: 0 0 20px; overflow: visible; padding-left: 1px; list-style: none; }
ul.login_tab::after { display: table; content: ''; clear: both; }
ul.login_tab > li { float: left; width: 50%; box-sizing: border-box; margin-left: -1px; position: relative; overflow: visible; }
ul.login_tab > li > a { position: relative; box-sizing: border-box; width: 100%; height: 50px; display: inline-block; line-height: 50px; border-top: 3px solid #d7dce5; border-left: 1px solid #d7dce5; border-right: 1px solid #d7dce5; font-size: 18px; text-align: center; font-weight: 500; color: #202020; text-decoration: none; cursor: pointer; }
ul.login_tab > li.current > a,
ul.login_tab > li > a:hover { color: var(--brand-primary); z-index: 1; border-top-color: var(--brand-primary); }
/* 전기넷 라이브 body.jungi 는 border-color 축약 — 좌·우 1px 테두리까지 브랜드색 */
body[data-site="jungi"] ul.login_tab > li.current > a,
body[data-site="jungi"] ul.login_tab > li > a:hover { border-color: var(--brand-primary); }

/* 아이콘 인풋 */
.ij_icon_input { position: relative; box-sizing: border-box; border: 1px solid #d7dce5; margin: -1px 0 0; padding: 12px 30px 14px; vertical-align: baseline; }
.ij_icon_input.focus { border: 1px solid var(--brand-primary); z-index: 1; }
.ij_icon_input input { width: 382px; outline: none; border: none; font-size: 18px; font-weight: 500; margin-left: 28px; vertical-align: middle; }
.ij_icon_input input::placeholder { color: #8491a7; }
.ij_icon_input span { display: inline-block; width: 20px; height: 20px; fill: #aab6cb; vertical-align: -7px; }
.ij_icon_input span svg { width: 100%; height: 100%; fill: inherit; }

/* 저장기능 안내 (실질 비활성 — 안내 링크만, 라이브 인라인 스타일 지역화) */
.save_notice { margin-top: 20px; color: #8491a7; }
.save_notice a { color: #8491a7; text-decoration: underline; }

/* 필수값 에러 */
.check_error_wrap { margin-top: 14px; }
.check_error { font-style: normal; }
.check_error span { display: inline-block; width: 15px; height: 15px; fill: red; margin-right: 5px; position: relative; top: 2px; }
.check_error span svg { width: 100%; height: 100%; fill: inherit; }
.fc_red2 { color: #ff0000 !important; }
.displayNone { display: none; }

/* 버튼 (ij_layout.css 아톰 발췌) */
button.ij_btn { font-size: 13px; font-weight: 500; padding: 4px 8px 5px; color: #5c667b; border: 1px solid #aab6cb; box-sizing: border-box; vertical-align: baseline; background-color: #fff; cursor: pointer; }
button.ij_btn.primary.bg { color: #fff; background-color: var(--brand-primary); border: 1px solid var(--brand-primary); }
button.ij_btn.primary.bg:hover { background-color: var(--brand-primary-dark); }
button.ij_btn.cancel { color: #5c667b; border: 1px solid #aab6cb; }
button.ij_btn.cancel:hover { color: #fff; border-color: #aab6cb; background: #aab6cb; }
button.ij_btn.medium { font-size: 14px; padding: 9px 35px; }
button.ij_btn.large { font-size: 18px; padding: 16px 35px; }
.wd-p-100 { width: 100% !important; }
.submit_wrap { margin-top: 20px; }
#login_btn { font-size: 20px; font-weight: 700; }

/* 하단 링크줄 */
.ta-c { text-align: center; }
.login_info_link { margin-top: 40px; }
.login_info_link a { color: #777777; text-decoration: none; }
.login_info_link a:hover { color: #333333; }
span.pipe { color: #808080; font-size: 0.6em; margin: 0 0.8em; vertical-align: 0.35em; }

/* 공동인증서 패널 (S2 자리 — 버튼 스타일은 라이브 그대로) */
.mt-5 { margin-top: 48px; } /* CI3 common.css 유틸 원값 그대로 — 이름과 달리 48px(라이브 팩트) */
.form_wrap > div { margin-bottom: 24px; }
.certificate_login_btn { height: 100px; }
.certificate_login_btn svg { fill: #ffffff; margin-right: 10px; width: 21px; height: 25px; vertical-align: sub; }
