﻿.swal2-html-container {
    margin-top: 0px !important;
}

.swal2-popup.swal-limited-width {
    width: 100% !important;
    max-width: 900px !important;
}

.swal-ok-btn {
    background-color: #d52128; /* your btn-danger red */
    color: #fff;
    border-radius: 50px !important; /* pill shape */
    padding: 5px 40px !important; /* more height + width */
    font-weight: 400;
    border: none;
    outline: none;
    font-size: 90%;
}

    .swal-ok-btn:hover {
        background-color: #b81c22; /* slightly darker hover */
    }

.swal-cancel-btn {
    background-color: #606060; /* your btn-danger red */
    color: #fff;
    border-radius: 50px !important; /* pill shape */
    padding: 5px 40px !important; /* more height + width */
    font-weight: 400;
    border: none;
    outline: none;
    font-size: 90%;
    margin-left:5px;
}

    .swal-cancel-btn:hover {
        background-color: #221f20; /* slightly darker hover */
    }


.txt1 {
    color: #606060 !important;
    font-weight: 500;
    font-size: clamp(30px, 2.5vw, 30px);
}

.txt1blk {
    color: #221f20 !important;
    font-weight: 500;
    font-size: clamp(26px, 2.5vw, 30px);
}

.txt0blk {
    color: #221f20 !important;
    font-weight: 500;
    font-size: clamp(26px, 2.5vw, 30px);
}

.sub0blk {
    color: #221f20 !important;
    font-weight: 500;
    font-size: clamp(20px, 1.8vw, 24px);
}


.normaltxt {
    font-size: clamp(16px, 1.3vw, 20px)
}

.labeltxt {
    color: #221f20 !important;
    font-weight: 500;
}

.colorline {
    border-color: #221f20 !important;
}

.colorlinebg {
    background-color: #221f20 !important;
}

.mnuprofile {
    color: #221f20;
    background-color: none;
    border-radius: 10px;
    min-width: 250px
}

    .mnuprofile.active {
        color: #ffffff;
        background-color: #d52128;
        font-weight: 500;
    }


.iconcolor {
    color: #cccccc;
}

    .iconcolor.active {
        color: #d52128;
    }

/* ===== Default (xs < 576px) ===== */
.headbg {
    position: relative;
    top: 10%;
    height: 250px;
}

.bgarticle {
    background-color: #fff4e2 !important
}

.articlethumb {
    height: 200px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px
}

/*reward*/

.arrowcontainer {
    padding-left: 0.5rem;
    padding-right: 0.75rem;
}
.rewardtitlecontainer {
    padding-top: 0.75rem;
    padding-right:0.5rem;
    padding-left:0rem;
}
.arrowsize {
    width:26px;
}

