/* BASIC css start */
/* ========================================
   문구대통령 아이디 / 비밀번호 찾기

   [실제 페이지]
   /shop/lostpass.html

   [메이크샵 디자인 파일]
   new_password.html

   [레이아웃]
   - 좌측 480px
   - 가운데 간격 120px
   - 우측 480px
   - 전체 1080px 가운데 정렬

   [기본 방향]
   - 로그인 페이지와 동일한 인증 UI 사용
   - 메이크샵 원본 form / 가상태그 기능 유지
======================================== */


/* ========================================
   기본
======================================== */

#findWrap,
#findWrap * {
    box-sizing: border-box;
}

#findWrap {
    width: 100%;
    padding: 70px 0 110px;
}

#findWrap form {
    margin: 0;
    padding: 0;
}


/* 화면에는 숨기고 스크린리더에는 제공 */
#findWrap .mk-auth-sr-only {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
}


/* ========================================
   전체 레이아웃

   480 + 120 + 480 = 1080px

   1400px 기준 좌우 여백 : 160px
   1230px 기준 좌우 여백 : 75px
======================================== */

#findWrap .mk-auth-layout {
    position: relative;
    display: grid;
    grid-template-columns: 480px 480px;
    justify-content: center;
    align-items: start;
    column-gap: 120px;
    width: 100%;
}


/* 가운데 세로 구분선 */
#findWrap .mk-auth-layout::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #eeeeee;
    transform: translateX(-50%);
    pointer-events: none;
}

#findWrap .mk-auth-main {
    min-width: 0;
}


/* ========================================
   아이디 찾기 / 비밀번호 찾기 탭

   로그인 페이지 탭과 동일
======================================== */

#findWrap .mk-auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    margin: 0 0 30px;
    border-bottom: 1px solid #dddddd;
}

#findWrap .mk-auth-tabs__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    color: #999999;
    font-size: 17px;
    font-weight: 500;
    text-align: center;
    text-decoration: none !important;
}

#findWrap .mk-auth-tabs__item:hover {
    color: #222222;
}

#findWrap .mk-auth-tabs__item.is-active {
    color: #111111;
    font-weight: 700;
}

#findWrap .mk-auth-tabs__item.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: #111111;
}


/* ========================================
   기존 찾기 영역 초기화

   기존 #findWrap 디자인의
   float / 고정폭 / 좌우 border를 사용하지 않음
======================================== */

#findWrap .find_idpw {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}


/*
 * 기본 진입은 아이디 찾기.
 *
 * 비밀번호 탭 활성화 시
 * JS에서 #find_pw를 표시함.
 */
#findWrap #find_pw {
    display: none;
}


/* ========================================
   설명문

   로그인 페이지와 동일
======================================== */

#findWrap .mk-auth-description {
    margin: 0 0 20px;
    padding: 0;
    color: #777777;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.3px;
}


/* ========================================
   찾기 방법

   이메일 / 휴대폰 / 본인인증
======================================== */

#findWrap .mk-auth-find-method {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 24px;
    margin: 0 0 20px;
    padding: 0;
    color: #444444;
    font-size: 15px;
    line-height: 1.4;
}

#findWrap .mk-auth-find-method label {
    display: inline-flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

#findWrap .mk-auth-find-method input {
    flex: 0 0 auto;
    margin: 0 7px 0 0;
    vertical-align: middle;
}


/* ========================================
   입력 영역
======================================== */

#findWrap .find-info {
    width: 100%;
}

#findWrap .mk-auth-find-fields {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

#findWrap .mk-auth-field {
    position: relative;
    width: 100%;
    margin: 0 0 10px;
    padding: 0;
}

#findWrap .mk-auth-field:last-child {
    margin-bottom: 0;
}


/* ========================================
   입력창 안내 label

   메이크샵 원본 페이지에서 사용하던
   label + input 구조를 그대로 유지.

   시각적으로는 로그인 페이지의
   placeholder와 동일하게 보이도록 처리.
======================================== */

#findWrap .mk-auth-field > label {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    margin: 0;
    padding: 0;
    color: #aaaaaa;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    cursor: text;
    transform: translateY(-50%);
}


/* ========================================
   입력창

   로그인 페이지와 동일
   - 높이 54px
   - radius 6px
   - font-size 16px
======================================== */

#findWrap .mk-auth-field input {
    display: block;
    width: 100%;
    height: 54px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    outline: 0;
    background: #ffffff;
    color: #222222;
    caret-color: #222222;
    font-family: inherit;
    font-size: 16px;
    line-height: normal;
}

#findWrap .mk-auth-field input:focus {
    border-color: #222222;
}

#findWrap .mk-auth-field input::placeholder {
    color: #aaaaaa;
}


/* ========================================
   버튼 영역
======================================== */

#findWrap .mk-auth-find-actions {
    margin: 16px 0 0;
    padding: 0;
}


/* 로그인 페이지 공통 버튼과 동일 */
#findWrap .mk-auth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    margin: 0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none !important;
}

#findWrap .mk-auth-button + .mk-auth-button {
    margin-top: 10px;
}


