/*
 * 통합 레이어/배너 — 메인과 입찰교육 화면에 **같이** 뜨는 입찰교육 레이어 4종의 조각 스타일 (건·전 공용).
 * 싣는 곳 = 사이트 레이아웃 — 55·56·57 은 메인 + 수강후기, 65 는 메인 + 강의일정에 뜬다.
 * 입찰교육 화면에만 뜨는 조각(1213·1214·1215·1252)은 `slots-ebei.css`(입찰교육 화면이 싣는다)에 있다.
 *
 * 원문 = 조각 안 `<style>`(구 판·통합 판이 같은 조각 — 건·전 같음)
 *   + 조각이 기대던 원문 공통 규칙(`resource/common/css/common.css` — `.clickButton :44` · `.ta-c/.ta-r :62-63` · `.wd-200 :194` · `input[type=text] :2`).
 * 선택자는 조각 루트 클래스(`.display-{조각}`) 아래로 가뒀다 — 원문 57 은 표 클래스·`:focus` 를 전역으로 걸었다.
 */

/* ⚠ 재구축 레이아웃은 `* { box-sizing: border-box }`(`css/{site}/layout.css:126`)다 — 원문은 기본값(content-box)이라 안쪽 여백을 가진 상자
 * (56·57 표 상자 `height 140/180 + padding-top 30`)가 30px 줄어든다. 표·폼이 있는 세 조각 안을 브라우저 기본값으로 되돌린다(`revert` —
 * 상자는 content-box · select·button·체크박스는 브라우저 기본 border-box 그대로 = 원문 세계).
 * 원문이 `border-box` 를 명시한 규칙은 아래에서 더 구체적인 선택자로 다시 이긴다. 그림만 있는 65 는 안쪽 여백 상자가 없어 손대지 않았다. */
#display_layers .display-ebei-review *,
#display_layers .display-ebei-lecture-delay *,
#display_layers .display-ebei-coupon-expiration * { box-sizing: revert; }

/* ── 사이트 활용교육 홍보(65) ── */
#display_layers .display-site-edu-use #layer_bidedu { clear: both; width: 600px; height: 600px; margin: 0; }
#display_layers .display-site-edu-use #layer_bidedu .content { width: 600px; height: 600px; position: relative; background: url('/images/shared/display/site-edu-use/bg_layer.png') no-repeat center/cover; }
#display_layers .display-site-edu-use #layer_bidedu .content .btn-close {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 0;
    right: 0;
    background: url('/images/shared/display/site-edu-use/btn_close_off.png') no-repeat center/cover;
    cursor: pointer;
    transition: all 0.2s;
}
#display_layers .display-site-edu-use #layer_bidedu .content .btn-close:hover,
#display_layers .display-site-edu-use #layer_bidedu .content .btn-close:focus { background: url('/images/shared/display/site-edu-use/btn_close_on.png') no-repeat center/cover; }
#display_layers .display-site-edu-use #layer_bidedu .content .btn-lower {
    width: 600px;
    height: 80px;
    position: absolute;
    bottom: 0;
    background: url('/images/shared/display/site-edu-use/btn_lower_off.png') no-repeat center/cover;
    cursor: pointer;
    transition: all 0.2s;
}
#display_layers .display-site-edu-use #layer_bidedu .content .btn-lower:hover,
#display_layers .display-site-edu-use #layer_bidedu .content .btn-lower:focus { background: url('/images/shared/display/site-edu-use/btn_lower_on.png') no-repeat center/cover; }

