:root {
    --global-color-7: #17315c
}

#overallMEnu {
    display: none;
    padding: 0;
    width: 0;
    height: 0;
    max-width: none;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    border-radius: 15px;
    transform: none;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: flex-start;
    pointer-events: none;
    visibility: hidden;
}

#overallMEnu.open {
    display: inline-flex;
    height: auto;
    padding: 30px;
    overflow-y: auto;
    pointer-events: auto;
    visibility: visible;
    animation: overall-menu-in 0.3s ease-out;
}

#overallMEnu.is-closing {
    display: inline-flex;
    pointer-events: none;
    visibility: visible;
    animation: overall-menu-out 0.24s ease-in forwards;
}

#overallMEnu.close{
    display: none;
}

@keyframes blink-orange {
    0%, 100% {
        background-color: #f58220; /* Color azul */
    }
    50% {
        background-color: #ffffff; /* Otro tono de azul para el efecto de parpadeo */
    }
}

@keyframes overall-menu-in {
    0% {
        opacity: 0;
        transform: translate(-50%, calc(-50% - 10px)) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes overall-menu-out {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, calc(-50% - 8px)) scale(0.97);
    }
}

/*
BEGIN: BOTON DE CIERRE
*/
.close-btn--corner {
    position: absolute;
    top: -48px;
    right: -38px;
    width: 40px;
    height: 40px;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 0% 0% 0% 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transform: translate(2px, -2px) scale(0.8);
    transition: transform 0.5s ease, background-color 0.3s ease, border 0.3s ease;
    z-index: inherit;
    animation: blink-orange 1s infinite;
}

.close-btn--corner svg {
    width: 24px;
    height: 24px;
    transform: rotate(45deg);
    transition: transform 0.3s ease, fill 0.3s ease;
    fill: #000000;
}

.close-btn--corner:hover {
    top: -34px;
    right: -28px;
    transform: translate(2px, -2px) scale(1.2);
    transition: transform 0.5s ease;
    animation: none;
    background-color: #f58220;
    color: #ffffff;
    border-color: #f58220;
}

.close-btn--corner:hover svg {
    transform: rotate(0deg);
    fill: #ffffff;
}

.icon-x {
    display: none;
}

.toggle-icon-btn:hover .icon-x {
    display: inline;
}

.toggle-icon-btn:hover .icon-arrow {
    display: none;
}

.icon-arrow svg,
.icon-x svg {
    width: 24px;
    height: 24px;
    transition: all 0.1s ease;
    fill: #000; 
}

/*
BEGIN: CLOSE BUTTON ADAPTIVE COMPONENT
Uso:
<button class="close-btn icon-wrapper toggle-icon-btn close-btn--corner close-btn--adaptive">...</button>
Se posiciona automaticamente en la esquina superior derecha del contenedor host.
*/
.close-btn-host {
    position: relative;
    overflow: visible;
}

.close-btn--corner.close-btn--adaptive {
    position: absolute;
    width: var(--adaptive-close-btn-size, 42px);
    height: var(--adaptive-close-btn-size, 42px);
    top: var(--close-btn-top, 0);
    right: var(--close-btn-right, 0);
    border-width: var(--adaptive-close-btn-border-width, 1.5px);
    border-style: solid;
    border-color: var(--adaptive-close-btn-border-color, #17315c);
    border-radius: 0 var(--adaptive-close-btn-radius, 16px) 0 var(--adaptive-close-btn-radius-inner, 12px);
    background: var(--adaptive-close-btn-bg, #f58220);
    color: var(--adaptive-close-btn-color, #ffffff);
    transform: scale(1);
    transform-origin: top right;
    box-shadow: var(--adaptive-close-btn-shadow, 0 6px 12px rgba(15, 23, 42, 0.22));
    transition: transform 0.35s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    animation: blink-orange 1s infinite;
    z-index: var(--close-btn-z-index, 3);
    padding: 0;
}

.close-btn--corner.close-btn--adaptive svg {
    width: 18px;
    height: 18px;
    transform: rotate(45deg);
    fill: currentColor;
    transition: transform 0.3s ease, fill 0.3s ease;
}

.close-btn--corner.close-btn--adaptive:hover {
    top: var(--close-btn-top, 0);
    right: var(--close-btn-right, 0);
    transform: scale(1.08);
    background: var(--adaptive-close-btn-hover-bg, #17315c);
    color: var(--adaptive-close-btn-hover-color, #ffffff);
    border-color: var(--adaptive-close-btn-hover-border-color, #17315c);
    animation: none;
}

.close-btn--corner.close-btn--adaptive:hover svg {
    transform: rotate(0deg);
}

/* Scope: solo para birthday-panel__sheet */
.birthday-panel__sheet.close-btn-host .close-btn--corner.close-btn--adaptive {
    top: 0;
    right: 0;
    width: 46px;
    height: 46px;
    border-radius: 0 0 0 18px;
    border-width: 1.5px;
    border-top: 0;
    border-right: 0;
    transform: translate(28%, -28%) scale(0.92);
    transform-origin: top right;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.2);
    animation: blink-orange 1s infinite;
}

.birthday-panel__sheet.close-btn-host .close-btn--corner.close-btn--adaptive svg {
    transform: rotate(45deg);
}

.birthday-panel__sheet.close-btn-host .close-btn--corner.close-btn--adaptive:hover {
    top: 0;
    right: 0;
    transform: translate(10%, -10%) scale(1.06);
    animation: none;
}

.birthday-panel__sheet.close-btn-host .close-btn--corner.close-btn--adaptive:hover svg {
    transform: rotate(180deg);
}
/*
END: CLOSE BUTTON ADAPTIVE COMPONENT
*/

/*
END: BOTON DE CIERRE
*/

#overallMEnuActionBtnsContainer {
    width: 207px;
    margin-left: 0
}

#overallMEnu.open #overallMEnuActionBtnsContainer {
    opacity: 1;
    pointer-events: all;
    /* height: calc(100% - 265px); */
    position: relative;
    top: 8px;
    display: flex;
    flex-direction: row;
    padding-bottom: 15px;
    width: 100%;
    flex-wrap: wrap
}

@media only screen and (max-width: 768px) {
    #overallMEnu.open {
        width: 90%;
        /* Ajustamos el ancho a 90% para mÃ³viles */
        min-height: 250px;
        /* Reducimos la altura mÃ­nima */
        max-width: 90%;
        /* Limitar el ancho mÃ¡ximo al 90% de la pantalla */
        padding: 20px;
        /* Reducimos el padding para pantallas mÃ¡s pequeÃ±as */
        max-height: 70vh;
        /* Aseguramos que no sobrepase el 90% de la altura de la pantalla */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .close-btn--corner {
        top: -30px;
        right: -20px;
        width: 35px;
        height: 35px;
        font-size: 16px;
        transform: scale(0.9);
        animation: none;
        background-color: #f58220;
    }

    .close-btn--corner::before {
        /*content: "\f00d";*/
        font-size: 20px;
        transform: rotate(0deg);
        color: #ffffff;
    }

    .birthday-panel__header .close-btn--corner:not(.close-btn--adaptive) {
    top: -23px;
    right: -23px;
}
}

@media only screen and (max-width: 480px) {
    #overallMEnu.open {
        width: 95%;
        /* Ajustamos el ancho a 95% para pantallas mÃ¡s pequeÃ±as */
        min-height: 200px;
        /* Ajustamos la altura mÃ­nima */
        max-width: 95%;
        /* Reducimos el ancho mÃ¡ximo */
        padding: 15px;
        /* Reducimos aÃºn mÃ¡s el padding */
        max-height: 70vh;
        /* Aseguramos que no sobrepase el 85% de la altura de la pantalla */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

#btnCloseOVerlay,
#btn_activator_menu_seach,
#btn_closeOverAllMenu {
    width: 40px;
    height: 40px;
    background-color: var(--global-color-2);
    border-radius: 50%;
    font-size: 26px;
    line-height: 26px;
    padding: 5px;
    position: absolute;
    top: 6px;
    right: 6px;
    transition: all ease-out .3s
}

#btn_closeOverAllMenu:hover i {
    top: -6px;
    left: -2px
}

#btnCloseOVerlay i,
#btn_activator_menu_seach i,
#btn_closeOverAllMenu i {
    color: var(--global-color-6);
    position: relative;
    top: 2px;
    left: 6px
}

.label_for_menu_filter {
    cursor: pointer;
    display: inline-block;
    margin: 3px 4px 0 0
}

label[for=btns_type_options_filters_advancedsearch] .optionSearchTopMenuFilter {
    border-color: var(--global-color-7);
    color: var(--global-color-7)
}

label[for=btns_type_options_filters_advancedsearch] .optionSearchTopMenuFilter .svg_container svg {
    fill: var(--global-color-7)
}

label[for=btns_type_options_filters_advancedsearch] .optionSearchTopMenuFilter.decorated {
    border-color: var(--global-color-7);
    background-color: var(--global-color-7);
    color: #fff
}

label[for=btns_type_options_filters_advancedsearch] .optionSearchTopMenuFilter.decorated .svg_container svg {
    fill: #FFFFFF
}

.selec2_main_container {
    flex-grow: 1;
    max-width: calc(100% - 10px)
}

.accordion {
    display: none
}

.accordion-body {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding-top: 0px;
    padding-right: 1.25rem;
    padding-bottom: 25px;
}

.accordion-body>.left-colum,
.accordion-body>.right-colum {
    flex: 4
}

.left-colum .row-sub-filters,
.right-colum .row-sub-filters {
    padding: 15px 15px 15px 15px
}

.left-colum .row-sub-filters label {
    display: block !important
}

.sub_filters-title-name {
    padding: 0 0 10px 0
}

.noUi-slider-custom {
    margin-top: 0
}

.noUi-slider-custom-value {
    text-align: center;
    font-weight: 600;
    font-size: 14px
}

.select-options-custom {
    background-color: var(--global-color-6);
    border: 3px solid var(--global-color-2);
    border-radius: 20px;
    color: #333;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    margin: 0;
    max-width: 100%;
    padding: 0 15px;
    position: relative;
    transition: all ease-out .3s
}

.counter-number {
    margin-left: 10px;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    background-color: rgb(255 87 2 / 87%);
    color: #fff;
    font-size: 16px;
    align-content: center;
    text-align: center;
    box-shadow: 0 0 10px 2px rgb(125 35 84);
    opacity: 0;
    animation: fadeIn .5s ease-in-out forwards
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.container-buttons {
    display: flex
}

.button-blue-pushable,
.button-green-pushable {
    position: relative;
    border: none;
    background: 0 0;
    padding: 0;
    cursor: pointer;
    outline-offset: 4px;
    transition: filter 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    margin: 15px 13px 0 -8px
}

.button-blue-shadow,
.button-green-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: hsl(0deg 0% 0% / .25);
    will-change: transform;
    transform: translateY(2px);
    transition: transform .6s cubic-bezier(.3, .7, .4, 1)
}

.button-blue-edge,
.button-green-edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px
}

