@charset "utf-8";


/* 링크 결제 첫화면 */
.pp--payment-link .title{
    font-size: 13px;
    margin-bottom: 8px;
}
.pp--payment-link .card{
    min-height: 120px;
    padding:15px 20px;
    border-radius: 8px;
    border: none;
    margin-bottom: 20px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.16);
}
.pp--payment-link .card .order-acount-area{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #d5d5d5;
 }
 .pp--payment-link .card p{
    font-size: 14px;
    color: #2d2d2d;
 }
 .pp--payment-link .card .desc{
    flex : 0 1 180px;
    word-break : break-all;
 }

 .pp--payment-link .card .total-acount-area .desc{
    flex : 0 1 120px;
 }

.pp--payment-link .card .product-desc{
   font-size: 13px;
   color:#2d2d2d;
}

.pp--payment-link .card .total-acount-area{
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pp--payment-link .card .total-acount-area .total-count{
    font-size: 22px;
    position: relative;
    z-index: 100;
}
.pp--payment-link .card .total-acount-area .total-count::after{
    position: absolute;
    display: inline-block;
    z-index: 9;
    width: calc(100% + 2px);
    content: '';
    height: 8px;
    bottom: 2px;
    left: 0;
    border-radius: 8px;
    background-color: #7852e8;
    opacity: 0.25;
    

}

.pp--payment-link .badge-area{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 18px;
}
.pp--payment-link .badge-area .day{
    padding-left: 4px;
    padding-right: 4px;
}

.pp--payment-link .badge{
    font-size: 12px;
    font-weight: 500;
    border-radius: 14px;
    padding: 2px 10px;
    background-color: #D4C9FF;
    color: #000000;
    min-height: 24px;
    line-height: 24px;
}

.pp--payment-link .badge.start-time .icon-timer-black{
    background-image: url('/app/Views/img/icon/icon_shopping_card_black.png');
}

.pp--payment-link .badge.time-out{
    background-color: #FF5B5B;
    color: #fff;
}
.pp--payment-link .badge.time-out .icon-timer-black{
    background-image: url('/app/Views/img/icon/icon_timer_white.png');
}
.pp--payment-link .badge.sold-out{
    background-color: #FF5B5B;
    color: #fff;
}
.pp--payment-link .badge.sold-out .icon-timer-black{
    background-image: url('/app/Views/img/icon/icon_soldout.png');
}
.pp--payment-link .btn{
    margin: 0 0 20px 0;
    border-radius: 8px;
    padding: 14px 0;
    font-weight: 700;
    font-size:18px;
}
.pp--payment-link .btn:hover{
    color: #fff;
}
.pp--payment-link .btn:disabled{
    background: #a5a5a5;
    color: #fff;
}
.pp--payment-link .img-area{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 11px;
    margin-bottom: 16px;
}
.pp--payment-link .img-box{
    width: 60px;
    height: 50px;
}
.pp--payment-link .img-box.fail{
    width: 73px;
    height: 49px;
}

/* 결제 성공 & 실패  */
.main-title{
    font-size: 20px;
    text-align: center;
    margin-bottom: 16px;
    font-weight: 500;
}
.sub-title{
    text-align: center;
    margin-bottom: 24px;
    color: #000;
    font-size: 13px;
}
.float-area{
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e0e0e0;
}
.float-area:first-child{
    padding-top: 0px;
 }
.float-area:last-child{
   padding-bottom: 0px;
   border-bottom: none;
}

.pp--payment-link .card .float-area p{
    color: #000;
    font-size: 12px;
}

.float-area .title{
   margin-bottom: 0;
   flex: 0 0 66px;
}
.pp--payment-link .card .float-area .desc {
    flex: inherit;
    
}
.pp--payment-link .card.success{
    margin-bottom: 87px;
}
.pp--payment-link .card.fail{
    margin-bottom: 154px;
}



.card-list {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-list .credit-card{
   width: 38px;
   height: 22px;
   border: 1px solid #D8D8D8;
   background-color: #FFFFFF;
   border-radius: 4px;
   position: relative;
   display: none;
}
.card-list .is-active{
    display: block;
}

.card-list .card-logo{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}



/* 공통 레이아웃 */
.pp--payment-link{
    position: relative;
    max-height: 100%;
    scroll-behavior: smooth;
    padding: 20px;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
    min-width: 375px;
    height: 630px;
    background: #f2f2f2;
    overflow: hidden;
    touch-action: none;
}

@media screen and (min-width: 0px) and (max-width: 440px){
    .pp--payment-link {
        max-height: none;
        height: 100vh;
        width: 100%;
        max-width: none;
        height: calc(var(--vh, 1vh) * 100);
    }
}


.pp--payment-link .header{
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}
.pp--payment-link .header.non-partner-text .text{
    display: none;
}
.pp--payment-link .header.non-partner-text .img{
    margin-bottom: 0;
}

.pp--payment-link .header.non-partner-text .close-btn{
    top: 3px;
}

.pp--payment-link .header .logo-area{
    display: flex;
    flex-direction: column;
}

.pp--payment-link .header .img{
    width: 150px;
    height: auto;
    margin-bottom: 6px;
}

.pp--payment-link .header .text{
    font-size: 14px;
    color: #747474;
    text-align: center;
    margin-bottom: 0;
}
.pp--payment-link .header .close-btn{
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 6px;
}

.pp--payment-link .footer{
    position: absolute;
    bottom: 20px;
    width: 100%;
    left: 0;
}
.pp--payment-link .footer .copyright{
    font-size: 12px;
    color: #747474;
    font-weight: 300;
    text-align: center;
}

.pp--payment-link .footer .footer-logo{
    background-image: url('/app/Views/img/common/img_footer_logo.png');
    width: 47px;
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    height: 15px;
    background-position: center center;
    margin-left: 6px;
    text-indent: -999em;
}


/* 스크롤 관련 이벤트 */
.card.scroll-card{
    height:124px; 
    padding: 15px 20px;
}
.mCSB_inside>.mCSB_container{
    margin-right: 8px;
}
.mCSB_scrollTools{
    right: -5px;
}

