// THEME
$font-family: "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
$font-white: #fff;
$font-white-50: rgb(255 255 255 / 50%);
$font-white-75: rgb(255 255 255 / 75%);
$font-black: #222;
$gold-gradient: linear-gradient(90deg, #faf39a 0%, #efe089 2%, #dcc16c 5%, #cca654 8%, #c09242 12%, #b88435 16%, #b37c2d 22%, #b1792b 30%, #b88535 39%, #caa351 54%, #e8d57e 73%, #faf39a 84%, #fff 98%, #fff 100%);
$black: #242428;
$error_red: #cf3339;

$color-danger : #dc3545!important;
$yellow: #fde501;
$yellow-orange: #FFD24F;

$transition : .3s ease !important;

$main-color: #b21414;
$bg-nav-color : #8b0d0ded;
$main-color-50: #b21414aa;
$main-color-00: #b2141400;
$main-text-color: #fff;
$main-masthead: url('/assets/images/cl/_main/Plant-Rewards_Masthead.png');
$main-bg:  url('/assets/images/suubalm/dummy-bg.png');

@mixin body-style {
    background: $background;
    background-attachment: fixed;
    background-size: cover;
    //color: $font-white;
}

@mixin popup-style {
    background: $anchor-blue-gradient;
    color: $font-white;
    background-size: cover;
}

@mixin primary-btn {
    //background: $gold-gradient;
    //color: $font-white;
    font-family: $font-family;
    //font-weight: bold;
    border: none;

}

@mixin footer-style {
    color: #fff;
    background: $black;
}

body {
    //@include body-style;
    //background-color: $main-color;
    font-family: $font-family;
    //font-weight: normal;
    overflow-x: hidden;
    //line-height: 1.2;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-size: .9rem;

    @media screen and (max-width: 320px) {
        font-size: 12px;
    }
    .bg-color{
        background-color: $main-color;
    }
    .bg-color-50{
        background-color: $main-color-50;
    }
    .bg-nav{
        //background-color: $bg-nav-color;
    }

    .bg-layer {
        //background-image: $main-bg;
        background-size: cover;
        background-position: 50% 50%;
        //background-color : $main-color-50;
        z-index: -9999;
        position: fixed;
        height: 100vh;
        top: 0;
        left: 50%;
        transform: translateX(-50%);

        .bg-layer-gradient {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            //background: $main-color;
            //background: linear-gradient(90deg, $main-color 0%, $main-color-00 2%, $main-color-00 98%, $main-color 100%);
        }

        .bg-layer-img {
            width: 100%;
            height: 100%;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: 50% 0%;
            //background-color: $main-color;
            //background-image: $main-bg ;
        }
    }
    .navbar-nav .nav-link{
        position: relative;
    }
    input, select {
        font-family: $font-family;
    }

    h1, h2, h3, h4, h5, h6 {
        margin: 10px auto;
        font-weight: 700;
        //font-family: 'Josefin Sans', sans-serif;
    }

    b, .bold , .text-bold{
        font-weight: bold;
    }

    a {
        color: inherit;
        transition: $transition;

        &:hover {
            color: inherit;
            opacity: .5;
        }
    }

    //small, .small {
    //    margin: 10px auto;
    //    display: block;
    //    font-size: .7rem;
    //    color: $font-white-75;
    //}
    .text-underline{
        text-decoration: underline;
    }

    img {
        object-fit: contain;
    }
    .cursor-pointer {
        cursor: pointer;
        transition: $transition;
        &:hover{
            opacity: .7;
        }
    }
    .-z-1{
        z-index: 0;
    }
    .z-0{
        z-index: 0;
    }
    .z-1{
        z-index: 1;
    }
    .z-2{
        z-index: 2;
    }
    .z-10{
        z-index:10;
    }
    .rounded-sm{
        border-radius: 0.125rem;
    }
    .rounded{
        border-radius: 0.375rem;
    }
    .rounded-md{
        border-radius: 0.375rem;
    }
    .rounded-lg{
        border-radius: 0.5rem;
    }

    .opacity-50{
        opacity: .5;
    }
    .opacity-100{
        opacity: 1;
    }
}

#app:not(.daterangepicker td){
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    //color: $main-text-color;
}
button {
    transition: $transition;

    &:focus, &:hover {
        outline: none;
        webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        opacity: .9;
    }

    a {
        text-decoration: none;
    }

    &.btn-collect {
        &.disabled {
            display: none;
        }

        &.claimable {
            font-size: 16px;
            line-height: 32px;
            background-color: $yellow-orange;
            border: 0px;
            color: #3A2178;
            cursor: pointer;
            width: 100%;
            border-radius: 0 5px 5px 0;
        }
    }
}


