.bootstrap-select>.dropdown-toggle {
    background-color: #fff;
    border-color: #ced4da;
}

.filter-form .form-group label {
    margin-bottom: .2rem;
    font-weight: bold;
}

.filter-form .form-group {
    margin-bottom: 0.5rem;
}

.filter-form .bootstrap-select .filter-option-inner-inner {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* .spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
} */

/* .loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
} */

.table-responsive {
    position: relative;
    min-height: 150px;
}

.drillDown td,
.drillDown th {
    vertical-align: middle !important;
}

.bootstrap-select .dropdown-menu li a span.text {
    display: inline-block;
}


 .bootstrap-select.checkboxes .dropdown-menu li a::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 1px solid #ced4da;
    background-color: #fff;
    margin-right: 0.6em;
    vertical-align: middle;
    position: relative;
    top: -1px;
    border-radius: 0.25em;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60% 60%;
}



/* =======================================
   CUSTOM ACCORDION HEADER STYLING
   ======================================= */

.custom-accordion-header {
   
    /* replaces inline style */
    background-color: #000;
    /* keeps bg-black theme */
    color: #fff;
    /* keeps text-white theme */
    display: flex;
    flex-direction: row-reverse;
    /* same as d-flex flex-row-reverse */
    align-items: center;
   
    font-weight: 500;
}

/* Hover effect */
.custom-accordion-header:hover {
    background-color: #1a1a1a;
}

/* Optional responsive style */
@media (max-width: 768px) {
    .custom-accordion-header {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* =======================================
   CUSTOM ACCORDION BUTTON STYLING
   ======================================= */

.custom-accordion-btn {
    background: none !important;
    box-shadow: none !important;
    border: none;
    color: #fff;
    font-weight: 500;
    padding: 0;
    transition: background-color 0.3s ease;
}

/* Hover & focus states */
.custom-accordion-btn:hover,
.custom-accordion-btn:focus {
    background-color: #1a1a1a !important;
    color: #fff;
}

/* Remove focus outline */
.custom-accordion-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ==============================
   CUSTOM ACCORDION BODY STYLING
   ============================== */

.custom-accordion-body {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #fff;
    /* optional */
    color: #000;
    /* optional text color */
    border-top: 1px solid #ddd;
    /* optional for clean separation */
}

/* Optional hover effect */
.custom-accordion-body:hover {
    background-color: #f9f9f9;
}

/* ==============================
   LEGEND SEPARATOR STYLING
   ============================== */

.legend-separator {
    margin: 0 15px;
    display: none;
    /* Hidden by default */
    color: #555;
    /* optional - makes it more visible when shown */
    font-weight: bold;
    /* optional */
}

/* Optional: make it visible dynamically (example class toggle) */
.legend-separator.show {
    display: inline;
}

/* ==============================
   Loading Overlay Styling
   ============================== */

/* .loading-overlay {
    display: none;
 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
   
    z-index: 9999;
    justify-content: center;
    align-items: center;
}


.loading-overlay.active {
    display: flex;
    
} */


.filter-form .row>div {
    margin-bottom: 1rem;
}

.bootstrap-select .dropdown-menu li.selected a::before {
    border-color: #007bff;
    background-color: #007bff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M4 8l4 4 8-8'/%3e%3c/svg%3e");
}

.bootstrap-select .dropdown-menu li a .check-mark {
    display: none !important;
}


/* ==========================
   LEGEND SEPARATOR STYLING
   ========================== */

.legend-separator {
    margin: 0 15px;
    display: none;
    /* Hidden by default */
    color: #6c757d;
    /* Optional gray color */
    font-weight: 500;
}

/* Optional: show when active */
.legend-separator.show {
    display: inline;
}


.bootstrap-select>.dropdown-toggle {
    background-color: #fff;
    border-color: #ced4da;
}

.filter-form .form-group label {
    margin-bottom: .2rem;
    font-weight: bold;
}

.filter-form .form-group {
    margin-bottom: 0.5rem;
}

.filter-form .bootstrap-select .filter-option-inner-inner {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* .spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
} */

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-responsive {
    position: relative;
    min-height: 10px;
}

.drillDown td,
.drillDown th {
    vertical-align: middle !important;
}

.filter-form .row>div {
    margin-bottom: 1rem;
}

.bootstrap-select .dropdown-menu li a span.text {
    display: inline-block;
}



.bootstrap-select .dropdown-menu li.selected a::before {
    border-color: #007bff;
    background-color: #007bff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M4 8l4 4 8-8'/%3e%3c/svg%3e");
}

.bootstrap-select .dropdown-menu li a .check-mark {
    display: none !important;
}