.csep-map-container {
    max-width: 100% !important;
}


/* CSS */
#mmi_attrib0>a,
#mmi_attrib0>span {
    display: none !important;
}

#mmi_attrib1>a,
#mmi_attrib1>span {
    display: none !important;
}

.csep-map-container {
    display: flex;
}

.csep-map-select-column {
    /* width: 30%;*/
    /* Adjust the width for the select options */
    padding: 11px;
    border: 1px solid #00000014;
    height: auto;
    transition: 1s ease;

}

.csep-map-map-column {
    flex: 1;
    /* Map section occupies remaining space */
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .csep-map-container {
        flex-direction: column;
        /* Stack sections on top of each other on smaller screens */
    }

    .csep-map-select-column,
    .csep-map-map-column {
        width: 100%;
        /* Take full width on smaller screens */
    }
}

@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css");

.serach-map {
    position: relative;
    display: inline-block;
    background-color: #fff;
    padding: 5px 12px;
    transition: all 1s ease;
    border-radius: 0;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.serach-map::after {
    content: '';
    display: block;
    height: 2px;
    width: 80%;
    background-color: #054b90;
    transition: all 1s ease 0.5s;
}

.serach-map input {
    transition: width 1s ease, opacity 0.5s ease 0.5s;
    opacity: 1;
    width: 270px;
    height: 25px;
    border: 0;
    outline: none;
    color: #b06d0f;
}

.serach-map i {
    position: absolute;
    top: 11px;
    right: 11px;
    color: #333;
    cursor: pointer;
}

.serach-map[data-state="close"] {
    border-radius: 30px;
    padding: 5px 5px;
    transition: all 1s ease;
}

.serach-map[data-state="close"]::after {
    width: 0%;
    transition: all 0.3s ease;
}

.serach-map[data-state="close"] i {
    pointer-events: none;
}

.serach-map[data-state="close"] input {
    width: 28px;
    height: 25px;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.5s ease, width 1s ease;
    -webkit-appearance: none;
}



.locationSelect .csep-map-select-column {
    width: 100%;
    padding: 8px 16px 8px 8px;
    border: 2px solid #cccccc;
    border-radius: 4px;
    background-color: white;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-bottom: 10px;
}

/* Hover state styling */
.csep-map-select-column .locationSelect:hover {
    border-color: #888;
}

/* Focus state styling */
.csep-map-select-column .locationSelect:focus {
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.25);
}

/* Styles for options */
.csep-map-select-column .locationSelect option {
    padding: 8px;
    background-color: #f8f8f8;
    color: #333;
}

/*.csep-map-select-column .locationSelect::after {
  content: '\25BC'; 
  position: absolute; 
  right: 10px; 
  top: 50%; 
  transform: translateY(-50%); 
  pointer-events: none; 
  color: #333; 
}*/
.csep-map-select-column .locationSelect {
    padding-right: 30px;
}

h1.csep-map-heading {
    font-size: 18px;
    color: #a90e33;
    font-family: monospace;
    font-weight: 700;
    color: #9c9999;
}

.csep-map-select-column {
    padding: 16px 18px 0 18px !important;
    border: 1px solid #00000014 !important;
    border-right: 1px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    display: flex !important;
    flex-direction: column !important;
    height: calc(100vh - 70px) !important;
    max-height: calc(100vh - 70px) !important;
    min-height: 500px !important;
    position: sticky !important;
    top: 60px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
}

.scrollable-content {
    flex: 1 1 0% !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 8px !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    box-sizing: border-box !important;
}

/* Custom Red Scrollbar for Filters */
.scrollable-content::-webkit-scrollbar {
    width: 6px;
}

.scrollable-content::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background: #b71f38;
    border-radius: 4px;
}

.scrollable-content::-webkit-scrollbar-thumb:hover {
    background: #991b1b;
}

.csep-map-map-column {
    flex: 1;
    /* Map section occupies remaining space */
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .csep-map-container {
        flex-direction: column;
        /* Stack sections on top of each other on smaller screens */
    }

    .csep-map-select-column,
    .csep-map-map-column {
        width: 100%;
        /* Take full width on smaller screens */
    }
}

