:root {
    --ok: #19b86a;
    --warn: #f7a820;
    --danger: #ef3340;
    --purple: #7c3aed;
    --cyan: #06b6d4;
    --cyan: #06b6d4;
    --brand-blue: #0b62ff;
    --brand-blue2: #00a3ff;
}

.toast-header {
    color: white !Important;
    background-color: var(--olive) !Important;
}


.loader-spinner {
    width: 6rem;
    height: 6rem;
    border-width: .6rem;
}

.toast-header-error {
    background-color: #f03000 !important;
    color:white;
}
.toast-header-error .text-muted{
    color: white!Important;
}
.toast-body {
    color: black !important;
    background: #F0F0F0 !important;
}
.userinfo {
    padding: 22px 34px;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 24px;
    position: fixed;
    top: 0px;
    z-index: 1000;
    background-color: var(--bg);
    width: Calc(100% - var(--sidebar-width));
    height: 106px;
}
    .userinfo select, .userinfo input, .hero-top select, .hero-top input {
        padding: 8px;
        border: solid 1px #e0e0e0;
        border-radius: 8px;
    }
    .userinfo i, .userinfo span, .hero-top i, .hero-top span {
        padding-top: 10px;
    }
.content-wrap-home {
    padding: 0 40px 38px;
    margin-top: -90px;
    position: relative;
    z-index: 5;
    padding-top: 32px;
}
.content-wrap {
    padding: 0 40px 38px;
    margin-top: 80px;
    position: relative;
    z-index: 5;
    padding-top:32px;
}

.hero-top {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 24px;
    margin-bottom: 70px
}
.selector {
    display:flex;
    gap:10px;
}

.app::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: var(--sidebar-background-color);
    z-index: 0;
    pointer-events: none
}

.brand {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 106px;
    display: flex;
    align-items: center;
    padding: 24px 18px 12px;
    background: var(--sidebar-background-color);
    z-index: 1200;
    box-shadow: 0 14px 28px rgba(3, 24, 52, .20)
}


.kpi-grid-8 {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px
}
.kpi-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px
}

.kpi {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 17px;
    min-height: 136px;
    position: relative;
    overflow: hidden;
}

    .kpi .label {
        font-size: 12px;
        color: #23364f;
        font-weight: 750
    }

    .kpi .value {
        font-size: 23px;
        font-weight: 850;
        margin: 12px 0 4px
    }

.delta {
    font-size: 12px;
    font-weight: 750
}

.up {
    color: var(--ok)
}

.down {
    color: var(--danger)
}

.flat {
    color: var(--muted)
}

.kpi-icon {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 36px;
    height: 36px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: #eef4ff;
    color: var(--brand-blue)
}

.content-grid {
    display: grid;
    grid-template-columns: 1.4fr .9fr;
    gap: 18px;
}

.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 22px;
}
.table-modern {
    width: 100%;
    caption-side: bottom;
    border-collapse: collapse;
}
.product-bar {
    height: 9px;
    background: #eef2f7;
    border-radius: 99px;
    overflow: hidden;
}
.product-bar span {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue2));
}