@charset "utf-8";

/****************************************************************************************************************************************
레이어 팝업 공통
*****************************************************************************************************************************************/
#layerPopup {display: none; position: fixed; left: 0; right:0; top: 0; bottom:0; z-index: 9999; width: 100%; height: 100%;}
.layer-bg {position:relative; padding:30px 0; width:100%; height: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; background:rgba(0,0,0,0.7); overflow-y: auto;}

.layer-bg::-webkit-scrollbar {width:0; height:0; background:transparent;}
.layer-bg::-webkit-scrollbar-track {background:transparent;}
.layer-bg::-webkit-scrollbar-thumb {background:transparent;}

.layer-wrap {position: relative;}
.layer-close {position: absolute; top: 0; left:0; right:0; margin:0 auto; text-align: center; z-index: 9; transition: 0.3s; cursor: pointer;}
.layer-close > i {padding:12px 12px; font-size: 20px; font-weight: 600; color:#000; background: #fdf6b0; border-radius: 50%;}

.layer-con {position: relative;}

@media (hover: hover) and (pointer: fine) {
    .layer-close:hover {transform: rotate(180deg);} 
}

/****************************************************************************************************************************************
로그인과 회원가입 팝업 공통
*****************************************************************************************************************************************/
/* intro-hd */
.intro-hd {position:relative; margin: 0 0 20px 0; width: 100%; display: flex; justify-content: center; align-items: center;}
.intro-hd > i {margin-right:5px; font-size:30px; color: #717389;}
.intro-hd > span {font-size: 24px; font-weight: 700; color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);}

/* intro-btns */
.intro-btns {position: relative; margin:0 auto; padding:0; width: 100%;}
.intro-btns > button {position: relative; margin:0 0 10px 0; padding: 0; width:100%; height: 40px; font-weight: 600; color:#fff;}
.intro-btns > .btn-login {background: #0e65b1;}
.intro-btns > .btn-back {background: #b1860e;}
.intro-btns > p {margin:5px auto; text-align: center; font-size: 13px; font-weight: 600; color:#fff;}
.intro-btns > p > b {cursor: pointer;}

@media (hover: hover) and (pointer: fine) {
    .intro-btns > button:hover {filter: brightness(110%);}
}

/****************************************************************************************************************************************
로그인과 추천인코드
*****************************************************************************************************************************************/
.intro-wrap {position:relative; margin:50px auto 0 auto; padding:20px 20px; width: 320px; display:flex; justify-content: center; align-items: center; background: #202020; border: 1px solid #fdf6b0; overflow: hidden;}
.intro-form {position:relative; margin:0 auto; padding:0; width: 100%;}

.popup-logo {position:relative; margin:0 auto; padding:0 20px 10px 20px; width: 100%; text-align: center;}
.popup-logo > img {width: 100%;}

ul.intro-list {position: relative; margin:0 auto; padding:0; width: 100%;}
ul.intro-list > li {position: relative; margin:0 0 10px 0; padding: 0; width: 100%; height: 40px; display: flex; align-items: center; background: #171717; border: 1px solid #444;}
ul.intro-list > li > i {padding:0 15px; font-size:16px; color: #fff; border-right: solid 1px #444;}
ul.intro-list > li > input {padding:0 15px; width: 100%; font-family:"Noto Sans KR";  font-weight: 600; color:#fff; background: none; border: none;}
ul.intro-list > li > input:focus {outline: none; font-weight: 600;}
ul.intro-list > li > input::placeholder {color:#555;}


/****************************************************************************************************************************************
회원가입
*****************************************************************************************************************************************/
.join-wrap {position:relative; margin:50px auto 0 auto; padding:30px 30px; width: 1000px; text-align: center; background: #202020; border: 1px solid #fdf6b0; overflow: hidden;}
.join-form {position:relative; margin:0 auto; padding:0; width: 100%;}

ul.join-list {position: relative; margin:0 auto 40px auto; padding:0; width: 100%; display: flex; flex-wrap: wrap; gap:10px; justify-content: space-between;  align-items: center;}
ul.join-list > li {position: relative; margin:0 0 10px 0; padding: 0; width: calc(100% / 2 - 10px);}
ul.join-list > li > label {display: block; margin: 0 auto 8px auto; padding:0; width: 100%; text-align: left; font-weight: 600; color: #7f7f7f;}
.input-list {width:100%; height: 40px; display: flex; align-items: center; background: #171717; border: 1px solid #444;}
.input-list > i {padding:0 15px; font-size:18px; color: #fff; border-right: solid 1px #444;}
.input-list > input {padding:0 15px; width: 100%; color:#fff; font-family:"Noto Sans KR"; background: none; border: none;}
.input-list > input:focus {outline: none;}
.input-list > input::placeholder {color:#555; font-weight: 600;}

.select-list {width:100%; height: 40px; display: flex; align-items: center; background: #171717; border: 1px solid #444;}
.select-list > select {padding:0 15px; width: 100%; font-family:"Noto Sans KR"; background: none; border: none;}
.select-list > select:invalid {color:#555; font-weight: 600;}
.select-list > select:focus {outline: none;}
.select-list > select > option {color: #fff; background: #171717;}

.phone-list > select,
.phone-list > input {margin:0 5px; width: calc(100% / 3 - 10px); height: 90%; color:#fff; background: none; border: none;}


/****************************************************************************************************************************************
미디어쿼리문 시작
*****************************************************************************************************************************************/
@media (max-width:1230px) {
    .layer-bg {padding: 30px 15px;}
    .join-wrap, 
    .layer-wrap {width: 100%;}
}

@media (max-width:992px) {
    .layer-bg {padding:20px 5px;}    

    .intro-hd > i,
    .intro-hd > span {font-size: 18px;}

    .join-wrap {margin:40px 5px 0 5px; padding:20px 5px; width: calc(100% - 10px);}
    .join-form {padding: 10px 15px;}
    ul.join-list {margin: 0 auto 20px auto; gap:5px; flex-direction: column;}
    ul.join-list > li {width: 100%;}
    .input-list {height: 40px;}
    .input-list > i {padding:0 10px;}
}

@media (max-width:767px) {
    .intro-wrap {margin:40px 15px 0 15px; padding:20px 5px; width: calc(100% - 30px);}
    .intro-left {display: none;}

    .intro-form {padding:30px 15px; width: 100%;}

    ul.intro-list,
    ul.capcha {width: 100%;}
    
    .popup-logo > img {width: 160px;}
    ul.intro-list > li > i,
    ul.capcha > li > i {padding:0 10px;}
}

@media (max-width:430px) {
    .intro-btns {width: 100%;}
}