/* ===== sm ≥ 576px ===== */
@media (min-width: 576px) {
    .headbg {
        top: 5%;
        height: 350px;
    }
    .bgarticle {
        background-color: transparent !important
    }
    .articlethumb {
        height: 200px
    }
    .arrowsize {
        width: 36px;
    }
    .arrowcontainer {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .rewardtitlecontainer {
        padding-top: 0.75rem;
        padding-right: 0.5rem;
        padding-left: 0.25rem;
    }
}

/* ===== md ≥ 768px ===== */
@media (min-width: 768px) {
    .headbg {
        top: 5%;
        height: 400px;
    }
    .bgarticle {
        background-color: transparent !important
    }
    .articlethumb {
        height: 250px
    }
    .arrowsize {
        width: 55px;
    }
    .arrowcontainer {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .rewardtitlecontainer {
        padding-top: 0.75rem;
        padding-right: 0.5rem;
        padding-left: 0.25rem;
    }
}

/* ===== lg ≥ 992px ===== */
@media (min-width: 992px) {
    .headbg {
        top: 5%;
        height: 430px;
    }
    .bgarticle {
        background-color: transparent !important
    }
    .articlethumb {
        height: 250px
    }
    .arrowcontainer {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .rewardtitlecontainer {
        padding-top: 0.75rem;
        padding-right: 0.5rem;
        padding-left: 0.25rem;
    }

    .arrowsize {
        width: 33px;
    }
    .arrowcontainer {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .rewardtitlecontainer {
        padding-top: 0.75rem;
        padding-right: 0.5rem;
        padding-left: 0.25rem;
    }
}

/* ===== xl ≥ 1200px ===== */
@media (min-width: 1200px) {
    .headbg {
        top: 5%;
        height: 500px;
    }
    .bgarticle {
        background-color: transparent !important
    }
    .articlethumb {
        height: 250px
    }

    .arrowsize {
        width: 45px;
    }

    .arrowcontainer {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .rewardtitlecontainer {
        padding-top: 0.75rem;
        padding-right: 0.5rem;
        padding-left: 0.25rem;
    }
}

/* ===== xxl ≥ 1400px ===== */
@media (min-width: 1400px) {
    .headbg {
        top: 5%;
        height: 600px;
    }
    .bgarticle {
        background-color: transparent !important
    }
    .articlethumb {
        height: 250px
    }
}

.dt-search {
    display: none !important;
}

/* Container holding info + paging */
.dt-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}



/* Desktop (lg and up) */
@media (min-width: 992px) {
    .dt-info {
        flex: 1 1 auto;
        text-align: left;
    }

    .dt-paging {
        flex: 0 0 auto;
        text-align: right;
    }
}

/* Mobile / tablet */
@media (max-width: 991.98px) {
    .dt-info,
    .dt-paging {
        width: 100%;
    }

    .dt-paging {
        margin-top: 6px;
        text-align: left;
    }
}

/* Base pagination button */
/* Base pagination button */
.dt-paging-button {
    padding: 8px 16px; /* ⬅ larger */
    margin: 0 4px;
    font-size: 15px; /* ⬅ larger text */
    border-radius: 6px;
    border: 1px solid #dc3545; /* bootstrap danger */
    background-color: transparent;
    color: #dc3545;
    cursor: pointer;
}

    /* Hover */
    .dt-paging-button:hover:not(.disabled):not(.current) {
        background-color: #dc3545;
        color: #fff;
    }

    /* Active / current page */
    .dt-paging-button.current {
        background-color: #dc3545;
        color: #fff;
        border-color: #dc3545;
        cursor: default;
        pointer-events: auto;
        display: inline;
    }

    /* Disabled buttons */
    .dt-paging-button.disabled {
        display:none;
        border-color: #cccccc;
        color:#cccccc;
        cursor: not-allowed;
        background-color: transparent;
        pointer-events:none;
    }


#myTable tfoot {
    display: none !important;
}
.t110 {
    font-size: 110%
}

.t125 {
    font-size: 125%
}

.t150 {
    font-size: 150%
}

.t175 {
    font-size: 175%
}

.t200 {
    font-size: 200%
}

.linkplain {
    color: var(--bs-body-color);
    text-decoration: none;
}

    .linkplain:hover {
        color: var(--bs-body-color);
        text-decoration: none;
    }



.milestone-wrap {
    position: relative;
    margin: 40px 20px;
    height: 90px;
}

/* base track */
.milestone-track {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 4px;
    background: #e0e0e0;
    border-radius: 4px;
}

/* progress fill */
.milestone-progress {
    position: absolute;
    top: 30px;
    left: 0;
    height: 4px;
    width: 0;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.progress-red {
    background: #d32f2f;
    z-index: 1;
}

.progress-gold {
    background: #f4b400;
    z-index: 2;
}

/* milestone dots */
.milestone {
    position: absolute;
    top: 30px;
    transform: translateX(-50%);
    text-align: center;
}

    .milestone span {
        display: block;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #ccc;
        margin: 0 auto;
        transform: translateY(-50%);
    }

/* dot colours */
    .milestone.dot-red span {
        background: #d32f2f;
    }

    .milestone.dot-gold span {
        background: #f4b400;
    }

    .milestone.dot-silver span {
        background: #bdbdbd;
    }

/* progress colours */
.progress-red {
    background: #d32f2f;
}

.progress-gold {
    background: #f4b400;
}

.progress-silver {
    background: #bdbdbd;
}

/* badge */
.badgecard#currentBadge {
    position: absolute;
    top: -10px;
    left: 0;
    transform: translateX(-50%);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 3;
}

.badgecard#currentBadge::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: #d32f2f transparent transparent;
}

/* labels */
.milestone div {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.milestone-fill {
    position: absolute;
    top: 30px;
    left: 0;
    height: 4px;
    width: 0;
    border-radius: 4px;
    transition: width 0.4s ease;
}

    .milestone-fill.gold {
        background: #f4b400;
        z-index: 2; /* middle */
    }

    .milestone-fill.red {
        background: #d32f2f;
        z-index: 3; /* top */
    }

.wa-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.25);
    z-index: 9999;
}

    .wa-float:hover {
        color: #fff;
        text-decoration: none;
        background-color: #1ebe5d;
    }

.wa-icon {
    line-height: 60px;
}