#pesquisa-filtro {
    width: 100%;
    padding: 5px;
}

.filtro-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    position: relative;
}

#div-camada-filtro {
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: center;
}

#div-camada-filtro select {
    flex: 1;
}

#searchButtonFiltro {
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#parametros-container {
    width: 100%;
}

.div-parametro-filtro {
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: center;
}

.select-atributo,
.select-regra,
.input-parametro {
    flex: 1; /* all inputs share space equally */
}

.add-param-btn-container {
    margin-top: 5px;
    display: flex;
    justify-content: flex-start;
    position: relative;
}

#add-param-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    font-size: 20px;
    border-radius: 5px;
    border: none;
    background-color: #606060;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 40px; 
    height: 40px;
    position: absolute;
    top: 100%;
    margin-top: 3px;
    left: 0;
}

#add-param-btn:hover {
    background-color: #333333;
}

.remove-param-btn {
    background: none;
    border: none;
    color: red;
    font-size: 15px;
    cursor: pointer;
    position: absolute; /* Position it outside the container */
    left: -3px; /* Move it outside to the left */
    z-index: 2; /* Ensure it stays above other elements */
}

.remove-param-btn:hover {
    color: rgb(255, 174, 174);
}
