/* 로그인 화면 */
.login-wrap {
    width: 100%;
    max-width: 500px;
    margin: auto;
    padding: 60px 0 80px;
}

/* 로고 */
.login .logo-wrap {
    margin-bottom: 48px;
}
.login .logo-wrap .logo {
    display: flex;
    flex-direction: column;
    height: auto;
}
.login .logo-wrap .logo::before {
    content: '';
    display: inline-block;
    width: 64px;
    height: 64px;
    background-image: url(/img/shop_white_icon.svg);
    background-repeat: no-repeat;
    background-size: 40px 40px;
    background-color: #0070d8;
}
.login .logo-wrap .logo::after {
    content: '';
    display: inline-block;
    width: 199px;
    height: 36px;
    margin-top: 20px;
    background-image: url(/img/logo_title.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 199px 36px;
    background-color: unset;
}

/* 아이디/비밀번호 찾기 */
.login .links-wrap .links {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}
.login .links-wrap .links > span {
    display: inline-block;
    margin: 0 12px;
    border-left: 1px solid #e4e4e4;
}
.login .links-wrap .links .link {
    font-family: 'Noto Sans KR', sans-serif;
    font-style: normal;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
    color: #000b33;
    cursor: pointer;
}
.login .links-wrap .links .link:active {
    color: #000b33;
}

/* 로그인 버튼 */
.login .input-button-wrap {
    margin-top: 40px;
}

/* 회원가입 버튼 */
.login .regist-button-wrap .regist-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e4e4e4;
}
.login .regist-button-wrap .regist-button > p {
    font-style: normal;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #000b33;
}
.login .regist-button-wrap .regist-button > .button {
    margin: 0;
}


/* 약관 동의 체크 부분 */
.term-box-list .term-box {
    display: flex;
    margin: 34px 0;
    flex-direction: column;
}
.term-box-list .term-box:last-child {
    margin-top: 50px;
    margin-bottom: 18px;
}
.term-box-list .term-box .check-box {
    display: flex;
    align-items: center;
    align-content: center;
}
.term-box-list .term-box .check-box > span {
    width: 18px;
    height: 18px;
    margin: 3px 7px 3px 3px;
}
.term-box-list .term-box .check-box > label {
    font-style: normal;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    color: #000b33;
    cursor: pointer;
}
.term-box-list .term-box .check-box .required {
    margin-left: 4px;
    font-style: normal;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #ff7272;
}

/* 약관 내용 부분 */
.term-wrap {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    box-sizing: border-box;
    overflow: hidden;
}
.term-wrap .term {
    height: calc(143px - 32px); /* 143px - padding */
    text-align: initial;
    background-color: #fff;
    overflow: auto;
}
.term-wrap .term .article {
    font-style: normal;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}
.term-wrap .term .article.hidden {
    display: none;
}
.policy-summary b,
.policy-summary strong,
.article b,
.article strong {
    font-weight: 500;
}
.policy-summary a,
.policy-summary a:active,
.article a,
.article a:active {
    text-decoration: underline;
    color: #0070d8;
    cursor: pointer;
}

/* Naver 약관 css - 일부 폰트 size 및 weight, line-height 등 각색 */
/* .article {
    margin-top: 15px;
} */
.policy-summary + .article {
    margin-top: 15px;
}
.policy-summary {
    font-style: normal;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}
.article .article-title,
.article .clause .clause-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}
.article .article-title {
    padding-bottom: 8px;
}
.article .clause .clause-title {
    margin-top: 10px;
}
/* End */

/* 약관 내용 탭 */
.term-wrap .tab-wrap .tab-menu {
    position: relative;
    display: flex;
    margin-bottom: 16px;
    clear: both;
}
.term-wrap .tab-wrap .tab-menu .tab-item {
    float: left;
    width: 100%;
    height: auto;
    margin-top: -1px;
    margin-left: -1px;
    border: 1px solid #d3d3d3;
    border-collapse: collapse;
    box-sizing: border-box;
    
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.term-wrap .tab-wrap .tab-menu .tab-item > a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    font-style: normal;
    font-size: 12px;
    font-weight: 400;
    line-height: 17px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    color: #adadad;
    cursor: pointer;
}
.term-wrap .tab-wrap .tab-menu .tab-item.active {
    border: 1px solid #000b33;
}
.term-wrap .tab-wrap .tab-menu .tab-item.active > a {
    background-color: #000b33;
    color: #fff;
}

.term-box-list + .input-button-wrap {
    margin-top: 0;
}

/* 약관 only 스크롤 css */
/* Designing for scroll-bar */
.term-wrap .term::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.term-wrap .term::-webkit-scrollbar-track {
    background: #e9e9e9;
    border-radius: 6px;
}
.term-wrap .term::-webkit-scrollbar-thumb {
    background: #1d6bca;
    border-radius: 6px;
}
.term-wrap .term::-webkit-scrollbar-thumb:hover {
    background: #3b88e4;
}

@media screen and (max-width: 540px) {
    .term-wrap .tab-wrap .tab-menu {
        flex-wrap: wrap;
    }
}