@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/@mdi/font@6.5.95/css/materialdesignicons.min.css');

:root {
    --primary: #000000;
    --primary-light: #42518a;
    --primary-dark: #0575BB;
    --secondary: #e82231;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: -1px;
    color: var(--dark);
}

h1,
.h1 {
    font-size: 2rem;
    font-weight: 800;
}

h2,
.h2 {
    font-size: 1.75rem;
    font-weight: 800;
}

h3,
.h3 {
    font-size: 1.5rem;
}

h4,
.h4 {
    font-size: 1.25rem;
}

h5,
.h5 {
    font-size: 1.125rem;
}

h6,
.h6 {
    font-size: 1rem;
}

p {
    color: #484848;
    font-size: 1em;
    letter-spacing: 0px;
    font-weight: 300;
    line-height: 1.5rem;
}

body {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    background: #fbfbfb;
}

.gradient-2 {
    background-image: linear-gradient(270deg, #d12a56, #ea9d9d);
}


/* .btn-primary {
    background: rgba(12 12 12 /.95);
    border-color: rgba(12 12 12 /.95);
} */

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.nk-sidebar .nav-label {
    color: var(--secondary) !important;
}

.nk-sidebar {
    padding: .5em;
    background: transparent;
}

.nk-sidebar .nk-nav-scroll {
    border-radius: .75em;
    background: #000;
    border: 1px solid #f2f2f2;
}

.nk-sidebar .metismenu {
    background-color: transparent !important;
}

.nk-sidebar .metismenu>li a>i {
    font-size: 1.1rem;
    color: #c6c6c6;
}

.nk-sidebar .metismenu>li.active>a {
    background: transparent;
    color: var(--primary);
}

.nk-sidebar .metismenu>li.active span,
.nk-sidebar .metismenu>li.active i {
    color: var(--primary) !important;
}

.nk-sidebar .metismenu>li:hover>a {
    background: #f7f7f7;
}

.nk-sidebar .metismenu>li.active:hover>a {
    color: var(--primary);
}

.nk-sidebar .metismenu a {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #c6c6c6;
}

.nav-header .brand-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

[data-nav-headerbg="color_1"] .nav-header {
    background: #fefefe;
    box-shadow: none;
}

[data-headerbg="color_1"] .header {
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(10px);
    box-shadow: none;
    border-bottom: none
}

.nk-sidebar {
    padding-bottom: 0;
}

.slimScrollDiv {
    height: calc(100% - 12.3em) !important;
    padding-bottom: .5em;
}

[data-sidebar-style="full"][data-layout="vertical"] .menu-toggle .nk-sidebar {
    width: 0px;
    overflow: hidden;
    padding: 0;
}

[data-sidebar-style="full"][data-layout="vertical"] .menu-toggle .content-body {
    margin-left: 0;
}

.user-profile {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 12px 7px;
    height: 7em;
    border-radius: .75em;
    margin-bottom: 3em;
    box-shadow: 0 -3px 9px -3px rgba(232, 127, 234, 0.55);
}

.user-profile .user-profile__img img {
    width: 50px;
    height: 50px;
    border-radius: 40px;
    overflow: hidden;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, .5);
}

.user-profile .user-profile__details {
    padding: 0 7px 0 12px;
    display: flex;
    flex-direction: column;
}

.user-profile .user-profile__details>h5,
.user-profile .user-profile__details>p,
.user-profile .user-profile__details>a {
    margin-bottom: 0px;
}

.user-profile .user-profile__details>h5 {
    font-size: 16px;
    width: 8rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: rgba(255, 255, 255, 1);
}

.user-profile .user-profile__details>p {
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
}

.user-profile .user-profile__details>a {
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}

.user-profile .user-profile__details>a:hover {
    color: rgba(255, 255, 255, 1);
}

.card {
    /* box-shadow: 0px 7px 20px -15px rgba(25 69 157 /.55); */
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid #ebebeb;
}

.card>.card-body {
    padding: 1.75em;
}

.quick-look .card-body {
    padding: 1.25rem 1.5rem;
}

.card-title__container {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    margin-bottom: 15px;
}

.card-title__container>h3 {
    margin-bottom: 0;
}

.card-title__container span>i {
    font-size: 1.35em;
}


/* .card-title__container span {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
} 



.card-title__container h3 {
    flex-grow: 1;
    margin-bottom: 0;
}*/


/* @media screen and (max-width:575px) {
    .card-title__container span>i {
        font-size: 4em;
        position: absolute;
    }
} */

.card-title {
    line-height: 1.38em;
    font-weight: 700;
    letter-spacing: 0;
}

/* .gradient-1 {
    background: var(--primary-dark);
    background: -moz-linear-gradient(180deg, rgba(173, 90, 162, 1) 0%, var(--secondary) 20%, var(--primary) 100%);
    background: -webkit-linear-gradient(60deg, rgba(173, 90, 162, 1) 0%, var(--secondary) 20%, var(--primary) 100%);
    background: linear-gradient(0deg, rgba(173, 90, 162, 1) 0%, var(--secondary) 20%, var(--primary) 100%);
} */

.icons>a i {
    font-size: 22px;
    color: #7b7b7b;
}

.cs-box h6 {
    color: #767676;
}

.cs-box {
    border-color: #ebebeb;
}

