.kw-cms-page {
    padding-top: 24px;
    padding-bottom: 56px;
    overflow-x: hidden;
}

.kw-cms-page .container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.kw-cms-page__inner {
    width: 100%;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.kw-cms-page .secheading h2 {
    margin-bottom: 24px;
    text-align: center;
}

.kw-cms-page .kw-cms-body {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: #555;
    line-height: 1.7;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.kw-cms-page .kw-cms-body p {
    margin-bottom: 1rem;
}

.kw-cms-page .kw-cms-body img,
.kw-cms-page .kw-cms-body table,
.kw-cms-page .kw-cms-body iframe,
.kw-cms-page .kw-cms-body video {
    max-width: 100%;
    height: auto;
}

.kw-cms-page .kw-cms-body table {
    display: block;
    overflow-x: auto;
}

.kw-cms-page .kw-cms-empty {
    text-align: center;
    color: #777;
    padding: 24px 0;
}

.kw-cms-page .kw-cms-accordion .accordion-item {
    border: 1px solid rgba(106, 27, 122, 0.12);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #fff;
}

.kw-cms-page .kw-cms-accordion .accordion-button {
    font-weight: 600;
    color: #4a1464;
    background: #faf7fc;
    box-shadow: none;
}

.kw-cms-page .kw-cms-accordion .accordion-button:not(.collapsed) {
    color: #6a1b7a;
    background: #f3ebf8;
}

.kw-cms-page .kw-cms-accordion .accordion-body {
    color: #555;
    line-height: 1.7;
}

.kw-cms-page .abo_img img,
.kw-cms-page .rectangle_43 {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.kw-cms-page .kw-cms-section-row {
    row-gap: 24px;
}

.kw-login-page .login-otp-block .btn {
    min-width: 120px;
}

.kw-login-otp-panel .kw-login-otp-inputs .form-control {
    padding: 10px 6px;
}

@media (min-width: 1200px) {
    .kw-cms-page .container {
        max-width: 1140px;
    }
}

@media (max-width: 767px) {
    .kw-cms-page {
        padding-top: 16px;
        padding-bottom: 40px;
    }

    .kw-cms-page .secheading h2 {
        font-size: 24px;
        margin-top: 0;
    }
}

/* Sticky footer — always pinned to bottom on short pages */
html {
    height: 100%;
}

body {
    min-height: 100%;
}

body > .main_wrapper {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    width: 100%;
}

body > .main_wrapper > footer#top_Space,
body > footer#top_Space {
    margin-top: auto !important;
    flex-shrink: 0;
    width: 100%;
}

/* Home: Dreamers section sits above footer on short pages */
body:has(.kw-home-page) > .main_wrapper > .kw-home-page {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

body:has(.kw-home-page) > .main_wrapper > .kw-home-page > .kw-home-body {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

body:has(.kw-home-page) section.kw-home-dreamers {
    margin-top: auto;
    flex-shrink: 0;
    width: 100%;
}

/* CMS / auth pages: let main content grow between header and footer */
body > .main_wrapper > .kw-cms-page,
body > .main_wrapper > .kw-login-page,
body > .main_wrapper > .wrapper.kw-login-page,
body > .main_wrapper > .container.main-section-conatiner {
    flex: 1 0 auto;
    width: 100%;
}

@media (min-width: 992px) {
    html,
    body {
        height: auto !important;
        min-height: 100%;
    }
}

/* Footer — same purple as Our Happy Customers / Dreamers */
footer#top_Space {
    text-align: center;
    background: #8E31A3;
}

.pagination-section li {
    background-color: #8E24AA;
}

.pagination-section li a {
    color: #fff;
}

footer#top_Space > .container > .row,
footer#top_Space .foot_bottom > .container > .row {
    justify-content: center !important;
}

footer#top_Space > .container > .row > [class*="col-"],
footer#top_Space .foot_bottom > .container > .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
}

footer#top_Space .foote_menu {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 0;
}

footer#top_Space .foote_menu a {
    justify-content: center;
}

footer#top_Space .download_apps {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

footer#top_Space .download_apps li {
    display: inline-flex;
}

footer#top_Space .foot_page {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 0;
}

footer#top_Space .foot_page a {
    display: inline-block;
}

footer#top_Space .footsocial {
    justify-content: center;
    padding-top: 8px;
}

.kw-home-page section.megaboxes,
.kw-home-page section.product_section_info {
    padding: 48px 0;
    background: #f3eef8;
}

.kw-home-page section.megaboxes .container,
.kw-home-page section.product_section_info .container {
    max-width: 1140px;
}

/* Color-only overrides — keep original desktop card layout */
.kw-home-page .products_show.nmeby {
    background: #8b2a9a;
}

.kw-home-page .product-container {
    background-color: #6a1b7a;
}

.kw-home-page .innerproductmebtn h3 {
    color: #6a1b7a;
}

.kw-home-page .productsBtnname .pricebuybtn,
.kw-home-page .product-sections .megaboxbutton .mega_buy {
    background: #c81858;
}

.kw-home-page .productsBtnname .pricebuybtn:hover,
.kw-home-page .product-sections .megaboxbutton .mega_buy:hover {
    background: #6a1b7a;
    color: #fff;
}

.kw-home-page section.mega_banner_sec {
    background: #fff;
}

.kw-home-page section.mega_banner_sec + section.megaboxes,
.kw-home-page section.mega_banner_sec + section.product_section_info {
    padding-top: 48px;
}

.kw-home-page #productContainer .container {
    padding-left: 15px;
    padding-right: 15px;
}

.kw-home-page #productContainer .row.kw-home-products-row {
    justify-content: center;
    align-items: stretch;
    row-gap: 32px;
    --bs-gutter-x: 1.5rem;
    margin-left: calc(var(--bs-gutter-x) * -0.5);
    margin-right: calc(var(--bs-gutter-x) * -0.5);
}