.map_sidebar {
    width: 40% !important;
    height: 100%;
    transition: 1s ease;
    position: relative;
    overflow: visible !important;
}

.main-content {
    width: 60% !important;
    height: calc(100vh - 70px) !important;
    max-height: calc(100vh - 70px) !important;
    min-height: 500px !important;
    position: sticky !important;
    top: 60px !important;
    box-sizing: border-box !important;
    transition: 1s ease;
}

.csep-map-map-column {
    width: 100% !important;
    height: 100% !important;
}

#map {
    width: 100% !important;
    height: calc(100vh - 70px) !important;
    max-height: calc(100vh - 70px) !important;
    border-radius: 8px !important;
}


/*********sidebar css***********/

.main-content_large {
    width: 100%;
}

.map_sidebar_small {
    width: 0%;
}

button.mapleftslide {
    position: absolute;
    border: none;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, .3);
    left: 100%;
    top: 0rem;
    transform: translateX(-52%);
    cursor: pointer;
    font-size: 11px;
    z-index: 9999;
}

button.mapleftslide:focus {
    outline: none;
}

span.select2.select2-container {
    width: 100% !important;
    padding-bottom: 10px;
}


input.select2-search__field {

    padding: 6px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding-right: 20px;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    margin-right: -15px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    font-size: 11px;
    padding: 2px 3px;
    line-height: 1;
    border-radius: 0px;
}

span.select2.select2-container {

    font-size: 11px;
}

.select2-results__option[aria-selected] {
    font-size: 11px;
    padding: 3px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #5897fb;
    color: white;
    padding: 3px;
    font-size: 11px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #aaa;
    line-height: 1px;
    font-size: 12px;
}

.map-button {
    background: #034b8f;
    padding: 8px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 0;
    outline: 0;
    text-align: left;
    min-width: 80px;
    display: inline-flex;
    justify-content: space-between;
    color: #f5f5f5;
    cursor: pointer;
    margin-bottom: 9px;
    font-size: 12px;
}

.map-button::after {
    font-family: sans-serif;
    content: "▼";
    padding-left: 0.5em;
}

.locationSelect {
    font-size: 13px;
}

.snip1221 {
    position: relative;
    font-size: 22px;

    color: #ffffff;
    width: 44px;
    margin: 1px 0px 10px 0px;
    line-height: 34px;
    display: inline-block;
    text-align: center;
    transition: all 0.25s ease-in-out;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    float: left;
}

.snip1221:after {
    position: absolute;
    bottom: 0;
    height: 4px;
    left: 50%;
    right: 50%;
    background: #c0392b;
    content: '';
    transition: all 0.3s ease-in-out;
    /* Adjusted transition timing */
    top: 40px;
}

.snip1221:hover,
.snip1221:active,
.snip1221.hover {
    color: #ffffff;
    filter: none !important;
}

/*.snip1221:hover:after,
.snip1221:active:after,
.snip1221.hover:after {
  left: 0;
  right: 0;
  background: #e74c3c; /* Changed background color on hover */
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
/* Added box-shadow */
}

*/ h4.map-sector {
    font-size: 17px;
    margin: 11px 0px;
    font-weight: 800;
}

.map-para {
    font-size: 11px;
    color: #000000;
    margin: 0px;
    font-weight: 600;
}

@import "compass/css3";

.js-example-basic-multiple {
    width: 213px;
}

.custom-option {
    display: block;
}

.mark-all {
    font-size: 12px;
    margin: 5px 0;
}



.snip1221 img {
    width: 44px;
    height: 44px;
}

.scrollable-content {
    max-height: auto;
    /* Adjust height as needed */
    overflow-y: auto;
    padding-right: 15px;
    /* To account for the scrollbar width */
    margin-top: 10px;
    /* Add some margin for spacing */
}

/* Optional: Add styles for the scrollbars if needed */
.scrollable-content::-webkit-scrollbar {
    width: 8px;
}

.scrollable-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background: #888;
}

.scrollable-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}


.heading-type {
    margin: 0px;
    padding: 0px 0px 17px 0px;
    font-size: 17px;
    width: 100%;
    font-weight: 700;
    display: flex;
}

