/*******************************************************
member :: 공통
*******************************************************/
.member-area { width: 100%; margin: 0 auto; } 

@media screen and (max-width: 1024px) {
    #contents:has( .member-area) {
        padding: 30px 0 32px;
    }
    .member-area label {
        font-size: 12px;
    }
}

/*******************************************************
member :: 로그인 영역
*******************************************************/
.login-area { max-width: 500px; } 
.login-field + .login-field { margin-top: 20px; } 
.login-buttons button, .login-buttons a { width: 100%; } 
.login-buttons { gap: 12px; } 
.login-save { gap: 6px; margin: 12px 0 30px; padding: 0; } 
.login-links { justify-content: center; gap: 32px; margin: 12px 0 30px; } 
.login-links a { position: relative; } 
.login-links a:after { content: ""; display: block; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); width: 1px; height: 14px; background-color: var(--gray-2); } 
.login-links a:last-child:after { display: none; }
.login-social { gap: 12px; } 
.login-social a { gap: 12px; width: 100%; } 

@media screen and (max-width: 1024px) {
    body:has(.member-area):not(:has(.join-complete)) #site-footer {
        display: none;
    }
    .login-page {
        padding: 0 16px;
    }
    .login-field {
        gap: 0;
    }
    .login-buttons button, .login-buttons a {
        padding: 10px 24px;
        font-size: 14px;
    }
    .login-options {
        flex-direction: column;
        align-items: start;
        gap: 16px;
    }
    .login-save {
        margin: 20px 0 24px;
    }
    .login-links {
        justify-content: center;
        gap: 32px;
        width: 100%;
        margin: 16px 0 30px;
        padding: 0 9px;
    }
    .login-social,
    .login-buttons {
        gap: 8px;
    }
    .login-links a:after {
        right: -16px;
    }
    #contents:has( .member-area) .title-center {
        display: none;
    }
}

/*******************************************************
member :: 회원가입 영역
*******************************************************/
.join-area { max-width: 700px; } 
.join-required-info {
    padding: 10px 4px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E7E5E4;
}
.join-required-info__text {
    display: inline-block;
    position: relative;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
}
.join-required-info__text .required {
    display: inline-block;
    position: absolute;
    right: -6px;
    top: 1px;
    width: 4px;
    height: 4px;
    border-radius: 100%;
    text-indent: -9999px;
    background: var(--red);
}
.join-field input[type="text"],
.join-field input[type="password"],
.join-field input[type="tel"] { width: 100%; } 
.join-birth { gap: 16px; } 
.join-field + .join-field { margin-top: 20px; } 
.join-field label,
.join-agreement__title span { display: inline-block; position: relative; padding: 0 4px 8px 4px; font-size: 14px; font-style: normal; font-weight: 500; line-height: 150%; color: var(--gray-black); } 
.required { display: inline-block; position: absolute; right: -3px; top: 1px; width: 4px; height: 4px; border-radius: 100%; text-indent: -9999px; background: var(--red); } 
.join-field__row { display: flex; gap: 16px; } 
.join-field__col { gap: 16px; } 
.join-birth .custom-select, .join-birth .custom-select button { width: 100%; } 

/* 약관 */
.join-agreement { margin: 40px 0; } 
.join-agreement__all label,
.join-agreement .join-agreement__item .join-agreement__head,
.join-agreement .join-agreement__item > label { display: flex; padding: 12px 10px; align-items: center; gap: 10px; align-self: stretch; } 
.join-agreement__head label {
    padding: 0;
}
.join-agreement__all label span,
.join-agreement .join-agreement__item .join-agreement__head span,
.join-agreement .join-agreement__item > label span { font-size: 14px; font-weight: 500; line-height: 150%; color: var(--gray-black); } 
.join-agreement .join-agreement__item .join-agreement__head { justify-content: space-between; } 
.join-agreement .join-agreement__item .join-agreement__head > label { display: flex; align-items: center; gap: 10px; } 
.join-agreement__text { overflow-y: auto; max-height: 220px; padding: 16px; border-radius: 4px; font-size: 13px; line-height: 150%; color: var(--gray-black); background-color: var(--gray-1); } 
.join-agreement__text .table-wrap {
    overflow-x: auto;
    max-width: 100%;
    margin: 10px 0;
}
.join-agreement__text .table-wrap table {
    min-width: 400px;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #fff;
}
.join-agreement__text .table-wrap table th {
    background: #f5f5f5;
    font-weight: 600;
}
.join-agreement__text .table-wrap th, .join-agreement__text .table-wrap td {
    padding: 12px 16px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: middle;
}
.btn-agreement { font-size: 12px; font-style: normal; font-weight: 500; line-height: 150%; color: var(--gray-5); } 
.required-text, .optional-text { font-size: 12px; font-style: normal; font-weight: 500; line-height: 150%; color: var(--gray-4); } 
.join-agreement__list { border-bottom: 1px solid var(--gray-2); } 
.join-agreement__all { border-bottom: 1px solid var(--gray-2); } 

.join-submit { display: flex; justify-content: center; } 

.join-submit a { max-width: 300px; width: 100%; } 

