/****************************************
 *               GENERAL                *
 ****************************************/
/* #region General */
body {
    font-family: "Open Sans", sans-serif;
    color: #4d4643;
    background-color: #F0F2F5;
    font-size: 11px;
}
a { color: #1bbd36; text-decoration: none !important; }
a:hover { color: #2ae149; text-decoration: none !important; }
h1,h2,h3,h4,h5,h6 {
    font-family: "Roboto", sans-serif;
}
th,td {
    padding:0px 0px;
}
.bold{
    font-weight: bold;
}
.borderless {
        border: none;
    }
/* #endregion General */

/****************************************
 *               HEADER                 *
 ****************************************/
/* #region Header */
#header {
    background: #F0F2F5;
    transition: all 0.5s;
    z-index: 2;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}
#header .logo {
    font-size: 28px !important;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
#header .logo .d-none, #header .logo .d-inline {
    color: #111 !important;
}
#header .logo img { max-height: 40px; }
/* Active */
a.active,
li.active {
    color: #198754 !important;
}
/* Dropdown */
.dropdown-item.active,
.dropdown-item:active {
    color: #ffffff !important;
    background: #198754 !important;
}
/* Custom Dropdown columns */
.dropdown-menu { min-width: 200px; }
.dropdown-menu.columns-2 { min-width: 400px; }
.dropdown-menu.columns-3 { min-width: 600px; }
.dropdown-menu li a {
    padding: 5px 15px;
    font-weight: 300;
}
/* #endregion Header */

/****************************************
 *           NAVIGATION MENU            *
 ****************************************/
/* #region Navigation Menu */
/**
* Desktop Navigation
*/
.navbar { padding: 0; }
.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}
.navbar li { position: relative; }
.navbar a, .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0 5px 30px;
    /*top, right, bottom, left*/
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #111 !important;
    white-space: nowrap;
    /* text-transform: uppercase; */
    transition: 0.3s;
}
.navbar a i, .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover>a {
    color: #1bbd36 !important;
}
.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
    border-top: 2px solid #1bbd36 !important;
}
.navbar .dropdown ul li { min-width: 200px; }
.navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    color: #111;
}
.navbar .dropdown ul a i { font-size: 12px; }
.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover>a {
    color: #1bbd36 !important;
}
.navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}
.navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
}
.navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
}
@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }
    .navbar .dropdown .dropdown:hover>ul {
        left: -100%;
    }
}
/* #endregion Navigation Menu */

/****************************************
 *                MAIN                  *
 ****************************************/
/* #region MAIN inside of app.blade.php */
.main {
    margin-top: 60px;
}
/* #endregion Main DIV */

/* #region HOME inside of home.blade.php */
.mis-home-bg {
    background-image: url('/website_images/MIS-homepage-background.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.mis-home-sub-title {
    font-size: 2.2rem;
    font-weight: 600;
}
.mis-home-label {
    color: #28a745;
    font-weight: 600;
    margin: 0 0 0.2rem 0;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: underline;
}
.mis-home-description {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
    color: #302b29;
}
.mis-country-location{
    font-size: 1.3rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}
.mis-department{
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000000;
}
.mis-office{
    font-size: 1.3rem;
    color: #343a40;
    margin-bottom: 0.25rem;
}
/* #endregion Main DIV */

/****************************************
 *               FOOTER                 *
 ****************************************/
/* #region FOOTER inside of footer.blade.php */
#footer {
    color: #fff;
    font-size: 14px;
    background: #111;
}

#footer .footer-top {
    padding: 60px 0 30px 0;
    background: #1e1e1e;
}

#footer .footer-top .footer-department {
    margin-bottom: 30px;
}

#footer .footer-top .footer-department h3 {
    font-size: 22px;
    margin: 0 0 10px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}
#footer .footer-top .footer-department h6 {
    font-size: 10px;
    margin: 0 0 10px 0;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}

#footer .footer-top .footer-department p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    font-family: "Roboto", sans-serif;
    color: rgba(255, 255, 255, 0.7);
}

#footer .footer-top h4 {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}

#footer .footer-top .footer-links {
    margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .footer-top .footer-links ul i {
    padding-right: 2px;
    color: #1ed33c;
    font-size: 18px;
    line-height: 1;
}

#footer .footer-top .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