/*li.select2-selection__choice {
    display: none;
}*/

.current-map-status {
    display: inline-flex;
    float: left;
    width: 100%;
    justify-content: space-between;

}

.status-item {
    text-align: center;
    margin: 7px;
}

.status-item i {
    display: block;
    margin-bottom: 5px;
}

p.heading-status {
    font-size: 7px;
    color: #000000;
}


.status-icon {
    color: #034b8f;
    width: 100%;
}


h4.status-title-map {
    display: flex;
    width: 100%;
    float: left;
    margin: 0px;
    padding: 11px 0px;
    font-size: 17px;
    font-weight: 700;
}


.container {
    display: flex;
    flex-direction: column;
}

.select-container {
    display: flex;
    justify-content: space-between;
}

.select-container select {
    width: 30%;
}

.label-container label {
    font-size: 13px;
}

label.custom-year {
    padding-left: 29px;
    font-size: 13px;
}


label.county-map {
    display: flex;
    float: inline-start;
    font-size: 13px;
}

label.entity-map {
    font-size: 13px;
}


.search_submit_map {
    padding: 6px 12px !important;
    font-size: 14px !important;
    line-height: 20px !important;
    height: 40px;
    text-transform: capitalize;
    width: 120px;
    border: none;
}

input#submit {
    margin-top: 0 !important;
}

/*.snip1221 {
    filter: grayscale(1);
}*/

.container.connectivityMapFilter {
    display: inherit !important;
    flex-direction: row;
    width: 100%;
    padding: 0;
}

.container.connectivityMapFilter .fist-year {
    width: 50%;
}

.container.connectivityMapFilter .second-year {
    margin-left: 10px;
    width: 47%;
}

.ui-widget.ui-widget-content {
    width: 96% !important;
    margin-left: 11px;
    margin-top: 10px !important;
    margin-bottom: 10px;
}



/*************SID******************/

.dropdown_csep {
    position: relative;
    font-size: 14px;
    color: #333;
}

.dropdown_csep .dropdown-list {
    padding: 12px;
    background: #fff;
    position: absolute;
    top: 30px;
    left: 2px;
    right: 2px;
    box-shadow: 0 1px 2px 1px rgba(0, 0, 0, .15);
    transform-origin: 50% 0;
    transform: scale(1, 0);
    transition: transform 0.15s ease-in-out 0.15s;
    max-height: 66vh;
    overflow-y: scroll;
}

.dropdown_csep .dropdown-option {
    display: block;
    padding: 8px 12px;
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
}

.dropdown_csep .dropdown-label {
    display: block;
    height: 30px;
    background: #fff;
    border: 1px solid #ccc;
    padding: 6px 12px;
    line-height: 1;
    cursor: pointer;
}

.dropdown_csep .dropdown-label:before {
    content: '▼';
    float: right;
}

.dropdown_csep.on .dropdown-list {
    transform: scale(1, 1);
    transition-delay: 0s;
    z-index: 999;
}

.dropdown_csep.on .dropdown-list .dropdown-option {
    opacity: 1;
    transition-delay: 0.2s;
}

.dropdown_csep.on .dropdown-label:before {
    content: '▲';
}

.dropdown_csep [type="checkbox"] {
    position: relative;
    top: -1px;
    margin-right: 4px;
}

.checked-parent::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    background: #e74c3c;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
}

span.select2-dropdown.select2-dropdown--below {
    margin-top: 23px;
}

label.disabled_label {
    color: #ccc;
}

.csep-map-heading {
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-top: 1px solid #0000001c;
    margin: 0 !important;
    padding: 0 !important;
    padding-bottom: 14px !important;
    padding-top: 11px !important;
}

.container.connectivityMapFilter {
    margin-bottom: 10px !important;
}

.secondstatus {
    margin-bottom: 10px !important;
}

.type-dropdown {
    margin-bottom: 10px !important;
}

label.lable_country {
    font-size: 11px;
    font-weight: 600;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #aaaaaa5e !important;
}

.checked-parent::after {
    content: '';
    top: 40px;
}

.status-item label {
    font-size: 12px;
    font-weight: 600;
    align-items: center;
    margin-left: 6px;
}