.btn-primary:not(.applyBtn) {
    @include primary-btn;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.25rem;
    padding: .5em 2.5em;
    line-height: unset;
    font-size:0.9rem;
    font-weight: bold;

    &[disabled], &.disabled {
        background: #989898;
        cursor: default;

        &:hover {
            background: #989898;
            opacity: 1;
        }
    }

    &:hover, &:focus, &:target, &:active {
        @include primary-btn;
        opacity: .5;
    }
}

.footer {
    //background : #072723;
    //background: rgb(248,150,39);
    //background: linear-gradient(90deg, rgba(248,150,39,1) 0%, rgba(249,201,73,1) 100%);
}

.headline {
    padding: 0px 10px;
}

.modal-theme {
    .modal-header, .modal-footer{
        border: 0;
    }
    .modal-content{
        background: transparent;
        border: 0;
    }
    .modal-masthead{
        width: 75%;
        max-width: 250px;
        z-index: 1;
        margin: 0 auto;
        margin-bottom: -100px;
    }
    //.modal-close{
    //    position: absolute;
    //    width: 40px;
    //    justify-content: center;
    //    align-items: center;
    //    height: 40px;
    //    right: 0;
    //    top: 0;
    //    transform: translate(40%, -40%);
    //    background: #fff;
    //    border-radius: 50%;
    //    display: flex;
    //    cursor :pointer;
    //    transition: $transition;
    //    i{
    //
    //        transition: $transition;
    //    }
    //    &:hover{
    //        i {
    //            color: #971b26 !important;
    //        }
    //    }
    //}
    .modal-body{

        //padding-top: 65px;
        //background: #faba00 url('/assets/images/cl/_main/plant-reward-popup-bg.png') no-repeat 50% 100%;
        background-size: cover;
        border-radius: 1rem;
        //border: .5rem solid #fff;
        background: #444;
        //background: $main-color;
    }

}

.popup {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: RGBA(0, 0, 0, 0.8);
    z-index: 3;
}
.receipt-feedback-container{
    margin: 15px auto;
    display: block;
    .receipt-feedback-component {
        background-color: #2b96af;
        border-radius: 1em;
        color: #fff;
        font-size: .8em;
        height: 1.6em;
        line-height: 1.6em;
        padding: 0 .6em 0 0.3em;
        text-align: left;
        width: auto;
        display: inline-block;
        white-space: nowrap;
        margin: 4px;
        font-size: 11.5px;

        i{
            width: 12px;
            display: inline-block;
        }
        span{
            //width: 60%;
            text-align: center;
            display: inline-block;
        }
        &.invalid{
            background-color: #e9e9e9;
            color: $black;
            i{
                color: red;
                &[state=valid]{
                    display: none;
                }
                &[state=invalid]{
                    display: inline-block;
                }
            }

        }
        &.valid{
            i[state=invalid]{
                display: none;
            }
            i[state=valid]{
                display: inline-block;
            }
        }
    }
}

// registration otp stuff
.form-group {
    label{
        font-size: 0.8rem;
        margin-bottom: 0.125rem;
    }
}
input.codebox, input[type=number] {
    width: 11vw;
    height: 11vw;
    max-height: 45px !important;
    max-width: 45px !important;
    margin: 2px;
    padding: 5px !important;
    font-size: 18px !important;
    text-align: center;
    font-weight: 800 !important;
}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}
.form-check{
    //background: #f4f4f44d;
    display: block;
    padding: 5px;
    border-radius: 5px;
    transition: $transition;
}

.form-check label {
    position: relative;
    cursor: pointer;
}