.button-blue-edge {
    background: linear-gradient(to left, hsl(201.4deg 100% 16%) 0, hsl(201.4deg 100% 32%) 8%, hsl(201.4deg 100% 32%) 92%, hsl(201.4deg 100% 16%) 100%)
}

.button-green-edge {
    background: linear-gradient(to left, hsl(149deg 93% 38%) 0, hsl(149deg 100% 32%) 8%, hsl(149deg 100% 32%) 92%, hsl(149deg 100% 16%) 100%)
}

.button-blue-front,
.button-green-front {
    display: block;
    position: relative;
    padding: 7px 27px;
    border-radius: 12px;
    font-size: 1.1rem;
    color: #fff;
    will-change: transform;
    transform: translateY(-4px);
    transition: transform .6s cubic-bezier(.3, .7, .4, 1)
}

.button-blue-front {
    background: hsl(201.4deg 100% 47%)
}

.button-green-front {
    background: #10a759
}

@media (min-width:768px) {

    .button-blue-front,
    .button-green-front {
        font-size: 1.25rem;
        padding: 7px 27px
    }
}

.button-blue-pushable:hover,
.button-green-pushable:hover {
    filter: brightness(110%);
    -webkit-filter: brightness(110%)
}

.button-blue-pushable:hover .button-blue-front,
.button-green-pushable:hover .button-green-front {
    transform: translateY(-6px);
    transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5)
}

.button-blue-pushable:active .button-blue-front,
.button-green-pushable:active .button-green-front {
    transform: translateY(-2px);
    transition: transform 34ms
}

.button-blue-pushable:hover .button-blue-shadow,
.button-green-pushable:hover .button-green-shadow {
    transform: translateY(4px);
    transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5)
}

.button-blue-pushable:active .button-blue-shadow,
.button-green-pushable:active .button-green-shadow {
    transform: translateY(1px);
    transition: transform 34ms
}

.button-blue-pushable:focus:not(:focus-visible),
.button-green-pushable:focus:not(:focus-visible) {
    outline: 0
}

select#sub_filter-PoliticParty {
    width: 100%
}

input[id=sub_filter-CantidadPeriodos] {
    width: 40px;
    padding: 0;
    border: 1px solid #000;
    border-radius: 4px;
    text-align: -webkit-center
}

#search-no-results {
    margin: 10px 0px 10px 0px;
}

.message {
    font-size: 20px;
    margin: 30px 0px 10px 0px;
}

/* Overall Menu UX refresh */
#overallMEnu.open {
    --overall-close-size: 36px;
    --overall-close-gap: 0px;
    --overall-button-width: 179.89px;
    --overall-button-height: 44px;
    --overall-segment-gap: 5px;
    --overall-segment-pad: 3px;
    --overall-actions-gap: 12px;
    --overall-segmented-width: calc((var(--overall-button-width) * 3) + (var(--overall-segment-gap) * 2) + (var(--overall-segment-pad) * 2));
    --overall-menu-actions-width: calc(var(--overall-segmented-width) + var(--overall-button-width) + var(--overall-actions-gap));
    --overall-menu-content-width: min(var(--overall-menu-actions-width), calc(100% - 8px));
    --overall-menu-pad-x: 18px;
    --overall-menu-pad-y: 18px;
    --overall-row-min-height: 50px;
    width: min(780px, calc(100vw - 28px));
    max-width: 980px;
    min-height: 0;
    max-height: calc(100vh - 28px);
    padding: calc(var(--overall-menu-pad-y) + 8px) var(--overall-menu-pad-x) var(--overall-menu-pad-y);
    background-color: #ffffff;
    box-shadow: 0 0 15px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    border-radius: 18px;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: calc(var(--z-index-overlay) + 1);
}

