﻿


/* 마이페이지 공통 */
.my_gnb .m_tit{
    cursor: pointer;
}
.mo_gnb{
    display: none;
}
.my_nav{
    position: relative;
    width: 100%;
    padding: 1rem;
}

/* 데이터 없을 때 */
.no_data p{
    color: #888;
    font-size: 0.9rem;
    text-align: center;
}

/* 마이페이지 공통 */
.wrap {
    margin: 80px auto 0 auto;
    padding: 40px 0;
}
.wrap>div{
    max-width: 850px;
    padding: 0;
}
.mypage{
    display: flex;
    justify-content: space-between;
    column-gap: 30px;
}
.mypage>div{
    margin-bottom: 2rem;
    max-width: 560px;
    width: 100%;
    min-height: 550px;
}


.wrap h2 {
    font-size: 1.38rem;
    font-weight: 800;
    color: #474747;
    margin-bottom: 2rem;
}
.wrap h3{
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: .93rem;
}
.my_h3{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.my_h3 div{
    display: flex;
    align-items: center;
    column-gap: 8px;
}

/* 콘텐츠 */
.my_wrap {
  margin-bottom: 2.3rem;
}
@media (max-width:768px) {

    .my_wrap {
  margin-bottom: 1.5rem;
}

}

/* 회색박스 */
.box {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  padding: 1.2rem 1.1rem;
}

    /* 바로가기 */
    .link {
        color: #595959;
        width: max-content;
        white-space: nowrap;
        background: url("/common/img/mypage/link_arrow.svg") no-repeat right center;
        line-height: 1.4;
        padding-right: 14px;
    }
    .link2{
        display: none;
    }

        .link.small {
            font-size: 0.93rem;
        }

        .link img {
            transform: rotate(-90deg);
            transform-origin: center center;
        }
        
@media (max-width:984px) {
    .link2{
        display: inline-block;

    }
}
/* select */
.mypage select{
    width: 160px;
    height: fit-content;
    border: none;
    padding: 0 10px;
    line-height: 1.4;        
    display: inline-block;
    background: url(/common/img/mypage/my_down.svg) no-repeat right 10px center;

}





.mypage .my_info{
    background: var(--bg-color);
    border: none;
    display: grid;
    row-gap: 8px;
}
.my_info p{
    font-size: 1.15rem;
}
.my_info span{
    font-weight: 700;
}


.box .row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 10px 0;
}
.box .row:last-child {
  border-bottom: none;
}
.box dt {
  color: #888;
  font-size: 0.9rem;
  white-space: nowrap;
    margin-right: 1rem;
}
.box dd {
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.box dd>*:not(select, input, textarea){
  font-weight: 600;
}
.box .more_dd{
    gap: 10px;
}
.more_dd a{
    color: var(--main-color);
    text-decoration: underline;
    text-underline-offset: 2px;    /* 글자와 밑줄 사이 간격 */
}




/* 사용중인 요금제 */
.my_plan_tag {
  display: inline-block;
  background: #000;
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 7px;
  border-radius: 4px;
  margin-right: 4px;
}
.my_plan_tit{
    font-weight: 600;
}
.my_p ul{
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 1.5rem;
    row-gap: .8rem;
}
.my_p li{
    display: flex;
    align-items: center;
    column-gap: 4px;
    color: #666666;
}
.my_p span{
    font-weight: 500;
}
.my_p img{
    width: 18px;
    height: 18px;
}





/* 버튼 */

.wrap .next_btn{
    width: 200px;
    height: 64px;
    line-height: 64px;
    margin: 1rem auto 0 auto;
    background: var(--sub-color);
}
.wrap .next_btn:hover{
    background: #169ccd;
}
.wrap .chgpw{
    padding: 0 0.6rem;
    color: #808080;
    border-radius: 10px;
    background: #f0f0f0;
}

.wrap button{
    height: 40px;
    font-size: 0.87rem;
}
@media (max-width: 768px) {
    .wrap .next_btn {
        width: 100%;
        height: 54px;
        line-height: 54px;
    }
}



/* 이메일 */
.email .opt_minibox{
    margin: 0;
}
.email span{
    margin: 0 5px;
    white-space: nowrap;
}


/* 조회회선 */
.num_list{
    font-size: 0.9rem;
    width:100%;
    cursor: pointer;
    background: url(/common/img/mypage/my_down.svg) no-repeat 98%;
    background-repeat: no-repeat;
    background-position: 96% 48%;
    -webkit-appearance: none;
}

.planbox {
    height: auto;
    border-radius: 15px;
    background: #FFF;
    box-shadow: 0px 4px 8px 5px rgba(180, 180, 180, 0.2);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: -1;
    text-align: center;
}
.p_num {
    max-width: 380px;
    width: 92%;
    min-height: 50px;
    height: auto;
    padding: 1.6rem 2rem;
}
.planbox>p{
    text-align: center !important;
    margin: unset;
    width: auto;
    font-weight: bold;
    color: #2d2d2d;
    font-size: 20px;
    margin-bottom: 1rem;
    display:block;
}
.planbox button {
    border-radius: 10px;
    border: none;
    background: #000;
    color: #fff;
    width: 100%;
    height: 42px;
}
.block{
    opacity:1;
    z-index:9999;
}
.pmo{
    display:flex;
    flex-wrap:wrap;
    height:auto;
    width:100%;
}
.my_pbox{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: auto;
    outline: 1px solid #dbdbdb;
    margin-bottom: 0.7rem;
    border-radius: 10px;
    padding: 1rem;
}
.my_pbox:hover{
    cursor:pointer;
}
.use{
    outline: 2px solid var(--sub-color);
    box-shadow:unset;
}
.my_pbox .telecom{
    border-radius: 4px;
    background: #444444;
    color: #fff;
    height: 19px;
    line-height: 20px;
    min-width: 26px;
    font-size: 12px;
}
.my_pbox p{
    margin: 0 6px;
    position:relative;
    display: flex;
    font-size: .93rem;
}

/*.my_pbox.use .after:after {
    content:'사용중';
    border: 1px solid  var(--main-color);
    background: var(--main-color);
    border-radius: 6px;
    color: #ffffff;
    width: auto;
    height: auto;
    padding: 3px 5px;
    font-size:12px;
    position:relative;
    margin-left: 6px;
    display: block;
}*/
.btnStyle2{
    color: #fff;
    border-radius: 4px;
    width: auto;
    background: #706F6F;
    padding: 0px 6px;
    font-size: 12px;
    display: block;
    line-height: 20px;
    background: var(--bg2-color);
    border-radius: 6px;
    color: var(--sub-color);
    border: 1px solid var(--main-color);
}



/* 테이블 */
.cardbox{
    height:auto;
    width:100%;
    margin: 3rem 0;
}

.card_split{
     width: 100%;
     margin-bottom: 0px; 
}
.card_split tr td:first-child {
    color: #8f8f8f;
}














/* 마이페이지 우측 메뉴*/
.m_tit>div{
    padding: 1.2rem 0;
}

.m_tex{
    padding: 0 0.5rem;
}
.m_gnb>li:not(:last-child){
    border-bottom: 1px solid #E2E2E2;
}
.m_tex li {
    font-size: 0.93rem;
}

.m_tex li a{
    font-weight: 500;
}

.m_tex li:hover a{
    color: var(--sub-color);
}

.m_gnb span{
    font-weight: 600;
    color: #333333;
}
.m_gnb a{
    display: block;
    color: #676767;
    padding: 0.8rem 0;
}

.m_tex li:first-of-type a{
    padding-top: 0.5rem ;
}

.m_tex li:last-of-type a{
    padding-bottom: 1.5rem ;
}

.m_gnb img:first-child{
    width: 20px;
    margin-right: 0.5rem;
}

.m_gnb img:last-child{
    position: absolute;
    left: 86%;
    margin-top: 5px;
    transition: all 0.5s ease;
}

.my_gnb .flex{
    justify-content: unset;
}

.m_btn{
    cursor: pointer;
}
.m_nav{
    margin-bottom: 50px;
}
.myinfo {
    background: #F7F8FA;
    border-radius: 15px;
    padding: 1.3rem;
}
.myinfo>p{
    display: flex;
    font-weight: 600;
    margin-bottom: 0.7rem;
}
.myinfo>p>span{
    margin-right: 5px;
    font-weight: 700;
}
.my_num{
    display: flex;
    column-gap: 0.5rem;
    align-items: center;
    line-height: 20px;
    border: 1px solid #E3E3E3;
    padding: 0.5rem;
    background: #fff;
    border-radius: 10px;
}

.my_num:not(:last-of-type){
    margin-top: 1rem;
    margin-bottom: 6px;
}

.my_num>p:last-child{
    font-size: 0.87rem;
    font-weight: 600;
    text-align: center;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #fff;
}

/* 준회원 시 */
.myinfo_tit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .93rem;
}
.myinfo_tit span{
    font-weight: 600;
    margin-right: 2px;
}
.mymenu_btn {
    align-items: center;
    gap: 6px;
    margin-top: .5rem;
}
.mymenu_btn>*:not(.txt,div),
.mymenu_btn>div>p{
    border: none;
    height: 38px !important;
    line-height: 38px;
    border: 1px solid #E3E3E3;
    padding: 0 0.7em;
    border-radius: 10px;
    font-size: .87rem;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.open_btn1{
    background: #3e3e3e;
    color: #fff;
}
.open_btn1:hover{
    background: #383838;
}
.open_btn2{
    background: #fff;
    color: #7f7f7f;
    
}
.open_btn2:hover{
    background:#f7f7f7;
    color: #686868;
    border: 1px solid #c5c5c5;
}
.pc_add_btn, .mo_add_btn{
    border: 1px solid #ddd;
    color: #7f7f7f;
    background: #fff;
}
.pc_add_btn:hover, .mo_add_btn:hover{
    border: 1px solid #c5c5c5 !important;
    color: #747474 !important;
    background: #f7f7f7 !important;
}


/* 개통하러가기 버튼 */
.now_open_btn{
    background: #3e3e3e;
    color: #fff;
}
.now_open_btn:hover{
    background: #383838;
    color: #fff;
}
.now_open_btn{
    display: none;
}
.pc_add_btn{
    display: block;
}
.mo_add_btn{
    display: none;
}
@media (max-width:984px) {
.now_open_btn{
    display: block;
}
.pc_add_btn{
    display: none;
}
.mo_add_btn{
    display: block;
}
}

/* 로그아웃 버튼 */
.logout_btn{
    display: block;
    color: #9a9a9a;
    font-size: .87rem;
}
.logout_btn:hover{
    color: #000;
}
.main_tag{
    padding: 0 0.5rem;
    background: #F8BC24;
    color: #fff;
    font-size: 0.75rem;
    border-radius: 5px;
}

.num_tag{
    background: #000;
}

/*요금제 정보*/
.my_p{
    display: block;
    padding: 1.2rem 0.5rem;
}

.my_p>div{
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.my_p>div .plan_title{
    font-size: 0.87rem;
    font-weight: 700;
}

    .my_p > div .info_wrap {
        display: flex;
        font-size: 0.87rem;
        align-items: center;
        margin-top: 0.3rem;
    }

.my_p>div .info_wrap img{
    width: 10px;
    margin-right: 0.2rem;
}




.myinfo .m_nav{
    height: 260px;
}

.mypage .m_nav{
    border-radius: 20px;
    border: 1px solid #dedede;
}
.wrap .m_gnb {
    max-width: 745px;
    border-bottom: 0;
}
.wrap .m_tit{
    margin: 0 5%;
    color: #656565;
    cursor: pointer;
}



.my_nav{
    border-radius: 20px;
    border: 1px solid #e8e8e8;
    margin: 13px 0 50px 0;
    background: #fff;
}
.my_menu{
    margin-top: 3.5rem;
    width: 260px;
    position: relative;
}

.fixed_box2 {
    display: none;
}

.my_menu .lock, .my_menu .unlock{
    position: absolute;
    top: -50px;
    right: 0;
    transition: all 0.3s ease-in-out;
    display: none;
}
.unlock{
    cursor: auto;
}
.lock:hover{
    transform: scale(1.1);
        transition: all 0.3s ease-in-out;
}


@media (max-width: 984px) {
    .fixed_box2 {
    position: fixed;
    right: 40px;
    bottom: 124px;
    z-index: 9999;
    right: 1.5rem;
    }
    .lock, .unlock{
        width: 60px;
        height: 60px;
    }
    .lock>img, .unlock>img{
        width: 100%;
    }
}
@media (max-width: 768px) {
    .fixed_box2{
        bottom: 110px;
    }
    .fixed_box2 >*{
        width: 50px;
        height: 50px;
    }
}

.footer{
    margin-top: 0;
}


@media (max-width: 984px) {
    .wrap{
        padding-bottom: 0;
    }
    .wrap>div{
        max-width: none;
    }
    .mypage>div{
        max-width: none;
        margin: 30px auto 0 auto;
        padding: 4%;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
        /* (공통) */
    .wrap > div >div{
        margin-top: 10px;
    }
    .mypage h2 {
        margin-bottom: 15px;
    }
    .my_menu{
        display: none;
        z-index: -1;
    }
    .mo_gnb{
        display: block;
        display: flex;
    }
    .mypage {
        display: block;
    }
}



/*mypage 공통 사이드 메뉴 - 모바일*/ 
.mo_nav{
    width: 100%;
    height: 42px;
    border-bottom: 1px solid #dedede;
    position: fixed;
    top: 80px;
    background: #fff;
    z-index: 2;
}

.my_swiper{
    display: flex;
    justify-content: space-around;
}

.my_swiper .swiper-slide{
    width: unset !important;
}

.my_swiper .swiper{
    white-space: nowrap;
}

.mo_gnb {
    text-align: center;
    color: #000;
    scrollbar-width: none; /*firefox*/
    justify-content: space-around;
    width: 100%;
}

.mo_gnb .swiper-slide:hover p,
.mo_gnb .swiper-slide.active p{
    color: var(--sub-color);
}

.mo_sub_gnb{
    display: none;
}
.mo_gnb::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera*/
}
.mo_gnb p{
    font-weight: 600;
    line-height: 40px;
    cursor: pointer;
    padding: 0 20px;
    white-space: nowrap;
}

.wrap .mo_sub_gnb{
    width: 100%;
    height: auto;
    border-top: 1px solid #EEEEEE;
    border-bottom: 1px solid #EEEEEE;
}

.my_sub_swiper .swiper-slide{
    flex: 0 0 auto;
    white-space: nowrap;
}

.my_sub_swiper .swiper-wrapper{
    justify-content: space-around;
    display: flex;
    width: 100%;
}

.xxx{
    display: flex;
    white-space: nowrap;
    min-height: 40px;
    background: #fff;
}
.xxx div{    
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    text-align: center;
    padding: 0 20px;
}
.xxx a{
    color: #717171;
    font-weight: 600;
    line-height: 40px;
    font-size: 0.93rem;
    display: block;
}
.xxx div:hover a{
    color: var(--sub-color);
}
.mo_sub_gnb{
    width: 100%;
    background: #fff;
    border-top: 1px solid #EEEEEE;
    border-bottom: 1px solid #EEEEEE;
}

@media (max-width:768px) {
    .mo_nav {
        top: 60px;
        font-size: 0.93rem;
    }
}
@media (max-width:480px) {
    .mypage > div {
        min-height: 450px;
    }
}

