.reward-widget{
    position: fixed;
    bottom: 10px;
    right: 10px;
    margin: 0;
    font-weight: bold;
    color: var(--vc-mmb-color-b);
    z-index: 1000;
    width: 8%;
    min-width: 150px;
    cursor: pointer;
}
.reward-widget p{
    color: var(--vc-mmb-text-color-b);
    text-align: center;
    margin: 0;
    margin-top: -15px;
    line-height: 1.5rem;
}
.reward-widget img, .reward-widget-popup img{
    max-width: 100%;
    height: auto;
}


.ta-c{
    text-align: center!important;
}
.m-n{
    margin: 0!important;
}
.m-t-1{
    margin-top: 1rem!important;
}
.fw-b{
    font-weight: bold!important;
}
.w-100{
    width: 100%!important;
}
.w-60{
    width: 60%!important;
}
.reward-widget-popup,
.tier-cond-info-cont{
    display: none;
    position: fixed;
    width: 700px;
    max-width: 80%;
    padding: 1rem 1rem 2rem 1rem;
    height: auto;
    left: 50%;
    top: 50%;
    z-index: 1002;
    background-color: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 0px 7px #00000077;
}
.tier-cond-info-cont{
    width: 800px;
}
.veil{
    display: none;
    height: 100%;
    width: 100%;
    z-index: 1001;
    background-color: #ffffffbb;
    position: fixed;
}
.veil.active{
    display: block;
}
.tier-cond-info-cont .info{
    overflow: auto;
    max-height: 800px;
}
.tier-cond-info-cont .info .title{
    font-size: 1.1rem;
    font-weight: bold;
}
.tier-cond-info-cont .info ul{
    margin-left: 3rem;
}
.reward-widget-popup.active,
.tier-cond-info-cont.active{
    display: block;
    line-height: 1.8;
    letter-spacing: 0.05em;
}
.reward-widget-popup a:not(.with-bg) {
    color: var(--element-color) !important;
    cursor: pointer;
}
.reward-widget-popup .tier-cond-info{
    font-size: 0.8rem;
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
}
.reward-widget-popup .close,
.tier-cond-info-cont .close{
    position: absolute;
    right: -0.8rem;
    top: -0.8rem;
    color: var(--text-color-on-element);
    background-color: var(--element-color);
    cursor: pointer;
    font-size: 1rem;
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 50%;
    line-height: 1.8;
    opacity: 1;
}