.form-check label:before {
    content:'';
    -webkit-appearance: none;
    background-color: transparent;
    border: 2px solid #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
    padding: 10px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 10px;
    height: 25px;
    width: 25px;
    border-radius: 5px;
    transition: $transition;
}
.form-check input:checked + label:before{
    //background: $main-color;
}
.form-check input:checked + label:after {
    content: '';
    display: block;
    position: absolute;
    top: 5px;
    left: 9px;
    width: 6px;
    height: 14px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

// install toast
.install-toast{
    z-index: 10;
    position: sticky;
    font-size:12px;
    //top: calc(100vh - 220px );
    //color: $font-black;
    text-shadow: none;
    bottom: 0;

    #install-app{
        display:flex;
        padding: 10px;
        //color: $font-black;
        //background: $font-white-50;
        text-shadow: none;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        font-size: .75rem;
        border-radius: 20px;
    }
}




/* FOOTER */
.footer {
    @include footer-style;
    width: 100%;
    text-align: center;
    margin: 100px auto 0;
    //display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    white-space: nowrap;
    padding: 10px 0;


    .container {
        margin: 0 auto;
        width: 100%;
        max-width: 1200px;
        display: flex;
        padding: 10px 0;
        align-items: center;
        justify-content: center;

        & > div {
            width: calc(100% / 3) !important;
            margin: 5px auto;
            display: flex;
            justify-content: center;
            align-items: center;

            &:first-child {
                justify-content: flex-start;
                align-self: flex-start;
                margin-top: 15px;
                padding-left: 20px;
            }

            &:last-child {
                justify-content: flex-end;
                align-self: flex-start;
                margin-top: 15px;
                padding-right: 20px;
            }
        }

        .fab {
            font-size: 2em;
            margin: 0 10px;
        }

        &.space-between {
            justify-content: space-between;
        }

        @media screen and (max-width: 768px) {
            flex-direction: column;
            align-items: center;
            & > div,
            & > div:first-child,
            & > div:last-child {
                width: 100%;
                justify-content: center;
                padding-left: 0;
                padding-right: 0;
            }
        }
    }

    .left {
        display: inline-flex;
        justify-content: flex-start;
        align-items: center;
        margin-left: 10px;

    }

    .right {
        display: inline-flex;
        justify-self: right;
        margin-right: 10px;
    }

    span {
        margin: 0 5px;
        display: inline;
        justify-content: center;
        text-align: right;
        @media screen and (max-width: 768px) {

            text-align: center;
        }

        a, a:hover {
            color: #fff;
            text-decoration: none;
            transition: .3s;
        }

        a:hover {
            opacity: .9;
        }
    }

    .skale {
        font-size: 1rem;
        font-weight: 600;
        margin-left: 5px;
    }
}

.loading-content {
    color: white;

    .spinner-border {
        -webkit-animation: spinner-border .75s linear infinite;
        animation: spinner-border .75s linear infinite;
        border: .25em solid;
        border-radius: 50%;
        border-right: .25em solid transparent;
        display: inline-block;
        vertical-align: text-bottom;
        border-width: .2em;
        height: 1rem;
        width: 1rem;
    }

    @-webkit-keyframes spinner-border {
        0% {
            -webkit-transform: rotate(0deg);
        }
        100% {
            -webkit-transform: rotate(360deg);
        }
    }

    @keyframes spinner-border {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }

}

/* social media share*/
.social-share {
    text-align: center;
    //margin: 50px auto;

    a {
        border-radius: 50%;
        background: $black;
        width: 35px;
        height: 35px;
        color: #ffffff;
        display: inline-flex;
        text-decoration: none;
        justify-content: center;
        align-items: center;
        font-size: 15px;
        margin: 0px 10px;
        box-shadow: 1px 1px 3px rgb(0 0 0 / 30%);
        transition: .3s;
    }

    a:hover, a:target {
        box-shadow: none;
    }

    i {
        box-shadow: none !important;
    }

}

.contact_us {
    &.footer_item {
        p {
            margin-top: 5px;
            margin-bottom: 5px;
        }
    }

    p {
        margin-top: 0px;
        margin-bottom: 3px;

        &.mb-1 {
            margin-bottom: 15px;
        }

        i {
            margin-right: 5px;
        }
    }
}


// main ui stuff
#bingo_status_container {
    padding: 10px 20px;
}

.card_status {
    display: inline-grid;
    grid-template-columns: 33% 33% 33%;
    width: 100%;
    height: 50px;
    border: 1px solid #666;
    margin-top: 5px;
    font-size: 0.8em;
}

