﻿/* 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 INBOX */
.modal-header.inbox-modal-header {
    border: 2px solid var(--tertiary-color);
    color: #ffffff;
    background: var(--header-bg);
}

/* For index Daily Checkin */
#home-dailyCheckIn .days .day .fa-check {
    display: block;
}

.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;
        }
}

.validation-message-field {
    padding: 10px;
    border: 1px solid #FEDC01;
    border-radius: 10px;
}

.validation-message.valid {
    color: limegreen;
}

.validation-message.invalid {
    color: red;
}

/* SEO */
/* SEO Content Styles */
.seo-content {
    padding: 20px;
    margin-bottom: 15px;
    color: #000000;
    background-color: rgb(239 239 239 / 70%);
    border-radius: 10px;
    font-size: 12px;
}

    .seo-content ol {
        list-style: decimal;
    }

    .seo-content p {
        margin-bottom: 10px;
    }

    .seo-content h1,
    .seo-content h2,
    .seo-content h3 {
        /*color: var(--title-font-color);*/
        color: #937e0f;
        margin-bottom: 0;
        font-size: 13px;
        font-weight: 700;
    }

/* See More/See Less functionality */
.see-less-content {
    max-height: 0px;
    /* Reduced from 150px to show less content */
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 10px;
}

    .see-less-content.expanded {
        max-height: 5000px;
    }

.seo-toggle {
    text-align: center;
    margin-top: 15px;
}

.seo-toggle-btn {
    background: var(--gradient-btn);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 8px 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .seo-toggle-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0px 2px 3px 0px #00000040, inset 0px -2px 2px #00000040;
    }

.seo-content table {
    margin: 10px 0;
    width: 100%;
}

    .seo-content table tr th {
        background: var(--footer-color);
        border: 1px solid #000;
        padding: 5px;
    }

    .seo-content table tr td {
        border: 1px solid #000;
        padding: 5px;
    }

.seo-content a {
    color: var(--primary-color);
    font-weight: 700;
}

/* See More/See Less functionality */
.see-less-content {
    max-height: 0px;
    /* Reduced from 150px to show less content */
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 10px;
}

    .see-less-content.expanded {
        max-height: 5000px;
    }

.seo-toggle {
    text-align: center;
    margin-top: 15px;
}

.seo-toggle-btn {
    background: var(--gradient-btn);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 8px 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .seo-toggle-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0px 2px 3px 0px #00000040, inset 0px -2px 2px #00000040;
    }

.seo-content table {
    margin: 10px 0;
    width: 100%;
}

    .seo-content table tr th {
        background: var(--footer-color);
        border: 1px solid #000;
        padding: 5px;
    }

    .seo-content table tr td {
        border: 1px solid #000;
        padding: 5px;
    }

.seo-content a {
    color: var(--primary-color);
    font-weight: 700;
}

.otp-sec {
    padding: 10px;
    background: #264870;
    border-radius: 10px;
}

    .otp-sec p {
        font-weight: 600;
    }

.otp-code {
    padding-left: 40px;
    margin-top: 20px;
}

.otp-form {
    position: relative;
    width: 100%;
}

    .otp-form .btn_login {
        position: absolute;
        right: 4px;
        width: 120px;
        top: 10px;
        font-size: 12px;
    }
/* Entire modal content has white background and black text */
.promo_modal_custom .modal-content {
    background-color: #fff !important;
    color: #000 !important;
    border-radius: 10px;
    overflow: hidden;
}

/* Modal header: white background, black text */
.promo_modal_custom .modal-header {
    background-color: #fff !important;
    color: #000 !important;
    border-bottom: 1px solid #ddd;
}

/* Close button icon color */
.promo_modal_custom .close span {
    color: #000 !important;
}

/* Modal body: also white background, black text */
.promo_modal_custom .modal-body {
    background-color: #fff !important;
    color: #000 !important;
}

/* Wrap around the image */
.modal_img_wrap {
    background-color: #fff !important;
    text-align: center;
    padding: 10px 0;
}

    /* Image itself */
    .modal_img_wrap img {
        max-width: 100%;
        height: auto;
        display: inline-block;
        background: #fff;
    }

/* Promo content: white background, black text */
.modal_promo_wrap_content {
    background-color: #fff !important;
    color: #000 !important;
    padding: 1rem;
}

/* Footer area: still white background, black text */
.promo_modal_custom .modal_promo_wrap_2 {
    background-color: #fff !important;
    color: #000 !important;
    padding: 1rem;
    text-align: center;
}