.status-item {
    display: inline-flex;
    width: 50%;
}

.submitmapdata {
    text-align: right;
    padding-right: 15px;
}

h4.Initiation_heading.csep-map-heading {
    border: none;
}

.amcharts-chart-div a {
    display: none !important;
}

.amcharts-chart-div a.maplink {
    display: block !important;
}

.map_secter_group {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

button.mapleftslide i {
    font-size: 19px;
    color: #6c6c6c;
}

.loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #3498db;
    width: 34px;
    height: 34px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    display: none;
    margin-top: 66px;
}

/ Safari / @-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

span#error-message {
    position: absolute;
    bottom: 22px;
    font-size: 12px;
    font-weight: 700;
}

.mapboxgl-popup-content {
    width: 440px !important;
}

.mapboxgl-popup {
    width: 440px !important;
}

.map-deatils p {
    margin-bottom: 3px;
    font-weight: 600;
}

.maplibregl-popup-content {
    border: 3px solid #7c5a4d;
}

h1.map-heading {
    font-size: 35px;
    font-weight: 700;
    color: #b71f38;
    margin-top: 7px;
}

input#reset {
    background-color: #034b8f;
    color: #fff;
    margin-top: 66px;
    border-radius: 4px;
    padding: 9px 22px !important;
    margin-right: 6px;
    text-transform: uppercase;
    font-size: 14px;
    border: none;
}

input#reset:hover {
    background-color: transparent;
    color: #000000;
    border: 1px solid;
}

.submitmapdata button#deselectButton {
    position: absolute;
    bottom: 12px;
    right: 117px;
    padding: 9px 11px;
    font-size: 14px;
    text-transform: uppercase;
    background-color: #b71f38;
    color: #fff;
    border-radius: 4px;
    outline: none;
    border: 1px solid #b71f38;
}

.submitmapdata button#deselectButton:hover {
    background-color: transparent;
    color: #000;
    border-color: #000;
}

.type-dropdown.selectinputs {
    position: relative;
}

span.checkdataall label {
    margin-right: 5px;
    cursor: pointer;
}

span.checkdataall {
    position: absolute;
    right: 0;
    top: -18px;
    font-size: 11px;
    align-items: center;
    display: flex;
}

.wp-core-ui select {
    font-size: 11px;
    font-weight: 500;
    line-height: 2;
    color: #7e7f81 !important;
}

.ui-slider {
    text-align: left !important;
    clear: both !important;
    margin-top: 8.5% !important;
    width: 88% !important;
    margin-left: 1%;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    border-radius: 50%;
}

p.yearrange input {
    pointer-events: none;
}

p.yearrange {
    font-size: 12px;
}



/*sweeti*/



@media only screen and (max-width: 576px) {
    .map_sidebar {
        width: 100%;
    }

    .maparea_csep {
        padding: 20px 0px;
    }

    h1.map-heading {
        font-size: 16px;

    }

    .status-item {
        text-align: left;
        align-items: start;
    }

    button.mapleftslide {
        display: none;
    }

    input#submit {
        margin-top: 9px;
        padding: 12px 18px !important;
    }

    .search_submit_map {
        font-size: 11px !important;
        line-height: 14px !important;
        height: 36px;
    }

    .submitmapdata button#deselectButton {

        padding: 9px 10px;
        font-size: 11px;
    }

    span#error-message {

        font-size: 13px;
    }

    .loader {
        margin-top: 9px;
        height: 25px;
        width: 25px;
    }

    .main-content.csep-map-sid {
        margin-top: 20px;
        width: 100%;
        height: 580px;
    }

}

@media only screen and (max-width: 992px) {
    .map_sidebar {
        width: 100%;
    }

    .main-content.csep-map-sid {
        margin-top: 20px;
        width: 100%;
        height: 580px;
    }

    .csep-map-container {
        display: flex;
        flex-direction: column;
    }

    button.mapleftslide {
        display: none;
    }
}