#overallMEnuActionBtnsContainer {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-right: calc(var(--overall-close-size) + 8px);
    box-sizing: border-box;
}

#overallMEnu.open #overallMEnuActionBtnsContainer {
    position: static;
    top: 0;
    padding-bottom: 8px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    column-gap: var(--overall-actions-gap);
    row-gap: 0;
    align-items: start;
    overflow: visible;
}

#overallMEnu .overall-menu-actions {
    width: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 8px;
    grid-column: 2;
    grid-row: 1;
}

#overallMEnu #select_searchbar_container {
    grid-column: 1;
    grid-row: 1;
}

#overallMEnu .close-btn--corner {
    top: 0;
    right: 0;
    width: var(--overall-close-size);
    height: var(--overall-close-size);
    padding: 0;
    border: 0;
    border-left: 1.5px solid #17315c;
    border-bottom: 1.5px solid #17315c;
    border-radius: 0 18px 0 14px;
    background: #f58220;
    color: #ffffff;
    transform: scale(1);
    transform-origin: top right;
    box-shadow: none;
    transition: transform 0.35s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    animation: blink-orange 1s infinite;
    z-index: 30;
    box-sizing: border-box;
}

#overallMEnu .close-btn--corner svg {
    width: 18px;
    height: 18px;
    transform: rotate(45deg);
    fill: currentColor;
}

#overallMEnu .close-btn--corner:hover {
    top: 0;
    right: 0;
    transform: scale(1.08);
    background: #17315c;
    border-left-color: #17315c;
    border-bottom-color: #17315c;
    color: #ffffff;
    animation: none;
}

#overallMEnu .close-btn--corner:hover svg {
    transform: rotate(0deg);
}

#overallMEnu .overall-menu-segmented {
    display: inline-flex;
    align-items: center;
    gap: var(--overall-segment-gap);
    background: #edf2f8;
    border: 1px solid #d8e1ec;
    border-radius: 14px;
    padding: var(--overall-segment-pad);
    flex: 0 0 auto;
    width: var(--overall-segmented-width);
    min-width: var(--overall-segmented-width);
    min-height: var(--overall-row-min-height);
    box-sizing: border-box;
}

#overallMEnu .label_for_menu_filter {
    margin: 0;
}

#overallMEnu .label_for_menu_filter--segment {
    flex: 0 0 var(--overall-button-width);
    width: var(--overall-button-width);
    min-width: var(--overall-button-width);
}

#overallMEnu .label_for_menu_filter--segment .optionSearchTopMenuFilter {
    width: 100%;
    min-width: 0;
}

#overallMEnu .label_for_menu_filter--advanced {
    flex: 0 0 180px;
    width: 180px;
    min-width: 180px;
}

#overallMEnu .label_for_menu_filter--advanced .optionSearchTopMenuFilter {
    width: 100%;
    min-width: 0;
    min-height: var(--overall-button-height);
    height: var(--overall-button-height);
    padding: 0 10px;
}

#overallMEnu .optionSearchTopMenuFilter {
    width: var(--overall-button-width);
    height: var(--overall-button-height);
    min-height: var(--overall-button-height);
    border-radius: 12px;
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #334155 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    box-sizing: border-box;
}

#overallMEnu .optionSearchTopMenuFilter:hover {
    border-color: #90a4bf !important;
    background: #f8fafc !important;
    color: #163c70 !important;
}

#overallMEnu .optionSearchTopMenuFilter:focus-within {
    outline: 2px solid rgba(122, 167, 255, 0.55);
    outline-offset: 2px;
}

#overallMEnu .optionSearchTopMenuFilter.decorated {
    border-color: #17315c !important;
    background: #17315c !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(23, 49, 92, 0.28);
}

#overallMEnu .optionSearchTopMenuFilter .svg_container {
    width: 18px;
    height: 18px;
    margin-right: 0;
    flex: 0 0 18px;
}

#overallMEnu .optionSearchTopMenuFilter .svg_container svg,
#overallMEnu .optionSearchTopMenuFilter .svg_container svg * {
    fill: currentColor !important;
}

#overallMEnu .optionSearchTopMenuFilter__label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#overallMEnu label[for=btns_type_options_filter_region] .optionSearchTopMenuFilter {
    border-color: var(--global-color-2) !important;
    color: var(--global-color-2) !important;
    background: #ffffff !important;
}

#overallMEnu label[for=btns_type_options_filter_territory] .optionSearchTopMenuFilter {
    border-color: var(--global-color-4) !important;
    color: #1d6499 !important;
    background: #ffffff !important;
}

#overallMEnu label[for=btns_type_options_filter_authority] .optionSearchTopMenuFilter {
    border-color: var(--global-color-5) !important;
    color: var(--global-color-5) !important;
    background: #ffffff !important;
}

#overallMEnu label[for=btns_type_options_filters_advancedsearch] .optionSearchTopMenuFilter {
    border-color: var(--global-color-7) !important;
    color: var(--global-color-7) !important;
    background: #ffffff !important;
}

#overallMEnu label[for=btns_type_options_filter_region] .optionSearchTopMenuFilter.decorated {
    border-color: var(--global-color-2) !important;
    background: var(--global-color-2) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(245, 130, 33, 0.28);
}

#overallMEnu label[for=btns_type_options_filter_territory] .optionSearchTopMenuFilter.decorated {
    border-color: var(--global-color-4) !important;
    background: var(--global-color-4) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(94, 203, 243, 0.34);
}

#overallMEnu label[for=btns_type_options_filter_authority] .optionSearchTopMenuFilter.decorated {
    border-color: var(--global-color-5) !important;
    background: var(--global-color-5) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(240, 8, 135, 0.3);
}

#overallMEnu label[for=btns_type_options_filters_advancedsearch] .optionSearchTopMenuFilter.decorated {
    border-color: var(--global-color-7) !important;
    background: var(--global-color-7) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(23, 49, 92, 0.28);
}

.overall-menu-select2-dropdown .overall-menu-entity-suggestion-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 34px;
}

.overall-menu-select2-dropdown .overall-menu-entity-suggestion-row__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
}

.overall-menu-select2-dropdown .overall-menu-entity-suggestion-row__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #17315c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.overall-menu-select2-dropdown .overall-menu-entity-suggestion-row.is-active .overall-menu-entity-suggestion-row__title {
    color: #17315c;
}

.overall-menu-select2-dropdown .overall-menu-entity-suggestion-row__meta {
    font-weight: 600;
    font-size: 11px;
    line-height: 1;
    border-radius: 999px;
    padding: 4px 9px;
    color: #334155;
    background: #e2e8f0;
    white-space: nowrap;
}

.overall-menu-select2-dropdown .overall-menu-entity-suggestion-row--region .overall-menu-entity-suggestion-row__meta {
    background: rgba(245, 130, 33, 0.18);
    color: #b45309;
}

.overall-menu-select2-dropdown .overall-menu-entity-suggestion-row--territory .overall-menu-entity-suggestion-row__meta {
    background: rgba(94, 203, 243, 0.25);
    color: #0c4a6e;
}

.overall-menu-select2-dropdown .overall-menu-entity-suggestion-row--authority .overall-menu-entity-suggestion-row__meta {
    background: rgba(240, 8, 135, 0.16);
    color: #9d174d;
}

