/* ======= Estilo refinado ======= */
.filter-section {
    transition: box-shadow 0.3s ease;
}
.filter-section:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.input-group-text {
    border-radius: 10px 0 0 10px !important;
}

.form-control {
    border-radius: 0 10px 10px 0 !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #cfb47b;
    box-shadow: 0 0 0 0.2rem #ccc;
}

.selectpicker {
    border-radius: 10px !important;
    background-color: #fff;
}

/* Ícones */
.input-group-text i {
    font-size: 1rem;
}

/* ===== FILTRO STICKY ===== */
.filter-sticky {
    position: sticky;
    top: 100px; /* distância do topo (header/menu) */
    height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 5px;
}

/* suaviza o scroll interno */
.filter-sticky::-webkit-scrollbar {
    width: 6px;
}
.filter-sticky::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.15);
    border-radius: 10px;
}

.filter-section .input-group,
.filter-section .form-group {
    margin-bottom: 3px;
}

/* ===== BLOCO DO FILTRO ===== */
.filter-section {
    min-height: 450px; /* MAIS ALTURA VISUAL */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ===== MOBILE: desativa sticky ===== */
@media (max-width: 991px) {
    .filter-sticky {
        position: static;
        height: auto;
        overflow: visible;
    }
}


/* Responsividade */
@media (max-width: 768px) {
    .filter-section {
        padding: 1rem;
    }
}