/* ── 연기 건 안내(56) ── */
#display_layers .display-ebei-lecture-delay #delay_lecture_refund_N { position: relative; height: 600px; }
#display_layers .display-ebei-lecture-delay #delay_lecture_refund_N .logo_box { position: absolute; top: 10px; left: 10px; }
#display_layers .display-ebei-lecture-delay #delay_lecture_refund_N .close_box { position: absolute; top: 10px; right: 10px; transition: transform 1s; }
#display_layers .display-ebei-lecture-delay #delay_lecture_refund_N .close_box:hover { transform: rotate(180deg); }
#display_layers .display-ebei-lecture-delay .layer_bg_g { position: absolute; width: 600px; height: 600px; background: url('/images/shared/display/ebei-lecture-delay/layer_bg.png') no-repeat center; }
#display_layers .display-ebei-lecture-delay .title_box { text-align: center; margin-top: 70px; }
#display_layers .display-ebei-lecture-delay .delay_lecture_list { width: 490px; margin: 0 auto; }
#display_layers .display-ebei-lecture-delay .fixed_table_container { position: absolute; top: 50%; padding-top: 30px; margin: 0 auto; width: 490px; height: 140px; background: #fff; }
#display_layers .display-ebei-lecture-delay .fixed_table_header_bg { position: absolute; top: 0; right: 0; left: 0; height: 30px; background: #e7e7e7; box-sizing: border-box; text-align: center; }
#display_layers .display-ebei-lecture-delay .fixed_table_wrap { overflow-x: hidden; overflow-y: auto; height: 100%; }
#display_layers .display-ebei-lecture-delay table.fixed_table { width: 100%; border-collapse: collapse; }
#display_layers .display-ebei-lecture-delay table.fixed_table th { padding: 0; text-align: center; font-weight: bold; }
#display_layers .display-ebei-lecture-delay table.fixed_table .th_text { position: absolute; top: 0; width: inherit; line-height: 30px; }
#display_layers .display-ebei-lecture-delay table.fixed_table td {
    font-family: 돋움, Dotum, AppleSDGothicNeo-Regular, '맑은 고딕', 'Malgun Gothic', 나눔고딕, 굴림, Gulim, 'Apple SD Gothic Neo', sans-serif, verdana;
    border-bottom: 1px solid #e7e7e7;
    height: 47px;
    padding: 8px;
    box-sizing: border-box;
    font-size: 12px;
    text-align: center;
    background: #fff;
}
#display_layers .display-ebei-lecture-delay table.fixed_table td span.red { color: #f00; }
#display_layers .display-ebei-lecture-delay .fixed_table_wrap::-webkit-scrollbar { width: 10px; }
#display_layers .display-ebei-lecture-delay .fixed_table_wrap::-webkit-scrollbar-thumb { background: #e7e7e7; border-radius: 10px; background-clip: padding-box; border: 2px solid transparent; }
#display_layers .display-ebei-lecture-delay .fixed_table_wrap::-webkit-scrollbar-track { background: #fff; }
#display_layers .display-ebei-lecture-delay .delay_lecture_list p { padding-top: 15px; text-align: right; font-size: 12px; letter-spacing: -0.5px; color: #fff; }
#display_layers .display-ebei-lecture-delay #delay_lecture_refund_N .btn_event { position: absolute; width: 100%; height: 60px; bottom: 0; }
#display_layers .display-ebei-lecture-delay :focus { outline: none; }
#display_layers .display-ebei-lecture-delay button { width: 100%; height: 60px; background: #008df1 url('/images/shared/display/ebei-lecture-delay/btn_img.png') center no-repeat; }
#display_layers .display-ebei-lecture-delay button:hover { background: #a9fffe url('/images/shared/display/ebei-lecture-delay/btn_img_on.png') center no-repeat; }