#footer .footer-top .footer-links ul a {
    color: rgba(255, 255, 255, 0.6);
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
    text-decoration: none;
    color: #fff;
}

#footer .social-links a {
    font-size: 18px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 4px;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

#footer .social-links a:hover {
    background: #1bbd36;
    color: #fff;
    text-decoration: none;
}
/* #endregion FOOTER */

/****************************************
 *               SKELETON               *
 ****************************************/
/* #region Skeleton */
.skeleton {
    background-color: #FFF;
    color: #666;
    width: 100%;
    padding: 0;
}
.skeleton th {
    background: #F7F9FA;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
    padding: 12px 10px;
    text-align: left;
}
.skeleton td {
    border-top: 0px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
    padding: 12px 10px;
    vertical-align: top;
}
.skeleton span {
    width: calc(100% - 5px);
    height: 15px;
    border-radius: 3px;
    background-image: linear-gradient(90deg, #ddd 0px, #e8e8e8 40px, #ddd 80px);
    background-size: 600px;
    animation: shine-lines-table 1.6s infinite linear;
    display: inline-block;
    min-width: 15px;
}
.skeleton span.sub-temp {
    width: calc(100% - 50%);
    margin-top: 5px;
}
.skeleton span.sub-temp-three {
    width: calc(100% - 70%);
    display: block
}
@keyframes shine-lines-table {
    0% {
        opacity: 0.4;
    }

    40% {
        opacity: 0.8;
    }

    100% {
        opacity: 0.4;
    }
}
/* #endregion Skeleton */

/****************************************
 *               Hide DIV               *
 ****************************************/
/* #region HIDE DV */
@media only screen and (max-width: 1026px) {
    #login-banner {
        display: none;
    }
}
/* #endregion HIDE DV */

/****************************************
 *                  MAP                 *
 ****************************************/
/* #region MAP */
#map{
    z-index:1;
}
.hidden {
    display: none;
}
#kml-legend {
    padding: 10px 0;
    margin: 0 .6%;
    overflow-y: scroll;
    height: calc(81vh - 100px);
}
/* #endregion MAP */

/****************************************
 *   FINANCIAL and PHYSICAL ANALYTICS   *
 ****************************************/
/* #region FINANCIAL and PHYSICAL ANALYTICS */
    .allocation-footer{
        background-color: #97BF7A;
    }
    .allocation-icon{
        color: #97BF7A;
        font-size:50px
    }
    .obligation-footer{
        background-color: #5E8C5D;
    }
    .obligation-icon{
        color: #5E8C5D;
        font-size:50px
    }
    .disbursed-footer{
        background-color: #325935;
    }
    .disbursed-icon{
        color: #325935;
        font-size:50px
    }
    .physical-footer{
        background-color: #758178;
    }
    .physical-icon{
        color: #214029;
        font-size:50px
    }
    .average-footer{
        background-color: #214029;
    }
    .average-icon{
        color: #2da04a;
        font-size:50px
    }
    #targetAnalyticsTable {
        table-layout: fixed;
        /* width: 100%; */
        /* border-collapse: collapse; */
        max-height: 1000px;
        min-height: 100px;
    }
    #targetAnalyticsTable th {
        /* white-space: nowrap; */
        /* overflow: hidden; */
        /* text-overflow: ellipsis; */
        position: sticky; /* Keeps header visible during horizontal scroll */
        top: 0; /* Required with sticky positioning */
        z-index: 1; /* Ensures headers appear above the content */
    }
    #targetAnalyticsTable td {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    #banner-selected-target {
        display: inline-block;
    }
    .header-row {
        background-color: #C7F285; /* Light gray background */
        color: #000000; /* Dark text color for contrast */
    }
    .target-numeric-column {
        width: 139.5px;
    }
    .target-bar-column {
        width: 170px;
    }
    .target-fundsource {
        width: 199px;
        padding: 0;
        margin: 0;
    }
    .header-bg-color {background-color: #132623;}
    .table-target-responsive {
        max-height: 480px;
        position: relative;
        overflow-y: auto;
        overflow-x: auto;
    }
    .table-header-fixed {
        position: sticky;
        top: 0;
        background-color: white;
        z-index: 0;
    }
    table {
        width: 100%;
        text-align: center;
        border-collapse: separate;
        border-spacing: 0;
    }
    .table-hover tbody tr.child-row-front:hover {background-color: #AFD955;}
    .li {
        transition: all 200ms ease-in;
    }
    #targetPhysicalTable thead th {
        position: sticky;
        z-index: 10;
    }
    .row-component {
        background-color: #e0ecff; /* noticeably darker than neutral */
    }
    .row-header {
        background-color: #bdd4ff; /* darker, clearly a header */
        color: #001a3d;            /* strong but not harsh */
        font-weight: 600;
        text-transform: uppercase;
    }
    .row-content {
        background-color: #ffffff;
        color: #212529;
    }
/* #endregion FINANCIAL ANALYTICS */

/****************************************
 *            RSBSA OVERVIEW            *
 ****************************************/
/* #region RSBSA OVERVIEW */
.header-bg-color {
    background-color: #062400;
}
.info-table {
    max-height: 250px; /* Set the desired maximum height */
    overflow-y: auto;  /* Enable vertical scrolling */
}
.parent-row{
    cursor: pointer;
    background-color: #437512;
    color: #ffffff;
    border: 1px solid #000;
}
.child-row{
    background-color: #E5F5B7;
    border: 1px solid #000;
}

.card {
    margin: 0;
    padding: 0;
}

.table-target-responsive-modal {
    margin: 0;
    padding: 0;
}

.chart-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%; /* Ensures spinner takes up the entire height */
    position: relative; /* Ensures spinner is positioned relative to the chart container */
}