.overall-menu-select2-dropdown .overall-menu-entity-suggestion-row.is-active .overall-menu-entity-suggestion-row__meta {
    background: #17315c;
    color: #ffffff;
}
#overallMEnu .selec2_main_container {
    position: relative;
    margin-top: 0;
    width: 100%;
    padding-right: 0;
    box-sizing: border-box;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#overallMEnu .overall-menu-search-helper {
    margin-top: 0;
    margin-bottom: 8px;
    padding: 0 2px;
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
}

#overallMEnu .overall-menu-search-icon {
    display: none;
}

#overallMEnu .overall-menu-search-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

#overallMEnu #select_findAll {
    height: 44px;
    border-radius: 12px;
    border: 2px solid #d4deea;
    background: #ffffff;
    color: #1f2937;
    padding: 0 18px 0 18px;
}

#overallMEnu .select2-selection.select2-selection--single {
    height: 44px;
}

#overallMEnu .select2-container .select2-selection--single .select2-selection__rendered {
    height: 44px;
    line-height: 40px;
    padding: 0 36px 0 18px !important;
    color: #1f2937;
    font-weight: 600;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: static !important;
    top: auto !important;
    margin: 0 !important;
}

#overallMEnu .select2-container--default .select2-selection--single {
    height: 44px;
    border-radius: 12px !important;
    border: 2px solid #d4deea !important;
    background: #ffffff !important;
    box-shadow: none !important;
    overflow: hidden;
}

#overallMEnu .select2-selection__rendered,
#overallMEnu .select2-selection__rendered::before,
#overallMEnu .select2-selection__rendered::after {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

#overallMEnu .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 9px;
    right: 8px;
}

#overallMEnu .select2-container--default.select2-container--open .select2-selection--single,
#overallMEnu .select2-container--default .select2-selection--single:hover,
#overallMEnu .select2-container--default .select2-selection--single:focus {
    border-color: var(--global-color-2) !important;
    box-shadow: 0 0 0 3px rgba(245, 130, 33, 0.16);
}

#overallMEnu #select_searchbar_container.is-open .select2-container--default .select2-selection--single {
    opacity: 0;
    pointer-events: none;
}

#overallMEnu .select2-selection__placeholder {
    color: #6b7280 !important;
    font-weight: 500;
}

#overallMEnu .select2-dropdown,
.overall-menu-select2-dropdown {
    border: 1px solid #d4deea;
    border-radius: 12px;
    overflow: hidden;
    z-index: 999999;
    margin-top: -44px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
}

.select2-container--open {
    z-index: 999999;
}

.overall-menu-select2-dropdown .select2-search--dropdown {
    padding: 0;
    background: #ffffff;
}

.overall-menu-select2-dropdown .select2-search__field {
    border: 2px solid #d4deea !important;
    border-radius: 10px;
    min-height: 44px;
    margin: 8px !important;
    width: calc(100% - 16px);
    padding: 0 14px;
    font-weight: 600;
    line-height: 40px;
    box-shadow: none !important;
    outline: none !important;
}

.overall-menu-select2-dropdown .select2-search__field:focus {
    border-color: var(--global-color-2) !important;
    box-shadow: 0 0 0 3px rgba(245, 130, 33, 0.16) !important;
}

.overall-menu-select2-dropdown .select2-results__options {
    max-height: min(320px, 45vh);
}

.overall-menu-select2-dropdown .select2-results__option {
    padding: 10px 12px;
    font-weight: 500;
}

.overall-menu-select2-dropdown .select2-results__option--disabled {
    color: #64748b;
    font-style: normal;
    cursor: default;
    background: transparent !important;
}

.overall-menu-select2-dropdown .overall-menu-results-section-label {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    padding: 8px 0 6px;
}

.overall-menu-select2-dropdown .overall-menu-results-section-label--filters {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 4px;
}

.overall-menu-select2-dropdown .overall-menu-results-section-label--results {
    border-top: 1px solid #e2e8f0;
    margin-top: 6px;
    padding-top: 8px;
    margin-bottom: 4px;
}

.overall-menu-select2-dropdown .select2-results__option--highlighted[aria-selected] {
    background: #17315c !important;
    color: #ffffff !important;
}

.overall-menu-select2-dropdown .select2-results__option[aria-selected=true] .overall-menu-entity-suggestion-row__title {
    color: #17315c !important;
}

.overall-menu-select2-dropdown .select2-results__option--highlighted[aria-selected] .overall-menu-entity-suggestion-row__title {
    color: #ffffff !important;
}

.overall-menu-select2-dropdown .select2-results__option--highlighted[aria-selected] .overall-menu-data-result-row {
    color: #ffffff !important;
}

.overall-menu-select2-dropdown .select2-results__option--highlighted[aria-selected] .overall-menu-entity-suggestion-row__meta,
.overall-menu-select2-dropdown .select2-results__option--highlighted[aria-selected] .overall-menu-entity-suggestion-row.is-active .overall-menu-entity-suggestion-row__meta {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

@media only screen and (max-width: 992px) {
    #overallMEnu.open {
        --overall-close-gap: 0px;
        --overall-button-height: 40px;
        --overall-menu-content-width: 100%;
        --overall-menu-actions-width: 100%;
        --overall-menu-pad-x: 16px;
        --overall-menu-pad-y: 22px;
        width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
        padding: calc(var(--overall-menu-pad-y) + 8px) var(--overall-menu-pad-x) 16px;
        max-height: calc(100dvh - 32px - var(--safe-top, 0px) - var(--safe-bottom, 0px));
    }

    #overallMEnu.open #overallMEnuActionBtnsContainer {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 150px;
        column-gap: 10px;
        row-gap: 0;
        align-items: start;
        position: static;
        padding-top: 0;
        margin-top: 0;
    }

    #overallMEnu .overall-menu-segmented {
        width: 100%;
        min-width: 0;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        padding: 4px;
    }

    #overallMEnu .label_for_menu_filter--segment,
    #overallMEnu .label_for_menu_filter--advanced {
        width: 100%;
        min-width: 0;
        flex: 1 1 auto;
    }

    #overallMEnu .overall-menu-actions {
        width: 170px;
    }

    #overallMEnu .label_for_menu_filter--advanced .optionSearchTopMenuFilter {
        width: 100%;
        min-width: 0;
    }
    #overallMEnu .optionSearchTopMenuFilter {
        font-size: 12px;
        gap: 6px;
        padding: 0 6px;
        width: 100%;
        height: var(--overall-button-height);
        min-height: var(--overall-button-height);
    }

    #overallMEnu .optionSearchTopMenuFilter .svg_container {
        width: 16px;
        height: 16px;
        flex: 0 0 16px;
    }

    #overallMEnu .selec2_main_container {
        margin-top: 2px;
        padding-right: 0;
        width: 100%;
    }

    #overallMEnu .overall-menu-search-helper {
        font-size: 11px;
        padding: 0 2px;
    }

    #overallMEnu .select2-container .select2-selection--single .select2-selection__rendered {
        font-size: 12px;
    }
}

/* SearchBar Overlay mode (latest) */
#overallMenuBackdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 18, 40, 0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    z-index: 99980;
}

body.overall-menu-overlay-open #overallMenuBackdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.overall-menu-overlay-open {
    overflow: hidden;
}