/* ── 쿠폰 만료 안내(57) ── */
#display_layers .display-ebei-coupon-expiration .clickButton { cursor: pointer; }
#display_layers .display-ebei-coupon-expiration #goodbye_coupon { position: relative; width: 600px; height: 600px; }
#display_layers .display-ebei-coupon-expiration #goodbye_coupon .close_box { position: absolute; top: 12px; right: 12px; transition: transform 1s; }
#display_layers .display-ebei-coupon-expiration #goodbye_coupon .close_box:hover { transform: rotate(180deg); }
#display_layers .display-ebei-coupon-expiration #goodbye_coupon .layer_bg { position: absolute; width: 600px; height: 600px; background: url('/images/shared/display/ebei-coupon-expiration/layer_bg.png') no-repeat; }
#display_layers .display-ebei-coupon-expiration .goodbye_coupon_list { position: absolute; top: 245px; left: 30px; }
#display_layers .display-ebei-coupon-expiration .goodbye_coupon_list h2 { position: absolute; }
#display_layers .display-ebei-coupon-expiration .fixed_table_container { position: absolute; top: 35px; padding-top: 30px; margin: 0 auto; width: 540px; height: 180px; }
#display_layers .display-ebei-coupon-expiration .fixed_table_header_bg { position: absolute; top: 0; right: 0; left: 0; height: 30px; background: #e7e7e7; border-radius: 5px 5px 0 0; box-sizing: border-box; text-align: center; }
#display_layers .display-ebei-coupon-expiration .fixed_table_wrap { overflow-x: hidden; overflow-y: auto; height: 100%; border-radius: 0 0 5px 5px; }
#display_layers .display-ebei-coupon-expiration table.fixed_table { width: 100%; border-collapse: collapse; }
#display_layers .display-ebei-coupon-expiration table.fixed_table th { padding: 0; text-align: center; font-weight: bold; }
#display_layers .display-ebei-coupon-expiration table.fixed_table .th_text { position: absolute; top: 0; width: inherit; line-height: 30px; }
#display_layers .display-ebei-coupon-expiration table.fixed_table td { border-bottom: 1px solid #e7e7e7; height: 30px; padding: 6px 8px; box-sizing: border-box; font-size: 11px; text-align: center; background: #fff; }
#display_layers .display-ebei-coupon-expiration table.fixed_table td span.blue_color { color: #007eff; }
#display_layers .display-ebei-coupon-expiration table.fixed_table td span.red_color { color: #f00; }
#display_layers .display-ebei-coupon-expiration .fixed_table_wrap::-webkit-scrollbar { width: 10px; }
#display_layers .display-ebei-coupon-expiration .fixed_table_wrap::-webkit-scrollbar-thumb { background: #e7e7e7; border-radius: 10px; background-clip: padding-box; border: 2px solid transparent; }
#display_layers .display-ebei-coupon-expiration .fixed_table_wrap::-webkit-scrollbar-track { background: #fff; }
#display_layers .display-ebei-coupon-expiration .goodbye_coupon_list p { margin-top: 5px; font-size: 11px; color: #414042; }
#display_layers .display-ebei-coupon-expiration #goodbye_coupon .btn_event { position: absolute; height: 50px; bottom: 30px; left: 30px; overflow: hidden; }
#display_layers .display-ebei-coupon-expiration :focus { outline: none; }
#display_layers .display-ebei-coupon-expiration button.btn_couponbox { width: 265px; height: 50px; background: url('/images/shared/display/ebei-coupon-expiration/btn_couponbox.png') no-repeat; margin-right: 10px; }
#display_layers .display-ebei-coupon-expiration button.btn_class { width: 265px; height: 50px; background: url('/images/shared/display/ebei-coupon-expiration/btn_class.png') no-repeat; }

/* ── 수강후기 작성(55) ── */
#display_layers .display-ebei-review .clickButton { cursor: pointer; }
#display_layers .display-ebei-review .ta-c { text-align: center !important; }
#display_layers .display-ebei-review .ta-r { text-align: right !important; }
#display_layers .display-ebei-review .wd-200 { width: 200px !important; }
#display_layers .display-ebei-review input[type="text"] { border: 1px solid #aab6cb; }
#display_layers .display-ebei-review input[type="radio"] { margin: 0 5px 2px 0; } /* 원문 전역 `common_layout.css:59` — 2단계 선택 칸 */
#display_layers .display-ebei-review .review_write { background-color: white; box-sizing: border-box; }
#display_layers .display-ebei-review #review_write_layer > header { padding: 0; box-sizing: border-box; }
#display_layers .display-ebei-review #review_write_layer > header div.close { cursor: pointer; position: absolute; width: 20px; height: 20px; top: 20px; right: 20px; }
#display_layers .display-ebei-review #review_write_layer > header div.close::before,
#display_layers .display-ebei-review #review_write_layer > header div.close::after { position: absolute; width: 28px; height: 2px; border-radius: 4px; background-color: #0d2e7f; content: ""; top: 9px; left: -4px; }
#display_layers .display-ebei-review #review_write_layer > header div.close::before { transform: rotate(45deg); }
#display_layers .display-ebei-review #review_write_layer > header div.close::after { transform: rotate(-45deg); }