.spinner-border {
    width: 4rem; /* Increase spinner size */
    height: 4rem; /* Increase spinner size */
    border-width: 0.4rem; /* Adjust thickness */
}

.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* Optional background overlay */
    z-index: 10; /* Ensure spinner is above other content */
}

.table-hover tbody tr:hover {background-color: #D4DBB9;}

.province-list {
    max-height: 300px; /* Adjust height as needed */
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    background: white;
    width: 100%;
}
.province-item {
    display: block;
    padding: 5px;
}

#map {
    height: 500px;
}
#map2 {
    height: 500px;
    z-index: 0 !important;
    position: relative;
}
#geomap {
    height: 500px;
    z-index: 0 !important;
    position: relative;
}

#municipalityTableContainer {
    position: relative;
    background-color: white; /* Ensure it's solid */
    overflow-y: auto;
    max-height: 300px;
    min-height: 300px;
    padding-top: 0px; /* Helps visually hide any flickering */
}

#provinceTableContainer {
    position: relative;
    background-color: white; /* Ensure it's solid */
    overflow-y: auto;
    max-height: 300px;
    min-height: 300px;
    padding-top: 0px; /* Helps visually hide any flickering */
}

#municipalityTable thead th {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 2;
}

#municipalityTableCrops thead th {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 2;
}

#cropsAreaTable thead th {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 2;
}

#livestockAreaTable thead th {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 2;
}

#poultryAreaTable thead th {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 2;
}

/* highlight selected province row RSBSA */
.province-row-farmer.selected {
    background-color: #64B5F6 !important;
    color: white !important;
}
/* highlight selected municipality row RSBSA */
.municipality-row-farmer.selected {
    background-color: #64B5F6 !important;
    color: white !important;
}

/* highlight selected province row RSBSA */
.province-row-crops.selected {
    background-color: #64B5F6 !important;
    color: white !important;
}
/* highlight selected municipality row RSBSA */
.municipality-row-crops.selected {
    background-color: #64B5F6 !important;
    color: white !important;
}

/* highlight selected province row RSBSA */
.province-row-livestock-and-poultry.selected {
    background-color: #64B5F6 !important;
    color: white !important;
}
/* highlight selected municipality row RSBSA */
.municipality-row-livestock-and-poultry.selected {
    background-color: #64B5F6 !important;
    color: white !important;
}

/* highlight selected tab RSBSA */
.nav-pills .nav-link.active {
    background-color: #64B5F6 !important;
    color: white !important;
}
.nav-pills .nav-link:hover,
.nav-pills .nav-link:focus {
    background-color: #e3f2fd;
}

#cropsAreaTableContainer {
    position: relative;
    background-color: white; /* Ensure it's solid */
    overflow-y: auto;
    max-height: 300px;
    min-height: 300px;
    padding-top: 0px; /* Helps visually hide any flickering */
}

#livestockAreaTableContainer {
    position: relative;
    background-color: white; /* Ensure it's solid */
    overflow-y: auto;
    max-height: 600px;
    min-height: 300px;
    padding-top: 0px; /* Helps visually hide any flickering */
}