#overallMEnu:not(.open):not(.is-closing) .close-btn--corner {
    display: none;
}

#overallMEnu.open,
#overallMEnu.is-closing {
    z-index: 99981 !important;
    left: 50% !important;
    right: auto !important;
    top: 46% !important;
    transform: translate(-50%, -50%) !important;
    width: min(980px, calc(100vw - 26px)) !important;
    max-width: 980px !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 26px) !important;
    padding: 16px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.58);
    background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, rgb(243 247 255 / 0%) 100%) !important;
    box-shadow: 0 26px 52px rgba(8, 18, 40, 0.35) !important;
    overflow: visible !important;
}

#overallMEnu.open {
    animation: overall-menu-searchbar-in 0.24s ease-out !important;
}

#overallMEnu.is-closing {
    animation: overall-menu-searchbar-out 0.22s ease-in forwards !important;
}

@keyframes overall-menu-searchbar-in {
    0% {
        opacity: 0;
        transform: translate(-50%, calc(-50% - 10px)) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes overall-menu-searchbar-out {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, calc(-50% - 8px)) scale(0.98);
    }
}

#overallMEnuActionBtnsContainer {
    width: 100% !important;
    padding-right: 0 !important;
}

#overallMEnu.open #overallMEnuActionBtnsContainer {
    display: block !important;
    padding: 0 !important;
}

#overallMEnu #select_searchbar_container {
    position: relative;
    margin: 0;
    width: 100%;
    min-width: 0;
    padding: 0;
}

#overallMEnu .selec2_main_container {
    margin: 0 !important;
    padding: 0 !important;
}

#overallMEnu .overall-menu-search-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #17315c;
    z-index: 4;
    pointer-events: none;
}

#overallMEnu .overall-menu-search-icon svg,
#overallMEnu .overall-menu-search-icon svg * {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

#overallMEnu .overall-menu-inline-advanced {
    position: absolute;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    margin: 0 !important;
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#overallMEnu .overall-menu-inline-advanced .optionSearchTopMenuFilter {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 10px !important;
    border: 1.5px solid #17315c !important;
    background: rgba(255, 255, 255, 0.88) !important;
    color: #17315c !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    box-shadow: none !important;
}

#overallMEnu .overall-menu-inline-advanced .optionSearchTopMenuFilter .svg_container {
    width: 16px;
    height: 16px;
    margin: 0;
    flex: 0 0 16px;
}

#overallMEnu .overall-menu-inline-advanced .optionSearchTopMenuFilter .svg_container svg,
#overallMEnu .overall-menu-inline-advanced .optionSearchTopMenuFilter .svg_container svg * {
    fill: currentColor !important;
}

#overallMEnu .overall-menu-inline-advanced .optionSearchTopMenuFilter__label {
    display: none !important;
}

#overallMEnu .overall-menu-inline-advanced .optionSearchTopMenuFilter:hover {
    background: #17315c !important;
    color: #ffffff !important;
}

#overallMEnu .overall-menu-inline-advanced .optionSearchTopMenuFilter.decorated {
    background: #17315c !important;
    color: #ffffff !important;
}

#overallMEnu .overall-menu-search-helper {
    display: none !important;
}

#overallMEnu .select2-container--default .select2-selection--single {
    height: 50px !important;
    border-radius: 14px !important;
    border: 1.6px solid #c3d1e3 !important;
    background: rgba(255, 255, 255, 0.93) !important;
    box-shadow: 0 8px 18px rgba(23, 49, 92, 0.08) !important;
    overflow: hidden;
}

#overallMEnu .select2-container .select2-selection--single .select2-selection__rendered {
    height: 50px !important;
    line-height: 46px !important;
    padding: 0 78px 0 42px !important;
    font-weight: 600 !important;
    color: #25364f !important;
}

#overallMEnu .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 11px !important;
    right: 10px !important;
}

#overallMEnu .select2-container--default.select2-container--open .select2-selection--single,
#overallMEnu .select2-container--default .select2-selection--single:hover,
#overallMEnu .select2-container--default .select2-selection--single:focus {
    border-color: #63c6ee !important;
    box-shadow: 0 0 0 3px rgba(99, 198, 238, 0.2) !important;
}

#overallMEnu #select_searchbar_container.is-open .select2-container--default .select2-selection--single {
    opacity: 0 !important;
    pointer-events: none !important;
}

.select2-container--open {
    z-index: 99999 !important;
}

.overall-menu-select2-dropdown {
    margin-top: 18px !important;
    border: 1px solid #d5dfec !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 38px rgba(15, 23, 42, 0.2) !important;
    overflow: hidden;
}

.overall-menu-select2-dropdown .select2-search--dropdown {
    padding: 10px !important;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.overall-menu-select2-dropdown .select2-search__field {
    margin: 0 !important;
    width: 100% !important;
    min-height: 44px !important;
    border: 1.8px solid #c7d6e8 !important;
    border-radius: 12px !important;
    padding: 0 14px !important;
    font-size: 18px;
    font-weight: 600;
    color: #25364f;
}

.overall-menu-select2-dropdown .select2-search__field:focus {
    border-color: #63c6ee !important;
    box-shadow: 0 0 0 3px rgba(99, 198, 238, 0.24) !important;
}

.overall-menu-select2-dropdown .select2-results__options {
    max-height: min(380px, 56vh) !important;
    padding: 4px 0;
}

.overall-menu-select2-dropdown .select2-results__option {
    padding: 11px 12px !important;
}

#overallMEnu .close-btn--corner {
    top: 0 !important;
    right: 0 !important;
    width: 42px !important;
    height: 42px !important;
    border: 1.5px solid #17315c !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-radius: 0 18px 0 12px !important;
    background: #f58220 !important;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: none !important;
    z-index: 12 !important;
    animation: blink-orange 1s infinite;
}

#overallMEnu .close-btn--corner svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

#overallMEnu .close-btn--corner:hover {
    top: 0 !important;
    right: 0 !important;
    transform: none !important;
    background: #17315c !important;
    border-color: #17315c !important;
    animation: none;
}

#overallMEnu #accordionFlush {
    margin-top: 12px;
    border-radius: 14px;
    border: 1px solid #d5dfec;
    background: rgba(255, 255, 255, 0.95);
    overflow: hidden;
}

@media only screen and (max-width: 992px) {
    #overallMEnu.open,
    #overallMEnu.is-closing {
        top: 44% !important;
        width: calc(100vw - 14px) !important;
        max-height: calc(100dvh - 14px) !important;
        padding: 12px !important;
        border-radius: 16px !important;
    }

    #overallMEnu .select2-container--default .select2-selection--single {
        height: 46px !important;
    }

    #overallMEnu .select2-container .select2-selection--single .select2-selection__rendered {
        height: 46px !important;
        line-height: 42px !important;
        font-size: 14px;
        padding: 0 74px 0 40px !important;
    }

    #overallMEnu .overall-menu-inline-advanced {
        right: 34px;
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    #overallMEnu .overall-menu-inline-advanced .optionSearchTopMenuFilter {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }

    #overallMEnu .close-btn--corner {
        width: 38px !important;
        height: 38px !important;
        border-radius: 0 14px 0 10px !important;
    }

    .overall-menu-select2-dropdown .select2-search__field {
        font-size: 16px;
    }
}

