.offerwall-card{
    height:100%;
    background-color: #242d35;
    border-radius: 15px;
    /* box-shadow:inset 0px 125px 100px -90px var(--offerwall-theme-color), 0 0 15px 0 rgb(40 48 55 / 60%); */
    -webkit-box-shadow: inset 0px 125px 150px -180px var(--offerwall-theme-color), 0 0 15px 0 rgb(40 48 55 / 60%);
    box-shadow: inset 0px 125px 150px -180px var(--offerwall-theme-color), 0 0 15px 0 rgb(40 48 55 / 60%);
    border-top: 2px solid var(--offerwall-theme-color);

    /* box-shadow: 0 0 28px -20px var(--offerwall-theme-color-light) !important; */
    /* overflow: hidden; */
}

.offerwalls-col{
    margin-bottom: 20px;
}

.offerwall-card img{
    width:80%;
    height:auto;
    max-width: 180px;
    /* filter: drop-shadow(0px 0px 45px var(--offerwall-theme-color)); */
}

.offerwall-card .card-title{
    margin-bottom: 2px;
}

.offerwall-badge{
    color: #FFF;
    font-weight: 500;
    margin-right: -24px;
    font-size: 12px;
    line-height: 25px;
    float: right;
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 10% 100%, 0% 50%);
    background-color: #0096887d;
    background:linear-gradient(90deg, hsl(165deg 89% 31% / 72%) 0%, hsl(161deg 46% 49% / 85%) 100%);
    padding-left: 12px;
}

.offerwall-badge span{
    display: inline-block;
    padding-right: 4px;
    padding-left: 4px;
}

.top-offerwall-badge{
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 15% 100%, 0% 50%);
    background-color: #F1556C7d;
    background: linear-gradient(90deg, hsl(12deg 50% 52% / 92%) 0%, hsl(343deg 51% 45% / 78%) 100%);
}

.offerwall-action-btn{
    position: absolute;
    bottom: 20px;
}

.offerwall-image-container{
    border-radius: 0.25rem 0.25rem 0 0;
    border-radius: 8px 8px 0 0;
    height:100px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.show-offerwall-btn{
    background: linear-gradient(to right, rgb(0, 180, 219), rgb(0, 131, 176));
    border: 0px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: 0.2s all ease;
}

.show-offerwall-btn:hover{
    transform: scale(1.02);
}

.login-to-view-btn{
    border-radius: 8px;
    background-color: #434d57;
}

.offerwall-card.compact-view{
    height: auto;
    margin-bottom: 0px;
    border-radius: 8px;
    background-color: #212a31;
}
.offerwall-card.compact-view .card-body{
    padding: 15px;
}
/* .offerwall-card.compact-view .card-body:before{
    content: ' ';
    display: block;
    position: absolute;
    text-align: right;
    right: 0;
    top: 15px;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: var(--offerwall-image-url);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 160px;
} */
.offerwall-card.compact-view .favourite-btn{
    /* Move the position of favourite button from top to bottom (near the show offerwall button) */
    bottom: 15px; /* Change with card-body.padding */
    top: auto;
}
.offerwall-card.compact-view .card-title{
    font-size: 16px;
    white-space: nowrap;
}
.offerwall-card.compact-view .card-text, .offerwall-card.compact-view .offerwall-badge span{
    /* Hides the 'Top' or 'Recommended' text (but icon remains displayed) */
    display:none;
}
.offerwall-card.compact-view .offerwall-action-btn{
    position: unset;
}
.offerwall-card.compact-view .offerwall-new-tab{
    /* display:none; */
    margin-left: -5px;
    font-size: 17px;
    top: 3px;
    line-height: 15px;
}
.offerwall-card.compact-view .offerwall-popularity{
    /* Reduce the icon size of star rating */
    font-size: 12px;
}
.offerwall-card.compact-view .offerwall-action-btn .show-offerwall-btn{
    padding: 5px 10px;
    font-size: 12px;
    max-width: 55%; /* To make sure favourite & open in new tab button remain displayed without congestion */
    white-space: nowrap;
    text-overflow: ellipsis;
}
.offerwall-card.compact-view .offerwall-image-container{
    display: none;
}
.offerwall-card.compact-view .offerwall-badge{
    margin-top: -5px;
    margin-right: -15px; /* Change with card-body.padding */
    clip-path: polygon(35% 0%, 100% 0%, 100% 100%, 35% 100%, 0% 50%)  !important;
    padding-left: 8px;
    padding-right: 4px;
    line-height: 22px;
    font-size: 14px;
}
.offerwall-card.compact-view .survey-available-badge{
    top:-10px;
}
@media only screen and (max-width: 425px) {
    .offerwall-card.compact-view .offerwall-action-btn .show-offerwall-btn .offerwall-name{
        /* Hide the offerwall name when the space is congested on mobile phones */
        display: none;
    }
}
@media only screen and (min-width:769px) {
    .offerwall-card.compact-view .offerwall-popularity{
        font-size: 14px;
    }
}

.offerwall-new-tab{
    font-size:20px;
    position: relative;
    top:4px;
}
.offerwall-modal .modal-content{
    border-radius: 6px;
}
.offerwall-modal .modal-body{
    padding:4px;
    margin-bottom: -7px;
}
.offerwall-modal .modal-header{
    padding: 0.6rem 0.8rem;
}
.offerwall-modal .modal-content, .offerwall-modal .modal-header{
    background-color: #2a343d;
}

.offerwall-popularity{
    /* margin-top:-14px; */
    margin-bottom:8px;
    color:#f1c40f;
    display: inline-block;
}

#offerwall-frame{
    width:100%;
    border:none;
    min-height:600px;
    border-radius: 4px 4px 3px 3px; /* For a perfect border radius: outerRadius = innerRadius + spaceBetween (or padding) */
    margin-top:-7px;
    height:88vh;
    background: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 100% 100%"><text fill="%23bdbdbd" x="50%" y="50%" font-family="\'Lucida Grande\', sans-serif" font-size="24" text-anchor="middle">Loading...</text></svg>') 0px 0px no-repeat;
}

