/*
 * 통합 레이어/배너 — 발주처 낙찰분석 가이드 레이어(메인 53)의 조각 스타일 (건·전 공용).
 * 싣는 곳 = 그 레이어가 뜨는 화면(메인).
 *
 * 원문 = CI3 `resource/common/css/layer_banner/balnak_guide_layer.css`(건·전 공용 1벌). 「원문 레이어 CSS」 절은 분석프로그램 홍보 페이지의
 * 예약 레이어 시트(`css/shared/promotion/balnak-guide-layer.css` — 원문 그대로 옮긴 것)에서 **선택자의 루트만** 바꾼 것이다:
 *   `#balnak_guide_layer` → `#display_layers .display-balnak` · `#balnak_layer_dialog` → `#display_layers .display-balnak-dialog`
 *   (조각 루트가 통합 규약의 `display_{관리번호}` 라 원문 id 를 쓸 수 없다. 안쪽 id 는 원문 그대로 — 우선순위가 id 에 기댄다).
 * ⚠ 원문의 두 선택자(`…, #calendar_content`)는 쉼표 뒤가 루트 밖으로 샜다 — 화면에 새지 않게 루트 안으로 넣되 `:where()` 로 감싸
 *   **우선순위는 원문 그대로** 둔다. 그냥 루트를 붙이면 날짜 칸 흰 배경(`.calendar_date`)이 고른 칸 파란 배경(`.seleted_date`)을 이겨
 *   고른 날짜가 흰 칸에 흰 글자로 사라진다(원문은 둘이 같은 우선순위라 뒤에 적힌 고른 칸이 이긴다).
 * 그 시트를 그대로 싣지 않는 이유: 팝업 틀 전용이라 전역 선택자(`.center_layer_wrap` · `button.ij_btn` · `.submitWrap`)를 갖는다.
 * 가운데 레이어 틀 · 닫기 줄 · 버튼 아톰은 공용 `display.css` 가 레이어 컨테이너 안쪽에 이미 갖고 있다.
 */

/* ============ 원문 전역 CSS 몫 (레이어 컨테이너 안쪽만) ============ */

/* 재구축 — 루트를 원문 레이어 층(`.center_layer_wrap` z-index 1000000)에 올린다. 원문은 그 레이어 틀 자체를 페이드하지만 로더는 바깥 루트를
   페이드한다 — ⚠ 투명도가 1 미만인 동안 루트가 바닥층 묶음(z 0)이 돼 메인 배너·영상 칸(z-index 있음)이 레이어 위로 올라온다(나타날 때·사라질 때).
   틀이 absolute(top 없음 · 폭 100%)라 기준 상자가 루트로 바뀌어도 자리·폭은 같다. 덮개(같은 층)는 컨테이너 맨 앞이라 루트가 그 위다 */
#display_layers .display-balnak { position: relative; z-index: 1000000; }

/* ij_layout.css — 안내 대화상자. 원문 `.useBlackPanel`(z-index · 숨김)은 조각이 인라인으로 숨기고 스크립트가 연다 */
#display_layers .display-balnak-dialog { box-sizing: border-box; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1000001; }
#display_layers .display-balnak-dialog .dialog_wrap { min-width: 500px; padding: 40px; display: inline-block; box-sizing: border-box; background-color: white; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
#display_layers .display-balnak-dialog .dialog_wrap section { display: none; text-align: center; }

/* Font Awesome 6 인라인 SVG(달력 좌우 화살표) — all.min.js 주입 <style> 중 이 두 아이콘에 걸리는 규칙 */
#display_layers .display-balnak .svg-inline--fa { display: var(--fa-display, inline-block); height: 1em; overflow: visible; vertical-align: -.125em; }
#display_layers .display-balnak svg:not(:root).svg-inline--fa { overflow: visible; box-sizing: content-box; }

/* 달력 — 보이지 않는 달(원문 전역 `.hide` — common.css 값 그대로) */
#display_layers .display-balnak .month_calendar.hide { position: absolute; width: 0; height: 0; font-size: 0; overflow: hidden; visibility: hidden; }

/* 상자 크기 계산 — 원문 화면엔 전역 `* { box-sizing: border-box }` 가 없다(재구축 layout.css :114 는 있다). 레이어 안쪽을 원문처럼
   content-box 로 되돌리고, 원문에서 border-box 로 재지는 셋(표 · 시간 버튼 = 브라우저 기본 · 하단 줄 = common.css)만 남긴다.
   연락처 칸은 content-box 라 높이 38 + 테두리 2 = 40 → 그 줄이 62px(표준 모드 실측 — border-box 면 60 으로 낮아진다) */
