@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --main: #241442;
    --white: #fff;
}


/* Header and sidebar */
/*aside.sidebar-wrapper {*/
/*    background: var(--white) !important;*/
/*}*/

/*html.semi-dark .sidebar-wrapper .metismenu a {*/
/*    color: #000000;*/
/*    font-weight: 500;*/
/*}*/

html.semi-dark .sidebar-wrapper .metismenu .mm-active>a,
html.semi-dark .sidebar-wrapper .metismenu a:active,
html.semi-dark .sidebar-wrapper .metismenu a:focus,
html.semi-dark .sidebar-wrapper .metismenu a:hover {
    color: var(--white);
    text-decoration: none;
    background: var(--main);
    border-left: 4px solid var(--white);
}

html.semi-dark .top-header .navbar .user-setting {
    border-left: 0px;
    border-right: 0px;
}

html.semi-dark .sidebar-wrapper,
html.semi-dark .sidebar-wrapper .sidebar-header {
    background-color: var(--main);
}


/* User Dashboard */
.counter-value {
    font-weight: 500;
    font-size: 22px;
}

.dash-box-1,
.dash-box-2,
.dash-box-3,
.dash-box-4 {
    background-size: cover;
    background-repeat: no-repeat;
    animation: slideBackground 5s linear infinite alternate !important;
}

@keyframes slideBackground {
    0%, 100% {
        background-position: 0 0;
    }
    50% {
        background-position: 0 100%;
    }
}

.dash-box-1 {
    background-color: #673AB7;
}

.dash-box-2 {
    background-color: #8F0735;
}

.dash-box-3 {
    background-color: #063061;
}

.dash-box-4 {
    background-color: #C77604;
}

.rank {
    background: #e44e01;
    color: #fff;
    padding: 3px 9px;
    font-size: 13px;
    float: left;
    border: none;
    border-radius: 3px;
    text-transform: uppercase;
}


#referralChart {
    width: 100% !important;
    height: 350px !important;
}

@media (max-width: 767px) {
    #referralChart {
        width: 100% !important;
        height: 280px !important;
    }
}


.widgets-icons {
    padding: 10px 15px;
    border-radius: 10px;
}

.widgets-icons i {

    font-size: 22px;

}

.box-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
}

.box {
    border: none;
    border-radius: 10px;
    padding: 10px 15px;
    margin: 5px;
    background-color: #061232;
    flex: 1 1 calc(50% - 10px);
    /* Two boxes in one row */
    box-sizing: border-box;
    text-align: left;
    color: #fff;
}

/* Media query for mobile devices */
@media screen and (max-width: 600px) {
    .box {
        flex: 1 1 calc(100% - 10px);
        /* One box in each row */
    }
}

.dash-uname {
    font-family: "Jost", sans-serif;
    font-weight: 600;
    font-size: 22px;
}

@media screen and (max-width: 600px) {
    .dash-uname {
        font-size: 20px;
    }
}

.lb-tbl-name, .tbl-amount {
    font-family: "Jost", sans-serif;
    font-weight: 500;
}