.card_placeholder {
    display: inline-block;
    width: 100%;
    height: 50px;
    border: 1px dotted #e9e9e9;
    margin-top: 5px;
}

.card_status_img {
    grid-column-start: 1;
    grid-column: 1;
    background-color: #FFFFFF;
    //background-image: url(https://msr.skale.today/assets/images/afp/stampcard/MSR_masthead.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.card_status.completed .card_status_details {
    grid-column: 1;
    grid-column-start: 2;
    text-align: center;
    height: 50px;
    line-height: 50px;
}

.card_status.incomplete .card_status_details {
    grid-column: 2;
    grid-column-start: 2;
    grid-column-end: 4;
    text-align: center;
    height: 50px;
    line-height: 50px;
    cursor: pointer;
}

.card_status_details span {
    vertical-align: middle;
}

.card_status_buttons {
    grid-column: 1;
    grid-column-start: 3;
    text-align: center;
}

.card_status_buttons button {
    width: 80%;
    height: 80%;
    border-radius: 5px;
    background-color: #144F89;
    color: #FFFFFF;
    border: none;
    font-weight: bold;
    height: 40px;
    margin: 5px auto;
}

.card_status_buttons.redeemed {
    text-align: center;
    height: 50px;
    line-height: 50px;
}

.rewards_container {
    text-align: center;
}

span.rewards_icon {
    font-size: 3em;
}

.rewards_full {
    display: inline-block;
    width: 80%;
    text-align: center;
    vertical-align: top;
    font-size: 0.8em;
}

.rewards_half {
    display: inline-block;
    width: 45%;
    text-align: center;
    vertical-align: top;
    font-size: 0.8em;
}


/* Grid status home page */

#card_box_default {
    display:none;
}

#bingo_card {
    display: -ms-grid;
    display: grid;
    min-width: 300px;
    min-height: 300px;
    max-width: 400px;
    max-height: 400px;
    width: 90vw;
    height: 90vw;
    grid-template-columns: 33.3% 33.3% 33.3% ;
    -ms-grid-columns: 33.3% 33.3% 33.3% ;
    grid-template-columns:  33.3% 33.3% 33.3% ;
    -ms-grid-rows:  33.3% 33.3% 33.3%;
    grid-template-rows:  33.3% 33.3% 33.3%;
    text-align: center;
    line-height: calc(300% / 3);
    margin: 10px auto 10px auto;

    .card_box {
        position:relative;
        display: grid;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        &:focus .card-inner,
        &:hover .card-inner {
            transform: translate(1px, 1px);
            //box-shadow: 1px 1px 3px rgb(0 0 0 / 30%);
        }
        &.disabled {
            opacity: 1; /*or 0.2 to fade out*/
        }
        &.collectible {
            /*
            background-color: #FFD24F;
            border: 2px solid #8984B9;
            color: #3A2178;
            */
        }

        .card-inner{
            width: 92.5%;
            height: 92.5%;
            border-radius: 15%;
            //background-image: none;
            background-repeat: no-repeat;
            background-position: 50% 50%;
            background-size: contain;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin: 0 auto;
            &.alt {
                //background-image: url('/assets/images/afp/stampcard/icons/icon-bg-alt.png');
            }

            &.status {
                background: transparent;
            }

            * {
                display: block;
                margin: 0 5px;
            }
            p {
                display: none;
                font-size: .65rem;
                line-height: 1.2;
                margin-top:5px;
                @media screen and (max-width: 420px) {
                    font-size: 2.3vw;
                }

            }
            img {
                width: 90%;
                height: 90%;
                object-fit: contain;
            }

        }


    }
}

.btn-refresh {
    margin: 0 auto;
    display: inline-block;
    text-align: center;
    font-size: .75rem;
    color: white;
    background: black;
    padding: 8px 14px;
    border-radius: 20px;
    box-shadow: 3px 3px 3px rgb(0 0 0 / 30%);
    font-weight: bold;
    transition: .3s;

    &:hover {
        box-shadow: 1px 1px 3px rgb(0 0 0 / 30%);

        i {
            /*transform: rotate(360deg);*/
            -webkit-animation: spin .5s linear;
            -moz-animation: spin .5s linear;
            animation: spin .5s linear;
        }
    }

    i {
        transition: 1s;
    }

    &.refreshing {
        box-shadow: none;
        background: rgba(0, 0, 0, 0.25);

        i {
            -webkit-animation: spin .5s linear infinite;
            -moz-animation: spin .5s linear infinite;
            animation: spin .5s linear infinite;
        }
    }

    @-moz-keyframes spin {
        100% {
            -moz-transform: rotate(360deg);
        }
    }
    @-webkit-keyframes spin {
        100% {
            -webkit-transform: rotate(360deg);
        }
    }
    @keyframes spin {
        100% {
            -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
        }
    }
}