/* 가입완료 */
.join-complete { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 40px; align-self: stretch; padding: 60px 0; border-radius: 4px; background: #F8F8F8; } 
.join-complete__inner,
.join-complete__buttons { max-width: 500px; width: 100%; } 
.join-complete__message { align-items: center; gap: 14px; } 
.join-complete__buttons { gap: 20px; } 
.join-complete__buttons a { flex: 1; } 


@media screen and (max-width: 1024px) {
    #contents:has(.join-area--form) {
        padding-top: 0;
        padding-bottom: var(--mobile-bottom-sticky-height, 0px);
    }
    body:has(.join-area--form) .m-menu-bar { display: none !important; }
    body:has(.join-area--form) .mobile-sub-header__home,
    body:has(.join-area--form) .mobile-sub-header__cart { display: flex; justify-content: center; align-items: center; }
    
    .join-field {
        padding: 0 16px;
    }
    .join-required-info {
        margin-bottom: 16px;
        padding: 10px 16px;
    }
    .join-required-info__text {
        font-size: 14px;
        font-weight: 700;
    }
    .join-field label {
        padding: 0 2px 4px;
    }
    .join-field__row .btnNormal {
        padding: 8px 14px;
        font-size: 14px;
    }
    .join-field__row {
        gap: 10px;
    }
    .join-field + .join-field {
        margin-top: 16px;
    }
    .join-field__col {
        gap: 12px;
    }
    .join-birth {
        gap: 10px;
    }
    .join-birth .custom-select, .join-birth .custom-select button {
        min-width: unset;
    }

    .join-agreement {
        margin: 0;
    }
    .join-agreement__title span {
        padding: 0 4px 0;
    }
    .join-agreement__title {
        padding: 10px 16px;
        border-bottom: 1px solid var(--gray-2);
    }
    .join-agreement__all, .join-agreement__list {
        padding: 12px 16px;
    }
    .join-agreement__all label {
        padding: 0;
    }
    .join-agreement .join-agreement__item .join-agreement__head,
    .join-agreement .join-agreement__item > label {
        padding: 0 10px;
    }
    .join-agreement__list {
        border-bottom: 0;
    }
    .join-agreement__list .join-agreement__item + .join-agreement__item {
        margin-top: 16px;
    }
    .join-agreement__content {
        margin-top: 10px;
    }

    .join-submit {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 500;
        width: 100%;
        padding: 20px 16px;
        border-top: 1px solid var(--gray-2);
        background: #fff;
    }
    .join-submit a {
        display: block;
        width: 100%;
        min-width: 100%;
        text-align: center;
    }

    /* 가입완료 */
    #contents:has( .member-area):has( .join-complete) {
        padding: 30px 0 80px;
    }
    #contents:has( .member-area) .title-center:has(~.join-complete) {
        display: block;
        padding: 0 16px 20px;
        margin-bottom: 0;
        text-align: center;
    }
    #contents:has( .member-area) .title-center:has(~.join-complete) h2 {
        font-size: 20px;
    }
    .join-complete {
        margin: 0 16px;
        padding: 40px 0;
    }
    .join-complete__title {
        max-width: 155px;
        text-align: center;
        font-size: 18px;
        font-weight: 400;
    }
    .join-complete__buttons {
        flex-direction: column;
        max-width: 200px;
        margin: 0 auto;
    }
    .join-complete__buttons a {
        width: 100%;
    }
}

/*******************************************************
member :: 아이디/비밀번호 찾기 영역
*******************************************************/
.find-area { max-width: 500px; } 

/* 아이디 찾기 */
.member-find__tabs { display: flex; align-items: center; align-self: stretch; padding: 8px; margin-bottom: 30px; border-radius: 8px; background: var(--gray-1); } 
.member-find__tabs a { display: flex; padding: 10px 0; justify-content: center; align-items: center; flex: 1 0 0; border-radius: 4px; color: var(--gray-5); transition: all .3s; } 
.member-find__tabs a.is-active { font-size: 16px; font-weight: 600; line-height: 150%; color: var(--gray-black); background: #FFF; box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.10); } 
.member-find__tabs a:hover { color: var(--gray-black); } 
.member-find__field + .member-find__field { margin-top: 12px; } 
.member-find__field label { padding: 0 4px 8px 4px; font-size: 14px; font-style: normal; font-weight: 500; line-height: 150%; } 
.member-find__field input { width: 100%; } 
.member-find__submit { margin: 24px 0; } 
.member-find__submit .btnSubmit { width: 100%; } 

/* 아이디 찾기 결과 */
.member-find-result .member-find-result__message { display: flex; padding: 40px 50px; justify-content: center; align-items: center; gap: 12px; align-self: stretch; border-radius: 4px; background: var(--gray-1); } 
.member-find-result__text { display: flex; gap: 12px; } 
.member-find-result__buttons { gap: 20px; } 
.member-find-result__buttons a { flex: 1; } 
#change-password-form { display: flex; flex-direction: column; gap: 20px; } 
.member-password__field input { width: 100%; } 
.member-password__submit button { width: 100%; } 


@media screen and (max-width: 1024px) {
    .member-area.find-area {
        padding: 0 16px;
    }
    .member-find__field label {
        display: block;
        padding: 0 2px 4px;
    }
    .member-find__submit {
        margin: 40px 0 16px;
    }
    .member-find__submit .btnSubmit {
        padding: 10px 24px;
        font-size: 14px;
    }
    #contents:has( .member-find-result) {
        padding: 47px 0 32px;
    }
    .member-find-result .member-find-result__message {
        margin-bottom: 20px;
        padding: 30px 50px;
    }
    .member-find-result__text {
        flex-wrap: wrap;
        justify-content: center;
        max-width: 150px;
        text-align: center;
        font-size: 18px;
    }
    .member-find-result__buttons {
        gap: 16px;
    }
    .member-find-result__buttons a {
        padding: 10px 24px;
        font-size: 14px;
        font-weight: 700;
    }
}