#display_layers .display-ebei-review .review_write.step1 > section { width: 600px; height: 400px; padding: 65px 10px 23px; box-sizing: border-box; }
#display_layers .display-ebei-review .review_write.step2 > section { width: 600px; height: 400px; padding: 60px 10px 23px; box-sizing: border-box; }
#display_layers .display-ebei-review .review_write.step3 > section { width: 600px; height: 400px; padding: 20px; box-sizing: border-box; }
#display_layers .display-ebei-review .review_write.step4 > section { width: 600px; height: 400px; padding: 70px 10px 23px; box-sizing: border-box; }
#display_layers .display-ebei-review .review_write > section article { position: relative; box-sizing: border-box; border: 1px solid #dcddde; margin-top: 10px; text-align: center; }
#display_layers .display-ebei-review .review_write > section article:first-of-type { margin-top: 0; }
#display_layers .display-ebei-review .review_write > section article.border-less { border: none; }
/* 4단계 「등록 완료」 글 상자 — 바로 아래 footer 규칙과 무게가 같아 순서로 진다(버튼 줄은 8px · 원문 순서와 같다). */
#display_layers .display-ebei-review .review_write.step4 > section article { padding: 60px 0; font-size: 14px; line-height: 20px; }
#display_layers .display-ebei-review .review_write > section article.footer { padding: 8px 0; }
#display_layers .display-ebei-review .review_write .body_header { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); }
#display_layers .display-ebei-review .review_write .coupon_ul { margin: 50px auto 30px; display: inline-block; }
#display_layers .display-ebei-review .review_write .coupon_ul li { float: left; cursor: pointer; }
#display_layers .display-ebei-review .review_write .coupon_ul li:first-of-type { margin-right: 16px; }
#display_layers .display-ebei-review .dev-tools { position: absolute; left: 50%; transform: translateX(-50%) 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; text-align: left; z-index: 1; }
#display_layers .display-ebei-review .dev-tools label { margin-right: 10px; cursor: pointer; }

#display_layers .display-ebei-review .review_write.step3 .body_wrap { padding-top: 0; }
#display_layers .display-ebei-review .review_write.step3 .body_wrap table { width: 100%; border-top: 1px solid #333333; }
#display_layers .display-ebei-review .review_write.step2 .body_wrap table tr,
#display_layers .display-ebei-review .review_write.step3 .body_wrap table tr { height: 30px; }
#display_layers .display-ebei-review .review_write.step2 .body_wrap table th,
#display_layers .display-ebei-review .review_write.step2 .body_wrap table td,
#display_layers .display-ebei-review .review_write.step3 .body_wrap table th,
#display_layers .display-ebei-review .review_write.step3 .body_wrap table td { border-bottom: 1px solid #dddddd; font-size: 12px; }
#display_layers .display-ebei-review .review_write.step2 .body_wrap table th,
#display_layers .display-ebei-review .review_write.step3 .body_wrap table th { background-color: #f2f3f6; font-weight: 500; padding: 5px; }
#display_layers .display-ebei-review .review_write.step3 .body_wrap table td { text-align: left; padding: 5px; }
#display_layers .display-ebei-review .review_write.step3 .body_wrap textarea { font-size: 12px; padding: 10px; }
#display_layers .display-ebei-review .review_write.step3 .body_wrap input { padding: 2px 10px; box-sizing: border-box; margin: 0; font-size: 12px; }
#display_layers .display-ebei-review .review_write.step3 .body_wrap .es_select select { font-size: 12px; padding: 4px 30px 4px 8px; }
#display_layers .display-ebei-review div.es_select { position: relative; display: inline-block; }

