@charset "utf-8";
/* 관심고객등록 팝업 (분양비서) — 목동윤슬자이.
   사이트 정본 CSS(Content/cms/css/common.css · style_regular2.css)에 리셋이 없어(normalize 주석 처리)
   팝업 내부 요소는 여기서 스코프 리셋을 직접 건다. 모든 선택자는 #lead-popup 하위로 한정한다.
   토큰: 본문 notokr-regular / 강조 notokr-medium, 주색 #006899(자이 블루), 헤더 #222.
   z-index: 정본 최대치가 .movie_layer 1010 이라 그 위(100000)로 올린다. */

#lead-popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    box-sizing: border-box;
    padding: 24px 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(16, 18, 20, 0.68);
    font-family: 'notokr-regular', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    text-align: left;
}

#lead-popup.is-open {
    display: block;
}

#lead-popup * {
    box-sizing: border-box;
}

#lead-popup .lp-panel {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

/* 세로로 짧은 화면에서도 카드가 화면 밖으로 밀리지 않게 위쪽 정렬 + 여백 확보 */
@media screen and (min-height: 720px) {
    #lead-popup .lp-panel {
        margin-top: 4vh;
    }
}

/* head */
#lead-popup .lp-head {
    position: relative;
    padding: 22px 56px 20px 24px;
    background: #222;
}

#lead-popup .lp-title {
    margin: 0;
    padding: 0;
    font-family: 'notokr-medium', 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
    font-size: 20px;
    font-weight: normal;
    line-height: 1.3;
    letter-spacing: 0.02em;
    color: #fff;
}

#lead-popup .lp-sub {
    margin: 6px 0 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #c9ced1;
}

#lead-popup .lp-close {
    position: absolute;
    right: 10px;
    top: 12px;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 24px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
}

#lead-popup .lp-close:hover,
#lead-popup .lp-close:focus {
    background: rgba(255, 255, 255, 0.14);
    outline: none;
}

#lead-popup .lp-close:focus-visible {
    outline: 2px solid #7fc4e8;
    outline-offset: -2px;
}

/* body / form */
#lead-popup .lp-body {
    padding: 22px 24px 26px;
}

#lead-popup .lp-form {
    margin: 0;
}

#lead-popup .lp-field {
    margin-bottom: 14px;
}

#lead-popup .lp-label {
    display: block;
    margin: 0 0 7px;
    font-size: 13px;
    line-height: 1.4;
    color: #444;
}

#lead-popup .lp-label .lp-req {
    color: #c0392b;
    margin-left: 2px;
}

#lead-popup .lp-input {
    display: block;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #d2d6d8;
    border-radius: 3px;
    background: #fff;
    color: #111;
    font-family: inherit;
    font-size: 16px;
    line-height: 48px;
    -webkit-appearance: none;
    appearance: none;
}

#lead-popup .lp-input::-webkit-input-placeholder { color: #a9b0b4; }
#lead-popup .lp-input::placeholder { color: #a9b0b4; }

#lead-popup .lp-input:focus {
    border-color: #006899;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 104, 153, 0.18);
}

/* 개인정보 동의 */
#lead-popup .lp-consent {
    margin: 16px 0 18px;
    padding: 12px 14px;
    background: #f5f7f8;
    border: 1px solid #e3e7e9;
    border-radius: 3px;
}

#lead-popup .lp-agree {
    display: block;
    position: relative;
    margin: 0;
    padding-left: 26px;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    cursor: pointer;
}

#lead-popup .lp-agree input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 1px;
    width: 17px;
    height: 17px;
    margin: 0;
    padding: 0;
    accent-color: #006899;
    cursor: pointer;
}

#lead-popup .lp-agree .lp-req {
    color: #c0392b;
}

#lead-popup .lp-terms {
    margin: 8px 0 0;
    padding-left: 26px;
}

#lead-popup .lp-terms > summary {
    display: inline-block;
    font-size: 12px;
    line-height: 1.5;
    color: #006899;
    text-decoration: underline;
    cursor: pointer;
    list-style: none;
}

#lead-popup .lp-terms > summary::-webkit-details-marker {
    display: none;
}

#lead-popup .lp-terms > summary:focus-visible {
    outline: 2px solid #006899;
    outline-offset: 2px;
}

#lead-popup .lp-terms-body {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    line-height: 1.7;
    color: #5a6266;
}

#lead-popup .lp-terms-body li {
    margin: 0;
    padding: 0;
}

/* submit */
#lead-popup .lp-submit {
    display: block;
    width: 100%;
    height: 54px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: #006899;
    color: #fff;
    font-family: 'notokr-medium', 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
    font-size: 16px;
    line-height: 54px;
    letter-spacing: 0.02em;
    text-align: center;
    cursor: pointer;
    transition: background .2s;
    -webkit-appearance: none;
    appearance: none;
}

#lead-popup .lp-submit:hover,
#lead-popup .lp-submit:focus {
    background: #005479;
    outline: none;
}

#lead-popup .lp-submit:focus-visible {
    outline: 2px solid #222;
    outline-offset: 2px;
}

#lead-popup .lp-submit:disabled {
    opacity: .6;
    cursor: default;
}

#lead-popup .lp-tel-note {
    margin: 14px 0 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    text-align: center;
}

#lead-popup .lp-tel-note a {
    color: #222;
    font-family: 'notokr-medium', 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
    text-decoration: none;
}

#lead-popup .lp-tel-note a:hover {
    text-decoration: underline;
}

/* 완료 화면 */
#lead-popup .lp-done {
    padding: 22px 0 8px;
    text-align: center;
}

#lead-popup .lp-done-mark {
    display: block;
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #006899;
    color: #fff;
    font-size: 26px;
    line-height: 54px;
    text-align: center;
}

#lead-popup .lp-done strong {
    display: block;
    margin: 0 0 8px;
    font-family: 'notokr-medium', 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
    font-size: 19px;
    font-weight: normal;
    line-height: 1.4;
    color: #1c1e1f;
}

#lead-popup .lp-done p {
    margin: 0 0 20px;
    padding: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

#lead-popup .lp-done-tel {
    display: block;
    height: 52px;
    border: 1px solid #222;
    border-radius: 3px;
    color: #222;
    font-family: 'notokr-medium', 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
    font-size: 16px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
}

#lead-popup .lp-done-tel:hover {
    background: #222;
    color: #fff;
}

/* 스크롤 잠금 — body 를 고정해 배경이 맨 위로 튀는 걸 막는다. top/width 는 JS 가 인라인으로 준다. */
html.lp-locked {
    overflow: hidden !important;
}

body.lp-locked {
    position: fixed !important;
    left: 0 !important;
    overflow: hidden !important;
}

/* 모바일 */
@media screen and (max-width: 480px) {
    #lead-popup {
        padding: 16px;
    }

    #lead-popup .lp-panel {
        max-width: none;
        margin-top: 0;
    }

    #lead-popup .lp-head {
        padding: 18px 52px 16px 18px;
    }

    #lead-popup .lp-title {
        font-size: 18px;
    }

    #lead-popup .lp-sub {
        font-size: 12px;
    }

    #lead-popup .lp-body {
        padding: 18px 18px 22px;
    }
}
