* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: 'Noto Sans', sans-serif !important;
    /* font-family: 'Open Sans', Arial, sans-serif; */
}

/* Side navigation */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 50px;
    background-color: #ffffff;
    box-shadow: 3px 0px 6px #00000029;
    transition: width 0.3s ease;
    z-index: 1000;
    overflow-x: hidden;
    white-space: nowrap;
    bottom: 0;
    min-height: 100vh;
}

.sidebar:hover {
    width: 225px;
    box-shadow: 3px 0px 6px #00000029;
}

.sidebar-brand {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 5px;
    color: #333;
    text-decoration: none;
    /* border-bottom: 1px solid transparent; */
}

.sidebar-brand img {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
}

.brand-text {
    font-weight: 700;
    font-size: 16px;
    margin-left: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar:hover .brand-text {
    opacity: 1;
}

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
    margin-top: 5px;
}

.nav-item {
    margin-bottom: 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 15px 12.5px;
    color: #4a4a4a;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link img {
    width: 25px;
    height: 25px;
    min-width: 25px;
    flex-shrink: 0;
    object-fit: contain;
}

.nav-link:hover {
    background-color: rgb(240, 240, 240);
}

.nav-item.active .nav-link {
    background: transparent linear-gradient(180deg, #EEB879 0%, #D67808 100%) 0% 0% no-repeat padding-box;
    color: #ffffff;
}

.nav-text {
    margin-left: 10px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar:hover .nav-text {
    opacity: 1;
}

/* Main Content */
.main-content {
    margin-left: 50px;
}

/* Top Header */
.top-header {
    box-shadow: 0px 1px 0px #00000029;
}

.header-title h5 {
    color: #3E3E3E !important;
    font-size: 18px;
    margin-bottom: 0px;
    font-size: 16px;
    font-weight: 500;
}

.search-bar {
    width: 350px;
}

.search-bar input {
    padding-right: 35px;
    font-size: 13px;
    height: 38px;
    background: #FFFFFF;
    border: 1px solid #BFBFBF;
    border-radius: 5px;
    font-size: 12px !important;
    color: #707070 !important;
}

.search-bar input:focus {
    box-shadow: none;
    border: 1px solid #6D5402 !important;
}

.search-icon {
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    position: absolute;
}

.analysis-tabs {
    display: flex;
    align-items: center;
    border: 1px solid #D4CECE;
    border-radius: 37px;
    overflow: hidden;
    background: #fff;
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 6px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #4a4a4a;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: linear-gradient(180deg, #EEB879 0%, #D67808 100%);
    color: #fff;
    border-radius: 37px;
}

.tab-btn:hover:not(.active) {
    background: #f5f5f5;
}

.btn-insights {
    background-color: #6D5402;
    color: #ffffff;
    font-weight: 600;
    font-size: 12px;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.btn-insights:hover {
    background-color: #5f4c0c;
    color: #ffffff;
}

.notification-wrapper .badge {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .search-bar {
        max-width: 100%;
    }

    .top-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .search-bar {
        width: 100%;
        order: 10;
        margin-top: 10px;
    }
}

.cards_box {
    background-color: #FBFEFF
}

.shg_membox {
    transform: matrix(1, 0, 0, 1, 0, 0);
    background: #FDFFFF 0% 0% no-repeat padding-box;
    box-shadow: -12px 15px 19px #00000029;
    border-radius: 20px;
    padding: 20px 10px;
    border-left: 5px solid #09233C;
    position: relative;
}

.shg p {
    margin-bottom: 0px !important;
    font-size: 14px;
}

.shg span {
    font-size: 23px;
    color: #334136;
    font-weight: 600;

}

.shg_amt span {
    background: #05253D 0% 0% no-repeat padding-box;
    border-radius: 14px;
    color: #fff;
    font-size: 12px;
    padding: 7px 20px;
}

.shg_img img {
    width: 93px;
    position: absolute;
    right: -23px;
    top: -7px;
}
.credit span{
    background-color: #FC9A1E;
}
.credit_box{
    border-left: 5px solid #FC9A1E;
}
.ig span{
    background-color: #197085;
}
.ig_box{
    border-left: 5px solid #197085;
}
.consumption span{
    background-color: #2ABDBF;
}
.consumption_box{
     border-left: 5px solid #2ABDBF
}
@media(max-width:344px){
    .shg_amt span {
        display: flex;
        justify-content: center;
        align-items: center;
}
}


/* graph-section */

.ig-gph{
  background-color: #fff;
  box-shadow: 3px 3px 10px #0000004D;
  border-radius: 10px;
  padding: 10px;
  margin-top: 20px;
}
.ig-txt p{
  margin-bottom: 0px !important;
  color: #3E3E3E;
  font-size: 19px;
}
.ig-txt .form-select{
    font-size: 12px;
}
#ig_graph, #chart-container{
  height: 300px;
}


.fund_box{
    border-left: 5px solid #F4596C;
}
.fund_amt span{
    background-color: #F4596C;
}
.mcps_box{
    border-left: 5px solid #A5D601;
}
.mcps span{
    background-color: #A5D601;
}
.sanctioned_box{
    border-left: 5px solid #FF7BDA;
}
.sanctioned span{
    background-color: #FF7BDA;
}

#mcp_gph{
    height: 357px;
}

/* table */

.mcp_table{
    overflow: auto;
}
.mcp_table .table thead th{
font-size: 12px;
text-align: center;
vertical-align: middle;
background-color: #DDDCDC;
}
.mcp_table .table tbody td{
    font-size: 12px;
    text-align: center;
vertical-align: middle;
}
.brt{
    font-weight: 600;
}
#fund_graph{
    height: 357px;
}

#fund_graph {
    width: 100%;
    height: 400px;
}

@media (max-width: 768px) {
    #fund_graph {
        height: 550px;
    }
}