.grid_status {
    background: #F2F2F2;
    border-radius: 20px;
    width: 90vw;
    max-width: 400px;
    margin: 25px auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: $black;
    padding: 10px 0 15px;
    line-height: 1.25;
    .title {
        color: $black;
        font-weight: 800;

    }
    .icon {
        width: 15%;
        text-align: center;
        margin-right: 5%;
        img {
            width: 100%;
        }
    }
    .content {
        width: 80%;
        text-align: left;
        font-size: 0.75rem;
        & > * {
            margin: 5px auto;
        }
        & > *:first-child {
            margin-top: 0;
        }
        & > *:last-child {
            margin-bottom: 0;
        }
    }
    ul {
        padding-left: 15px;
    }
    .header {
        font-size: .8rem;

    }
    p.sub_header {
        color: #808080;
        font-weight: 700;
    }
}

.grid_status_row {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: start;
    width: 90%;
    margin: 10px auto;

}



/* Bottom App Store Download */
.logos {
    /*background-image: url('../../assets/images/afp/stampcard/mall_logos.png');*/
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-color: #FFFFFF;
    height: 120px;
    width: 100%;
    margin: 10px 0px;
    padding: 0px;
}

.background-emphasis {
    background-color: RGBA(1, 1, 1, 0.2);
    padding: 10px 0px;
    margin: 10px 0px;
}

.app_download_container {
    width: 100%;
    margin: 25px auto;
    text-align: center;
    h2, p {
        margin: 5px auto;
    }
    p {
        font-size: .8rem;
    }
    img.app_icon {
        height: 40px;
        border-radius: 10%;
    }

    img.app_download_button {
        height: 40px;
        margin: 2px;
        /*width: 40%;*/
    }

}

#container_bingo #bingo_header {
    text-align: center;
    margin-top: 30px;
    color: #FFD24F;
}

#select2-signup-avatar-input-container {
    font-size: 2.5em;
    margin-top: -2px;
}

.select2-selection__rendered {
    line-height: 35px !important;
}

.select2, .select2-selection, .select2-selection__arrow, .select2-container .select2-selection--single {
    color: #222;
    font-size: 0.9em;
    height: 35px !important;
    text-align: left;
}

.select2-choices {
    min-height: 150px;
    max-height: 150px;
    overflow-y: auto;
}

.mobile-wrapper {
    display: flex;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;

    select, input {
        display: inline-block;
        border-radius: 0;
    }
}

select#signup-countrycode, select#login-countrycode {
    padding: 0.5em;
}


/* loader */
#bingo_loading {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 30vh;
}

.loader {
    border: 5px solid #fff5;
    border-radius: 50%;
    border-top: 5px solid #fff;
    width: 50px;
    height: 50px;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

select#countrycode, select#login-countrycode {
    display: inline-block;
    //width: 4em;
    font-size: 1em;
    line-height: 1.2em;
    border-radius: 0px;
    border: 0px;
    background-color: #FFFFFF;
}



// leaderboard stuff
#status_rewards, #status_cards, #leaderboard_cards, #recent_cards {
    width: 100%;
    margin: 0 auto;

    .message {
        text-align: center;
        font-size: 2em;
        opacity: 0.5;
        color: #fff;
        font-weight: bold;
        margin: 50px auto;
    }
}

