/* FILTER SELECT */
.search-filter-field--type-search .search-filter-input-text{
    border: none;
    height: 45px;
    border-radius: 8px;
}
.search-filter-field--type-search .search-filter-input-text input[type=text]{
    font-size: 15px !important;
    font-weight: 500;
}
.search-filter-field--type-search .search-filter-input-text input[type=text]::placeholder{
    font-size: 15px !important;
    font-weight: 500;
}
.search-filter-component-combobox__input-divider {
    display: none !important;
}
.search-filter-component-combobox__listbox-toggle {
    padding-left: 0 !important;
}
.search-filter-field--type-control .search-filter-component-combobox-base,
.search-filter-field--type-choice .search-filter-component-combobox-base{
    border-radius: 8px;
    height: 35px;
}
.search-filter-component-combobox-base__listbox-option {
    font-size: 14px;
    padding: 10px 15px !important;
    font-weight: 500;
    color: #000 !important;
}
.search-filter-component-combobox-base__listbox-option--selected {
    background-color: var(--bs-gray-200) !important;
}
.search-filter-component-combobox-base__listbox-option--active{
    background-color: var(--bs-black) !important;
    color: #fff !important;
}
.search-filter-component-combobox__clear-selection {
    padding-right: 0 !important;
}
.search-filter-component-combobox--mode-single .search-filter-component-combobox__actions .search-filter-component-combobox__selection, 
.search-filter-component-combobox--mode-single .search-filter-component-combobox__actions input[type=text],
.search-filter-component-combobox--mode-single .search-filter-component-combobox__actions input[type=text]::placeholder {
    color: #000;
    font-size: 15px !important;
    font-weight: 500;
}
.search-filter-component-combobox-base__listbox.search-filter-component-popover--position-top {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}
.search-filter-component-combobox-base__listbox.search-filter-component-popover--position-bottom {
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}
.search-filter-style--range-slider,
.search-filter-style--control-sort,
.search-filter-style--choice-select{
    flex: 1;
}

.search-filter-input-button{
    border-radius: 8px !important;
    height: 35px !important;
    font-size: 14px !important;
    padding: 10px !important;
    font-weight: 500 !important;
}
.search-filter-input-button--is-selected{
    outline: none !important;
    background-color: #000 !important;
    color: #fff !important;
}


/* FILTER RANGE */
.search-filter-component-range-slider__range-input-bar {
    margin: 0 0 13px 0 !important;
}
.search-filter-component-range-slider__range-input-progress {
    background: rgb(192 192 192) !important;
    border-radius: 10px !important;
    top: 8px !important;
}
.search-filter-component-range-slider__range-text {
    justify-content: space-between !important;
    font-size: 13px !important;
}
.search-filter-component-range-slider .search-filter-component-range-slider__range-input::-webkit-slider-thumb {
    width: 13px !important;
    height: 13px !important;
    margin: -3px 0 0 0 !important;
}
.search-filter-component-range-slider .search-filter-component-range-slider__range-input {
    top: 8px !important;
}
.search-filter-component-range-slider__range-input-bar::before {
    top: 8px !important;
}
/* FILTER RESET */
.search-filter-style--control-reset button{
    font-size: 14px;
    padding: 5px 15px;
    font-weight: 500;
}


/* FILTRO EVENTOS */
.ev-filter-slot{
    flex: 1;
    min-width: 0;
}
.ev-filter{
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.ev-filter--stacked{
    flex-direction: column;
    align-items: stretch;
}
.ev-filter__item{
    flex: 1 1 0;
    min-width: 0;
}
.ev-filter__item--fechas{
    flex-grow: 1.4;
}
.ev-filter--stacked .ev-filter__item{
    flex: none;
}
.ev-filter__toggle{
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 35px;
    padding: 0 10px 0 15px;
    background-color: var(--bs-white);
    border: 1px solid var(--bs-gray-400);
    border-radius: 8px;
    color: var(--bs-black);
    font-size: 15px;
    font-weight: 500;
    transition: border-color .2s ease;
}
.ev-filter--stacked .ev-filter__toggle{
    height: 45px;
}
.ev-filter__icon{
    font-size: 20px;
}
.ev-filter__label{
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ev-filter__chevron{
    color: var(--bs-gray-600);
    transition: transform .2s ease;
}
.ev-filter__toggle:hover{
    border-color: var(--bs-gray-600);
}
.ev-filter__toggle:focus-visible{
    outline: 2px solid var(--bs-black);
    outline-offset: 2px;
}
.ev-filter__toggle.is-active{
    border-color: var(--bs-black);
}
.ev-filter__toggle.show{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.ev-filter__toggle.show .ev-filter__chevron{
    transform: rotate(180deg);
}
/* style.css oculta .dropdown-menu con visibility/opacity para el menú del header */
.ev-filter .dropdown-menu{
    min-width: max(100%, 230px);
    margin-top: -1px !important;
    padding: 5px 0;
    border: 1px solid var(--bs-gray-400);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 24px #0000001a;
    transform: none;
    transition: none;
}
.ev-filter .dropdown-menu:after{
    display: none;
}
/* display:none para que el calendario inline (visibility:visible de flatpickr) no reciba clics cerrado */
.ev-filter .dropdown-menu:not(.show){
    display: none;
}
.ev-filter .dropdown-menu.show{
    visibility: visible;
    opacity: 1;
}
.ev-filter--stacked .dropdown-menu.show{
    position: static;
    width: 100%;
    box-shadow: none;
}
.ev-filter__list{
    max-height: 300px;
    overflow-y: auto;
}
.ev-filter__search{
    padding: 5px 10px 8px;
}
.ev-filter__no-match{
    margin: 0;
    padding: 10px 15px;
    font-size: 13px;
    color: var(--bs-gray-600);
}
.ev-filter__option{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    color: var(--bs-black);
    border-radius: 0 !important;
}
.ev-filter__option-label{
    flex: 1;
    text-align: left;
    white-space: normal;
}
.ev-filter__option[aria-pressed="true"]{
    background-color: var(--bs-gray-200);
}
.ev-filter__option:focus-visible{
    background-color: var(--bs-black);
    color: var(--bs-white);
}
.ev-filter__check{
    font-size: 18px;
    visibility: hidden;
}
.ev-filter__option[aria-pressed="true"] .ev-filter__check{
    visibility: visible;
}
.ev-filter__menu--dates{
    width: 330px;
    max-width: calc(100vw - 24px);
    padding: 15px !important;
}
.ev-filter--stacked .ev-filter__menu--dates{
    width: 100%;
}
.ev-filter__chip{
    height: 30px;
    padding: 0 10px;
    background-color: var(--bs-white);
    border: 1px solid var(--bs-gray-400);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}
.ev-filter__chip:hover{
    border-color: var(--bs-gray-600);
}
.ev-filter__chip[aria-pressed="true"]{
    background-color: var(--bs-black);
    border-color: var(--bs-black);
    color: var(--bs-white);
}
/* flatpickr cambia el input oculto a type="text" */
.ev-filter .flatpickr-input{
    display: none;
}
.ev-filter .flatpickr-calendar.inline{
    width: 100%;
    box-shadow: none;
}
.ev-filter .flatpickr-days,
.ev-filter .dayContainer{
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}
.ev-results{
    transition: opacity .2s ease;
}
.ev-results.is-loading{
    opacity: .45;
    pointer-events: none;
}