/* 아이디 찾기 / 임시 비밀번호 발급 */
#findWrap .mk-auth-button--primary {
    border: 1px solid #111111;
    background: #111111;
    color: #ffffff !important;
}

#findWrap .mk-auth-button--primary:hover {
    border-color: #333333;
    background: #333333;
}


/* 로그인 */
#findWrap .mk-auth-button--secondary {
    border: 1px solid #cccccc;
    background: #ffffff;
    color: #222222 !important;
}

#findWrap .mk-auth-button--secondary:hover {
    border-color: #999999;
    background: #fafafa;
}


/* ========================================
   본인인증 영역

   메이크샵 원본
   .info-ipin / .ipin-confirm
   구조 그대로 사용
======================================== */

#findWrap .info-ipin {
    width: 100%;
}

#findWrap .ipin-confirm {
    margin: 0;
    padding: 24px 0 0;
    border-top: 1px solid #eeeeee;
}

#findWrap .ipin-confirm dl,
#findWrap .ipin-confirm dt,
#findWrap .ipin-confirm dd {
    margin: 0;
    padding: 0;
}

#findWrap .ipin-confirm dt {
    color: #777777;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.3px;
}

#findWrap .ipin-confirm dd {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}


/* 메이크샵 본인인증 수단 버튼 */
#findWrap .ipin-confirm dd a.cbtn.form {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 100px;
    margin: 0;
    border: 1px solid #dddddd;
    border-radius: 6px;
    background: #ffffff;
    color: #333333 !important;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
}

#findWrap .ipin-confirm dd a.cbtn.form:hover {
    border-color: #999999;
}

#findWrap .ipin-confirm dd a.cbtn.form span {
    display: block;
    width: auto;
    height: auto;
    border: 0;
}

#findWrap .ipin-confirm dd a.cbtn.form img {
    width: 45px;
    height: 45px;
    margin: 0 0 6px;
    border: 0;
}


/* ========================================
   우측 프로모션

   로그인 페이지와 동일
======================================== */

#findWrap .mk-auth-promotion {
    align-self: center;
    width: 480px;
}


/* 대통령클럽 배너 */
#findWrap .mk-auth-promotion__link {
    display: block;
    overflow: hidden;
    width: 100%;
    border-radius: 6px;
    background: #f7f7f7;
    text-decoration: none !important;
}

#findWrap .mk-auth-promotion__image {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
}


/* ========================================
   대통령클럽 가입 유도

   로그인 페이지와 동일
======================================== */

#findWrap .mk-auth-promotion__cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    padding: 15px 0;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #ffffff;
    text-align: center;
    text-decoration: none !important;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

#findWrap .mk-auth-promotion__cta > span {
    margin-bottom: 5px;
    color: #777777;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

#findWrap .mk-auth-promotion__cta strong {
    color: #333333;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

#findWrap .mk-auth-promotion__cta em {
    color: #088983;
    font-style: normal;
    font-weight: 700;
}

#findWrap .mk-auth-promotion__cta:hover {
    border-color: #cbdad8;
    background: #fafcfb;
}









/* ========================================
   찾기 방법 선택
   - 하나의 세그먼트 버튼처럼 연결
======================================== */

#findWrap .mk-auth-find-method {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
}


/* 기본 선택 항목 */
#findWrap .mk-auth-find-method label {
    position: relative;
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 50px;
    margin: 0;
    padding: 0 14px;

    border: 1px solid #dddddd;
    border-radius: 0;

    background: #ffffff;
    color: #666666;

    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.3px;
    white-space: nowrap;

    cursor: pointer;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}


/* 첫 번째 항목은 왼쪽만 둥글게 */
#findWrap .mk-auth-find-method label:first-child {
    border-radius: 6px 0 0 6px;
}


/* 마지막 항목은 오른쪽만 둥글게 */
#findWrap .mk-auth-find-method label:last-child {
    border-radius: 0 6px 6px 0;
}


/*
 * 항목끼리 붙였을 때
 * 가운데 border가 2px로 보이지 않도록 겹침
 */
#findWrap .mk-auth-find-method label + label {
    margin-left: -1px;
}


/* 미선택 hover */
#findWrap .mk-auth-find-method label:hover {
    z-index: 1;
    border-color: #cccccc;
    background: #fafafa;
    color: #222222;
}


/* 실제 radio는 기능만 유지하고 숨김 */
#findWrap .mk-auth-find-method input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}


/* 선택된 항목 */
#findWrap .mk-auth-find-method label:has(input[type="radio"]:checked) {
    z-index: 2;
    border-color: #222222;
    background: #222222;
    color: #ffffff;
    font-weight: 600;
}


/* 선택된 항목 hover */
#findWrap .mk-auth-find-method label:has(input[type="radio"]:checked):hover {
    border-color: #333333;
    background: #333333;
    color: #ffffff;
}


/* 클릭 / 포커스 시 별도 외곽선 제거 */
#findWrap .mk-auth-find-method label:has(input[type="radio"]:focus) {
    outline: none;
}
/* BASIC css end */