.footer {
    padding-left: 0;
}

.footer .copyright {
    padding-left: 15.1875rem;
}

.menu-toggle .footer .copyright {
    padding-left: 1.2375rem;
}

.google-visualization-orgchart-linenode {
    border-color: #ababab !important;
    border-width: 2px;
}

.tree-node {
    width: 100%;
    border-radius: 8px;
    background: #f4f4f4;
}

.tree-node div {
    width: 200px;
    padding: 1em 1.5em;
}

.tree-node img {
    width: 80px;
    height: 80px;
    overflow: hidden;
    -o-object-fit: fill;
    object-fit: fill;
    border-radius: 50%;
    margin-bottom: 1em;
}

.tree-node h3 {
    font-size: 1.5em;
    margin-bottom: 0.3em;
    font-family: helvetica;
}

.tree-node p {
    font-size: 14px;
    margin-bottom: 0.5em;
}

.tree-node .flexing-box {
    display: flex;
    justify-content: space-between;
    padding: 0;
    width: 100%;
}

.tree-node .flexing-box p {
    font-size: 15px;
    font-weight: 600;
}

.node-selected {
    background: #f0f7f7;
}

.zoom-controls .btn {
    padding: .5em 1em;
}

.zoom-controls .btn i {
    font-size: 1.5em;
}

@media screen and (max-width:767px) {
    #chart_div {
        overflow-x: scroll;
        touch-action: auto;
    }
}


/* SHOP AREA */

.mix {
    width: 22%;
    /*height: 400px;*/
    position: relative;
}

.mix .product-img-small-bnn {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: .5em 1em;
    border-radius: 10em;
    font-size: 14px;
}

.mix .card-footer {
    border: none
}


/* Payment Success Fail Card */

.status-card {
    background-color: #efefef;
    border-radius: 2em;
    display: flex;
    flex-direction: row;
    width: max(850px, 90%);
    box-shadow: 0px 24px 60px -24px rgba(100, 233, 217, 0.35);
}

.status-card__left {
    border-radius: 2em;
    padding: 1em;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* min-width: 150px; */
}

.status-card__left img {
    max-width: 200px;
}

.status-card__left .success-page-floating-image {
    /* position: absolute; */
    bottom: 0;
    /* right: -25px; */
    width: 220px;
    margin-right: -120px;
    position: relative;
    z-index: 2;
}

.status-card__right {
    background-color: #fff;
    border-radius: 2em;
    padding: 2em 2em 2em 5em
}

.tick {
    width: 70px;
    height: 70px;
    border: 4px solid var(--success);
    border-radius: 50%;
    position: relative;
}

.tick-x {
    width: 70px;
    height: 70px;
    border: 4px solid red;
    border-radius: 50%;
    position: relative;
}

.tick-x .l-x {
    width: 70%;
    height: 10%;
    background-color: red;
    position: absolute;
    transform: rotate(45deg);
    transform-origin: 0px 0px;
    top: 22%;
    left: 27%;
    animation: left2 1s;
}

.tick-x .r-x {
    width: 70%;
    height: 10%;
    background-color: red;
    position: absolute;
    transform: rotate(-45deg);
    transform-origin: 0px 0px;
    top: 72%;
    left: 23%;
    animation: right2 1s;
}

.tick .l {
    width: 45%;
    height: 10%;
    background-color: var(--success);
    position: absolute;
    transform: rotate(45deg);
    transform-origin: 0px 0px;
    top: 42%;
    left: 12%;
    animation: left 1s;
}

.tick .r {
    width: 70%;
    height: 10%;
    background-color: var(--success);
    position: absolute;
    transform: rotate(-45deg);
    transform-origin: 0px 0px;
    top: 72%;
    left: 32%;
    animation: right 1s;
}

@keyframes left {
    0% {
        width: 0%
    }

    50% {
        width: 45%
    }

    100% {
        width: 45%
    }
}

@keyframes right {
    0% {
        width: 0%
    }

    30% {
        width: 0%
    }

    100% {
        width: 70%
    }
}

@keyframes left2 {
    0% {
        width: 0%
    }

    50% {
        width: 45%
    }

    100% {
        width: 70%
    }
}

@keyframes right2 {
    0% {
        width: 0%
    }

    30% {
        width: 0%
    }

    100% {
        width: 70%
    }
}

.fpx-transaction-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2em;
}

.fpx-transaction-details label {
    margin-bottom: 0;
    color: #ababab;
}

.fpx-transaction-details p {
    margin-bottom: 0;
    line-height: 1.5em;
}

@media screen and (max-width:767px) {
    .status-card {
        flex-direction: column;
        max-width: 90%;
    }

    .status-card__right {
        padding: 2em;
    }

    .status-card__left {
        flex-direction: row;
        align-items: flex-end;
    }

    .status-card__left .success-page-floating-image {
        width: 300px;
        position: absolute;
        margin: 0;
        right: -25px;
    }

    .fpx-transaction-details {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* DATA OVERVIEW DASHBOARD */

.small-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 3px;
}

.overview-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35em 2.5em;
}

.overview-details p,
.overview-details span {
    font-weight: 500;
}

.overview-details span {
    color: var(--primary);
}


/* Ranking Legends */

.ranking-legend {
    gap: 1em 2em;
}

.ranking-legend img {
    max-width: 60px;
}