/* SearchBar Overlay - exact visual target */
#overallMenuBackdrop {
    background: rgba(24, 34, 62, 0.46) !important;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

#overallMEnu.open,
#overallMEnu.is-closing {
    top: 42% !important;
    width: min(760px, calc(100vw - 36px)) !important;
    max-width: 760px !important;
    max-height: calc(100dvh - 42px) !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

#overallMEnu.open #overallMEnuActionBtnsContainer {
    width: 100% !important;
    padding: 0 !important;
}

#overallMEnu #select_searchbar_container {
    position: relative;
    width: 100%;
    margin: 0 !important;
    padding: 8px !important;
    border-radius: 22px !important;
    border: 1px solid rgba(255, 255, 255, 0.52) !important;
    background: rgba(223, 232, 252, 0.32) !important;
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.22) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#overallMEnu .select2-container--default .select2-selection--single {
    height: 52px !important;
    border-radius: 14px !important;
    border: 1px solid #dbe3ef !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 6px 16px rgba(23, 49, 92, 0.11) !important;
}

#overallMEnu .select2-container .select2-selection--single .select2-selection__rendered {
    height: 52px !important;
    line-height: 48px !important;
    padding: 0 90px 0 52px !important;
    font-weight: 600 !important;
    font-size: 18px !important;
}

#overallMEnu .overall-menu-search-icon {
    left: 24px !important;
    width: 20px !important;
    height: 20px !important;
    color: #1f2937 !important;
}

#overallMEnu .overall-menu-search-icon svg,
#overallMEnu .overall-menu-search-icon svg * {
    width: 20px !important;
    height: 20px !important;
}

#overallMEnu .overall-menu-inline-advanced {
    right: 48px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
}

#overallMEnu .overall-menu-inline-advanced .optionSearchTopMenuFilter {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 8px !important;
    border: 1px solid #e4e9f2 !important;
    background: #f8fafc !important;
    color: #111827 !important;
}

#overallMEnu .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 14px !important;
    top: 12px !important;
}

/* Hide base field when dropdown opens -> only one visual input */
#overallMEnu .select2-container--open .select2-selection--single,
#overallMEnu #select_searchbar_container.is-open .select2-container--default .select2-selection--single {
    opacity: 0 !important;
    pointer-events: none !important;
}

.select2-container--open {
    z-index: 99999 !important;
}

.overall-menu-select2-dropdown {
    margin-top: 20px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    background: rgba(223, 232, 252, 0.38) !important;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.24) !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.overall-menu-select2-dropdown .select2-search--dropdown {
    padding: 8px !important;
    background: transparent !important;
    border-bottom: 0 !important;
}

.overall-menu-select2-dropdown .select2-search__field {
    min-height: 52px !important;
    margin: 0 !important;
    border-radius: 14px !important;
    border: 1px solid #dbe3ef !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 6px 16px rgba(23, 49, 92, 0.11) !important;
    padding: 0 14px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

.overall-menu-select2-dropdown .select2-results__options {
    max-height: min(380px, 52vh) !important;
    padding: 8px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-top: 1px solid #e5ebf4 !important;
}

.overall-menu-select2-dropdown .select2-results__option {
    border-radius: 10px;
    padding: 11px 12px !important;
}

#overallMEnu .close-btn--corner {
    top: -6px !important;
    right: -6px !important;
}

@media only screen and (max-width: 992px) {
    #overallMEnu.open,
    #overallMEnu.is-closing {
        top: 36% !important;
        width: calc(100vw - 18px) !important;
        max-height: calc(100dvh - 18px) !important;
    }

    #overallMEnu #select_searchbar_container {
        padding: 6px !important;
        border-radius: 16px !important;
    }

    #overallMEnu .select2-container--default .select2-selection--single {
        height: 46px !important;
    }

    #overallMEnu .select2-container .select2-selection--single .select2-selection__rendered {
        height: 46px !important;
        line-height: 42px !important;
        font-size: 15px !important;
        padding: 0 76px 0 42px !important;
    }

    #overallMEnu .overall-menu-search-icon {
        left: 18px !important;
        width: 16px !important;
        height: 16px !important;
    }

    #overallMEnu .overall-menu-search-icon svg,
    #overallMEnu .overall-menu-search-icon svg * {
        width: 16px !important;
        height: 16px !important;
    }

    #overallMEnu .overall-menu-inline-advanced {
        right: 40px !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
    }

    #overallMEnu .overall-menu-inline-advanced .optionSearchTopMenuFilter {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
    }

    .overall-menu-select2-dropdown {
        margin-top: 14px !important;
        border-radius: 14px !important;
    }

    .overall-menu-select2-dropdown .select2-search__field {
        min-height: 46px !important;
        font-size: 15px !important;
    }
}

/* OverMenu unified input/select2 field */
#overallMEnu #select_searchbar_container {
    overflow: visible !important;
}

#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown {
    position: relative !important;
    margin-top: 14px !important;
    overflow: visible !important;
}

#overallMEnu .select2-container--open .select2-selection--single,
#overallMEnu #select_searchbar_container.is-open .select2-container--default .select2-selection--single {
    opacity: 1 !important;
    pointer-events: auto !important;
}

#overallMEnu #select_searchbar_container.is-open .select2-selection__rendered {
    opacity: 0 !important;
}

#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown .select2-search--dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: -60px;
    z-index: 6;
    padding: 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
}

#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown .select2-search__field {
    min-height: 52px !important;
    margin: 0 !important;
    border-radius: 14px !important;
}

#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown .select2-results {
    margin-top: 0 !important;
}

#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown .select2-results__options {
    max-height: min(360px, 48vh) !important;
}

@media only screen and (max-width: 992px) {
    #overallMEnu #select_searchbar_container .overall-menu-select2-dropdown {
        margin-top: 12px !important;
    }

    #overallMEnu #select_searchbar_container .overall-menu-select2-dropdown .select2-search--dropdown {
        top: -54px;
    }

    #overallMEnu #select_searchbar_container .overall-menu-select2-dropdown .select2-search__field {
        min-height: 46px !important;
    }
}

/* Unified element: select2 engine + one visible input */
#overallMEnu #select_searchbar_container {
    position: relative !important;
}

#overallMEnu .overall-menu-unified-input {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    border: 1px solid #dbe3ef;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 16px rgba(23, 49, 92, 0.11);
    padding: 0 90px 0 52px;
    font-size: 18px;
    font-weight: 600;
    color: #25364f;
    caret-color: #25364f;
    outline: none;
    position: relative;
    z-index: 12;
}

#overallMEnu .overall-menu-unified-input:focus {
    border-color: #63c6ee;
    box-shadow: 0 0 0 3px rgba(99, 198, 238, 0.2), 0 6px 16px rgba(23, 49, 92, 0.11);
}

#overallMEnu .overall-menu-search-icon {
    z-index: 13 !important;
}

#overallMEnu .overall-menu-inline-advanced {
    z-index: 32 !important;
}

#overallMEnu .overall-menu-inline-advanced,
#overallMEnu .overall-menu-inline-advanced .optionSearchTopMenuFilter,
#overallMEnu .overall-menu-inline-advanced .optionSearchTopMenuFilter .svg_container {
    pointer-events: auto !important;
}

#overallMEnu .overall-menu-inline-advanced .optionSearchTopMenuFilter {
    position: relative !important;
    z-index: 30 !important;
}

