﻿/* for error message in forms */
.invalid-feedback {
    padding-left: 165px; /* px follow ".form-group label" min width*/
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    position: relative;
    top: -1rem;
}

.error {
    color:red;
}

/* for registration vericode */
#registrationVeriCode {
    margin-top: 5px;
    height: 40px;
    border-radius: 5px;
}

/* For daily checkin */
.btn-dly {
    background: linear-gradient(135deg, #d729ca, #e57575);
    color: #000;
    border: none;
    padding: 10px 30px;
    /* border: 1px solid #aa284a96; */
    box-shadow: 0px 0px 20px 8px #af2121, 0px 0px 20px 0px #9d1cc3;
    font-size: 20px;
    border-radius: 10px;
    font-weight: bold;
    text-shadow: 0px 1px 0px white;
}

.btn-bfr {
    position: absolute;
    bottom: 30%;
    display: flex;
    gap: 10px;
    justify-content: center;
    left: 0;
    right: 0;
    margin: 0px auto;
    list-style: none;
}

.wheel_product_inner {
    width: 500px;
    height: 500px;
    position: relative;
    margin: auto;
}

.wheel-wrap .wheel_product_frame {
    animation: unset;
    width: auto;
    position: relative;
    bottom: initial;
}

#fortune-wheel-canvas {
    position: absolute !important;
    z-index: auto !important;
    top: -40px !important;
    left:-70px !important;
    height: 590px !important;
    width: 590px !important;
}

/* Styles for /wheel page */
body.wheel-page #fortune-wheel-canvas {
    top: -160px !important;
    left: unset !important;
    height: 990px !important;
    width: 990px !important;
}

.fortune-wheel-center-logo {
    top: 183px !important;
    z-index: 9999 !important;
}

.fortune-wheel-pointer-img {
    top:5px;
    z-index:9999!important;
}

.wheel-wrap .wheel_product_arrow {
    bottom: 265px;
}

.fortune-wheel-prize div {
    font-size: 28px !important;
    font-weight: bold !important;
    color: #ed1d49 !important;
}

.fortune-wheel-prize {
    /*margin-top: 10% !important;*/
    bottom: 435px !important;
    background-repeat: no-repeat !important;
    background-position-x: center !important;
}

.fortune-wheel-token{
    bottom: -18%!important;
}

.fortune-wheel-spin-button{
    bottom: -18%!important;
}

@media (max-width: 600px) {
    .wheel_product.wheel-wrap {
        height: unset;
        width: unset;
    }

    .wheel_product_inner {
        width: 400px;
        height: 400px;
    }

    #fortune-wheel-canvas {
        top: -40px !important;
        left: -70px !important;
        height: 590px !important;
        width: 590px !important;
    }

    /* Only apply in /wheel page */
    body.wheel-page .wheel-wrap .wheel_product_frame {
        width: 400px!important;
    }

    body.wheel-page #fortune-wheel-canvas {
        top: -93px !important;
        left: unset !important;
        height: 646px !important;
        width: 646px !important;
    }

    .wheel-wrap .wheel_product_arrow {
        bottom: 180px;
    }

    /* Only apply in /wheel page */
    body.wheel-page .wheel-wrap .wheel_product_arrow {
        width: 40px;
    }

    .fortune-wheel-prize {
        bottom: 390px !important;
    }
}

@media (max-width: 420px) {
    .wheel_product.wheel-wrap {
        height: unset;
        width: unset;
        min-height: 320px;
    }

    .wheel_product_inner {
        width: 300px;
        height: 300px;
    }

    #fortune-wheel-canvas {
        top: -24px !important;
        left: -54px !important;
        height: 460px !important;
        width: 460px !important;
    }

    /* Only apply in /wheel page */
    body.wheel-page #fortune-wheel-canvas {
        top: -53px !important;
        left: unset !important;
        height: 486px !important;
        width: 486px !important;
    }

    /* Only apply in /wheel page */
    body.wheel-page .wheel-wrap .wheel_product_frame {
        width: 300px !important;
    }

    /* Only apply in /wheel page */
    body.wheel-page .wheel-wrap .wheel_product_arrow {
        width:40px;
    }

    .fortune-wheel-center-logo {
        top: 135px !important;
    }

    .fortune-wheel-pointer-img {
        top: 5px;
    }

    .fortune-wheel-modal-content {
        width: 350px!important;
        height: 350px!important;
    }

    .wheel-wrap .wheel_product_arrow {
        bottom: 136px;
    }

    .fortune-wheel-prize {
        bottom: 340px !important;
    }

        .fortune-wheel-prize div {
            font-size: 22px !important;
        }
}