#poultryAreaTableContainer {
    position: relative;
    background-color: white; /* Ensure it's solid */
    overflow-y: auto;
    max-height: 600px;
    min-height: 300px;
    padding-top: 0px; /* Helps visually hide any flickering */
}

.table-highlight {
    background-color: #64B5F6 !important;
    color: white !important;
}

/* Active tab */
#v-tabs .nav-link.active {
    background-color: #28a745 !important; /* Green */
    color: white !important; /* White text */
}

/* Non-active tabs */
#v-tabs .nav-link {
    color: #28a745 !important; /* Green text */
}

/* Hover effect for non-active tabs */
#v-tabs .nav-link:not(.active):hover {
    background-color: #71c987 !important; /* Lighter green */
    color: white !important;
}

#v-tabs-content {
    position: relative;
    overflow: hidden;
    transition: height 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateX(100%); /* default offscreen right */
    transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}

.tab-pane.active {
    transform: translateX(0); /* visible in place */
    position: relative;
    pointer-events: auto;
}

/* sliding directions */
.tab-pane.exit-left   { transform: translateX(-100%); }
.tab-pane.exit-right  { transform: translateX(100%);  }
.tab-pane.enter-left  { transform: translateX(-100%); }
.tab-pane.enter-right { transform: translateX(100%); }

/* Toggle container */
    .toggle-switch {
        position: relative;
        width: 60px;
        height: 30px;
    }

    /* Hide default checkbox */
    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    /* Slider background */
    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        transition: 0.4s;
        border-radius: 30px;
    }

    /* Knob */
    .slider:before {
        position: absolute;
        content: "";
        height: 24px;
        width: 24px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: 0.4s;
        border-radius: 50%;
        box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    }

    /* When checked */
    input:checked + .slider {
        background-color: #4caf50;
    }

    input:checked + .slider:before {
        transform: translateX(30px);
    }

    /* Label text */
    #typeLabel {
        margin-left: 10px;
        font-weight: bold;
        font-family: Arial, sans-serif;
    }

/* Smooth Fade-in for Layers */
.leaflet-layer-fade {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.leaflet-layer-fade.visible {
    opacity: 1;
}

/* Loading bar container */
#map-loading-bar {
    display: none;
    width: 100%;
    height: 4px;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
}

/* Actual progress bar */
#map-loading-progress {
    width: 0%;
    height: 100%;
    background: #ff0000;
    transition: width 0.3s ease-out;
}

/* A LOCK TOGGLE */
.toggle-locked {
    pointer-events: none;     /* Prevents clicking */
    opacity: 0.4;             /* Visual feedback that it’s disabled */
}

.tab-disabled {
    pointer-events: none;   /* blocks clicks */
    opacity: 0.5;           /* visual fade */
}

.locked-btn {
    opacity: 0.5 !important;
    pointer-events: none !important;
    filter: grayscale(40%);
}

/* MODAL CSS FOR 'OTHERS' IN RSBSA DASHBOARD */
/* Grid layout inside modal */

.others-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    justify-content: center;
}

/* Center short rows */
.others-cards:has(.stat-card:nth-last-child(-n+4):first-child) {
    grid-auto-flow: column;
    justify-content: center;
}

/* Card container */
.stat-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Title (e.g. CAPAS) */
.stat-title {
    font-weight: 700;
    font-size: 14px;
    color: #222;
    margin-bottom: 10px;
}

/* Inner soft panel */
.stat-body {
    background: #F5F6F7;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

/* Label */
.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    letter-spacing: 0.4px;
}

/* Main value */
.stat-value {
    font-size: 18px;
    font-weight: 800;
    color: #222;
    margin-top: 2px;
}

/* Percentage line */
.stat-sub {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
}

.alert-farm {
    background-color: #E0F2F1;
    border-left: 5px solid #00897B;
}

.alert-residential {
    background-color: #E3F2FD;
    border-left: 5px solid #4682B4;
}
/* #endregion RSBSA OVERVIEW */

/****************************************
 *            UNRELATED CSS             *
 ****************************************/