#overallMEnu #select_findAll {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#overallMEnu #select_searchbar_container .select2 {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

#overallMEnu #select_searchbar_container .select2-selection--single {
    height: 52px !important;
    pointer-events: none !important;
}

#overallMEnu #select_searchbar_container .select2-selection__rendered,
#overallMEnu #select_searchbar_container .select2-selection__arrow {
    pointer-events: none !important;
}

#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown {
    margin-top: 12px !important;
}

#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown .select2-search--dropdown {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown .select2-results__options {
    max-height: min(370px, 50vh) !important;
}

@media only screen and (max-width: 992px) {
    #overallMEnu .overall-menu-unified-input {
        height: 46px;
        font-size: 15px;
        padding: 0 76px 0 42px;
    }

    #overallMEnu #select_searchbar_container .select2-selection--single {
        height: 46px !important;
    }
}

/* Fix: background consistency for select2 results panel */
#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown .select2-results {
    background: rgba(223, 232, 252, 0.38) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown .select2-results__options {
    background: rgba(223, 232, 252, 0.38) !important;
    border-top: 0 !important;
}

/* Hide visual residue of internal select2 search row (unified input is external) */
#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown .select2-search--dropdown {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
}

#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown .select2-search__field {
    min-height: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 0 !important;
}

/* Requested tweaks */
#overallMEnu .close-btn--corner {
    display: none !important;
}

#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown {
    border: 1px solid rgba(255, 255, 255, 0.58) !important;
}

/* Hard override: dropdown border/background equals overall menu shell */
#overallMEnu #select_searchbar_container .select2-container--open .overall-menu-select2-dropdown,
#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown.select2-dropdown {
    border: 1px solid rgba(255, 255, 255, 0.58) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, rgb(243 247 255 / 0%) 100%) !important;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.24) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown .select2-results,
#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown .select2-results__options {
    background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, rgb(243 247 255 / 0%) 100%) !important;
}

/* Dropdown shell (transparent) + inner list (white) */
#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown .select2-results {
    padding: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.58) !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, rgb(243 247 255 / 0%) 100%) !important;
    box-sizing: border-box !important;
}

#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown ul.select2-results__options {
    padding: 8px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: inset 0 0 0 1px rgba(219, 227, 239, 0.9) !important;
    border-top: 0 !important;
}

/* Fixed vertical anchor for OverMenu (no jump on advanced filters toggle) */
#overallMEnu.open,
#overallMEnu.is-closing {
    top: 25% !important;
    transform: translateX(-50%) !important;
}

#overallMEnu.open {
    animation: overall-menu-fixed-in 0.22s ease-out !important;
}

#overallMEnu.is-closing {
    animation: overall-menu-fixed-out 0.2s ease-in forwards !important;
}

@keyframes overall-menu-fixed-in {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.985);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

@keyframes overall-menu-fixed-out {
    0% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) scale(0.985);
    }
}

/* Match advanced accordion shell with open select2 shell */
#overallMEnu #accordionFlush.accordion.accordion-flush.scrollable {
    position: relative !important;
    padding: 2px !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, rgb(243 247 255 / 0%) 100%) !important;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.24) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden !important;
}

#overallMEnu #accordionFlush.accordion.accordion-flush.scrollable::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    border-radius: 18px;
    pointer-events: none;
    z-index: 3;
}

#overallMEnu #accordionFlush.accordion.accordion-flush.scrollable .accordion-item {
    border: 0 !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.96) !important;
}

/* Advanced filters with same shell structure as dropdown */
#overallMEnu #overallMenuAdvancedShell {
    margin-top: 12px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 18px;
    background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, rgb(243 247 255 / 0%) 100%);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-sizing: border-box;
}

#overallMEnu #overallMenuAdvancedShell .overall-menu-advanced-inner {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 0 0 1px rgba(219, 227, 239, 0.9);
    overflow: hidden;
}

#overallMEnu #overallMenuAdvancedShell #accordionFlush {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    max-height: min(56vh, 460px);
}

#overallMEnu #overallMenuAdvancedShell #accordionFlush::before {
    content: none !important;
    display: none !important;
}

#overallMEnu #overallMenuAdvancedShell #accordionFlush .accordion-item {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

#overallMEnu #overallMenuAdvancedShell #accordionFlush .accordion-button {
    background: transparent !important;
}

@media only screen and (max-width: 992px) {
    #overallMEnu #overallMenuAdvancedShell {
        margin-top: 10px;
        padding: 6px;
        border-radius: 14px;
    }

    #overallMEnu #overallMenuAdvancedShell .overall-menu-advanced-inner {
        border-radius: 10px;
    }
}

/* Ensure dropdown right corner keeps radius even with native scrollbar */
#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown .select2-results {
    border-radius: 12px !important;
    overflow: hidden !important;
}

#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown ul.select2-results__options {
    border-radius: 12px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background-clip: padding-box !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(23, 49, 92, 0.45) transparent;
}

#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown ul.select2-results__options::-webkit-scrollbar {
    width: 10px;
}

#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown ul.select2-results__options::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 12px;
    margin: 6px 0;
}

#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown ul.select2-results__options::-webkit-scrollbar-thumb {
    background: rgba(23, 49, 92, 0.45);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

/* Attention pulse for advanced filters button */
#overallMEnu .overall-menu-inline-advanced .optionSearchTopMenuFilter.optionSearchTopMenuFilter--advanced-pulse {
    position: relative !important;
    overflow: visible !important;
    isolation: isolate;
}

#overallMEnu .overall-menu-inline-advanced .optionSearchTopMenuFilter.optionSearchTopMenuFilter--advanced-pulse::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 8px;
    box-shadow:
        0 0 0 1.4px rgba(245, 130, 33, 0.62),
        0 0 0 0 rgba(245, 130, 33, 0.78);
    opacity: 0.95;
    pointer-events: none;
    z-index: -1;
    animation: overall-menu-filter-pulse 1.45s ease-out infinite;
}

@keyframes overall-menu-filter-pulse {
    0% {
        opacity: 0.95;
        box-shadow:
            0 0 0 1.4px rgba(245, 130, 33, 0.62),
            0 0 0 0 rgba(245, 130, 33, 0.78);
    }
    70% {
        opacity: 0.2;
        box-shadow:
            0 0 0 1.4px rgba(245, 130, 33, 0.42),
            0 0 0 8px rgba(245, 130, 33, 0);
    }
    100% {
        opacity: 0;
        box-shadow:
            0 0 0 1.4px rgba(245, 130, 33, 0),
            0 0 0 8px rgba(245, 130, 33, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    #overallMEnu .overall-menu-inline-advanced .optionSearchTopMenuFilter.optionSearchTopMenuFilter--advanced-pulse::after {
        animation: none;
        opacity: 0.35;
        box-shadow: 0 0 0 3px rgba(245, 130, 33, 0.35);
    }
}

/* Smooth transition when data results appear (labels remain stable) */
#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown .overall-menu-data-result-row {
    font-weight: 600;
    color: #1f2937;
    line-height: 1.35;
}

#overallMEnu #select_searchbar_container .overall-menu-select2-dropdown.animate-data-results .overall-menu-data-result-row {
    opacity: 0;
    transform: translateY(4px);
    animation: overall-menu-data-row-in 0.22s ease-out forwards;
    animation-delay: calc(var(--row-index, 0) * 20ms);
}