.bonus-box{
    /* background: linear-gradient(-45deg, #da4453, #89216b); */
    /* background: linear-gradient(45deg,#3867d6,#a55eea); */
    background-color: #141a30;
    /* background-color: #1a2037; */
    /* background: #1c234a; */
    color: #36aefc;
}

.bonus-box .bonus-box-title{
    color:#56caff;
    /* color:#32bfff; */
}

.bonus-percent{
    background-color: #3a97d4;
    /* background: linear-gradient(45deg, #69c4ff, #2facff); */
    background: linear-gradient(193deg, #96d6ff, #2facff);
    font-size: 20px;
    font-weight: 500;
    height: 100%;
    min-width: 45px;
    justify-content: center;
    align-items: center;
    color: #3a97d4;
    display: flex;
    /* box-shadow: 1px 0px 6px 1px #03a9f412; */
    border-radius: 8px;
    transform: scale(1.05);
}

.bonus-box-content b{
    color:#56caff;
}

.bonus-percent-text{
    background: -webkit-linear-gradient(45deg, #151844, #151844);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bonus-countdown-ribbon{
    color: #1a2037;
    font-weight: 500;
    margin-right: -24px;
    line-height: 24px;
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 10% 100%, 0% 50%);
    padding-left: 10px;
    background: linear-gradient(193deg, #96d6ff, #2facff);
} 


.show-category-btn{
    padding:6px 30px;
    display: inline-block;
    border-radius: 5px;
    background-color: #29313A;
    color:#0ed2f7;
    position: relative;
    cursor: pointer;
    margin-left:-20px;
    transition: 0.2s all ease;
}
.show-category-btn:first-child{
    margin-left:0px;
}

.show-category-btn:hover{
    color:#0ed2f7be;
}

.show-category-btn.category-active{
    /* background-color:#55efc4; */
    /* background:linear-gradient(to right, rgb(168, 255, 120), rgb(120, 255, 214)); */
    background:linear-gradient(to right, rgb(178, 254, 250), rgb(14, 210, 247));
    color:#29313A;
    z-index: 1;
    cursor: default;
}

.new-offerwall-badge{
    margin-top: 5px;
    margin-bottom: 8px;
    display: inline-block;
    -webkit-box-shadow: 0 0 9px 0 #f672a770 !important;
    box-shadow: 0 0 9px 0 #ffc10770 !important;
    background: linear-gradient(to right, rgb(247, 151, 30), rgb(255, 210, 0));
    color: #242d35;
    font-weight: 500;
    padding: 3px 8px;
}

.survey-available-badge-wrap{
    filter: drop-shadow(-1px 6px 3px rgba(50, 50, 0, 0.1));
    display:none;
}

.survey-available-badge{
    background:linear-gradient(45deg,#FFC312, #fd9644);
    color: #814905;
    padding:2px 8px;
    padding-right:18px;
    border-radius: 6px;
    position: absolute;
    top: -4px;
    left: -4px;
    font-size:11px;
    font-weight: 500;
    /* clip-path: polygon(0% 0%, 80% 0%, 100% 0%, 80% 100%, 0% 100%); */
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
}

.survey-available-badge.alt-color{
    background: linear-gradient(to right, rgb(12, 235, 235), rgb(32, 227, 178), rgb(41, 255, 198));
    color: #364149;
}

.surveys-checker-spinner{
    color:white;
    position: absolute;
    top:7px;
    left:7px;
    opacity: 0.5;
}

.survey-available-badge:after {
    animation: shine 3s ease-in-out  infinite;
    animation-fill-mode: forwards;  
    content: "";
    position: absolute;
    top: -400%;
    left: -200%;
    width: 200px;
    height: 200px;
    opacity: 0;
    /* transform: rotate(30deg); */
    
    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(
      to right, 
      rgba(255, 255, 255, 0.13) 0%,
      rgba(255, 255, 255, 0.13) 77%,
      rgba(255, 255, 255, 0.5) 92%,
      rgba(255, 255, 255, 0.0) 100%
    );
}

@keyframes shine{
    70% {
      opacity: 1;
      top: -10%;
      left: -10%;
      transition-property: left, top, opacity;
      transition-duration: 0.7s, 0.7s, 0.15s;
      transition-timing-function: ease;
    }
    100% {
      opacity: 0;
      top: -10%;
      left: -10%;
      transition-property: left, top, opacity;
    }
}

.offerwall-card.offerwall-disabled{
    filter:grayscale(0.4);
    opacity: 0.5;
    pointer-events: none;
}

.offerwall-locked-badge{
    position: absolute;
    z-index: 9;
    background-color: #E91E63;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    border: 2px solid #ffffff52;
    border-width: 0px 2px 2px 0px;
    cursor: pointer;
}

.offerwall-special-bonus-badge{
    position: absolute;
    z-index: 9;
    /* background:linear-gradient(to right, rgb(237, 33, 58), rgb(147, 41, 30)); */
    background:linear-gradient(to right, rgb(218, 68, 83), rgb(137, 33, 107));
    color: #ffffffed;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    top:-6px;
    right: -4px;
}
.offerwall-card.compact-view .offerwall-special-bonus-badge{
    font-size: 12px;
    top: -10px;
}
.offerwall-card.special-bonus-active:not(.compact-view) .favourite-btn{
    /* Move the favourite button a little lower on detailed view so it doesn't collide with special bonus badge */
    top:25px;   
}

.offerwalls-top-action-btns .btn{
    margin-bottom: 5px;
}

.help-modal .modal-body{
    display: flex;
    flex-direction: column;
}

.category-title{
    background-color: #2a3239; 
    background: linear-gradient(45deg, #252c32, #2a3239);
    padding-left: 11px; 
    padding: 8px 15px; 
    border-radius: 8px;
    color:#ffffffd4;
    margin-bottom: 25px;
    font-size: 18px;
}
.category-title i{
    margin-right: 2px;
}

@media only screen and (min-width: 768px) {
    .bonus-percent {
        font-size:35px;
    }
}

@media only screen and (min-width: 1024px) {
    .bonus-percent {
        font-size:48px;
    }
}

@media only screen and (max-width: 768px) {
    .offerwall-modal{
        /* Without overflow hidden the modal scrolls a bit out of screen on mobile phones */
        overflow-y: hidden !important;
    }
    .offerwall-modal #offerwall-frame{
        height: 100%;
        margin-top:0px;
        border-radius: 0px;
    }
    .offerwall-modal .modal-body{
        padding: 0px;
    }
    .offerwall-modal .modal-content, .offerwall-modal .modal-header{
        background-color: #22272d;
    }

    .show-category-btn{
        padding: 6px 20px;
    }
}