/* #region UNRELATED CSS */
/* Inputs */
.form-control:focus, .form-select:focus, .selectpicker:focus {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}
/* Check box */
.form-check-input:focus {
    border-color: #198754 !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(87, 199, 65, 0.6) !important;
}
.form-check-input:checked {
    background-color: #198754 !important;
    border-color: #198754 !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(87, 199, 65, 0.6) !important;
}
/* a.btn-link */
.btn-link { color: #166B39 !important; }
/* Nav Brand */
.navbar-brand {
    color: #166B39 !important;
    font-weight: bold;
}
/* JQuery */
/* Pagination */
.pagination>li>a,
.pagination>li>span {
    color: green !important;
}
.pagination>li.active>a,
.pagination>li.active>span {
    color: white !important;
    background-color: green !important;
}
/* Accordion */
.accordion-button:focus {
    border-color: #198754 !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(87, 199, 65, 0.6) !important;
}
.accordion-button {
    color: #ffffff !important;
    background: #198754 !important;
}
.accordion-button::after,
.accordion-button.collapsed::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}
/* Custom Print page */
@media print {
    @page {
        margin-top: 50;
        margin-bottom: 50;
    }
    body.dt-print-view::before {
        padding-top: 80px;
        content: "Republic of the Philippines";
        display: block;
        text-align: center;
        font-size: 20px;
        /* margin-bottom: 20px; */
    }
    body.dt-print-view::before {
        content: "Republic of the Philippines" "\A" "DEPARTMENT OF AGRICULTURE" "\A" "Regional Office III";
        white-space: pre;
        display: block;
        text-align: center;
        font-size: 16px;
        margin-top: 10px;
    }
}
/* Loading overlay */
.loading-overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
    background-color: gray;
    filter: alpha(opacity=75);
    -moz-opacity: 0.75;
    opacity: 0.75;
    display: none;
}
.loading-overlay .loading-message {
    position: relative;
    top: 35%;
    color: #FFF;
}
.card-text { text-shadow: rgb(48, 48, 48) 0.1em 0.1em 0.2em; }
/* Sweet Alert */
.swal2-radio { display: grid !important; }
/* selected item color */
.dropdown-menu .selected {
    background-color: #157347;
    color: white;

}
.dropdown-menu .selected .text-muted { color: white !important }
.multi-column-dropdown {
    list-style: none;
    margin: 0px;
    padding: 0px;
}
.multi-column-dropdown li a {font-weight: 400;}
@media (max-width: 767px) {
    .dropdown-menu.multi-column {
        min-width: 240px !important;
        overflow-x: hidden;
    }
}
/* Nav tabs */
.nav-tabs {
    background-color: #198754;
}
.nav-tabs .nav-item .nav-link,
.nav-pills .nav-item .nav-link { color: #198754 !important; }
.nav-tabs .nav-item .nav-link.active, .nav-pills .nav-item .nav-link.active {
    background-color: #198754 !important;
    color: #FFF !important;
}

.nav-pills .nav-item .nav-link.nav-link-danger { color: #dc3545 !important; }
.nav-pills .nav-item .nav-link.nav-link-danger.active {
    background-color: #dc3545 !important;
    color: #FFF !important;
}
/* Nav Pills */
.nav-pills .nav-item .nav-link {
    font-size: small;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    margin-right: 7px !important;
    border: solid 1px #198754;
}
.nav-pills .nav-item .nav-link:hover {
    background-color: #198754;
    color: #FFF !important;
}
.nav-pills .nav-item .nav-link.nav-link-danger {
    font-size: small;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    margin-right: 7px !important;
    border: solid 1px #dc3545;
}
.nav-pills .nav-item .nav-link.nav-link-danger:hover {
    background-color: #dc3545;
    color: #FFF !important;
}
.financial-card-size {
        width: 100%; /* Default: full width for extra-small screens */
    }

    @media (min-width: 576px) {
        .financial-card-size {
            width: 100%; /* Slightly narrower for small screens */
        }
    }

    @media (min-width: 768px) {
        .financial-card-size {
            width: 100%; /* Moderate width for medium screens */
        }
    }

    @media (min-width: 992px) {
        .financial-card-size {
            width: 100%; /* Reasonable width for large screens */
        }
    }
    th.BED1{
        background-color: #325935;
        color: #ffffff;
    }
    th.Obligation{
        background-color: #5E8C5D;
        color: #000000;
    }
    th.BED3{
        background-color: #97BF7A;
        color: #000000;
    }
    #analyticsBarGraphCard {
        height: 400px;
        max-width: 100%;
        height: 100%;
    }
    #bed1Obligation {
        min-height: 100px;
        min-width: 100px;
        /* overflow: hidden; */
        /* display: block; */
        /* margin: 0 auto; */
    }
    #targetDisbursementBed3 {
        min-height: 100px;
        min-width: 100px;
        /* overflow: hidden; */
        /* display: block; */
        /* margin: 0 auto; */
    }
    #bedMonthlyData {
        height: 100%;
        width: 100%;
    }
    .progress-bar-overlay {
        text-align: center;
        position: absolute;
        color: #fff;
        width: 10%;
        font-weight: bold;
        font-size: 14px;
        z-index: 0;
    }
    .parent-text {
        text-align: left;
    }
    .clickable {
        cursor: pointer;
    }
    .child-row-back {
        display: none;
        background-color: #ffffff;
    }
    .child-row-front{
        background-color: #D1F2A0;
    }
    .parent-row {
        cursor: pointer;
        background-color: #40730E;
        color: #ffffff;
    }
    .parent-row td {
        /* border-top: 2px solid black; */
        border-bottom: 1px solid black;
    }
    .large-column {
        min-width: 150px;
    }
    .analytics-container-1{
        height: 530px;
    }
    .analytics-container-2{
        height: 295px;
    }
    .monthlyData-container{
        height: 235px;
    }
    .percentage-bar{
        background-color: #049DD9;
    }
    .return-to-btn {
        background-color: #558C03; /* Light gray background */
        color: #000000; /* Dark text color for contrast */
    }
    .target-allotment {
        width: 230px;
        padding: 0;
        margin: 0;
    }
    .target-balance {
        width: 250px;
        padding: 0;
        margin: 0;
    }
    .target-type-data {
        width: 250px;
        padding: 0;
        margin: 0;
    }
    .utilization-data {
        width: 100px;
        padding: 0;
        margin: 0;
    }
    .target-type {
        width: 100px;
        padding: 50;
        margin: 0;
        background-color: #f8f9fa;
    }
    .target-badge {
        width: 100%;
        font-size: 11px;
        text-align: center;

        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    .table-target-responsive-modal {
        position: relative;
        max-height: 790px;
        overflow-y: auto;
        overflow-x: auto;
    }
    .timeline {
        list-style-type: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .timestamp {
    margin-bottom: 20px;
    padding: 0px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 100;
}

.status {
    padding: 0px 40px;
    display: flex;
    justify-content: center;
    border-top: 2px solid #D6DCE0;
    position: relative;
    cursor: pointer; /* Add cursor pointer */
    transition: all 200ms ease-in;
}

.status:before {
    content: "";
    width: 25px;
    height: 25px;
    background-color: white;
    border-radius: 25px;
    border: 1px solid #ddd;
    position: absolute;
    top: -15px;
    left: 42%;
    transition: all 200ms ease-in;
}
.li.complete .status {
    border-top: 2px solid #0D8933;
}
.li.complete .status:before {
    background-color: #0D8933;
    border: none;
    transition: all 200ms ease-in;
}
.li.complete .status h4 {
    color: #0D8933;
}
@media (min-device-width: 320px) and (max-device-width: 700px) {
    .timeline {
    list-style-type: none;
    display: block;
    }

    .li {
    transition: all 200ms ease-in;
    display: flex;
    width: inherit;
    }

    .timestamp {
    width: 100px;
    }

    .status:before {
    left: -8%;
    top: 30%;
    transition: all 200ms ease-in;
    }
}
#financial-graph > div >:nth-child(3){
    /* background-color: #1ed33c; */
    position: top !important;
    float: top  !important;
}
.fca-memeber-footer{
    background-color: #9A60B4;
}
.fca-member-icon{
    color: #9A60B4;
    font-size:50px
}
.fca-footer{
    background-color: #5470C6;
}
.fca-icon{
    color: #5470C6;
    font-size:50px
}
.intervention-footer{
    background-color: #F6AC8B;
}
.intervention-icon{
    color: #F6AC8B;
    font-size:50px
}
/* #endregion UNRELATED CSS */

#targetPhysicalTable {
    width: 100%;
    table-layout: fixed;
}

/* {{-- DONT UNDO THIS IS YOUR MARKERRRRRrrrrrrrrrrRRRRrrrrrrrrrr --}} */