@media screen and (max-width: 1550px) and (min-width: 992px) {
    h1.map-heading {
        font-size: 26px !important;
    }

    .csep-map-heading {
        font-size: 10px !important;
    }

    p.yearrange {
        font-size: 11px !important;
        top: -28px !important;
    }

    .status-item label {
        font-size: 10px !important;
    }

    .container.connectivityMapFilter .fist-year {
        width: 42% !important;
    }

    .csep-map-heading {
        letter-spacing: 1px !important;
    }

    .submitmapdata button#deselectButton {
        font-size: 11px !important;
        padding: 7px 7px !important;
        right: 90px !important;
    }

    .search_submit_map {
        font-size: 11px !important;
        padding: 7px 7px !important;
    }

    input#submit {
        padding: 7px 11px !important;
        height: 34px !important;
    }

    span#error-message {
        font-size: 10px !important;
    }

    .loader {
        border: 5px solid #f3f3f3 !important;
        border-top: 5px solid #3498db !important;
        width: 28px !important;
        height: 28px !important;
    }

    .map-para {
        font-size: 10px !important;
    }

    .snip1221 {
        width: 38px !important;
    }

    .snip1221 img {
        width: 38px !important;
        height: 38px !important;
    }

    .map_sidebar {
        width: 40% !important;
    }

    .csep-map-select-column {
        height: calc(100vh - 70px) !important;
        max-height: calc(100vh - 70px) !important;
    }

    .scrollable-content {
        flex: 1 1 0% !important;
        height: 0 !important;
        max-height: none !important;
    }

    .main-content {
        width: 60% !important;
        height: calc(100vh - 70px) !important;
        max-height: calc(100vh - 70px) !important;
    }

    #map {
        height: calc(100vh - 70px) !important;
        max-height: calc(100vh - 70px) !important;
    }

}

.container.connectivityMapFilter {
    display: flex !important;
    position: relative;
}

p.yearrange {
    font-size: 12px;
    position: absolute;
    top: -31px;
}

.map-footer strong {
    color: #000;
    font-weight: 700;
    font-size: 13px;
    margin-right: 6px;
}

.map-deatils a {
    color: #b71f38;
}

div#dataitems {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #fff;
    z-index: 99;
    display: none;
    overflow: scroll;
    overflow-x: hidden;
}

.alllistingdata li {
    list-style: decimal;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    border-bottom: 1px solid #00000017;
    padding-bottom: 10px;
}

span#closeprojectlist {
    background-color: #f0f0f0;
    width: 30px;
    height: 30px;
    position: fixed;
    border-radius: 50%;
    padding: 4px 8px;
}

span#closeprojectlist {
    background-color: #f0f0f0;
    width: 30px;
    height: 30px;
    position: absolute;
    border-radius: 50%;
    padding: 4px 8px;
    cursor: pointer;
    box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, .3);
    top: 8px;
    left: 7px;
}

span.total-project-count-title {
    position: absolute;
    top: 13px;
    left: 48px;
    font-size: 14px;
    font-weight: 800;
    color: #b71f38;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.alllistingdata {
    padding-top: 48px;
}

/* ==========================================================================
   New Filter Sidebar Layout Styles
   ========================================================================== */

.csep-filter-group {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e0e0e0;
}

.csep-filter-group:last-child {
    border-bottom: none;
}

h2.csep-filter-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #b71f38 !important;
    margin: 15px 0 12px 0 !important;
    padding: 0 !important;
    font-family: inherit !important;
    border: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

h2.csep-filter-title .title-sub {
    font-size: 13px;
    font-weight: 600;
    color: #b71f38;
}

/* 1. Project Code Filter */
.project-code-input-container {
    position: relative;
    margin-bottom: 6px;
}

.project-code-field {
    width: 100%;
    border: 1px solid #333 !important;
    padding: 6px 10px !important;
    font-size: 13px !important;
    border-radius: 0 !important;
    background: #fff;
    box-shadow: none !important;
    outline: none;
}