.reward-widget-popup.rewards .main-info{
    margin-left: 1rem;
}
.reward-widget-popup.rewards .main-info .name p{
    color: var(--text-color-on-element);
    background-color: var(--element-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}
.reward-widget-popup.rewards .title .logo{
    width: 35%;
    max-width: 250px;
}
.reward-widget-popup.rewards .title .logo img{
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}
.reward-widget-popup.rewards .title .main-info{
    width: calc(65% - 1rem);
    justify-content: space-between;
}
.reward-widget-popup.rewards .balance{
    margin-top: 0;
    margin-left: 1rem;
}
.reward-widget-popup.rewards .balance > p{
    font-weight: bold;
    margin: 0;
}
.reward-widget-popup.rewards .balance .progress-bar-container{
    display: flex;
    flex-direction: column;
    width: 60%;
}
.reward-widget-popup.rewards .balance .progress-bar-container p{
    font-weight: normal;
    font-size: 1rem;
    margin-bottom: 0;
}
.reward-widget-popup.rewards .balance .progress-bar-container p.desc{
    font-size: 0.9rem;
    line-height: 0.9rem;
    margin-top: 0.8rem;
}
.reward-widget-popup.rewards .balance .progress-bar-container p span{
    font-size: 1.1rem;
    color: #4a4a4a;
    font-weight: bold;
}
.reward-widget-popup.rewards .balance .progress-bar-container .bar{
    width: 100%;
    background-color: #bcbcbc;
    position: relative;
    height: 8px;
}
.reward-widget-popup.rewards .balance .progress-bar-container .bar .progress{
    width: 100%;
    background-color: var(--element-color);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.reward-widget-popup.rewards .tabs .tab{
    width: 50%;
    text-align: center;
    padding: 0 1rem;
    color: var(--text-color-on-element);
    background-color: var(--element-color);
}
.reward-widget-popup.rewards .main-info a{
    color: var(--text-color-on-element);
    background-color: var(--element-color);
    font-weight: bold;
    text-align: center;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}
.reward-widget-popup.rewards .info{
    height: 100%;
    max-height: calc(100vh - 220px);
    overflow: auto;
}
.reward-widget-popup.rewards .welcome .tabs .tab{
    width: 50%;
    margin-right: 1rem;
    background-color: #eaeaea;
    color: #4a4a4a;
    height: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
}
.reward-widget-popup.rewards .welcome .tabs .tab:last-child{
    margin-right: 0;
}
.reward-widget-popup.rewards .welcome .tabs .tab.active{
    background-color: #f5efd7;
}
.reward-widget-popup.rewards .welcome .main-info p{
    font-size: 1.1rem;
    text-align: center;
    padding: 0 1rem;
}
.reward-widget-popup.rewards .welcome .main-info p:last-child{
    font-weight: bold;
}
.reward-widget-popup.rewards .welcome .earn-section .info{
    margin-left: 0.5rem;
    width: 80%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.reward-widget-popup.rewards .welcome .earn-section .earn-container .info p{
    margin: 0;
    font-size: 1rem;
    line-height: 1rem;
}
.reward-widget-popup.rewards .welcome .earn-section .info p.desc{
    margin: 0;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-weight: normal;
}
.reward-widget-popup.rewards .welcome .earn-section{
    padding: 0;
}
.reward-widget-popup.rewards .welcome .earn-section .earn-container .image{
    width: 20%;
}
.reward-widget-popup.rewards .welcome .earn-section .earn-container{
    border: none;
    padding: 0;
    width: 50%;
    flex-direction: row;
    margin: 0;
    margin-top: 1rem;
    align-items: center;
}
.rewards .title{
    display:flex;
    flex-wrap: wrap;
}
.rewards .title .logo{
    width: 30%;
    max-width: 200px;
}
.rewards .title .main-info{
    display: flex;
    flex-direction: column;
    width: 70%;
}
.rewards .title .main-info .name{
    text-align: center;
    width: 100%;
    font-size: 1.2rem;
}
.rewards .title .main-info .balance{
    margin-top: auto;
    margin-bottom: auto;
    font-size: 1.2rem;
    text-align: center;
    font-weight: bold;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.rewards .title .main-info .balance span{
    font-size: 1.4rem;
    color: var(--element-color);

}
.rewards .tabs{
    width: 100%;
    display:flex;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.rewards .tabs .tab{
    margin-right: 1rem;
    padding: 1rem 3rem;
    font-size: 1.3rem;
    cursor: pointer;
    background-color: #eaeaea;
}
.rewards .tabs .tab:hover{
    background-color: #bcbcbc;
}
.rewards .tabs .tab.active{
    color: var(--text-color-on-element);
    background-color: var(--element-color);
}
.rewards section.tab{
    display: none;
}
.rewards section.tab.active{
    display: block;
}
.reward-widget-popup.rewards .welcome section.tab.active{
    display: flex;
}
.reward-widget-popup.rewards .welcome section.tab.discount-section{
    flex-direction: column;
    max-height: 400px;
    overflow: auto;
    padding: 0 1rem;
}

.reward-widget-popup.rewards .welcome section.tab.discount-section p{
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.2rem;
}
.reward-widget-popup.rewards .welcome section.tab.discount-section .discount-container{
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 1rem;
}
.reward-widget-popup.rewards .welcome section.tab.discount-section .discount-container p{
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-right: 1rem;
    margin-bottom: 0;
}
.reward-widget-popup.rewards .welcome section.tab.discount-section .desc p{
    font-size: 1rem;
    color: #4a4a4a;
    font-weight: normal;
}
.rewards .earn-section{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.rewards .earn-section .earn-container{
    width: 30%;
    padding: 1rem;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #000;
    margin-bottom: 3vw;
}
.rewards .earn-section .earn-container .image{
    width: 100px;
}
.rewards .earn-section .earn-container .info{
    margin-top: auto;
    width: 100%;
    text-align: center;
}
.rewards .earn-section .earn-container .info p{
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.rewards .earn-section .earn-container .info a{
    margin-top: 1rem;
    width: 100%;
    display: block;
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    text-align: center;
    font-weight: bold;
    color: var(--text-color-on-element);
    background-color: var(--element-color);
}
.actions{
    width: 40%;
}
.claws{
    width: 20%;
}
.date{
    width: 40%;
}
.green{
    color: #008000;
}
.red{
    color: #E31E00;
}
.ta-l{
    text-align: left;
}
@media(max-width: 959px){
    .reward-widget{
        width: 100%;
        bottom: 0;
        right: 0;
        background-color: #fff;
        height: 55px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .reward-widget img{
        position: absolute;
        width: 50px;
        bottom: 0;
        right: 0;
    }
    .reward-widget p{
        color: var(--element-color);
        margin: 0;
        padding: 0 60px;
    }
}
@media(max-width: 768px){
    .rewards .earn-section .earn-container{
        width: 47%;
    }
    .rewards .title .logo{
        display: none;
    }
    .rewards .title .main-info{
        width: 100%;
    }
    .rewards .tabs .tab{
        margin-left: 1rem;
        width: 100%;
        text-align: center;
    }
    .rewards .welcome .tabs .tab{
        margin-left: 0;
    }
    .reward-widget-popup.rewards .title .main-info{
        width: 100%;
        margin: 0;
    }
}
@media(max-width: 768px){
    .reward-widget img{
        width: 70px;
    }
    .reward-widget p{
        display: none;
    }
    .reward-widget{
        width: auto;
        height: 70px;
        background-color: transparent;
    }
    .tier-cond-info-cont{
        max-width: calc(100% - 30px);
    }
    .tier-cond-info-cont .info{
        max-height: calc(100vh - 220px);
        width: 100%;
    }
}
@media(max-width: 520px){
    .rewards .tabs .tab{
        padding: 0.5rem 1rem;
        margin: 0.2rem;
    }
    .rewards .title .main-info .balance{
        flex-direction: column;
    }
    .reward-widget-popup.rewards .welcome .earn-section .earn-container{
        width: 100%;
        margin: 0;
        margin-bottom: 1rem;
    }
    .actions{
        width: 35%;
        padding-right: 1rem;
    }
    .claws{
        width: 30%;
        padding-right: 1rem;
    }
    .date{
        width: 35%;
    }
    .reward-widget-popup.active{
        max-width: calc(100% - 30px);
    }
    .reward-widget-popup.rewards .balance .progress-bar-container{
        width: 100%;
    }
    .reward-widget-popup.rewards .balance > p{
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    .rewards .tabs{
        flex-wrap: wrap;
    }
    .reward-widget-popup.rewards .welcome section.tab.discount-section .discount-container{
        display: block;
    }
    .reward-widget-popup.rewards .welcome .tabs .tab{
        width: 100%;
        margin: 0 0 1rem 0;
        height: auto;
        padding: 0.5rem;
    }

}