@keyframes overall-menu-data-row-in {
    0% {
        opacity: 0;
        transform: translateY(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Advanced filters visual refresh */
#overallMEnu #overallMenuAdvancedShell #accordionFlush .accordion-item {
    border: 1px solid #d5e0ef !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 6px 16px rgba(23, 49, 92, 0.08);
}

#overallMEnu #overallMenuAdvancedShell #accordionFlush .accordion-item + .accordion-item {
    margin-top: 10px;
}

#overallMEnu #overallMenuAdvancedShell #accordionFlush .accordion-button {
    min-height: 56px;
    padding: 0 18px;
    font-size: 19px;
    font-weight: 700;
    color: #17315c;
    background: #ffffff !important;
    border-bottom: 1px solid #dbe6f3;
}

#overallMEnu #overallMenuAdvancedShell #accordionFlush .accordion-button:not(.collapsed) {
    color: #0f3e8c;
    background: #f7fbff !important;
}

#overallMEnu #overallMenuAdvancedShell #accordionFlush .accordion-button::after {
    filter: saturate(0.7) brightness(0.75);
}

#overallMEnu #overallMenuAdvancedShell #accordionFlush .counter-number {
    margin-left: 8px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 22px;
    background: var(--global-color-2);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(245, 130, 33, 0.35);
}

#overallMEnu #overallMenuAdvancedShell .accordion-collapse > .accordion-body.row {
    margin: 0 !important;
    width: 100%;
    padding: 20px !important;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
}

#overallMEnu #overallMenuAdvancedShell .accordion-collapse > .accordion-body.row > fieldset {
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

#overallMEnu #overallMenuAdvancedShell .accordion-collapse .left-colum,
#overallMEnu #overallMenuAdvancedShell .accordion-collapse .right-colum {
    display: grid;
    gap: 16px;
}

#overallMEnu #overallMenuAdvancedShell .accordion-collapse .row-sub-filters {
    padding: 0 !important;
    margin: 0;
}

#overallMEnu #overallMenuAdvancedShell .accordion-collapse .row-sub-filters.is-filter-disabled {
    opacity: 0.45;
    transition: opacity 160ms ease-in-out;
}

#overallMEnu #overallMenuAdvancedShell .accordion-collapse .row-sub-filters.is-filter-disabled .sub_filters-title-name {
    opacity: 0.9;
}

#overallMEnu #overallMenuAdvancedShell .accordion-collapse .row-sub-filters .select2.is-filter-disabled {
    opacity: 0.45;
}

#overallMEnu #overallMenuAdvancedShell .sub_filters-title-name {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f2d3d;
    letter-spacing: 0.01em;
}

#overallMEnu #overallMenuAdvancedShell .sub_filters-title-name i.fa-circle-info {
    font-size: 13px;
    color: #4f6584;
}

#overallMEnu #overallMenuAdvancedShell .noUi-slider-custom {
    margin-top: 4px;
}

#overallMEnu #overallMenuAdvancedShell .noUi-target {
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: #dde6f3;
    box-shadow: none;
}

#overallMEnu #overallMenuAdvancedShell .noUi-connect {
    background: #63c6ee;
}

#overallMEnu #overallMenuAdvancedShell .noUi-handle {
    width: 18px !important;
    height: 18px !important;
    right: -9px !important;
    top: -5px !important;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: #17315c;
    box-shadow: 0 2px 8px rgba(23, 49, 92, 0.24);
}

#overallMEnu #overallMenuAdvancedShell .noUi-handle:before,
#overallMEnu #overallMenuAdvancedShell .noUi-handle:after {
    display: none;
}

#overallMEnu #overallMenuAdvancedShell .noUi-slider-custom-value {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #25364f;
}

#overallMEnu #overallMenuAdvancedShell .select-options-custom,
#overallMEnu #overallMenuAdvancedShell input[type="number"] {
    height: 44px !important;
    border-radius: 12px !important;
    border: 1.5px solid #c4d3e6 !important;
    background: #ffffff !important;
    color: #1f2d3d !important;
    font-size: 14px;
    font-weight: 500;
    box-shadow: none !important;
}

#overallMEnu #overallMenuAdvancedShell .select-options-custom {
    width: 100%;
    padding: 0 14px;
}

#overallMEnu #overallMenuAdvancedShell input[type="number"] {
    width: 88px;
    padding: 0 10px;
    text-align: center;
}

#overallMEnu #overallMenuAdvancedShell .select-options-custom:focus,
#overallMEnu #overallMenuAdvancedShell input[type="number"]:focus {
    outline: none;
    border-color: #63c6ee !important;
    box-shadow: 0 0 0 3px rgba(99, 198, 238, 0.22) !important;
}

#overallMEnu #overallMenuAdvancedShell .row-sub-filters label:not(.sub_filters-title-name) {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 500;
    color: #25364f;
}

#overallMEnu #overallMenuAdvancedShell .row-sub-filters input[type="radio"],
#overallMEnu #overallMenuAdvancedShell .row-sub-filters input[type="checkbox"] {
    margin: 0;
}

#overallMEnu #overallMenuAdvancedShell .container-buttons {
    margin-top: 4px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

#overallMEnu #overallMenuAdvancedShell [id^="search-no-results-"] {
    padding: 10px 16px 14px;
    font-size: 13px;
    color: #5b6f8d;
}

@media only screen and (max-width: 992px) {
    #overallMEnu #overallMenuAdvancedShell .accordion-collapse > .accordion-body.row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px !important;
    }

    #overallMEnu #overallMenuAdvancedShell #accordionFlush .accordion-button {
        min-height: 50px;
        padding: 0 14px;
        font-size: 16px;
    }

#overallMEnu #overallMenuAdvancedShell .container-buttons {
        justify-content: flex-start;
    }
}

/* Advanced search loader: avoid transparent ghost area after click on Buscar */
#overallMEnu #overall-search-loader {
    display: none;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    min-height: 120px !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(223, 232, 252, 0.42) 0%, rgba(223, 232, 252, 0.3) 100%) !important;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    box-sizing: border-box;
}

#overallMEnu #overall-search-loader.is-visible {
    display: flex !important;
}

#overallMEnu #overall-search-loader svg {
    width: 124px !important;
    height: 34px !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Mobile visibility fix: keep action buttons (Buscar/Limpiar) reachable */
#overallMEnu #overallMenuAdvancedShell {
    min-height: 0;
}

#overallMEnu #overallMenuAdvancedShell .overall-menu-advanced-inner {
    min-height: 0;
}

#overallMEnu #overallMenuAdvancedShell #accordionFlush {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
}

#overallMEnu #overallMenuAdvancedShell .container-buttons .button-blue-pushable,
#overallMEnu #overallMenuAdvancedShell .container-buttons .button-green-pushable {
    margin: 0 !important;
}

@media only screen and (max-width: 992px) {
    #overallMEnu #overallMenuAdvancedShell #accordionFlush {
        max-height: calc(100dvh - 250px) !important;
        padding-bottom: 8px !important;
    }

    #overallMEnu #overallMenuAdvancedShell .container-buttons {
        position: sticky;
        bottom: 0;
        z-index: 4;
        padding-top: 10px;
        margin-top: 10px;
        background: linear-gradient(to top, #f8fafc 72%, rgba(248, 250, 252, 0));
    }
}