#display_layers .display-balnak .center_layer_wrap,
#display_layers .display-balnak .center_layer_wrap * { box-sizing: content-box; }
#display_layers .display-balnak .input-wrap table,
#display_layers .display-balnak .select-button,
#display_layers .display-balnak .bar { box-sizing: border-box; }

#display_layers .display-balnak .dev-tools { position: absolute; left: 0; top: 0; transform: translateY(-100%); margin: -4px 0 0; padding: 4px 8px; width: 600px; box-sizing: border-box; background: #fff8d6; border: 1px dashed #d9a400; font-size: 12px; color: #202020; z-index: 1; }
#display_layers .display-balnak .dev-tools label { margin-right: 10px; cursor: pointer; }

/* ============ 원문 레이어 CSS (balnak_guide_layer.css :30-) ============ */
/* 지마켓 산스 */

@font-face {
    font-family: 'GmarketSansM';
    font-weight: 500;
    font-style: normal;
    src: url('/fonts/gmarket-ci3/GmarketSansMedium.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'GmarketSansB';
    font-weight: 700;
    font-style: normal;
    src: url('/fonts/gmarket-ci3/GmarketSansBold.woff2') format('woff2');
    font-display: swap;
}
#display_layers .display-balnak #step1 {
    position: relative;
    width:600px;
    height: 600px;
    background: #333;
}

#display_layers .display-balnak .close-btn {
    position: absolute;
    top:10px;
    right: 10px;
    cursor: pointer;
}
#display_layers .display-balnak .close-btn:hover {
    opacity: 0.5;
}
#display_layers .display-balnak .top-name {
    margin: 0 auto;
    background: #93ff2f;
    width:248px;
    border-radius: 0 0 10px 10px;
}
#display_layers .display-balnak .top-name .name {
    display: block;
    text-align: center;
    color: #000;
    font-size: 18px;
    font-family: 'GmarketSansM';
    font-weight: 500;
    padding: 13px 0 11px 0;
}
#display_layers .display-balnak .title-wrap, #display_layers .display-balnak .title-wrap p{
    font-family: 'GmarketSansM';
    color: #fff !important;
    text-align: center;
    font-size: 40px;
    line-height: 28px;
    letter-spacing: -0.7px;
    margin-top: 15px;
}
#display_layers .display-balnak .title-wrap .name {
    font-size: 32px;
}
#display_layers .display-balnak .title-wrap .name-c {
    font-family: 'GmarketSansB';
}
#display_layers .display-balnak .img-wrap {
    margin-top: 13px;
    text-align: center;
}
#display_layers .display-balnak .btn-wrap {
    width:100%;
    height: 70px;
    display: flex;
    font-family: 'GmarketSansM';
    font-size: 25px;
    text-align: center;
    line-height: 71px;
    cursor: pointer;
    position: relative;
}
#display_layers .display-balnak .left-btn {
    background: #000;
    width:50%;
    color: #fff;
    position: relative;
    line-height: 73px;
    font-family: 'GmarketSansM';
}
#display_layers .display-balnak .right-btn {
    background: #93ff2f;
    width:50%;
    font-family: 'GmarketSansM';
    font-size: 25px;
    text-align: center;
    line-height: 78px;
    cursor: pointer;
}
#display_layers .display-balnak .left-btn:hover {
    background: #616161;
    transition: 0.3s;
}
#display_layers .display-balnak .right-btn:hover {
    background: #fffe84;
    transition: 0.3s;
}
#display_layers .display-balnak .right-btn img {
    position: relative;
    top:-2px;
}
#display_layers .display-balnak .btn-txt {
    position: absolute;
    top:-37px;
    right:50px;
    font-size: 15px;
}
#display_layers .display-balnak .btn-txt .txt {
    background: #fffd3f;
    border-radius: 15px;
    height: 30px;
    padding: 7px 13px 5px 13px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    font-family: 'GmarketSansM';
    text-align: center;
    cursor: pointer;
}


/* ---------- 상담신청 컨텐츠 시작 ---------- */


#display_layers .display-balnak .contents-wrap {
    font-family: 'Noto Sans KR';
    font-weight: 400;
    position: relative;
    width:600px;
    height: 600px;
    background: #fff;
}
#display_layers .display-balnak .step2_container {
    padding: 50px 30px 0 30px;
}
#display_layers .display-balnak .calendar-wrap .title {
    font-family: 'GmarketSansB';
    font-size: 18px;
    border-bottom:1px solid #000;
    padding-bottom: 10px;

}
#display_layers .display-balnak .calendar-con {
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
    position: relative;
}
#display_layers .display-balnak .calendar-con p {
    font-size: 22px;
    font-family: 'GmarketSansM';
    text-align: center;
    padding:17px 0 0 15px;
}


