* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: 'Noto Sans', sans-serif !important;
    /* font-family: 'Open Sans', Arial, sans-serif; */
}

html, body {
    overflow-x: hidden; /* Stops the page from zooming out sideways */
}

/* 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: 600;
}

.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;
}

.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;
}

/* Base Card Section */
.stat-card {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 10px 15px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0px 3px 6px #00000029;
    height: 100%;
}

.bg-img-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../Images/Mask\ Group\ 969.png');
}

.stat-card-red {
    border: 1px solid #D54D3D;
}

.stat-card-blue {
    border: 1px solid #379BB5;
}

.stat-card-green {
    border: 1px solid #8DB12D;
}

.text-red {
    color: #D54D3D !important;
}

.text-blue {
    color: #379BB5 !important;
}

.text-green {
    color: #8DB12D !important;
}

.stat-title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.3;
}

.stat-value {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 0;
}

.stat-icon {
    padding: 5px;
    border-radius: 20%;
}

.stat-icon-red {
    background: rgb(254, 208, 208);
}

.stat-icon-blue {
    background: rgb(180, 238, 248);
}

.stat-icon-green {
    background: rgb(215, 250, 215);
}

.stat-icon img {
    width: 24px;
    height: 23px;
    object-fit: contain;
}

/* Quote Card */
.quote-card {
    display: flex;
    align-items: center;
    padding: 0px 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 3px 6px #0000001A;
    height: 100%;
    border: 1px solid #EBEBEB;
}

.quote-person {
    flex-shrink: 0;
    margin-right: 15px;
}

.person-img {
    width: 75px;
    height: auto;
    object-fit: contain;
}

.quote-content {
    padding: 0 10px;
}

.quote-text {
    font-size: 12px;
    color: #707070;
    line-height: 1.6;
    text-align: center;
    font-weight: 500;
}

.quote-mark {
    width: 15px;
    position: absolute;
}

.mark-left {
    top: 0px;
    left: -5px;
}

.mark-right {
    bottom: 0px;
    right: -5px;
}

/* District performance Section */

 

.main-dashboard-panel {
    box-shadow: 0px 3px 6px #00000029;
    border: 1px solid #C9C9C9;
    border-radius: 15px;
}

.panel-title {
    font-size: 20px;
    color: #3E3E3E;
    font-weight: 600;
    margin-bottom: 0px;
}

.panel-subtitle {
    font-size: 14px;
    color: #707070;
    margin-top: 5px;
    margin-bottom: 0;
    font-weight: 500;
}

/* Custom Table Styles */
.custom-table {
    border-color: #E2E2E2;
}

.custom-table thead th {
    background-color: #F7F7F7;
    color: #111111;
    font-weight: 700;
    font-size: 12px;
    padding: 10px;
    text-align: center;
    border-bottom: 2px solid #E2E2E2;
    position: sticky;
    top: 0;
    z-index: 5;
}

#voTableContainer,
#shgTableContainer,
#memberTableContainer {
    flex-grow: 1;
    height: 480px;
    /* Gives the table a defined boundary */
    overflow: hidden;
}

.district_performance .table-responsive {
    height: 100%;
    overflow-y: auto;
    border-radius: 8px;
    /* Optional: keeps corners neat if you scroll */
}

.custom-table tbody td {
    color: #4A4A4A;
    font-size: 12px;
    padding: 10px;
    vertical-align: middle;
    text-align: center;
}

/* Align VO Name text to the left */
.custom-table tbody td:nth-child(2) {
    text-align: left;
}

/* Link style for VO Name */
.custom-table a {
    color: #2D4C9A;
    font-weight: 700;
    text-decoration: underline;
}

.custom-table a:hover {
    color: #1a326b;
}

.custom-dropdown {
    width: 200px;
    font-size: 12px;
    color: #3D4249;
    cursor: pointer;
    border: 1px solid #D2D2D2;
    border-radius: 10px;
}

.custom-dropdown:focus {
    border-color: #6D5402;
    box-shadow: none;
}

.inset-map {
    z-index: 10;
    margin-left: 15px;
    border: 1px solid #C2C2C2;
    border-radius: 18px;
    margin-top: -50px;

}

.district_map{
    margin-top: 120px;
}

.main-map-img {
    max-height: 450px;
    object-fit: contain;
    padding: 0 40px;
}

.map_under_text {
    font-size: 14px;
    color: #000;
    font-family: 'Be Vietnam Pro', sans-serif !important;
}

