.section-top-new {
    background-color: var(--main-bg-color);
    padding: 30px 0;
    border-radius: 0 0 100px 100px;
    overflow: hidden;
    position: relative;
}
.refer-earn-main h1, .refer-earn-main h2, .refer-earn-main h3, .refer-earn-main h4, .refer-earn-main h5, .refer-earn-main h6{
    font-weight: 600!important;
}
.text--link {
    color: #222222;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
}
.promo-code-section {
    position: relative;
    padding-top: 40px;
    padding-bottom: 40px;

}
.invite-section {
    z-index: 10;
}
.invite-section.without-referral {
    text-align: center;
    margin: auto;
}

.invite-section.without-referral .cta-wrap {

    justify-content: center;
}

.referralImg.referral-rightImg {
    right: 40px;
    bottom: 0;
}

.referralImg.referral-leftImg {
    left: 13px;
    bottom: 0;
}

.without-referral--img .referralImg {
    position: absolute;
    display: inline-block !important;

}

.without-referral--img.referral-section {
    padding: 70px 0;
}

.promo-code-section>* {
    position: relative;
    z-index: 1;
}

.promo-code-section:after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: 62%;
    left: 65%;
    transform: translate(-50%, -50%);

    background: url("../../img/images/Highlighter.svg");

    z-index: 0;
}

.common-space1 {
    padding: 45px 20px;
}

.bgoverlay-light {
    position: relative;
    overflow: hidden;
}

.h3-weight {
    font-weight: 600;
}

.step-content {
    width: 50%;
    margin: auto;
}

.how-step-box img {
    width: auto;
    height: 185px;
}

.how-works-grid {
    gap: 20px;
}

.pro-tip-bar {
    background: var(--main-bg-color);
    color: #fff;
    padding: 16px;
    border-radius: 8px;
    font-size: 18px;
}

.pro-tip-bar strong {
    color: #ffd600;
}

.bgoverlay-light:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-color: var(--main-bg-color);
    opacity: 0.07;
    z-index: -5;
}
.win-card ul li {
    position: relative;
    line-height: 1.3;
    padding-left: 70px;
    padding-bottom: 15px;
    margin-bottom: 10px !important;
}
.win-card {
    border-radius: 16px;
    background-color: #fff;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
    padding: 20px;
}

.faqsmodal .card-header,
.faqsmodal .card {
    padding: 0px;
    background: #fff;
    border: none;
}

.faqsmodal .card-header .btn {
    padding: 15px 15px 15px 15px !important;
    color: #333;
    border: none;
    font-size: 16px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}

.faqsmodal .card-header .btn:hover,
.faqsmodal .card-header .btn:active,
.faqsmodal .card-header .btn:focus {
    color: var(--main-bg-color);
    text-decoration: none;
}

.faqsmodal .card-body {
    padding: 0px 20px 15px 20px !important;
}

.faqsmodal .card {
    border: 1px solid #E2E2E2 !important;
    border-radius: 15px !important;
    margin-bottom: 10px;
}

.faqsmodal .card:last-child {
    margin-bottom: 0px;
}

.faqsmodal .accordion .card:last-child {
    border-bottom: none;
}

.faqsmodal .accordion [aria-expanded="true"] i {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    transform: rotate(180deg);
}

.plight {
    line-height: normal;
    margin-bottom: 7px;
}

.faqsmodal .label-p {
    color: #707070;
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 400;
}

.section-top-new h1,
.section-top-new p {
    color: #ffffff;
    line-height: 1.5;
}

/* Referral Code Box Styles */
.referral-section h1 {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.referral-section p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0;
}

.referral-code-box {
    background: #fff;
    border-radius: 18px;
    padding: 15px 1.5rem;
    box-shadow: 0 4px 16px rgba(30, 190, 165, 0.15);
    text-align: center;
    margin-bottom: 20px;
}

.referral-code-box .text-secondary {
    color: #222222 !important;
    font-size: 14px;
    font-weight: 500;
}

.referral-code {
    display: inline-block;
    font-size: 36px;
    font-weight: 700;
    color: var(--main-bg-color);
    background: #fff;
    border: 1.5px dashed var(--main-bg-color);
    border-radius: 10px;
    padding: 10px 15px;
    letter-spacing: 2px;
    box-shadow: 0 2px 8px rgba(33, 208, 122, 0.08);
    position: relative;
}

.referralCodeVal {
    color: var(--main-bg-color);
    font-weight: 700;
    letter-spacing: 4px;
}

.referral-code-box small {
    color: #fff !important;
    font-size: 0.95rem;
    margin-top: 0.5em;
}

.refer-btn {
    border: none;
    border-radius: 20px;
    padding: 8px 10px;
    min-width: 33.3%;
    min-height: 78px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 12px rgba(30, 190, 165, 0.08);
    margin: 0 0.5rem;
    border-radius: 12px !important;

}

.stat-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;

}

.refer-btn .icon {
    font-size: 2rem;
}

.refer-btn-whatsapp {
    background: #25d366;
    color: #fff;
}

.refer-btn-whatsapp .icon {
    color: #fff;
}

.refer-btn-sms,
.refer-btn-qr {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.refer-btn-sms .icon,
.refer-btn-qr .icon {
    color: #fff;
}

.refer-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px #21d07a44;
}

.refer-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;

}

.stat-card:last-child {
    background-color: #FFF7E0;
}

.referral-section table {
    border: 1px solid #F3F4F6 !important;
}

thead {
    background-color: #E2E2E2;
}

