/* -----------------------------------------------------------
   RÓTULOS
----------------------------------------------------------- */
.filtro-imoveis .uk-form-label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
    display: block;
}

/* -----------------------------------------------------------
   ESTILO BASE PARA TODOS OS CAMPOS (INPUT/SELECT)
   Use a classe .filtro-field em qualquer <input>, <select>, etc.
----------------------------------------------------------- */
.filtro-input {
    width: 100%;
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
    appearance: none;
}

/* Foco */
.filtro-input:focus {
    border-color: #999;
    outline: none;
}

/* -----------------------------------------------------------
   SELECT2 - SINGLE
----------------------------------------------------------- */
.select2-container--default .select2-selection--single {
    height: 42px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 12px !important;
    box-sizing: border-box;
    background: #fff;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 8px !important;
    right: 8px !important;
}

/* -----------------------------------------------------------
   SELECT2 - MULTIPLE
----------------------------------------------------------- */
.select2-container--default .select2-selection--multiple {
    min-height: 42px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    background: #fff;
    padding: 4px 6px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

/* Placeholder (single e multiple) */
.select2-container .select2-selection__placeholder {
    color: #888 !important;
}

/* Tags selecionadas */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #eee !important;
    border-radius: 3px !important;
    border: none !important;
    color: #333 !important;
    padding: 3px 8px 3px 20px !important;
    font-size: 13px !important;
    margin-top: 4px !important;
    margin-right: 6px !important;
    position: relative;
}

/* X para remover, com bom espaçamento */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    width: 20px;
    border: none;
    color: #777 !important;
    position: absolute;
    left: 4px;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}

/* Remover outline azul horrível no foco */
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #999 !important;
    outline: none !important;
}

/* Dropdown do Select2 */
.select2-dropdown {
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
}

.select2-results__option {
    padding: 6px 10px !important;
    font-size: 14px !important;
}

.select2-results__group {
    padding: 6px 10px !important;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
	background: #5D72A9;
}

/* -----------------------------------------------------------
   SLIDERS (noUiSlider)
----------------------------------------------------------- */
.filtro-range {
    margin-top: 8px;
}

.filtro-range-label {
    font-size: 0.8rem;
}

/* Slider base refinado */
.noUi-target {
    background: #e5e5e5;
    border-radius: 4px;
    border: none;
    height: 6px;
    margin-top: 10px;
}

/* Barra ativa */
.noUi-connect {
    background: #5D72A9; /* cor de destaque */
}

/* Handles menores e elegantes */
.noUi-handle {
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    border: 2px solid #fff !important;
    background: #4a90e2 !important;
    box-shadow: 0 0 3px rgba(0,0,0,0.25);
    top: -5px !important;
}

/* Remove efeitos padrão do handle */
.noUi-handle:before,
.noUi-handle:after {
    display: none;
}

/* Texto da faixa */
.range-label {
    font-size: 13px;
    color: #666;
    margin-top: 6px;
    display: block;
}

/* -----------------------------------------------------------
   SETINHA PARA SELECT NORMAL (VISUAL IGUAL AO SELECT2)
----------------------------------------------------------- */

/* A seta só deve aparecer em selects nativos, não nos Select2 */
.filtro-input:not(.select2-hidden-accessible):not(input) {
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 36px; /* espaço para a seta */
    appearance: none; /* remove seta nativa */
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Aplica a seta SVG no Select2 SINGLE */
.select2-container--default .select2-selection--single {
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 36px !important; /* Espaço para a seta */
}

.select2-container--default .select2-selection--multiple {
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 36px !important;
}


/* Remove a seta padrão do Select2 */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none !important;
}