/* 3. Filter 1: Countries */
.countries-select-row {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.country-select-col {
    flex: 1;
    min-width: 0;
}

.country-select-col select {
    width: 100% !important;
    border: 1px solid #333 !important;
}

/* 4. Filter 2: Sector Cards Layout */
.sector-cards-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.sector-card-box {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sector-card-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
    width: 100%;
}

.sector-card-icon {
    font-size: 32px;
    color: #000;
    margin-bottom: 6px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sector-title-box {
    border: 1px solid #333;
    background: #ffffff;
    padding: 4px 6px;
    font-size: 11px;
    font-weight: 700;
    color: #000;
    text-align: center;
    width: 90%;
    box-sizing: border-box;
}

.sector-sub-list-box {
    width: 100%;
    border: 1px solid #333;
    background: #ffffff;
    padding: 8px 8px;
    box-sizing: border-box;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nested-opt-item {
    display: block;
    font-size: 11px;
    line-height: 1.35;
    margin-bottom: 4px;
    cursor: pointer;
    color: #111;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nested-opt-item input[type="checkbox"] {
    margin-right: 5px;
    accent-color: #b71f38;
}

/* 5. Filter 3 & 4: Button/Tab Controls */
.csep-tabs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.csep-tab-btn {
    background: #ffffff;
    border: 1px solid #333;
    color: #111;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.csep-tab-btn:hover {
    border-color: #b71f38;
}

.csep-tab-btn.active {
    background: #ffffff;
    border: 2px solid #b71f38;
    color: #111;
    font-weight: 700;
}

.csep-entity-tabs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.entity-tab-btn {
    background: #ffffff;
    border: 1px solid #333333;
    color: #111111;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.entity-tab-btn:hover {
    border-color: #b71f38;
}

.entity-tab-btn.active {
    background: #ffffff;
    border: 2px solid #b71f38;
    color: #111111;
    font-weight: 700;
}

.entity-tab-btn.clear-btn {
    border-color: #666;
    background: #f8f8f8;
}

.entity-tab-btn.clear-btn:hover {
    background: #e2e2e2;
    border-color: #000;
}

/* 6. Dual-Thumb Red Slider Styling (Matching Reference Image) */
.ui-slider {
    position: relative !important;
    text-align: left !important;
    touch-action: none;
    display: block !important;
}

.ui-slider .ui-slider-handle {
    position: absolute !important;
    z-index: 4 !important;
    cursor: pointer !important;
    touch-action: none;
    outline: none !important;
    display: block !important;
}

.ui-slider .ui-slider-range {
    position: absolute !important;
    z-index: 2 !important;
    display: block !important;
    border: 0 !important;
}

.ui-slider-horizontal {
    height: 3px !important;
}

.ui-slider-horizontal .ui-slider-range {
    top: 0;
    height: 100%;
}

/* Custom CSEP Slider System */
.csep-slider-container {
    margin: 20px 4px 16px 4px !important;
    position: relative !important;
    clear: both !important;
    box-sizing: border-box !important;
}

.csep-slider-track,
.csep-red-slider,
#slider-range,
#slider_construction_cost,
#slider_funding_pattern {
    display: block !important;
    width: 100% !important;
    height: 6px !important;
    background-color: #e2e8f0 !important;
    border: none !important;
    border-radius: 3px !important;
    position: relative !important;
    margin: 18px 0 10px 0 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

.csep-slider-track::before,
.csep-slider-track::after,
.csep-red-slider::before,
.csep-red-slider::after {
    display: none !important;
    content: none !important;
}

.csep-slider-range,
.csep-red-slider .ui-slider-range,
#slider-range .ui-slider-range,
#slider_construction_cost .ui-slider-range,
#slider_funding_pattern .ui-slider-range {
    position: absolute !important;
    height: 100% !important;
    top: 0 !important;
    background-color: #b71f38 !important;
    border-radius: 3px !important;
    pointer-events: none !important;
}

.csep-slider-handle,
.ui-slider-handle {
    position: absolute !important;
    top: 50% !important;
    width: 22px !important;
    height: 22px !important;
    margin-top: -11px !important;
    margin-left: -11px !important;
    background-color: #b71f38 !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    cursor: grab !important;
    z-index: 10 !important;
    outline: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    touch-action: none !important;
    display: block !important;
}

.csep-slider-handle:hover,
.ui-slider-handle:hover {
    transform: scale(1.18) !important;
    box-shadow: 0 3px 8px rgba(183, 31, 56, 0.5) !important;
}

.csep-slider-handle:active,
.ui-slider-handle:active {
    cursor: grabbing !important;
    transform: scale(1.28) !important;
}

.csep-slider-labels {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #b71f38 !important;
    margin-top: 10px !important;
    padding: 0 2px !important;
}

.csep-slider-labels span {
    background: #fff5f5 !important;
    border: 1px solid #fecaca !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

/* N/A Checkbox Row */
.csep-na-checkbox {
    margin-top: 10px;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
}

.csep-na-checkbox label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
    font-size: 12px;
}

.csep-na-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #b71f38;
    border-radius: 3px;
    vertical-align: middle;
}

/* Location Grid Layout */
.location-filters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .location-filters-grid {
        grid-template-columns: 1fr;
    }
}