#display_layers .display-balnak .arrow-wrap {
    position: relative;
    top:65px;
    left:0;
    font-size: 50px;
}
#display_layers .display-balnak .arrow-wrap .left-arrow {
    position: absolute;
    cursor: default;
    color: #cbcaca;
}
#display_layers .display-balnak .arrow-wrap .right-arrow {
    position: absolute;
    right: 0;
    cursor: default;
    color: #cbcaca;
}
#display_layers .display-balnak .arrow-wrap .active{
    cursor: pointer;
    color: #6f94f0;
}


/* 캘린더 */
#display_layers .display-balnak .week {
    color:#000;
    font-size: 17px;
    font-family: 'GmarketSansB';
}


#display_layers .display-balnak .calendar_wrap {
    display: flex;
    justify-content:center;
    width: 100%;
    margin-top: 15px;

}
#display_layers .display-balnak #calendar {
    width: 461px;
    font-family: 'Noto Sans KR';
    font-weight: 400;
    font-style: normal;
    font-weight: 500;
}

#display_layers .display-balnak #calendar_weekdays, :where(#display_layers .display-balnak) #calendar_content {
    position: relative;
    width: 461px;
    overflow: hidden;
    float: left;
    z-index: 10;
    font-size: 15px;
}

#display_layers .display-balnak #calendar_weekdays div, :where(#display_layers .display-balnak) #calendar_content .calendar_date {
    float: left;
    width: 65px;
    height: 34px;
    line-height: 34px;
    overflow: hidden;
    text-align: center;
    background: #FFFFFF;

}

#display_layers .display-balnak #calendar_content .calendar_date.calendar_day:hover {
    border-radius: 5px;
    background: #6f94f0;
    color: #fff;
    cursor: pointer;
}
#display_layers .display-balnak .seleted_date {
    border-radius: 5px;
    background: #6f94f0;
    color: #fff;
}
#display_layers .display-balnak .select-button.active.selected_time {
    background: #6f94f0;
    color: #fff;
    border: 1px solid #6f94f0;
    font-weight: bold;
    /*cursor: pointer;*/
}

#display_layers .display-balnak #calendar_content div.blank {
    color: #aaaaaa;
    /*cursor: pointer;*/
}
#display_layers .display-balnak #calendar_content div.non {
    color: #cbcaca;
    pointer-events: none;
}
#display_layers .display-balnak #calendar_content div.select {
    border-radius: 5px;
    background: #6f94f0;
    color: #fff;
}

#display_layers .display-balnak .input-wrap table {
    width:100%;
    margin-top: 10px;
}
#display_layers .display-balnak .input-wrap table th {
    width:140px;
    font-family: 'GmarketSansB';
    font-size: 18px;
    padding: 20px 0;
    text-align: left;
}
#display_layers .display-balnak .select-button {
    font-family: 'Noto Sans KR';
    font-style: normal;
    font-weight: 500;
    border:1px solid #cbcaca;
    background: #fff;
    font-size: 14px;
    width:100px;
    height: 40px;
    color: #cbcaca;
    cursor: default;
}
#display_layers .display-balnak .select-button.active {
    color: #000;
    border:1px solid #000;
    cursor: pointer;
}
#display_layers .display-balnak input[type="text"] {
    padding: 0;
}
#display_layers .display-balnak .input-num {
    border:1px solid #000;
    font-family: 'Noto Sans KR';
    font-style: normal;
    font-weight: 400;
    color: #666;
    font-size: 14px;
    height: 38px !important;
    width:100%;
    padding-left: 10px !important;
}
#display_layers .display-balnak .notice-txt {
    font-family: 'Noto Sans KR';
    font-style: normal;
    font-weight: 400;
    color: #666;
    font-size: 13px;
    position: relative;
    top:-5px;
    letter-spacing: -0.5px;
}
#display_layers .display-balnak .go-wrap {
    display: flex;
    width:100%;
    background: #6f94f0;
    height: 70px;
    line-height: 73px;
    justify-content: center;
    margin-top: 2px;
    cursor: pointer;
    color: #fff;
    font-family: 'GmarketSansM';
    font-size: 28px;
}
#display_layers .display-balnak .go-wrap:hover {
    background: #4a7cf8;
}

#display_layers .display-balnak-dialog .dialog_wrap{
    border: 1px solid;
}

#display_layers .display-balnak .calendar-con .month_title{
    font-size: 22px;
    font-family: 'GmarketSansM';
    text-align: center;
    padding: 17px 0 0 15px;
}