.state_wise_text {
    font-weight: 600;
    color: #3E3E3E;
    font-size: 20px;
}

.detail-bg-card {
    width: 240px;
    height: 90px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    background: transparent linear-gradient(180deg, #F2F2F2 0%, #FFFFFF 100%) 0% 0% no-repeat padding-box !important;
    box-shadow: -5px 12px 16px #0000001A;
    border-radius: 9px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* overflow: hidden; */
}

.card-overlay-img {
    position: absolute;
    top: -5px;
    left: 0;
    right: 10px;
    width: 104%;
    height: 70%;
    object-fit: fill;
    z-index: 1;
    pointer-events: none;
}

.card-text-wrapper {
    width: 170px;
    text-align: center;
    z-index: 2;
    padding-right: 30px;
}

.detail-card-title {
    font-size: 13px !important;
    font-weight: 700;
    color: #000000;
    margin-bottom: 5px;
    line-height: 1.2;
}

.detail-card-value {
    font-size: 20px !important;
    font-weight: 700;
    margin-bottom: 0;
}

.text-blue-dark {
    color: #0E6482;
}

.text-green-dark {
    color: #388E3C;
}

.text-cyan{
    color: #02BFA6;
}

.text-violet{
    color: #9C27B0;
}

.text-orange-dark {
    color: #E64A19;
}

/* Sector Distribution Section */

.sector_distribution {
    background-image: url('../Images/Mask\ Group\ 976.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sector-card {
    background: #ffffff;
    border: 1px solid #D2D2D2;
    border-radius: 7px;
    padding: 10px;
    border-left-width: 5px;
    border-left-style: solid;
    height: 100%;
}

.sector-icon {
    width: 19px;
    height: 20px;
    object-fit: contain;
}

.sector-name {
    font-size: 13px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 2px;
}

.sector-count {
    font-size: 13px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0;
}

.sector-percent {
    font-size: 13px;
    font-weight: 700;
    color: #4a4a4a;
}

.custom-progress {
    height: 4px;
    border-radius: 4px;
    background-color: #F0F0F0;
    margin-top: 8px;
}

.custom-progress .progress-bar {
    border-radius: 4px;
}

.sector-border-blue {
    border-left-color: #0E6482;
}

.bg-sector-blue {
    background-color: #0E6482 !important;
}

.sector-border-purple {
    border-left-color: #9B2EFB;
}

.bg-sector-purple {
    background-color: #9B2EFB !important;
}

.sector-border-orange {
    border-left-color: #E64A19;
}

.bg-sector-orange {
    background-color: #E64A19 !important;
}

.sector-border-yellow {
    border-left-color: #FFA827;
}

.bg-sector-yellow {
    background-color: #FFA827 !important;
}

.sector-border-teal {
    border-left-color: #02BFA6;
}

.bg-sector-teal {
    background-color: #02BFA6 !important;
}

.sector-border-darkblue {
    border-left-color: #4052B5;
}

.bg-sector-darkblue {
    background-color: #4052B5 !important;
}

.sector-border-green {
    border-left-color: #388E3C;
}

.bg-sector-green {
    background-color: #388E3C !important;
}

.sector-border-pink {
    border-left-color: #9C27B0;
}

.bg-sector-pink {
    background-color: #9C27B0 !important;
}

.women_entrepreneurs {
    background-image: url('../Images/Group\ 26559.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.we-bg-container {
    min-height: 250px;
}

.we-text {
    width: 90px;
    z-index: 2;
    margin-top: 30px;

}

.we-title {
    font-size: 12px;
    font-weight: 700;
    color: #4a4a4a;
    margin-bottom: 2px;
    line-height: 1.2;
}

.we-value {
    font-size: 16px;
    font-weight: 500;
    color: #707070;
    margin-bottom: 0;
}

.AgriculturetxtColour {
    color: #388E3C !important;
}

.LivestocktxtColour {
    color: #0E6482 !important;
}

.ManufacturingtxtColour {
    color: #9B2EFB !important;
}

.SericulturetxtColour {
    color: #E64A19 !important;
}

.TradingtxtColour {
    color: #FFA827 !important;
}

.FisheriestxtColour {
    color: #02BFA6 !important;
}

.ServicestxtColour {
    color: #4052B5 !important;
}

.HorticulturetxtColour {
    color: #9C27B0 !important;
}

.ApiculturetxtColour {
    color: #FFA827 !important;
}


/* Ground deails section */
.main-card {
    background: #ffffff;
    padding: 15px 25px;
    box-shadow: 0px 3px 6px #00000029;
    border: 1px solid #C9C9C9;
    border-radius: 15px;
}

.title {
    font-weight: 700;
    font-size: 22px;
    color: #000000;
}

.subtitle {
    color: #9E9E9E;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
}

.custom-tabs-container {
    border: 1px solid #707070;
    border-radius: 37px;
    padding: 0px;
    display: inline-flex;
    background-color: #ffffff;
}

.custom-tabs {
    flex-wrap: nowrap;
}

.custom-tabs .nav-link {
    border-radius: 37px;
    color: #4a4a4a;
    font-weight: 400;
    padding: 8px 35px;
    font-size: 13px;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
}

.nav-item {
    margin-bottom: 0px !important;
}

.custom-tabs .nav-link:hover {
    color: #111;
}

.custom-tabs .nav-link.active {
    color: #ffffff;
    background: transparent linear-gradient(180deg, #7abed5 0%, #372A01 100%) 0% 0% no-repeat padding-box;
}

.card-item {
    background: #ffffff;
    box-shadow: 0px 3px 6px #00000029;
    border: 1px solid #E2E1E1;
    border-radius: 30px;
    padding: 10px;
    height: 98%;
}

.card-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.crdbody {
    padding: 20px 5px 10px;
    border: none;
}

.crdbody p {
    font-size: 13px;
    color: #000000;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Off canva CSS */
.custom-offcanvas {
    width: 735px !important;
    border-top-left-radius: 45px;
    border-bottom-left-radius: 45px;
    border-left: none;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    background-color: #FAFAFA;
    padding: 20px 15px;
    background-image: url('../Images/Mask\ Group\ 980.png');
    /*background-size: contain;*/
    background-position: center;
    background-repeat: no-repeat;
}

.offcanvas-backdrop {
    background-color: transparent !important;
}

.section-heading {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #111111;
    margin-top: 5px;
    margin-bottom: 15px;
}

.section-heading::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background-color: #E2E2E2;
    margin-left: 15px;
}

.insight-mini-card {
    background: #FFFFFF;
    border: 1px solid #ABABAB;
    border-radius: 15px;
    padding: 7px;
    border-left-width: 6px;
    border-left-style: solid;
}

.mini-title {
    font-size: 12px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 2px;
}

.mini-subtitle {
    font-size: 10px;
    color: #000000;
    margin-bottom: 0;
}

.mini-percent {
    font-size: 10px;
    font-weight: 700;
    color: #000000;
}

/* Attention Required Items */
.attention-item {
    padding: 12px 15px;
    border-radius: 10px;
    border-left-width: 6px;
    border-left-style: solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.attention-title {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    margin-bottom: 2px;
}

.attention-subtitle {
    font-size: 11px;
    color: #707070;
    margin-bottom: 0;
}

.attention-badge {
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #000;
}

.border-theme-green {
    border-left-color: #BED473;
}

.bg-theme-green {
    background-color: #BED473 !important;
}

.bg-light-green {
    background-color: rgba(244, 252, 225, 0.5);
}

.bg-theme-green-badge {
    background-color: #BED473;
}

.border-theme-cyan {
    border-left-color: #73D4D4;
}

.bg-theme-cyan {
    background-color: #73D4D4 !important;
}

.bg-light-cyan {
    background-color: rgba(235, 248, 249, 0.5);
}

.bg-theme-cyan-badge {
    background-color: #8CE1E7;
}

.border-theme-orange {
    border-left-color: #D4A373;
}

.bg-theme-orange {
    background-color: #D4A373 !important;
}

.border-theme-blue {
    border-left-color: #6A82CE;
}

.bg-light-blue {
    background-color: rgba(237, 239, 248, 0.5);
}

.bg-theme-blue-badge {
    background-color: #6A82CE;
}


@media (max-width: 991.98px) {
    .district_performance {
        height: auto !important;
        min-height: 520px;
    }
    
    #voTableContainer,
    #shgTableContainer,
    #memberTableContainer {
        height: auto;
        min-height: 400px;
    }

    .detail-bg-card {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@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;
    }

    .inset-map{
        margin-bottom: 10px;
    }
    
    .main-map-img {
        padding: 0 10px;
    }

    .we-text{
        width: 40px;
        margin-top: 0px;
        text-align: start;
    }

    .we-title,
    .we-value{
        font-size: 10px;
    }

    .main-card{
        padding: 15px !important;
        text-align: center;
    }
}
