
/* Affiliate Layout */ 
.mainContainer {
    display: flex;
}

body {
    padding: 0px !important;
}

.sidebarContainer {
    /*flex-basis: 14%;*/
    /*background-color: red;*/
    background-color: #232e51;
    color: #97aac1;
    height: 100vh;
    width: var(--osen-sidenav-width);

    @media screen and (max-width:1140px){
        background-color:white !important;
        width:unset;
    }
}

.contentContainer {
    /*flex-basis: 90%;*/
    overflow-y: scroll;
    height: 100vh;
    width:100%;

    @media screen and (min-width:767px) and (max-width:1140px){
        padding-left:70px;

    }

    @media screen and (min-width:1141px) {
        background-color:white !important;
        width: calc(100% - 260px);

    }
}

.page-title {
    color:rgb(80 70 157) !important;
}

/* END Affiliate Layout */


.tooltip-warning .tooltip-inner {

    backround-color:purple;
}

/* affiliate Profile */
body {
    background-color: #4f459b0d !important;
}

:root {
    --background-wrapper-color: #f1f1f1; /* Light theme background */
}



/* Apply the variable to the wrapper */
.wrapper {
    padding: 50px;
    height: unset !important;
    background-color: var(--background-wrapper-color) !important;
}

html[data-bs-theme="dark"] .wrapper {
    --background-wrapper-color: #1e1f27f0;
    --text-color: #fff;
}

.mainContainer {
    width: 100%;
    height: 100%;
    /* background-color:#333; */
    /* padding-top:150px; */
}

.container {
    margin-left: 0px;
    margin-right: 0px;
    width: 100%;
    max-width: none;
}

.page-content {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.active-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 10px;
    top: 10px;
    border-radius: 5px;
    color: white;
    font-size: 12px;
    line-height: 12px;
}

.badge{
}

.reffererName{
    display:flex;
    align-items:end;
    gap:10px;
}


.totalAffiliates {
    color: #2e4675;
    cursor: pointer;
}

totalAffiliates:hover {
    color: #1245a6;
    cursor: pointer;
}

.activeAffiliates {
    color: #2e4675;
}

    .activeAffiliates:hover {
        color: #1e910f;
        cursor: pointer;
    }

.pendingAffiliates {
    color: #2e4675;
}

.pendingAffiliates:hover {
    color: #d1c411;
    cursor: pointer;
}


/*POPUP*/
.editProfileContainer{
    background-color: rgba(0,0,0,0.5);
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width:100%;
    z-index:10;
    backdrop-filter:blur(3px);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:40px 100px 100px 100px;
    display:none;

}

.edirProfileTitle {
    width: 100%;
    color: white;
    font-size: 24px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    padding-bottom: 5px;
    max-width: 1100px;
}

.closeEditProfileX {
    display:flex;
    justify-content:center;
    align-items:center;
    height: 30px;
    width: 30px;
}

.closeEditProfileX:hover{
    background-color:white;
    color:black;
    transition:all 300ms ease;
    cursor:pointer;

}

.editProfileInnerContainer {
    background-color: white;
    /*height: 100%;*/
    width: 100%;
    border-radius: 8px;
    padding: 10px;
    overflow-y: scroll;
    max-width: 1100px;
    min-height:400px;
}


/* END affiliate Profile */


.wrapper {
    padding: 20px 0px 0px 0px !important;
}


/* AFFILIATE DASHBOARD */

.card {
    height: calc(100% - 24px) !important;
    margin-bottom:24px;
}

.dashboardProfile *{
    color:#333;
}

.dashboardProfile .active-badge{
    color: white;
}


.dashboardProfile:hover h4{
    color: #55489c;
}

.tooltip.bs-tooltip-top {
    transform: translateX(20px); /* Shift tooltip to the right */
}

/* END AFFILIATE DASHBOARD */


/* USER AFFILIATES */

.affiliatesContainer{
    padding:20px;
}


.filtersCard{
    padding:10px;

}

.estimatedMonthlyPaymentContainer {
    display: flex;
    justify-content:space-between;
    align-items:center;
    font-size: 20px;
}

#estimatedMonthlyPayout {
    font-weight: 500;
    font-size: 22px;
}

.levelCard{
    padding: 10px 20px;
}

/* APEX CHARTS */
.in-range:not(.active) {
    background-color: #e3e1f2 !important;
}

/* END USER AFFILIATES */
/* Sidebar */
.sidebarInnerContainer {
    display: flex;
    flex-direction: column;
    align-items: start;
    background-color: #372b78;
    height: 100%;
}

.sidebarInnerContainer > * {
    padding:0px 30px;
}

.sidebarLogo {
    width: 100%;
    /*background-color:blue;*/
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.affiliateText {
    color: white;
    font-size: 18px;
    margin-bottom: 0px;
    padding-top: 10px;
}

.sidebarLogoText {
    display: flex;
    align-items: end;
    font-size: 14px
}

.sidebarLogoText > .bladeText {
    color: white;
    padding: 0px;
    margin: 0px;
    font-size: 14px;
}

.sidebarLogoText > .betText {
    color: #55489d;
}


.sidebarLogo > img {
    height: 75px;
}


.sidebarOption {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    cursor: pointer;
    color: #cccadb;
    font-size: 14px;
}

.sidebarOption:hover{
    color:white;
}

/* END sidebar */




/* EXTRAS */
.hvr-sweep-to-right {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 1.2s;
    transition-duration: 1.2s;
    width:100%;
}

.hvr-sweep-to-right:before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #55489d;
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        -webkit-transform-origin: 0 50%;
        transform-origin: 0 50%;
        -webkit-transition-property: transform;
        transition-property: transform;
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -webkit-transition-timing-function: ease-out;
        transition-timing-function: ease-out;
}

.hvr-sweep-to-right:hover, .hvr-sweep-to-right:focus, .hvr-sweep-to-right:active {
    color: white;
}

.hvr-sweep-to-right:hover:before, .hvr-sweep-to-right:focus:before, .hvr-sweep-to-right:active:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}


#registerLoader {
    display: flex;
    color: white;
    justify-content: center;
    align-items: center;
    transition: all 500ms ease;
    z-index: 12;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(2px);
}



/* SNACKBAR  */

#snackbar {
    visibility: hidden;
    margin: 0 auto;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: 0px;
    padding: 16px;
    position: fixed;
    z-index: 100000;
    left: 25%;
    bottom: 30px;
    font-size: 17px;
    width: 50%;
}

#snackbar_icon {
    color: white;
    padding: 4px;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 3.5s;
    animation: fadein 0.5s, fadeout 0.5s 3.5s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}


@media only screen and (max-width: 500px) {
    #snackbar {
        left: 10%;
        font-size: 14px;
        width: 80%;
    }
}


/*AFFILIATE LOADER*/ 

#affiliateLoader {
    width: 3.25em;
    transform-origin: center;
    animation: rotate4 2s linear infinite;
}

circle{
    fill: none;
    stroke: hsl(214, 97%, 59%);
    stroke-width: 2;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash4 1.5s ease-in-out infinite;
}

@keyframes rotate4 {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash4 {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dashoffset: -125px;
    }
}