#referralTableBody tr td {
    text-align: center;
}



.avatar {
    background: var(--main-bg-color);
    color: #fff;
    padding: 8px 0;
    border-radius: 50px;
    width: 30px;
    height: 30px;
    display: inline-block;
    line-height: 1.3;
    text-align: center;
    margin-right: 6px;
    font-size: 12px;
}

.badge {
    font-weight: 400;
    border-radius: 50px;
    padding: 5px 15px;
    font-size: 12px;
}

.badge-soft-warning {
    background-color: #FFF7E0;
    color: #D97706;
}

.badge-soft-success {
    background-color: #E6FFFA;
    color: #2F855A;
}

.badge-soft-danger {
    background-color: #FFE5E5;
    color: #d90606;
}

@media (max-width: 992px) {
    .common-space1 {
        padding: 30px 20px;
    }
    .section-top-new {

        padding: 30px 20px;
        border-radius: 0 0 50px 50px;

    }

    .without-referral--img .referralImg {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .referral-section h1 {
        font-size: 32px;

    }

    .refer-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;

    }

    .stat-card:last-child {
        grid-column: 1 / -1;
    }

    .promo-code-section {
        padding: 20px 0;
    }

    .referral-section {
        /* padding-bottom: 70px; */
    }

    .refer-btn {
        min-width: 90px;
        min-height: 70px;
        font-size: 1rem;
        padding: 0.7rem 0.2rem;
    }

    .refer-btn .icon {
        font-size: 1.3rem;
    }
}

.cta-wrap {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.cta {

    display: block;
    text-align: center;
    padding: 8px 15px;
    border-radius: 8px !important;
    font-weight: 600;
    font-size: 16px;
}

.cta-btn--primary {


    /* border: 1px solid var(--main-bg-color); */
    color: #222222;
    background-color: #fff;
}

.cta-btn--primary .las.la-gift {
    color: inherit;
}

.cta-btn--outline {
    border: 1px solid #ffffff;

    color: #ffffff !important;
}

.cta-btn--outline .viewRewardsBtn {
    color: #ffffff !important;
}

.RF-testimonial {
    background-color: #fff;
    border-radius: 15px;
    border: 1px solid #F9FAFB;

    background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);

    height: 100%;
    padding: 15px 15px 75px 15px;
    position: relative;
}


.icon-box {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    position: absolute;
    left: 0;
}

.win-card ul li .icon-box--warm,
.win-card ul li .icon-box--warm svg path {
    color: #FA9A00;
    stroke: #FA9A00;
}


.win-card ul li .icon-box--success,
.win-card ul li .icon-box--success svg path {
    color: #2F855A;
    stroke: #2F855A;
}

.win-card ul li:first-child .icon-box:after,
.win-card ul li:first-child .icon-box--success:after {
    content: none;

}

.win-card ul li .icon-box:after {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #FA9A00;
    opacity: 0.1;
    content: "";
    display: inline-block;
}

.win-card ul li .icon-box--success:after {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #2F855A;
    opacity: 0.1;
    content: "";
    display: inline-block;
}

.win-card ul li:first-child .icon-box {
    color: #FFFFFF;
    width: 56px;
    height: 56px;
}

.win-card ul li:first-child .icon-box--warm {
    background-color: #FA9A00;

}

.win-card ul li:first-child .icon-box svg path {
    stroke: #fff;
}

.win-card ul li:first-child .icon-box--success {
    background-color: #2F855A;

}

.win-card ul li:first-child .icon-box--success:after {
    content: none;
}

/* Responsive */
@media (max-width: 600px) {
.how-works-grid {
    padding: 0 40px;
}
    .table th:nth-child(1),
    .table td:nth-child(1) {
        width: 10%;
    }

    .table th:nth-child(3),
    .table td:nth-child(3) {
        width: 25%;
    }

    /* Target Bootstrap responsive wrapper */
    .table-responsive {
        overflow-x: auto;
        scrollbar-width: thin;
        /* Firefox */
        scrollbar-color: #999 transparent;
        /* Firefox */
    }

    /* Chrome, Edge, Safari */
    .table-responsive::-webkit-scrollbar {
        height: 6px;
        /* thinner scrollbar */
    }

    .how-step-box img {
        width: auto;
        height: auto;
    }

    .faqsmodal {
        padding-left: 0;
        padding-right: 0;
    }

    .table-responsive::-webkit-scrollbar-track {
        background: transparent;
        /* remove grey background */
    }

    .table-responsive::-webkit-scrollbar-thumb {
        background: #999;
        border-radius: 10px;
    }

    .how-step-box {
        padding: 0 !important;
        margin: 0 !important;
    }

    .step-content {
        width: 100%;
    }

    .how-it-works-section {
        padding-left: 0;
        padding-right: 0;
    }

    .table-responsive::-webkit-scrollbar-thumb:hover {
        background: #666;
    }

    .referral-code-box {
        padding: 1.2rem 0.5rem;
    }

    .referral-code {
        font-size: 1.2rem;
        padding: 0.4em 1em;
    }

    .referralCodeVal {
        font-size: 1.2rem;
    }
}
@media (max-width: 420px) {
    .win-card ul li {
  padding-bottom: 5px !important;
    padding-left: 51px;
    }
.win-card ul li:first-child .icon-box {
    width: 40px;
    height: 40px;
}
.win-card ul li:first-child .icon-box svg {
        width: 22px;
}
.icon-box{
    width: 35px;
    height: 35px;
    top: 0;
}
}