.kw-home-page .kw-home-product-col {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.kw-home-page .kw-home-product-col .u-winProduct {
    width: 100%;
    max-width: 340px;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.kw-home-page .products_show.nmeby {
    flex: 0 0 auto;
    padding: 24px 24px 64px;
}

.kw-home-page .show_productIMG {
    height: 200px;
    width: 100%;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kw-home-page .show_productIMG img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 168px;
    object-fit: contain;
    object-position: center;
}

.kw-home-page .prductsnmebtn {
    flex: 1 1 auto;
    min-height: 170px;
    padding: 36px 24px 28px;
}

.kw-home-page .innerproductmebtn {
    top: -22%;
    width: 88%;
    padding: 14px 18px 18px;
    box-shadow: 0 4px 16px rgba(74, 20, 100, 0.14);
}

.kw-home-page .innerproductmebtn h3 {
    min-height: 52px;
    max-height: none;
    margin-top: 10px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    line-height: 1.25;
}

.kw-home-page .productsBtnname {
    width: 100%;
}

.kw-home-page .productsBtnname p {
    margin: 0;
    text-align: center;
}

.kw-home-page .kw-home-coming-soon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0 64px;
    position: relative;
    z-index: 6;
}

.kw-home-page .kw-home-coming-soon button,
.kw-home-page .kw-home-coming-soon a,
.kw-home-page .kw-hot-deals-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 260px;
    min-height: 64px;
    padding: 16px 44px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #A23AB8 0%, #8E31A3 45%, #C7014E 100%);
    color: #fff !important;
    font-family: Poppins, sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 1;
    text-decoration: none !important;
    text-transform: uppercase;
    box-shadow: 0 12px 28px rgba(142, 49, 163, 0.35), 0 2px 0 rgba(255, 255, 255, 0.2) inset;
    cursor: pointer;
    opacity: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.kw-home-page .kw-hot-deals-btn i,
.kw-home-page .kw-home-coming-soon a i,
.kw-home-page .kw-home-coming-soon button i {
    font-size: 22px;
    line-height: 1;
}

.kw-home-page .kw-hot-deals-btn span {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

.kw-home-page .kw-home-coming-soon a:hover,
.kw-home-page .kw-home-coming-soon button:hover,
.kw-home-page .kw-hot-deals-btn:hover {
    color: #fff !important;
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.05);
    box-shadow: 0 16px 34px rgba(199, 1, 78, 0.38), 0 2px 0 rgba(255, 255, 255, 0.25) inset;
}

@media (max-width: 767px) {
    .kw-home-page .kw-home-coming-soon {
        margin: 16px 0 40px;
    }
    .kw-home-page .kw-home-coming-soon button,
    .kw-home-page .kw-home-coming-soon a,
    .kw-home-page .kw-hot-deals-btn {
        min-width: 220px;
        min-height: 56px;
        padding: 14px 32px;
        font-size: 17px;
        gap: 10px;
    }
    .kw-home-page .kw-hot-deals-btn i,
    .kw-home-page .kw-home-coming-soon a i {
        font-size: 18px;
    }
}

.kw-home-page .productsmainbox_show {
    margin-bottom: 0;
}

.kw-home-page section.kw-home-dreamers {
    padding: 40px 0 0;
    margin-top: 0;
}

.kw-home-page .recent_winner .sec_head h2,
.kw-home-page section.how_toparticipate h2.sec_head {
    padding-bottom: 12px;
}

.kw-home-page .sec_head {
    padding-bottom: 12px;
}

.kw-home-page .mega_banner.kw-home-banner-slide {
    margin-bottom: 0;
}

.kw-home-page .kw-home-banner-wrap {
    width: 100%;
}

.kw-home-page .kw-home-banner-swiper {
    width: 100%;
}

.kw-home-page .kw-home-banner-swiper .mega_banner,
.kw-home-page .kw-home-banner-slide {
    display: block;
    margin-bottom: 0;
    min-height: 280px;
    background-position: center center;
    background-repeat: no-repeat;
}

.kw-home-page .kw-home-banner-swiper .swiper-slide {
    height: auto;
}

.kw-home-page .kw-home-banner-pagination {
    bottom: 14px !important;
}

@media (max-width: 768px) {
    .kw-home-page .kw-home-banner-swiper .mega_banner,
    .kw-home-page .kw-home-banner-slide {
        display: block !important;
        min-height: 220px;
        height: auto !important;
    }

    .kw-home-page section.mega_banner_sec + section.megaboxes,
    .kw-home-page section.mega_banner_sec + section.product_section_info {
        padding-top: 32px;
    }
}

/* Desktop header Menu dropdown (mobile web links) */
.navmenu .dropdown.kw-nav-menu {
    position: relative;
}

.navmenu .dropdown.kw-nav-menu > .kw-desktop-menu-dropdown {
    left: auto;
    right: 0;
    min-width: 300px;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: linear-gradient(180deg, #5f0d5f 0%, #6a125f 100%) !important;
    box-shadow: 0 12px 32px rgba(40, 8, 40, 0.28);
}

.navmenu .dropdown.kw-nav-menu:hover > .kw-desktop-menu-dropdown,
.navmenu .dropdown.kw-nav-menu > .kw-desktop-menu-dropdown.dropdown-active {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.navmenu .dropdown.kw-nav-menu.active > button,
.navmenu .dropdown.kw-nav-menu.kw-menu-section-current > button {
    color: #a70f4f;
}

.navmenu .dropdown.kw-nav-menu > button .kw-menu-toggle {
    pointer-events: none;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.navmenu .dropdown.kw-nav-menu.active > button .kw-menu-toggle {
    transform: rotate(180deg);
}

.navmenu .dropdown.kw-nav-menu > .kw-desktop-menu-dropdown li {
    list-style: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.navmenu .dropdown.kw-nav-menu > .kw-desktop-menu-dropdown li:last-child {
    border-bottom: none;
}

.navmenu .dropdown.kw-nav-menu > .kw-desktop-menu-dropdown li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin: 0;
    color: #fff !important;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.2px;
    text-decoration: none;
    border: 0;
    box-shadow: none;
}

.navmenu .dropdown.kw-nav-menu > .kw-desktop-menu-dropdown li a span {
    color: #fff;
}

.navmenu .dropdown.kw-nav-menu > .kw-desktop-menu-dropdown li a:hover,
.navmenu .dropdown.kw-nav-menu > .kw-desktop-menu-dropdown li a.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
}

.navmenu .dropdown.kw-nav-menu .menu_item_icon {
    width: 24px;
    min-width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.navmenu .dropdown.kw-nav-menu .menu_item_icon img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1) !important;
}

.navmenu .dropdown.kw-nav-menu .menu_item_icon i {
    color: #fff;
    font-size: 20px;
    line-height: 1;
}

.navmenu .dropdown.kw-nav-menu .kw-desktop-menu-version {
    padding: 10px 16px 12px;
    text-align: center;
    border-bottom: none;
}

.navmenu .dropdown.kw-nav-menu .kw-desktop-menu-version span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

/* Mobile / tablet nav panel — improved menu UI */
@media (max-width: 1199px) {
    .mobile-nav-active .navmenu > ul {
        inset: 72px 16px 16px;
        padding: 12px;
        border-radius: 16px;
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
    }

    .mobile-nav-active .navmenu > ul > li {
        list-style: none;
        width: 100%;
    }

    .mobile-nav-active .navmenu > ul > li > a,
    .mobile-nav-active .navmenu .has-dropdown > button {
        width: 100%;
        margin: 0;
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 600;
        color: #222 !important;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .mobile-nav-active .navmenu .has-dropdown > button {
        justify-content: space-between;
    }

    .mobile-nav-active .navmenu .has-dropdown.active > button {
        color: #a70f4f !important;
        background: #faf5f8;
    }

    .mobile-nav-active .navmenu .has-dropdown.active > button i {
        transform: rotate(180deg);
    }

    .mobile-nav-active .navmenu .dropdown.kw-nav-menu {
        width: 100%;
    }

    .mobile-nav-active .navmenu .kw-nav-menu > .kw-desktop-menu-dropdown {
        position: static;
        display: none;
        min-width: 0;
        width: 100%;
        max-height: none;
        margin: 8px 0 4px;
        padding: 8px;
        border-radius: 14px;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
        overflow: hidden;
    }

    .mobile-nav-active .navmenu .kw-nav-menu > .kw-desktop-menu-dropdown.dropdown-active {
        display: block;
        opacity: 1;
        visibility: visible;
        top: auto;
    }

    .navmenu .kw-nav-menu > .kw-desktop-menu-dropdown:not(.dropdown-active) {
        display: none !important;
        visibility: hidden;
        opacity: 0;
    }

    .mobile-nav-active .navmenu .kw-desktop-menu-dropdown li a {
        justify-content: flex-start !important;
        gap: 12px;
        padding: 12px 14px;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 500;
    }

    .mobile-nav-active .navmenu .kw-desktop-menu-dropdown li a span:not(.menu_item_icon) {
        flex: 0 1 auto;
        text-align: left;
        margin-left: 0;
    }

    .mobile-nav-active .navmenu .kw-desktop-menu-dropdown li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .mobile-nav-active .navmenu .kw-desktop-menu-dropdown li:last-child,
    .mobile-nav-active .navmenu .kw-desktop-menu-dropdown .kw-desktop-menu-version {
        border-bottom: none;
    }

    .mobile-nav-active .navmenu .kw-desktop-menu-dropdown li a:hover,
    .mobile-nav-active .navmenu .kw-desktop-menu-dropdown li a.active {
        background: rgba(255, 255, 255, 0.12);
    }

    .mobile-nav-active .navmenu li.header_btn {
        width: 100%;
        margin-top: 8px;
    }

    .mobile-nav-active .navmenu li.header_btn a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0;
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0.4px;
        border-radius: 999px;
        color: #a70f4f !important;
        background: #f0f0f0 !important;
        border: 1px solid #ececec;
    }

    .mobile-nav-active .navmenu li.header_btn.dark_btn a {
        color: #fff !important;
        background: #a70f4f !important;
        border-color: #a70f4f;
    }

    .mobile-nav-active .navmenu li.header_btn a:hover {
        opacity: 0.92;
    }

    .mobile-nav-active .navmenu li.header_btn + li.header_btn {
        margin-top: 10px;
    }
}

/* Desktop login — standard layout with mobile-inspired form card */
.kw-login-page.wrapper {
    padding-top: 32px;
}

.kw-login-page {
    padding: 32px 0 56px;
    background: #f3eef8;
    min-height: calc(100vh - 160px);
}

.kw-login-section .container {
    max-width: 550px;
    padding-left: 16px;
    padding-right: 16px;
}

.kw-login-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(25, 20, 60, 0.55) 0%, rgba(40, 20, 70, 0.65) 42%, rgba(30, 18, 55, 0.92) 100%),
        linear-gradient(180deg, #2a1648 0%, #3d1a52 45%, #4a1a5c 100%);
    border-radius: 20px;
    padding: 32px 28px 24px;
    box-shadow: 0 16px 40px rgba(45, 16, 70, 0.22);
    color: #fff;
    text-align: center;
    width: 100%;
}