#display_layers .display-ebei-review .review_write.step3 .body_wrap .start_wrap { width: 100%; position: relative; cursor: pointer; }
#display_layers .display-ebei-review .review_write.step3 .body_wrap .start_wrap .start_sel_wrap { width: 100%; border: 1px solid #dddddd; padding: 2px 10px 5px; box-sizing: border-box; }
/* 펼침 화살표 — 원문 = Font Awesome 4.2 글리프 `\f0d7`(원문 조각 규칙 · 글꼴 `font_awesome.min.css` → `/resource/common/font/fontawesome/fontawesome-webfont.woff?v=4.2.0`).
   그 파일을 `public/fonts/fontawesome-4.2.0/` 로 옮겨 이 조각 안으로만 선언한다(6.4.2 판 `FontAwesome6Solid-main` 과 같은 방식 · 4 판과 6 판은 글자 모양이 달라 6 판을 쓰지 않는다). */
@font-face { font-family: 'FontAwesome4-ebei-review'; font-style: normal; font-weight: normal; font-display: block; src: url('/fonts/fontawesome-4.2.0/fontawesome-webfont.woff') format('woff'); }
#display_layers .display-ebei-review .review_write.step3 .body_wrap .start_wrap .start_sel_wrap::before {
    content: "\f0d7";
    color: #000000;
    width: 6px;
    height: 6px;
    position: absolute;
    top: 8px;
    right: 12px;
    font-family: 'FontAwesome4-ebei-review';
    pointer-events: none;
    font-weight: 900;
}
#display_layers .display-ebei-review .review_write.step3 .body_wrap .start_wrap .start_sel_wrap .start_sel { width: 100%; }
#display_layers .display-ebei-review .review_write.step3 .body_wrap .start_wrap .start_item_wrap { margin-top: -1px; position: absolute; }
#display_layers .display-ebei-review .review_write.step3 .body_wrap .start_wrap .start_item_wrap .start_item { width: 100%; padding: 4px 10px 8px; }
#display_layers .display-ebei-review .review_write.step3 .body_wrap .start_wrap img { width: 16px; }
#display_layers .display-ebei-review .review_write.step3 .body_wrap .start_wrap .start_sel_wrap,
#display_layers .display-ebei-review .review_write.step3 .body_wrap .start_wrap .start_item_wrap { width: 100%; border: 1px solid #dddddd; box-sizing: border-box; background: white; }

/* ── 미리보기 버튼 줄 ──
 * 화면 왼쪽 아래 고정 · 하단 띠(높이 80)보다 위 · 덮개·레이어보다 위(열린 채로 다른 버튼을 누를 수 있게). */
.display-dev-preview {
    position: fixed;
    left: 10px;
    bottom: 90px;
    z-index: 1000001;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    border: 2px dashed #e5484d;
    background: rgba(255, 255, 255, 0.95);
    font-size: 12px;
}
.display-dev-preview strong { color: #e5484d; }
.display-dev-preview button { padding: 4px 8px; border: 1px solid #999; background: #fff; text-align: left; cursor: pointer; }
.display-dev-preview button:hover { background: #fff2f2; }
.display-dev-preview button:disabled { color: #999; background: #f4f4f4; cursor: default; }
.display-dev-preview button.is-not-ported { border-style: dashed; }
/* 버튼이 많은 화면(메인 24) — 화면 높이를 넘으면 상자 안에서 스크롤 */
.display-dev-preview { max-height: calc(100vh - 120px); overflow-y: auto; }
/* 갈래 탭 줄 — 갈래가 여럿인 레이어 바로 위. 그리는 것 = `js/shared/display/layer-preview.js`(body 끝 · 위치는 JS 가 레이어 상자에 맞춘다) · 레이어보다 위 */
.display-dev-variant-tabs {
    position: absolute;
    z-index: 1000002;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: calc(100vw - 8px);
    padding: 4px;
    border: 2px dashed #e5484d;
    background: rgba(255, 255, 255, 0.95);
    font-size: 12px;
    box-sizing: border-box;
}
.display-dev-variant-tabs button { padding: 4px 10px; border: 1px solid #999; background: #fff; cursor: pointer; }
.display-dev-variant-tabs button:hover { background: #fff2f2; }
.display-dev-variant-tabs button.is-current { color: #fff; border-color: #e5484d; background: #e5484d; font-weight: bold; }
