/* ============================================================
   landing-form 모달 (상담 신청 팝업) 전용 스타일

   - views/partials/landing-form.ejs 마크업과 1:1 매칭.
   - 이 partial 을 include 하는 모든 페이지(운영 program/detail,
     promotion/navipromotion, V2 program-v2/detail 의 cta_sticky 위젯
     사용 시)에서 같은 스타일을 공유하기 위해 분리.
   - 이 파일은 운영 페이지(prog.css 배열로 landing.css 가 이미 로드되는
     페이지)에서 partial 의 inline <link> 로 추가 로드되어도 무해 —
     동일 셀렉터를 두 번 정의해도 충돌이 없도록 단일 소스.

   - 원본: web/assets/css/landing.css 의 섹션 14 / 15 / 18 일부
     (2026-05-12 분리). landing.css 에서는 동일 블록 제거됨.

   - displaynone 유틸은 운영 다른 곳에서도 쓰일 수 있어 landing.css 에
     원본 유지하고 여기엔 두지 않음.
   ============================================================ */

/* ============= 14. 이벤트 팝업 (폼 모달) ============= */

.event_pop_bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.65);
}

#event_pop {
    position: relative;
    transform: none;
    padding: 0 0;
    width: auto;
    height: auto;
    overflow: visible;
    background: none;
    color: #3c3c3c;
    font-family: "Noto Sans KR", "맑은 고딕", Verdana, Dotum, AppleGothic, sans-serif;
    font-weight: 300;
    opacity: 0;
    visibility: hidden;
}

#event_pop.open {
    transform: none;
    opacity: 1;
    visibility: visible;
}

#event_pop .inwrap {
    overflow: visible;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 700px;
    padding: 23px 28px;
    background: #fff;
    border-radius: 25px;
    box-sizing: border-box;
    z-index: 2001;
}

#event_pop .inwrap form .ms-form-inner-data .ms-form-close {
    position: static;
    top: 15px;
    right: 15px;
    border-radius: 50%;
    padding: 5px;
    width: 30px;
    margin: 0 0 30px auto;
    cursor: pointer;
}

#event_pop .inwrap form .ms-form-inner-data .ms-form-close>svg {
    width: 25px;
}

#event_pop .inwrap form .ms-form-inner-data .ms-inner-text {
    text-align: center;
}

#event_pop .inwrap form .ms-form-inner-data .ms-inner-text .promotion {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #FF1F00;
    margin-bottom: 15px;
    font-family: "Neue Haas Unica Pro" !important;
}

#event_pop .inwrap form .ms-form-inner-data .ms-inner-text .leadCopy {
    font-size: 18px;
    letter-spacing: -0.03em;
    font-weight: 400;
}

#event_pop .inwrap form .ms-form-inner-data .ms-inner-text .ms-form-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px;
    line-height: 1.4;
}

#event_pop .inwrap form .ms-form-inner-data .frow {
    font-size: 0;
}

#event_pop .inwrap form .ms-form-inner-data .frow.info {
    margin-top: 35px;
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom {
    position: relative;
    margin: 15px auto 0;
    width: 215px;
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom .select-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    padding: 0 12px 0 15px;
    border: 0.75px solid #dfdfdf;
    border-radius: 5px;
    cursor: pointer;
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom .select-button>strong {
    display: block;
    width: calc(100% - 13px);
    font-size: 15px;
    font-weight: 400;
    color: #3c3c3c;
    white-space: nowrap;
    overflow: hidden;
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom .select-button>span>svg {
    width: 13px;
    stroke: rgba(60, 60, 60, 0.76);
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom.on .select-button>span>svg {
    transform: rotate(180deg);
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom .select-list {
    position: absolute;
    top: calc(100% - 5px);
    left: 0;
    width: 100%;
    padding: 13px 0;
    border: 0.75px solid #dfdfdf;
    border-radius: 5px;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition: .5s;
    z-index: 1;
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom.on .select-list {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 5px);
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom .select-list>li {
    padding: 7px 14px;
    margin-bottom: 6px;
    font-size: 15px;
    color: #3c3c3c;
    line-height: 1;
    font-weight: 400;
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom .select-list>li:last-child {
    margin-bottom: 0;
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom .select-list>li.on {
    background: #f6f6f6;
}

#event_pop .inwrap form .ms-form-inner-data .frow.ms-number {
    margin-top: 40px;
}

#event_pop .inwrap form .ms-form-inner-data .frow input[type="text"] {
    width: 100%;
    height: 40px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #cccccc;
    font-size: 16px;
    color: #3c3c3c;
    background: #fff;
}

#event_pop .inwrap form .ms-form-inner-data .frow input[type="text"]::placeholder {
    color: #c8c8c8;
}

#event_pop .inwrap form .ms-form-inner-data .ms-checkbox-wr {
    margin-top: 56px;
}

#event_pop .inwrap form .ms-form-inner-data .ms-checkbox-wr .checkbox label {
    padding-left: 30px;
    font-weight: 400;
    font-size: 15px;
}

#event_pop .alert_msg {
    display: none;
    padding-top: 11px;
    font-size: 16px;
    color: #ff0000;
}

#event_pop .frow p.caution {
    font-size: 13px;
    color: #3c3c3c;
    line-height: 26px;
}

#event_pop .ms-submit-btn {
    width: 35.7vw !important;
    max-width: 250px !important;
    height: 10.8vw;
    max-height: 73px;
    margin: 60px auto 0;
}

#event_pop .ms-submit-btn input[type="submit"] {
    display: block;
    width: 100%;
    height: 100%;
    background: url(/assets/img/contents_submit_img_new_2.webp) no-repeat center center/100%;
    font-size: 0;
    cursor: pointer;
}

/* ============= 15. 체크박스 (모달 내부에서 사용) ============= */

.checkbox {
    position: relative;
    height: 20px;
    letter-spacing: -0em;
}

.checkbox+.checkbox {
    margin-top: 10px;
}

.checkbox input {
    position: absolute;
    left: 0;
    top: 50%;
    width: 15px;
    height: 15px;
    margin-top: -8px;
    opacity: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: 0;
}

.checkbox label {
    padding-left: 37px;
    font-size: 16px;
    color: #3c3c3c;
    line-height: 20px;
}

.checkbox label:before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 15px;
    height: 15px;
    margin-top: -8px;
    border: 1px solid #636363;
    content: "";
}

.checkbox input:checked+label:before {
    border: 0;
    background: url("/assets/img/icon_checkbox.webp") no-repeat center;
    background-size: 100% auto;
}

.checkbox input:focus+label:before {
    outline: 1px dotted #000;
}

.checkbox.q1 {
    width: 49% !important;
    margin-top: 15px;
    display: inline-block;
}

/* ============= 18. 반응형 (모달) ============= */

@media all and (max-width: 700px) {
    #event_pop .inwrap {
        height: 100%;
        border-radius: 0;
        padding: 30px 28px 0;
        overflow-y: scroll;
    }

    #event_pop .inwrap::-webkit-scrollbar {
        display: none;
    }
}
