h1 {
    font-size: 2em;
    margin: .67em 0;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: Roboto, sans-serif;
}

h1 {
    font-weight: bold;
    margin-bottom: 10px;
}

h1 {
    font-size: 38px;
    line-height: 44px;
    margin-top: 20px;
}

.w-row:before,
.w-row:after {
    content: " ";
    display: table;
}

.w-row:after {
    clear: both;
}

.w-col {
    position: relative;
    float: left;
    width: 100%;
    min-height: 1px;
    padding-left: 10px;
    padding-right: 10px;
}

.w-col-3 {
    width: 25%;
}

@media screen and (max-width:767px) {
    .w-row {
        margin-left: 0;
        margin-right: 0;
    }

    .w-col {
        width: 100%;
        left: auto;
        right: auto;
    }
}

@media screen and (max-width:479px) {
    .w-col {
        width: 100%;
    }
}

h1 {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 26px;
    line-height: 54px;
    font-weight: 400;
}

.divider {
    height: 1px;
    margin-top: 20px;
    margin-bottom: 15px;
    background-color: #eee;
}

.style-label {
    color: #bebebe;
    font-size: 12px;
    line-height: 20px;
    font-weight: 500;
    text-transform: uppercase;
}

.tag-wrapper {
    /* margin-top: 35px; */
    margin-bottom: 5px;
    padding-right: 5px;
    padding-left: 5px;
}

/* .row {
			margin-bottom: 50px;
		} */

.number-card-number {
    margin-top: 0px;
    margin-bottom: 0px;
    color: #fff;
    font-weight: 300;
}

.tagline {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tagline.number-card-currency {
    color: #fff;
}

.basic-column {
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 12px;
}

.number-card {
    padding: 0px 13px 10px;
    border-radius: 8px;
    /* background-image: -webkit-linear-gradient(270deg, #1991eb, #1991eb); */
    background-image: linear-gradient(180deg, #F0EFFE, #C9C6FC);
}

.number-card.number-card-content3 {
    /* background-image: -webkit-linear-gradient(270deg, #ed629a, #c850c0); */
    background-image: linear-gradient(180deg, #F0EFFE, #C9C6FC);
}

.number-card.number-card-content4 {
    /* background-image: -webkit-linear-gradient(270deg, #ff8308, #fd4f00); */
    background-image: linear-gradient(180deg, #F0EFFE, #C9C6FC);
}

.number-card.number-card-content2 {
    display: block;
    /* background-image: -webkit-linear-gradient(270deg, #17cec4, #17cec4 0%, #08aeea); */
    background-image: linear-gradient(180deg, #F0EFFE, #C9C6FC);
    color: #333;
}

.number-card.number-card-content1 {
    /* background-image: -webkit-linear-gradient(270deg, #7042bf, #3023ae); */
    background-image: linear-gradient(180deg, #F0EFFE, #C9C6FC);
}

.number-card-progress-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.number-card-divider {
    height: 1px;
    margin-top: 10px;
    margin-bottom: 14px;
    background-color: hsla(0, 0%, 100%, .15);
}

.number-card-dollars {
    color: hsla(0, 0%, 100%, .8);
    font-size: 16px;
    line-height: 24px;
}

.number-card-progress {
    color: #fff;
    text-align: right;
}

@media (max-width: 991px) {
    .number-card-number {
        font-size: 30px;
    }

    .number-card {
        padding-top: 12px;
        padding-bottom: 16px;
    }
}

.wrapper.sidebar-shift .main {
    margin-left: 0;
}

#sidebar.collapsed+.main {
    margin-left: 0;
}



/* === Independent sidebar scroll with your existing markup === */
:root {
    --sidebar-width: 260px;
}

html,
body,
#root {
    height: 100%;
}

.wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    /* body won't scroll, children will */
}

/* The <nav id="sidebar" class="sidebar js-sidebar"> you already render */
.sidebar {
    width: var(--sidebar-width);
    flex: 0 0 var(--sidebar-width);
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    /* full height column */
    overflow: hidden;
    /* scroll only the inner content */
    background: #0e1320;
    color: #fff;
    z-index: 100;
}

/* The inner scroll area you already have */
.sidebar .sidebar-content {
    height: 100%;
    overflow-y: auto;
    /* independent scroll here */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Main content scrolls independently */
.main {
    flex: 1 1 auto;
    min-width: 0;
    height: 100vh;
    /* make it its own scrollport */
    overflow: auto;
    /* <- main scroll */
    background: #f5f7fb;
}

/* Optional: if your old theme was shifting main with margins, disable them */
.wrapper.sidebar-shift .main {
    margin-left: 0 !important;
}

#sidebar.collapsed+.main {
    margin-left: 0 !important;
}

/* Hide scrollbar in WebKit browsers (Chrome, Safari, Edge) */
.sidebar .sidebar-content::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* Hide scrollbar in Firefox */
.sidebar .sidebar-content {
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar in IE/Edge Legacy */
.sidebar .sidebar-content {
    -ms-overflow-style: none;
    /* IE and old Edge */
}


:root {
    --sidebar-width: 260px;
    --sidebar-width-collapsed: 72px;
}

.wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* normal sidebar (your existing .sidebar styles apply too) */
.sidebar {
    width: var(--sidebar-width);
    flex: 0 0 var(--sidebar-width);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

/* collapsed state driven by React class */
.wrapper.sidebar-collapsed .sidebar {
    width: var(--sidebar-width-collapsed);
    flex-basis: var(--sidebar-width-collapsed);
}

.main {
    flex: 1 1 auto;
    min-width: 0;
    height: 100vh;
    overflow: auto;
}

/* if your theme previously used margins for .main, neutralize them */
.wrapper.sidebar-collapsed .main,
#sidebar.collapsed+.main {
    margin-left: 0 !important;
}




.table-container {
    overflow-x: auto;
    max-width: 100%;
}

.table thead th {
    position: sticky;
    top: 0;
    background-color: #212529;
    /* dark header */
    color: #fff;
    z-index: 2;
    white-space: nowrap;
    /* prevent text wrap */
}

.table tbody td {
    white-space: nowrap;
}

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.table-footer .rows-per-page select {
    margin-left: 8px;
}

.pagination button {
    margin: 0 2px;
    padding: 4px 8px;
}

.pagination .active {
    background-color: #212529;
    color: white;
    border: 1px solid #212529;
}

.table-container {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #999 transparent;
}

.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 4px;
}

.table-responsive {
    overflow-x: auto;
}

.thead-dark {
    background-color: #343a40;
    color: white;
}

.pagination {
    margin-top: 10px;
}

.pagination button {
    margin: 0 2px;
    padding: 5px 10px;
    border: none;
    background: #ddd;
    cursor: pointer;
}

.pagination button.active {
    background: #007bff;
    color: white;
}

.pagination button:disabled {
    background: #aaa;
    cursor: not-allowed;
}

input,
select,
button {
    padding: 5px;
}

.chart-tall {
    height: 300px;
    position: relative;
}


canvas#chartjs-doughnut {
    display: block !important;
}

.chartjs-render-monitor {
    display: block !important;
}

.chart-legend {
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.chart-container {
    position: relative;
    height: 350px;
}


.sidebar-submenu {
    transition: all 0.3s ease;
}

.sidebar-item.open>.sidebar-submenu {
    display: block;
}