.kw-login-card::before {
    content: "";
    position: absolute;
    inset: 0 0 55%;
    background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.kw-login-logo {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 12px;
}

.kw-login-logo img {
    width: 120px;
    max-width: 45%;
    height: auto;
}

.kw-login-title {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px;
    letter-spacing: 0.2px;
}

.kw-login-tab {
    position: relative;
    z-index: 1;
    width: 100%;
}

.kw-login-tab form,
.kw-login-tab .tab-content,
.kw-login-tab .tab-pane {
    width: 100%;
}

.kw-login-tab .nav-tabs {
    display: flex;
    border: 0;
    border-radius: 999px;
    overflow: hidden;
    background: #4a1a5c;
    margin-bottom: 18px;
    padding: 0;
    width: 100%;
}

.kw-login-tab .nav-tabs .nav-item {
    flex: 1 1 50%;
    margin: 0;
}

.kw-login-tab .nav-tabs .nav-link {
    border: 0;
    border-radius: 999px;
    margin: 0;
    padding: 12px 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 600;
    background: transparent;
}

.kw-login-tab .nav-tabs .nav-link.active {
    background: linear-gradient(90deg, #c81857 0%, #e06a2c 100%) !important;
    color: #fff !important;
}

.kw-login-field {
    margin-bottom: 14px;
    text-align: left;
}

.kw-login-field .form-control,
.kw-login-tab .login-cc-box,
.kw-login-tab .login-mobile-box {
    background: #6b1f5a;
    border: 0;
    color: #fff;
    min-height: 48px;
    border-radius: 28px;
    padding: 12px 18px;
    font-size: 15px;
    box-shadow: none;
    width: 100%;
    box-sizing: border-box;
}

.kw-login-field .form-control::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.kw-login-field .form-control:focus {
    background: #6b1f5a;
    color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.kw-login-tab .login-split-mobile {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.kw-login-tab .login-cc-box {
    flex: 0 0 100px;
    width: 100px;
    min-width: 100px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    font-weight: 600;
    padding: 0 10px;
    line-height: 1;
    box-sizing: border-box;
}

.kw-login-tab .login-cc-box i {
    font-size: 12px;
    opacity: 0.9;
}

.kw-login-tab .login-mobile-box {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: 48px;
    box-sizing: border-box;
}

.kw-login-password-wrap {
    position: relative;
}

.kw-login-password-wrap .form-control {
    padding-right: 48px;
}

.kw-login-password-wrap .password-eye-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 18px;
    z-index: 2;
}

.kw-login-forgot {
    margin: 4px 0 16px;
}

.kw-login-forgot .forget_password {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.kw-login-forgot .forget_password strong {
    font-weight: 700;
}

.kw-login-card .login_form_error,
.kw-login-card .help-inline {
    color: #ffd2d2 !important;
    text-align: center;
    margin-bottom: 10px;
    font-size: 13px;
    display: block;
}

.kw-login-card .login-otp-label {
    text-align: center;
    color: #fff;
    font-size: 14px;
    margin: 0 0 12px;
}

.kw-login-card .login-otp-options {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.kw-login-card .login-otp-options .otp_option_btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    border-radius: 50px;
    background: rgba(70, 80, 120, 0.55);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.kw-login-card .login_button {
    width: 100%;
    border: 0;
    border-radius: 50px;
    padding: 14px 16px;
    font-size: 16px;
    font-style: italic;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #c1044d 0%, #9b0a55 100%);
}

.kw-login-signup {
    position: relative;
    z-index: 1;
    margin: 20px 0 0;
    color: #fff;
    font-size: 13px;
}

.kw-login-signup a {
    color: #fff;
    text-decoration: none;
}

.kw-login-version {
    position: relative;
    z-index: 1;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

.kw-login-otp-panel .otp_sent_text {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    margin: 0 0 6px;
}

.kw-login-otp-panel .otp_receiver_number {
    color: #ffc46b;
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 22px;
}

.kw-login-otp-panel .kw-login-otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
}

.kw-login-otp-panel .login_otp_digit {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 0;
}

.kw-login-otp-panel .login_otp_verify_btn {
    width: 100%;
    border: 0;
    border-radius: 50px;
    padding: 14px 18px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(90deg, #7b2cbf 0%, #f0a12a 100%);
}

.kw-login-otp-panel .login_otp_verify_btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.kw-login-otp-panel .login_otp_resend {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}

.kw-login-otp-panel .login_otp_resend.is-ready a {
    color: #ffc46b;
    text-decoration: none;
    font-weight: 600;
}

.kw-login-otp-panel .otp_popup_error {
    color: #ffd2d2;
    font-size: 13px;
    margin-top: 10px;
}

.kw-login-back-btn {
    margin-top: 16px;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

#country_code.country-code-select-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
    border: 0;
    padding: 0;
    margin: -1px;
}

/* Desktop country picker — modal overlay (picker lives inside .kw-login-page) */
.kw-login-page .country-code-container {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(15, 10, 30, 0.55);
    overflow: hidden;
}

body.country-picker-open .kw-login-page .country-code-container,
.kw-login-page .country-code-container.is-open {
    display: flex;
}

.kw-login-page .country-code-container[hidden] {
    display: none !important;
}

.kw-login-page .country-code-container:not(.is-open) {
    display: none;
}

.kw-login-page .country-picker-box {
    width: 100%;
    max-width: 440px;
    max-height: min(560px, calc(100vh - 48px));
    background: #fff;
    color: #222;
    border-radius: 16px;
    box-shadow: 0 20px 48px rgba(20, 10, 40, 0.28);
    display: flex;
    flex-direction: column;
    padding: 16px;
    overflow: hidden;
}

.kw-login-page .country-picker-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.kw-login-page .country-picker-heading h1 {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: #111;
}

.kw-login-page .country-picker-heading #clountry_close {
    color: #7b2cbf;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    cursor: pointer;
}

.kw-login-page .country-search-wrap {
    position: relative;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.kw-login-page .country-search-wrap .search-button {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

.kw-login-page .country-search-wrap .form-control {
    padding-left: 36px;
    border-radius: 10px;
    min-height: 42px;
    width: 100%;
    box-sizing: border-box;
}

.kw-login-page .country_code_list {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.kw-login-page .country-code-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.kw-login-page .country-code-section .country-name {
    margin: 0;
    font-size: 14px;
    color: #222;
    text-align: left;
}

.kw-login-page .country-code-section .country-code {
    margin: 0;
    font-size: 14px;
    color: #7b2cbf;
    font-weight: 600;
    white-space: nowrap;
}

/* Desktop register — reuses login auth card styles */
.kw-register-page .kw-login-card {
    padding-bottom: 28px;
}

.kw-register-page .kw-register-name-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.kw-register-page .kw-register-half {
    flex: 1 1 0;
    min-width: 0;
}

.kw-register-page .kw-register-terms-wrap {
    margin-bottom: 18px;
}

.kw-register-page .kw-register-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    text-align: left;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
}

.kw-register-page .kw-register-terms input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #e06a2c;
    cursor: pointer;
}

.kw-register-page .kw-register-terms a {
    color: #ffc46b;
    text-decoration: none;
    font-weight: 600;
}

.kw-register-page .kw-register-terms a:hover {
    text-decoration: underline;
}

.kw-register-page .login_button {
    margin-top: 4px;
}

@media (max-width: 420px) {
    .kw-register-page .kw-register-name-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Desktop forgot password — reuses login auth card styles */
.kw-forgot-page .kw-forgot-subtitle {
    margin: -8px 0 18px;
    text-align: center;
    color: #666;
    font-size: 15px;
    line-height: 1.4;
}

.kw-forgot-page .login_button {
    margin-top: 6px;
}

/* Desktop change password — matches login/auth card UI */
.kw-change-password-page .kw-login-card {
    padding-bottom: 28px;
}

.kw-change-password-page .kw-login-tab form {
    width: 100%;
}

.kw-change-password-page .kw-login-field {
    margin-bottom: 14px;
}

.kw-change-password-page .kw-login-field .help-inline {
    display: block;
    margin-top: 8px;
    color: #ffd2d2;
    font-size: 13px;
    text-align: center;
}

.kw-change-password-page .login_button {
    margin-top: 8px;
}

/* =============================================================
   My Orders / My Tickets – Desktop order list restyle
   ============================================================= */

/* The list wrapper becomes transparent; each order gets its own card */
.order-history-list {
    padding: 0 !important;
    background: transparent !important;
    border-radius: 10px;
}

/* An order card */
.myorder-card-wrap {
    margin: 0 0 18px;
}

/* Reset the legacy .trnsection_history_list .row box styling on cards */
.order-history-list .myorder-card {
    display: flex;
    margin: 0;
    border: 1px solid #ece5f0;
    border-radius: 16px;
    padding: 20px 22px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(95, 16, 56, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.order-history-list .myorder-card:hover {
    box-shadow: 0 10px 26px rgba(95, 16, 56, 0.12);
    transform: translateY(-2px);
}

.order-history-list .myorder-card-wrap.is-cancelled .myorder-card {
    opacity: 0.72;
    background: #faf7fa;
}

/* Card top row: order id + status pill */
.myorder-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 16px;
}

.myorder-order-id {
    font-family: Poppins, sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #21122b;
    letter-spacing: 0.2px;
}

/* Status pill */
.myorder-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    font-family: Poppins, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #ffffff;
    white-space: nowrap;
}

.myorder-status.is-won      { background: #1b8a3e; }
.myorder-status.is-lost     { background: #9aa0a6; }
.myorder-status.is-pending  { background: #f5a623; }
.myorder-status.is-cancelled{ background: #d0393e; }

/* Meta grid (labels + values) */
.myorder-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 22px;
}

.myorder-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.myorder-meta-label {
    font-family: Poppins, sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #9c8fa6;
}

.myorder-meta-value {
    font-family: Poppins, sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #21122b;
    word-break: break-word;
}

/* Action buttons row */
.myorder-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.myorder-action-inline {
    margin: 0;
}

.myorder-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, #5f1038 0%, #7b1fa2 100%);
    color: #ffffff !important;
    font-family: Poppins, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.myorder-view-btn:hover {
    opacity: 0.9;
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Ball numbers column */
.myorder-balls-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 26px;
    border-left: 1px solid #f0e9f4;
}

.myorder-balls-title {
    font-family: Poppins, sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    line-height: 20px !important;
    color: #8d6ba0 !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 12px !important;
    padding-top: 0 !important;
}

.myorder-balls .boloclass {
    margin: 0;
}

.myorder-balls .circle_Flex {
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.myorder-balls .circle_01 {
    width: 38px;
    height: 38px;
    background: #f7f0fb;
    border: 1px solid #e5d6ee;
    border-radius: 100px;
    box-shadow: inset 0 -2px 0 rgba(95, 16, 56, 0.08);
    margin: 0 5px 4px 0;
}

.myorder-balls .number_011 {
    line-height: 26px;
    padding-top: 5px;
    font-family: "M PLUS Rounded 1c", sans-serif;
    color: #5f1038;
    font-size: 15px;
    font-weight: 600;
}

.myorder-no-ball-empty {
    font-family: Poppins, sans-serif;
    font-size: 14px;
    color: #9c8fa6;
    margin: 0;
}

/* Search bar refinements (scoped to the My Orders filter form) */
.my-order .inner-form-content .placeholder-box8 {
    border: 1px solid #ece5f0;
    border-radius: 50px;
    background: #ffffff;
    padding: 0 18px;
}

.my-order .btn-reset {
    width: 100%;
    border: none;
    border-radius: 999px;
    background: linear-gradient(90deg, #5f1038 0%, #7b1fa2 100%);
    color: #ffffff !important;
    font-family: Poppins, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
    min-height: 45px;
    margin-top: 2px;
    transition: opacity 0.2s ease;
}

.my-order .btn-reset:hover {
    opacity: 0.9;
}

/* Empty state */
.order-history-list .data_found,
.order-history-list > .row > .col-md-6 > p {
    color: #8a7f93;
    font-family: Poppins, sans-serif;
    font-size: 15px;
}

/* Tablet fallback: stack the two columns */
@media (max-width: 991.98px) {
    .order-history-list .myorder-card {
        padding: 16px;
    }
    .order-history-list .myorder-card .col-md-7,
    .order-history-list .myorder-card .col-md-5 {
        max-width: 100%;
        flex: 0 0 100%;
        width: 100%;
    }
    .myorder-balls-col {
        padding-left: 0;
        border-left: 0;
        margin-top: 18px;
    }
    .myorder-meta-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
/* =============================================================
   My Orders / My Tickets – Desktop list styled to match mobile view
   ============================================================= */

.order-history-list {
    padding: 0 !important;
    background: transparent !important;
    border-radius: 10px;
}

.order-history-list .mobile-order-card {
    border: 1.5px solid #d8c4df;
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 16px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.order-history-list .mobile-order-card--cancelled {
    opacity: 0.8;
}

.order-history-list .mobile-order-cancel-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.order-history-list .mobile-order-cancel-overlay img {
    width: 120px;
    max-width: 55%;
    height: auto;
    opacity: 1;
}

.order-history-list .mobile-order-winner-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.order-history-list .mobile-order-winner-overlay img {
    width: 120px;
    max-width: 55%;
    height: auto;
    opacity: 1;
}

.order-history-list .mobile-order-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.4;
}

.order-history-list .mobile-order-id {
    font-weight: 700;
    color: #222;
    word-break: break-word;
    font-size: 15px;
}

.order-history-list .mobile-order-time {
    color: #666;
    white-space: nowrap;
    font-size: 13px;
}

.order-history-list .mobile-order-card-body {
    display: flex;
    gap: 14px;
    align-items: center;
}

.order-history-list .mobile-order-thumb {
    width: 82px;
    min-width: 82px;
    height: 82px;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-history-list .mobile-order-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.order-history-list .mobile-order-meta {
    flex: 1;
    min-width: 0;
}

.order-history-list .mobile-order-meta p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.order-history-list .mobile-order-meta p:last-child {
    margin-bottom: 0;
}

.order-history-list .mobile-order-meta strong {
    color: #222;
    font-weight: 600;
}

.order-history-list .mobile-order-qty span {
    color: #7b1fa2;
    font-weight: 600;
}

.order-history-list .mobile-order-draw span {
    color: #333;
}

.order-history-list .mobile-order-incomplete {
    margin: 12px 0 0;
    text-align: center;
    color: #e53935;
    font-style: italic;
    font-weight: 600;
    font-size: 14px;
}

.order-history-list .mobile-order-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    position: relative;
    z-index: 6;
}

.order-history-list .mobile-order-claim-form {
    margin: 0;
}

.order-history-list .mobile-order-amount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border: 1.5px solid #7b1fa2;
    border-radius: 999px;
    color: #7b1fa2;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    white-space: nowrap;
}

.order-history-list .mobile-order-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, #5f1038 0%, #7b1fa2 100%);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.order-history-list .mobile-order-view-btn:hover {
    opacity: 0.9;
    color: #fff !important;
    text-decoration: none;
}

/* Claim prize button (styled like the mobile gradient action) */
.order-history-list .mobile-order-actions .claim-prize-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1.5px solid #1b8a3e;
    background: #fff;
    color: #1b8a3e;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.order-history-list .mobile-order-actions .claim-prize-btn:disabled {
    opacity: 0.7;
}

/* Filter form: keep the existing gradient Search button aligned */
.my-order .btn-reset {
    width: 100%;
    border: none;
    border-radius: 999px;
    background: linear-gradient(90deg, #5f1038 0%, #7b1fa2 100%);
    color: #ffffff !important;
    font-family: Poppins, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
    min-height: 45px;
    margin-top: 2px;
    transition: opacity 0.2s ease;
}

.my-order .btn-reset:hover {
    opacity: 0.9;
}

/* Empty state */
.order-history-list .data_found,
.order-history-list > .row > .col-md-6 > p {
    color: #8a7f93;
    font-family: Poppins, sans-serif;
    font-size: 15px;
}
/* =============================================================
   My Orders / My Tickets – Desktop alignment fixes
   ============================================================= */

/* Slightly roomier padding for a balanced desktop card */
.order-history-list .mobile-order-card {
    padding: 18px 20px;
}

/* Header row: id left, time right, vertically centered */
.order-history-list .mobile-order-card-head {
    align-items: center;
    margin-bottom: 14px;
}

/* Meta rows: label column + value column, so values align vertically */
.order-history-list .mobile-order-meta p {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 10px;
}

.order-history-list .mobile-order-meta p:last-child {
    margin-bottom: 0;
}

.order-history-list .mobile-order-meta strong {
    flex: 0 0 100px;
    min-width: 0;
}

.order-history-list .mobile-order-meta p > span {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

/* Traveler: keep the quantity value from wrapping awkwardly next to its label */
.order-history-list .mobile-order-qty {
    align-items: baseline;
}

/* Actions row: separator + even spacing so buttons line up */
.order-history-list .mobile-order-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #ece5f0;
}

/* Ensure all action controls are the same height and vertically centered */
.order-history-list .mobile-order-amount,
.order-history-list .mobile-order-view-btn,
.order-history-list .mobile-order-actions .claim-prize-btn {
    min-height: 40px;
    box-sizing: border-box;
}
/* =============================================================
   Order detail (my-orders/view) – Desktop styled like mobile view
   ============================================================= */

.mobile-raffle-details-page {
    background: #fff;
    min-height: 60vh;
    padding: 0 0 40px;
}

.mobile-raffle-details-title {
    background: linear-gradient(165deg, #3b0d5c 0%, #6a1b7a 42%, #8b2a9a 78%, #a63aad 100%);
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 10px 14px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.mobile-raffle-campaign-banner {
    background: linear-gradient(165deg, #3b0d5c 0%, #6a1b7a 42%, #8b2a9a 78%, #a63aad 100%);
    border-radius: 999px;
    margin: 14px auto;
    max-width: 720px;
    padding: 14px 16px;
    text-align: center;
}

.mobile-raffle-campaign-banner p {
    margin: 0 0 4px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-style: italic;
    font-weight: 500;
}

.mobile-raffle-campaign-banner h2 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.mobile-raffle-campaign-banner--single {
    padding-top: 16px;
    padding-bottom: 16px;
}

.mobile-raffle-info-card {
    margin: 0 auto 14px;
    max-width: 720px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.mobile-raffle-details-page--cancelled .mobile-raffle-info-card,
.mobile-raffle-details-page--cancelled .mobile-raffle-numbers-card {
    opacity: 0.82;
}

.mobile-raffle-cancel-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.mobile-raffle-cancel-overlay img {
    width: 120px;
    max-width: 55%;
    height: auto;
    opacity: 1;
}

.mobile-raffle-status-cancelled {
    color: #fd2d34 !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mobile-raffle-info-card ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.mobile-raffle-info-card li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #ececec;
    font-size: 14px;
    line-height: 1.45;
}

.mobile-raffle-info-card li:last-child {
    border-bottom: 0;
}

.mobile-raffle-info-card span {
    color: #333;
    font-weight: 500;
    flex: 0 1 42%;
    min-width: 0;
    white-space: normal;
    line-height: 1.35;
}

.mobile-raffle-info-card strong {
    color: #111;
    font-weight: 700;
    text-align: right;
    word-break: break-word;
    flex: 1 1 50%;
    min-width: 0;
}

.mobile-raffle-numbers-card {
    margin: 0 auto 14px;
    max-width: 720px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 16px;
    padding-bottom: 12px;
}

.mobile-raffle-numbers-card > h2 {
    font-size: 14px;
    text-align: center;
    margin: 8px 0;
    color: #222;
    font-weight: 600;
}

.mobile-raffle-numbers-card .raffle-ticket-bar {
    margin: 6px 10px 12px;
    padding: 14px 16px 12px;
}

.mobile-raffle-ticket-bar--readonly {
    pointer-events: none;
}

.mobile-raffle-ticket-bar--readonly .raffle-ticket-top {
    justify-content: center;
}

.mobile-raffle-ticket-bar--readonly .raffle-ticket-nums {
    justify-content: center;
    gap: 10px;
    flex: 0 1 auto;
}

.mobile-raffle-ticket-bar--readonly .raffle-num {
    cursor: default;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 14px;
}

.mobile-raffle-ticket-bar--readonly .raffle-ticket-modes {
    justify-content: center;
    gap: 18px;
    margin-top: 12px;
}

.raffle-ticket-modes--readonly label {
    cursor: default;
}

/* Base raffle ticket bar (needed by the readonly bars above) */
.raffle-ticket-bar {
    background: #8e24aa;
    border-radius: 10px;
    padding: 10px 10px 8px;
    margin-bottom: 12px;
}

.raffle-ticket-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.raffle-ticket-nums {
    flex: 1;
    display: flex;
    gap: 4px;
    justify-content: center;
    min-width: 0;
}

.raffle-num {
    flex: 0 1 32px;
    width: 32px;
    height: 32px;
    min-width: 22px;
    border-radius: 50%;
    background: #fff;
    color: #7b1fa2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

.raffle-ticket-modes {
    display: flex;
    justify-content: space-around;
    gap: 8px;
    margin-top: 10px;
    color: #fff;
    font-style: italic;
    font-size: 13px;
}

.raffle-ticket-modes label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

.raffle-ticket-modes input {
    accent-color: #e5396d;
}

.raffle-ticket-modes input[type="radio"],
.raffle-ticket-modes input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    margin: 0;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    pointer-events: none;
}

.raffle-ticket-modes input[type="radio"]:checked,
.raffle-ticket-modes input[type="checkbox"]:checked {
    background: #e5396d;
    border-color: #e5396d;
    box-shadow: none;
}

.raffle-ticket-modes:empty {
    display: none;
}

.mobile-raffle-empty {
    margin: 8px 10px;
    padding: 14px;
    text-align: center;
}

.mobile-raffle-empty p {
    color: #666;
    font-size: 13px;
}

.mobile-raffle-pending-wrap {
    margin: 12px auto 16px;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.mobile-raffle-winning-note {
    margin: 0 auto 4px;
    max-width: 520px;
    padding: 12px 16px;
    border-radius: 14px;
    background: #f8f1fb;
    border: 1px solid rgba(142, 36, 170, 0.22);
    color: #5f1038;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    line-height: 1.45;
}

.mobile-raffle-winning-note strong {
    color: #8E24AA;
    font-weight: 700;
}

.raffle-claim-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 8px auto 24px;
    max-width: 520px;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}

.raffle-claim-btn {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1.5px solid #8E24AA;
    background: #fff;
    color: #8E24AA;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(142, 36, 170, 0.12);
    box-sizing: border-box;
    white-space: nowrap;
}

.raffle-claim-btn .icon,
.raffle-claim-btn span.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 16px;
    min-width: 18px;
    margin: 0;
    padding: 0;
    position: static;
    background: none;
    font-size: 15px;
    line-height: 1;
}

.raffle-claim-btn .icon:before,
.raffle-claim-btn span.icon:before {
    display: none;
    content: none;
}

.raffle-claim-btn .icon i {
    display: block;
    line-height: 1;
    font-size: 15px;
}

.raffle-claim-btn .raffle-wallet-icon {
    display: block;
    width: 18px;
    height: 16px;
    fill: currentColor;
}

.raffle-claim-btn--wallet {
    background: #8E24AA;
    border-color: #8E24AA;
    color: #fff;
}

.raffle-claim-btn--claim:hover {
    background: #f8f1fb;
    color: #6a1b7a;
}

.raffle-claim-btn--wallet:hover {
    background: #7a1f96;
    color: #fff;
}

/* Claim / Move to Wallet modals — hidden until opened */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10060;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(26, 16, 48, 0.5);
}

.popup-overlay.active {
    display: flex;
}

.popup-overlay .popup {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(26, 16, 48, 0.28);
}

.popup-overlay .popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(180deg, #5f1038 0%, #8E24AA 100%);
}

.popup-overlay .popup-title {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.popup-overlay .close-btn {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.popup-overlay .wallet-text,
.popup-overlay .claim-text {
    margin: 0;
    padding: 18px 22px 8px;
    color: #2d2d2d;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

.popup-overlay .warning-box {
    margin: 8px 22px 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff8e8;
    color: #6b4a12;
    font-size: 13px;
    line-height: 1.4;
}

.popup-overlay .wallet-actions {
    display: flex;
    gap: 10px;
    padding: 16px 22px 20px;
}

.popup-overlay .wallet-actions .claim-prize-form,
.popup-overlay .wallet-actions .wallet-btn {
    flex: 1;
    width: auto !important;
    margin: 0;
}

.popup-overlay .wallet-btn {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 999px;
    border: 1.5px solid #8E24AA;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.popup-overlay .cancel-btn {
    background: #fff;
    color: #5f1038;
}

.popup-overlay .confirm-btn {
    background: linear-gradient(180deg, #5f1038 0%, #8E24AA 100%);
    color: #fff;
    border-color: transparent;
}

.popup-overlay .qr-wrapper {
    display: flex;
    justify-content: center;
    padding: 18px 22px 8px;
}

.popup-overlay .qr-wrapper img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border: 1px solid #efe6f4;
    border-radius: 12px;
    background: #fff;
}

.popup-overlay .order-id {
    text-align: center;
    font-weight: 700;
    color: #5f1038;
    padding: 4px 22px 0;
}

.popup-overlay .claim-text {
    padding-bottom: 22px;
}

.mobile-raffle-cancel-form {
    margin: 0;
}

.mobile-raffle-action-btn {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.mobile-raffle-action-btn--coupon {
    background: linear-gradient(90deg, #5f1038 0%, #7b1fa2 100%);
    color: #fff !important;
}

.mobile-raffle-action-btn--cancel {
    background: #fff;
    color: #8E24AA;
    border: 1.5px solid #8E24AA;
}

.mobile-raffle-action-btn--cancel:disabled {
    opacity: 0.65;
    cursor: default;
}

.mobile-raffle-details-page--pending .mobile-raffle-campaign-banner h2 {
    font-size: 20px;
}

/* Empty state */
.mobile-orders-empty p {
    color: #8a7f93;
    font-family: Poppins, sans-serif;
    font-size: 15px;
}

/* =============================================================
   Wallets page (desktop) – styled to match the mobile view.
   The desktop template now reuses the mobile wallet markup, so we
   port the wallet styles from mobile.css (scoped to wallet
   containers so nothing else on the desktop site is affected).
   ============================================================= */

/* ---- Row alignment: the mobile markup uses "d-flex justify-content",
       which is not a real Bootstrap class — spread those rows here ---- */
.inner_section .d-flex,
.add-credit-container .d-flex,
.transaction-history-container .d-flex,
#bankModal .select_amount .d-flex,
#cryptoModal .select_amount .d-flex {
    justify-content: space-between;
}
/* Keep the stacked button column in the modals as a column */
#bankModal .btn_contentview,
#cryptoModal .btn_contentview {
    flex-direction: column;
}

/* ---- Top "+ Add Credit" pill (right-aligned to the centred column) ---- */
.credit-btn {
    position: relative;
    float: none;
    display: block;
    width: fit-content;
    top: auto;
    right: auto;
    margin: 14px max(calc((100% - 720px) / 2), 16px) 0 auto;
    border: 1px solid #c81857;
    font-size: 12px;
    padding: 7px 16px;
    border-radius: 100px;
    background-color: #fff;
    z-index: 5;
    color: #c81857;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.2;
}
.credit-btn a {
    color: #c81857;
    text-decoration: none;
}

/* ---- Balance + transaction type area (centred column) ---- */
.inner_section {
    margin: 20px auto;
    width: auto;
    min-width: 720px;
    max-width: 720px;
    padding: 0 16px;
    box-sizing: border-box;
}

.balance_point {
    background: rgba(243, 243, 243, 1);
    padding: 8px 15px;
    border-radius: 100px;
    margin-bottom: 10px;
    font-family: "M PLUS Rounded 1c", sans-serif !important;
    font-weight: 500;
    font-size: 14px;
    align-items: center;
    display: flex;
    justify-content: space-between;
}
.balance_point button {
    border: none;
    font-weight: 700;
    background: transparent;
}

.notes_point {
    text-align: end;
}

.trasection_selection {
    font-size: 15px;
    font-weight: 600;
    color: rgba(30, 30, 30, 1);
    line-height: 28px;
    text-align: left;
}

/* Radio "cards" */
.inner_section .Transaction_btn,
.add-credit-container .Transaction_btn {
    display: flex;
    flex-direction: column;
    justify-content: start;
    border: 1px solid #e9d9d9;
    border-radius: 8px;
    padding: 9px 13px;
    margin-bottom: 10px;
}
.add_credit .Transaction_btn {
    flex-direction: row;
    align-items: center;
}
.add_credit .Transaction_btn.card-payment-disabled .card-payment-fake-radio {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    padding: 3px;
    box-sizing: border-box;
    border: 1px solid #bbbbbb;
    background-color: #e7e6e7;
    border-radius: 50%;
}
.add_credit .Transaction_btn.card-payment-disabled .card-payment-maintenance-link {
    font-size: inherit;
    font-weight: inherit;
}

.inner_section input[type="radio"],
.add-credit-container input[type="radio"],
.transaction-history-container input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    width: 20px;
    height: 20px;
    padding: 3px;
    background-clip: content-box;
    border: 1px solid #bbbbbb;
    background-color: #e7e6e7;
    border-radius: 50%;
    margin-left: 0;
    margin-right: 10px;
    vertical-align: middle;
}
.inner_section input[type="radio"]:checked,
.add-credit-container input[type="radio"]:checked,
.transaction-history-container input[type="radio"]:checked {
    background-color: #CC0250;
}
/* ---- Withdraw section ---- */
.withdraw_circles {
    background: rgba(242, 242, 242, 1);
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    margin-top: 9px;
    position: relative;
}
.withdraw_balance {
    background-color: #fff;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 13px;
    text-align: left;
}
.withdraw_balance p {
    color: #6D6C6C;
    font-size: 14px;
}
.withdraw_balance h1 {
    color: #000;
    text-align: justify;
    font-size: 22px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
}
.withdraw_balance h1.credit_amounts {
    color: #00ae00;
}
.withdraw_listing {
    padding: 0;
    margin: 0;
    display: flex;
    list-style: none;
    flex-direction: column;
    align-items: start;
}
.withdraw_listing li {
    width: 100%;
    border-radius: 10px;
    background-color: #fff;
    margin-bottom: 10px;
    padding: 13px;
}
.withdraw_listing .withdraw_info {
    border: none;
    background-color: #fff;
    width: 100%;
    text-align: left;
    border-radius: 5px;
    margin-bottom: 4px;
}
.win_info p {
    font-size: 14px;
    color: #000 !important;
    text-align: left;
}
.win_info table {
    margin: 10px 0;
    width: 100%;
}
.win_info table th {
    font-weight: 400;
    font-size: 14px;
    background-color: #f3f3f3;
    padding: 6px;
    text-align: left;
}
.win_info table td {
    font-size: 13px;
    padding: 10px 0 0;
}
.credit_amounts {
    color: #00ae00;
}
.win_info input.prize-bank-widhraw[type="checkbox"],
.win_info input.prize-crypto-widhraw[type="checkbox"] {
    height: 16px;
    width: 16px;
    margin-right: 9px;
    border: 1px solid #b21c58;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    transition: all 0.2s ease-in-out;
}
.win_info input.prize-bank-widhraw[type="checkbox"]:checked,
.win_info input.prize-crypto-widhraw[type="checkbox"]:checked {
    background-color: #b21c58;
    border-color: #b21c58;
}
.win_info input.prize-bank-widhraw[type="checkbox"]::after,
.win_info input.prize-crypto-widhraw[type="checkbox"]::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}
.win_info input.prize-bank-widhraw[type="checkbox"]:checked::after,
.win_info input.prize-crypto-widhraw[type="checkbox"]:checked::after {
    opacity: 1;
}
.error_msg p {
    color: red !important;
    font-size: 12px !important;
    margin: 0;
}
.error_msg p.credit_amounts {
    color: #00ae00 !important;
}
.select_amount {
    background-color: #f3f3f3;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #8080804a;
}
.select_amount h1 {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
}
.selected_amount {
    margin: 0;
    font-weight: 600;
}
.ticket_img {
    width: auto;
    height: 25px;
}

/* ---- Buttons ---- */
.inner_section .contact_btn,
.add-credit-container .contact_btn,
.transaction-history-container .contact_btn,
#bankModal .contact_btn,
#cryptoModal .contact_btn {
    background: linear-gradient(135deg, #FF9900, #FDCA12);
    border: none;
    color: #fff;
    font-size: 14px;
    padding: 11px 30px;
    margin: 10px auto;
    border-radius: 100px;
    cursor: pointer;
}
.inner_section .contact_btn:hover,
.add-credit-container .contact_btn:hover,
.transaction-history-container .contact_btn:hover,
#bankModal .contact_btn:hover,
#cryptoModal .contact_btn:hover {
    background: #fff;
    color: #c1044d;
}
.contact_btn a {
    color: #fff;
    text-decoration: none;
}

/* ---- Credit amount entry + quick amounts ---- */
.upont-amount p {
    margin: 7px 0;
    background-color: #fff;
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 100px;
    font-weight: 500;
    cursor: pointer;
}

/* ---- Coupon code box ---- */
.coupencode {
    display: flex;
    flex-direction: column;
    overflow: visible;
}
.coupencode p {
    color: #828282;
    font-size: 16px;
    font-weight: 400;
}
.coupencode input {
    background-color: #8080802b;
    border: none;
    padding: 10px 18px;
    border-radius: 100px;
}
.coupencode input::placeholder {
    font-size: 15px;
}
.coupencode .scan-qr-code-btn {
    margin-top: 12px;
    width: 100%;
}
/* ---- Transaction history / add-credit overlays ---- */
.add-credit-container,
.transaction-history-container,
.voucher-history-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 16, 48, 0.45);
    width: 100%;
    max-width: none;
    margin: 0 auto;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 24px 16px 40px;
    z-index: 10001;
    box-sizing: border-box;
}

/* White card for the Add Credit content */
.add-credit-container .result_list {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
    max-width: 720px;
    margin: 0 auto;
    padding: 16px;
    overflow: hidden;
}

/* White sheet for the Transaction History content */
.transaction-history-container .mobile_warpper {
    height: auto;
    min-height: calc(100vh - 48px);
    background: #fff;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}

.add-credit-container .inner_section {
    margin: 12px 0 0;
    padding: 0;
    width: 100%;
    max-width: none;
}

#calendarInput {
    position: absolute;
    width: 100%;
    top: 2px;
}

/* Overlay headers */
.add-credit-container .inner_header,
.transaction-history-container .inner_header {
    box-shadow: rgba(0, 0, 0, 0.15) 0 5px 15px 0;
    padding: 10px;
}
.add-credit-container .inner_header a,
.transaction-history-container .inner_header a,
.add-credit-container .result_list .inner_header a,
.transaction-history-container .result_list .inner_header a {
    font-size: 15px;
    font-weight: 600;
    color: rgba(30, 30, 30, 1);
    line-height: 28px;
    text-align: left;
    text-decoration: none;
    margin-bottom: 0 !important;
}
.add-credit-container .inner_header i,
.transaction-history-container .inner_header i {
    color: #E91E63;
}
.transaction-history-container .mobile_warpper {
    height: 100%;
    background: #fff;
    max-width: 768px;
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
}
.txn-history-header {
    gap: 8px;
}
.txn-history-header a {
    margin-bottom: 0 !important;
    flex: 1;
}
.txn-history-calendar {
    position: relative;
    border: 0;
    background: transparent;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    padding: 0;
    flex-shrink: 0;
    line-height: 1;
    color: #E91E63;
    cursor: pointer;
    touch-action: manipulation;
}
.txn-history-calendar i {
    color: #E91E63;
    font-size: 22px;
}
.txn-history-calendar.is-filtered::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E91E63;
    border: 1px solid #fff;
}
.transaction-history-container .mobile-orders-date-banner {
    margin: 8px 10px 12px;
    border-radius: 0;
}

/* ---- Transaction detail cards ---- */
.trasection_details {
    padding: 14px;
    margin: 13px;
    border: 1px solid #80808036;
    border-radius: 20px;
}
.trasection_details h4,
.trasection_details h1 {
    font-size: 15px;
    font-weight: 600;
    color: rgba(30, 30, 30, 1);
    line-height: 28px;
    text-align: left;
    text-decoration: none;
    margin-bottom: 10px;
}
.trasection_details hr {
    padding: 1px;
    margin: 6px 0;
    background-color: #a0b3bc;
    opacity: 1;
}
.trasection_details p {
    margin: 0;
    word-break: break-word;
}
.credit_amount {
    font-weight: 600;
    font-size: 17px;
    color: #29a746;
}
.debit_amount {
    color: #a22c58;
    font-weight: 600;
    font-size: 17px;
}

/* ---- Withdraw modals (bank / crypto) ---- */
#bankModal .modelcontent,
#cryptoModal .modelcontent {
    background-color: #fff;
    padding: 34px;
    border-radius: 20px 20px 0 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 768px;
    margin: 0 auto;
}
#bankModal .modelcontent h1,
#cryptoModal .modelcontent h1 {
    font-size: 14px;
    text-align: center;
}
#bankModal .modelcontent p,
#cryptoModal .modelcontent p {
    font-size: 12px;
    text-align: center;
}
#bankModal .bank-details-form input,
#cryptoModal .bank-details-form input {
    width: 100%;
    background: rgba(243, 243, 243, 1);
    border: none;
    padding: 10px 19px;
    border-radius: 25px;
    margin-bottom: 10px;
    font-size: 14px;
}
#bankModal .btn_contentview button,
#cryptoModal .btn_contentview button {
    width: 100%;
    margin-top: 10px;
}
#bankModal .btn_contentview .cancel_btn,
#cryptoModal .btn_contentview .cancel_btn {
    border: none;
    border-radius: 100px;
    padding: 10px;
}
#bankModal .text-right,
#cryptoModal .text-right {
    text-align: end;
}

.add-credit-container .coupencode .contact_btn,
.add-credit-container .credit-payment-container .contact_btn {
    display: block;
    width: 100%;
    margin-top: 16px;
    margin-bottom: 24px;
}

/* ---- History button ---- */
.history-btn {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: auto;
    max-width: 720px;
    margin: 16px auto 0;
    padding: 0 16px 40px;
    box-sizing: border-box;
}
.history-btn .contact_btn {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.Transaction_btn label {
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
    margin-bottom: 0;
}

/* ---- Inner form containers ---- */
.transaction-container {
    background: rgba(242, 242, 242, 1);
    margin: 10px 0;
    padding: 12px;
    text-align: center;
    border-radius: 10px;
}
.transaction-container p {
    font-size: 15px;
    margin: 0 0 12px;
}

.inner_section .input-group,
.add-credit-container .input-group {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}
.inner_section .input-group input,
.add-credit-container .input-group input {
    border: none;
    background: rgba(255, 255, 255, 1);
    padding: 9px;
    border-radius: 20px 0 0 20px;
    height: 47px;
    width: 100%;
}

/* =============================================================
   Kwin widgets (date picker + confirm sheet) used by the wallet
   transaction-history calendar — ported from mobile.css so the
   widgets render correctly on desktop.
   ============================================================= */

body.kwin-datepicker-open,
body.kwin-confirm-open {
    overflow: hidden;
}

.kwin-datepicker,
.kwin-confirm {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 12000;
    justify-content: center;
}
.kwin-datepicker {
    align-items: flex-end;
}
.kwin-confirm {
    align-items: center;
    padding: 24px;
}
.kwin-datepicker.is-open,
.kwin-confirm.is-open {
    display: flex;
}
.kwin-datepicker-backdrop,
.kwin-confirm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 16, 48, 0.45);
}
.kwin-datepicker-sheet,
.kwin-confirm-sheet {
    position: relative;
    width: 100%;
    background: #fff;
    box-shadow: 0 12px 36px rgba(26, 16, 48, 0.22);
}
.kwin-datepicker-sheet {
    max-width: 768px;
    border-radius: 22px 22px 0 0;
    padding: 0 0 16px;
    box-shadow: 0 -8px 28px rgba(26, 16, 48, 0.18);
    animation: kwinDatepickerUp 0.22s ease-out;
}
.kwin-confirm-sheet {
    max-width: 420px;
    border-radius: 18px;
    padding: 0 0 18px;
    margin: auto;
    animation: kwinConfirmPop 0.2s ease-out;
}
@keyframes kwinDatepickerUp {
    from { transform: translateY(24px); opacity: 0.6; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes kwinConfirmPop {
    from { transform: translateY(12px) scale(0.98); opacity: 0.5; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Date picker */
.kwin-datepicker-head,
.kwin-confirm-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(180deg, #5f0d5f 0%, #6a125f 100%);
    color: #fff;
    padding: 14px 16px;
}
.kwin-datepicker-head {
    border-radius: 22px 22px 0 0;
}
.kwin-confirm-head {
    border-radius: 18px 18px 0 0;
}
/* Claim / Move to Wallet modals — hidden until opened */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10060;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(26, 16, 48, 0.5);
}

.popup-overlay.active {
    display: flex;
}

.popup-overlay .popup {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(26, 16, 48, 0.28);
}

.popup-overlay .popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(180deg, #5f1038 0%, #8E24AA 100%);
}

.popup-overlay .popup-title {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.popup-overlay .close-btn {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.popup-overlay .wallet-text,
.popup-overlay .claim-text {
    margin: 0;
    padding: 18px 22px 8px;
    color: #2d2d2d;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

.popup-overlay .wallet-text strong,
.popup-overlay .claim-text strong {
    color: #8E24AA;
}

.popup-overlay .warning-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 22px 0;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #fff8e8;
    color: #6b4a12;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
}
.popup-overlay .wallet-ack-check {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex: 0 0 18px;
    accent-color: #e07a00;
    cursor: pointer;
}
.popup-overlay .warning-box.is-invalid {
    border-color: #e07a00;
}
.popup-overlay .wallet-ack-error {
    margin: 8px 22px 0;
    color: #c0392b;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.popup-overlay .wallet-actions {
    display: flex;
    gap: 10px;
    padding: 16px 22px 20px;
}

.popup-overlay .wallet-actions .claim-prize-form,
.popup-overlay .wallet-actions .wallet-btn {
    flex: 1;
    width: auto !important;
    margin: 0;
}

.popup-overlay .wallet-btn {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 999px;
    border: 1.5px solid #8E24AA;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.popup-overlay .cancel-btn {
    background: #fff;
    color: #5f1038;
}

.popup-overlay .confirm-btn {
    background: linear-gradient(180deg, #5f1038 0%, #8E24AA 100%);
    color: #fff;
    border-color: transparent;
}

.popup-overlay .qr-wrapper {
    display: flex;
    justify-content: center;
    padding: 18px 22px 8px;
}

.popup-overlay .qr-wrapper img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border: 1px solid #efe6f4;
    border-radius: 12px;
    background: #fff;
}

.popup-overlay .order-id {
    text-align: center;
    font-weight: 700;
    color: #5f1038;
    padding: 4px 22px 0;
}

.popup-overlay .claim-text {
    padding-bottom: 22px;
}

.kwin-confirm.is-danger .kwin-confirm-head {
    background: linear-gradient(180deg, #5f1038 0%, #8E24AA 100%);
}
.kwin-datepicker-head h2,
.kwin-confirm-head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.kwin-datepicker-close,
.kwin-confirm-x {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}
.kwin-datepicker-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 8px;
}
.kwin-datepicker-month {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #3b1460;
}
.kwin-datepicker-nav-btn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f4eaf8;
    color: #7b1fa2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}
.kwin-datepicker-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
}
.kwin-datepicker-weekdays,
.kwin-datepicker-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    padding: 0 12px;
}
.kwin-datepicker-weekdays {
    margin-bottom: 6px;
}
.kwin-datepicker-weekdays span {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    padding: 6px 0;
}
.kwin-datepicker-day {
    min-height: 42px;
    border: 0;
    background: transparent;
    border-radius: 12px;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.kwin-datepicker-day.is-empty {
    pointer-events: none;
}
.kwin-datepicker-day.is-today:not(.is-selected) {
    box-shadow: inset 0 0 0 1.5px #7b1fa2;
    color: #7b1fa2;
}
.kwin-datepicker-day.is-selected {
    background: linear-gradient(90deg, #5f1038 0%, #7b1fa2 100%);
    color: #fff;
}
.kwin-datepicker-day.is-disabled {
    color: #c8c8c8;
    cursor: default;
}
.kwin-datepicker-actions,
.kwin-confirm-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 16px 4px;
}
.kwin-datepicker-clear,
.kwin-datepicker-apply,
.kwin-confirm-cancel,
.kwin-confirm-ok {
    flex: 1;
    min-height: 44px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.kwin-datepicker-clear,
.kwin-confirm-cancel {
    border: 1.5px solid #7b1fa2;
    background: #fff;
    color: #7b1fa2;
}
.kwin-datepicker-apply,
.kwin-confirm-ok {
    border: 0;
    background: linear-gradient(90deg, #5f1038 0%, #7b1fa2 100%);
    color: #fff;
}

/* Confirm sheet */
.kwin-confirm-body {
    padding: 20px 18px 8px;
}
.kwin-confirm-body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    text-align: center;
}
.kwin-confirm.is-danger .kwin-confirm-ok {
    background: linear-gradient(90deg, #5f1038 0%, #8E24AA 100%);
    color: #fff;
}
.kwin-confirm.is-danger .kwin-confirm-cancel {
    border-color: #c8c8c8;
    color: #555;
}

/* Branded bootstrap-notify toasts */
.kwin-notify[data-notify="container"] {
    max-width: 360px;
    margin: 0 !important;
    padding: 14px 42px 14px 16px;
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 28px rgba(26, 16, 48, 0.18);
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    color: #fff !important;
    background: linear-gradient(135deg, #5f1038 0%, #7b1fa2 100%) !important;
}
.kwin-notify.alert-success {
    background: linear-gradient(135deg, #1b7a45 0%, #2ea35a 100%) !important;
}
.kwin-notify.alert-danger {
    background: linear-gradient(135deg, #5f1038 0%, #8E24AA 100%) !important;
}
.kwin-notify.alert-warning {
    background: linear-gradient(135deg, #5f1038 0%, #7b1fa2 100%) !important;
}
.kwin-notify.alert-info {
    background: linear-gradient(135deg, #3b1460 0%, #5f1038 100%) !important;
}
.kwin-notify .kwin-notify-close,
.kwin-notify [data-notify="dismiss"] {
    position: absolute !important;
    top: 8px !important;
    right: 10px !important;
    width: 28px;
    height: 28px;
    border: 0 !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
    font-size: 20px;
    line-height: 1;
    opacity: 1 !important;
    text-shadow: none !important;
    padding: 0 !important;
}
.kwin-notify [data-notify="message"] {
    display: block;
    color: #fff;
}

/* Order success page */
.kw-order-success {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px 64px;
    box-sizing: border-box;
}
.kw-order-success-card {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 48px 36px 40px;
    text-align: center;
    background: #fff;
    border: 1px solid #ece6f1;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(95, 16, 56, 0.08);
}
.kw-order-success-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #1b854a 0%, #2ea35a 100%);
    color: #fff;
    font-size: 42px;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(27, 133, 74, 0.28);
}
.kw-order-success-title {
    margin: 0 0 10px;
    color: #1b854a;
    font-family: Poppins, sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}
.kw-order-success-text {
    margin: 0 0 28px;
    color: #222;
    font-family: Poppins, sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.45;
}
.kw-order-success-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 40px;
    border-radius: 999px;
    background: #C7014E;
    color: #fff !important;
    font-family: Poppins, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(199, 1, 78, 0.25);
    transition: background 0.2s ease, transform 0.2s ease;
}
.kw-order-success-btn:hover {
    background: #a80042;
    color: #fff !important;
    transform: translateY(-1px);
}
@media (max-width: 767px) {
    .kw-order-success {
        min-height: calc(100vh - 180px);
        padding: 32px 14px 48px;
    }
    .kw-order-success-card {
        padding: 36px 22px 32px;
        border-radius: 20px;
    }
    .kw-order-success-icon {
        width: 72px;
        height: 72px;
        font-size: 36px;
    }
    .kw-order-success-title {
        font-size: 32px;
    }
    .kw-order-success-text {
        font-size: 15px;
        margin-bottom: 24px;
    }
}

/* Floating WhatsApp support */
.kw-whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 28px;
    z-index: 10000001;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #25D366;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.2s ease;
    pointer-events: auto;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}
.kw-whatsapp-float:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.36);
}
.kw-whatsapp-float.is-dragging {
    cursor: grabbing;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
    transition: none;
}
.kw-whatsapp-float svg {
    width: 38px;
    height: 38px;
    display: block;
    pointer-events: none;
}