.status_reward, .status_card {
    margin: 0 auto 10px;
    display: flex;
    width: 100%;
    justify-content: start;
    background: #ffffffee;
    border-radius: 5px;
    overflow: hidden;

    &[card_id="template"] {
        display: none;
    }

    &-img {
        width: calc(100% / 3);
        background: white;
        display: flex;
        justify-content: center;
        align-items: center;
        //padding: 15px;
        img {
            object-fit: contain;
            width: 90%;
            height: 75px;
        }
    }

    &-content {
        text-align: center;
        width: calc(100% / 3);
        color: $black;
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        //padding: 15px;
        &-item {
            h4, span, small {
                margin: 5px auto !important;
                color: $black !important;
            }
        }
    }

    &-cta {
        width: calc(100% / 3);
        display: flex;
        justify-content: center;
        align-items: center;
        //padding: 15px;

        a {
            text-decoration: none;
            color: $black;
            background: #f1b841;
            border: 0;
            border-radius: 5px;
            width: calc(100% - 30px);
            height: calc(100% - 15px);
            max-width: 200px;
            max-height: 40px;
            font-size: 1em;
            font-weight: bold;
            justify-content: center;
            display: flex;
            align-items: center;
        }
    }
}

.status_reward {
    &-content {
        width: calc(100% / 3 * 2);
    }
}

.leaderboard_card, .recent_card {
    margin: 0 auto 10px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    background: #ffffffee;
    border-radius: 5px;
    overflow: hidden;

    &[card_id="template"] {
        display: none;
    }

    &-img {
        margin: 15px;
        width: 50px;
        height: 50px;
        text-shadow: 0px 0px 2px #1033565e;
        background: #1033560d;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 35px;

        img {
            object-fit: contain;
            width: 100%;
            //height: 100%;
        }
    }

    &-content {
        text-align: left;
        width: calc(100% - 70px);
        color: $black;
        justify-content: center;
        align-items: start;
        display: flex;
        flex-direction: column;
        //padding: 15px;
        &-item {
            text-align: left;

            h4, span, small {
                margin: 5px auto !important;
                color: $black !important;
            }
        }
    }

    &-medal {
        display: none;
        margin: 15px;
        width: 35px;
        //display: flex;
        justify-content: center;
        align-items: center;
        color: #ccc;
        font-weight: 900;

        &.hidden {
            img {
                display: none;
            }
        }

        img {
            width: 35px;
            height: 35px;
            object-fit: contain;
        }
    }

    &:nth-child(1) {
        .leaderboard_card-medal {
            background: url("/assets/images/afp/stampcard/medal_1.svg") no-repeat 50% 50%;
            background-size: contain;
        }
    }

    &:nth-child(2) {
        .leaderboard_card-medal {
            background: url("/assets/images/afp/stampcard/medal_2.svg") no-repeat 50% 50%;
            background-size: contain;
        }
    }

    &:nth-child(3) {
        .leaderboard_card-medal {
            background: url("/assets/images/afp/stampcard/medal_3.svg") no-repeat 50% 50%;
            background-size: contain;
        }
    }
}

.recent_card {
    &-content {
        text-align: left;
        width: calc(100% - 60px - (100% / 3));
    }

    &-reward {
        width: calc(100% / 3);
        background: white;
        display: flex;
        justify-content: center;
        align-items: center;

        img {
            object-fit: contain;
            width: 90%;
            height: 75px;
        }
    }
}

.tabs-list {
    display: flex;
    justify-content: space-evenly;
    align-content: center;

    width: 100%;
    padding: 0;

    text-align: center;
    list-style: none;

    transition: .3s ease;
    font-size: .8em;
    font-weight: 700;
    margin: 10px auto;
    li {
        font-size: 12px;
        padding: 5px;
        margin: 0;
        border-bottom: 2px solid rgba(255, 255, 255, .25);

        &:hover {
            border-bottom: 2px solid rgba(255, 255, 255, .5);
            transition: .3s ease;
        }

        &.active {
            border-bottom: 2px solid white;
            transition: .3s ease;

            &:hover {
                opacity: 1;
            }
        }
    }


    &.leaderboard_page {
        font-size: 1.2em;
        font-weight: 700;
        margin: 50px auto 25px;

        li {
            padding: 10px 20px;
            margin: 0 20px;
        }
    }


    a {
        text-decoration: none;
    }

}

.demo-receipt-box {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    transition: .3s ease!important;
    z-index: 0;

    .img-demo {
        max-width: 350px;
    }
    .img-wrapper {
        cursor: pointer;
        border-radius: 10px;
        box-shadow: 1px 1px 3px rgb(0 0 0 / 50%);
        padding: 5px;
    }
    .img-wrapper:hover, .img-wrapper:target {
        box-shadow: none;
    }
}