.location-col-box {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.location-col-box span.select2.select2-container,
.location-col-box .select2-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.location-col-box .select2-selection--multiple,
.location-col-box .select2-selection--single {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.location-box-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #4b5563;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.location-filter-dropdown {
    width: 100% !important;
}

/* Comprehensive CSEP Premium Design System Enhancements */

/* csep-map-select-column handled above */

h1.map-heading {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #b71f38 !important;
    margin: 0 0 14px 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #b71f38 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.csep-filter-group {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 14px 16px !important;
    margin-bottom: 14px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.csep-filter-group:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05) !important;
}

h2.csep-filter-title,
.csep-filter-title {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #b71f38 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin: 0 0 10px 0 !important;
    display: block !important;
}

h2.csep-filter-title::before,
h2.csep-filter-title:before,
.csep-filter-title::before,
.csep-filter-title:before {
    display: none !important;
    content: none !important;
}

/* Native Select Containment (Prevents Raw Multiselect Tall Box) */
select.locationSelect,
select.country-dropdown,
select.project-search-dropdown,
select.entities-dropdown,
select.challenges-dropdown,
select.location-filter-dropdown,
.csep-filter-group select {
    height: 38px !important;
    max-height: 38px !important;
    line-height: 36px !important;
    padding: 4px 10px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    background-color: #ffffff !important;
    font-size: 13px !important;
    color: #334155 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

select.select2-hidden-accessible {
    display: none !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

/* Select2 Input Customization */
.select2-container {
    width: 100% !important;
    max-width: 100% !important;
}

.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single {
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    min-height: 38px !important;
    background-color: #ffffff !important;
    padding: 2px 4px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default .select2-selection--multiple:focus {
    border-color: #b71f38 !important;
    box-shadow: 0 0 0 3px rgba(183, 31, 56, 0.15) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #fff5f5 !important;
    border: 1px solid #fecaca !important;
    color: #b71f38 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    padding: 3px 8px !important;
    margin-top: 4px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #b71f38 !important;
    margin-right: 4px !important;
    font-weight: bold !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #991b1b !important;
}

.select2-dropdown {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #b71f38 !important;
    color: #ffffff !important;
    font-weight: 500 !important;
}

/* Action Buttons Footer */
.submitmapdata {
    flex: 0 0 auto !important;
    margin-top: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 12px 18px !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    position: relative !important;
    z-index: 100 !important;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box !important;
    clear: both !important;
    width: calc(100% + 36px) !important;
    margin-left: -18px !important;
    margin-right: -18px !important;
}

#deselectButton {
    display: inline-block !important;
    position: static !important;
    float: none !important;
    flex: 1 1 50% !important;
    width: 48% !important;
    max-width: 50% !important;
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    height: 40px !important;
    line-height: 38px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    padding: 0 8px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

#deselectButton:hover {
    background-color: #e2e8f0 !important;
    color: #1e293b !important;
}

#submit.search_submit_map,
input#submit,
.search_submit_map {
    display: inline-block !important;
    position: static !important;
    float: none !important;
    flex: 1 1 50% !important;
    width: 48% !important;
    max-width: 50% !important;
    background-color: #b71f38 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(183, 31, 56, 0.3) !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 0 8px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

#submit.search_submit_map:hover,
input#submit:hover,
.search_submit_map:hover {
    background-color: #991b1b !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(183, 31, 56, 0.4) !important;
}