/* ===== SISTEMA DE FILTROS ===== */
.filtros-container {
    max-width: 1200px;
    margin: 8px auto 8px auto;
    padding: 0 20px;
}

.filtros-wrapper {
    background: #dcd5a6;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #c8c195;
}

.filtros-linha {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.filtro-grupo {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.filtro-grupo label {
    font-family: 'Arial Rounded MT Bold', sans-serif;
    font-size: 13px;
    color: #5a5a5a;
    margin-bottom: 4px;
    text-align: center;
    font-weight: normal;
}

.filtro-select, .filtro-input {
    padding: 6px 10px;
    border: 1.5px solid #b8b18a;
    border-radius: 6px;
    background: white;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    transition: all 0.2s ease;
    color: #333;
}

.filtro-select:focus, .filtro-input:focus {
    outline: none;
    border-color: #8a8560;
    box-shadow: 0 0 3px rgba(138, 133, 96, 0.3);
}

/* NOVO: Grupo de botões de tipo */
.filtro-tipo-botoes {
    display: flex;
    gap: 6px;
    align-items: flex-end;
}

.btn-tipo {
    padding: 6px 12px;
    border: 2px solid #8a8560;
    border-radius: 6px;
    background: white;
    color: #5a5540;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    white-space: nowrap;
}

.btn-tipo.active {
    background: #8a8560;
    color: white;
    border-color: #6a6540;
}

.btn-tipo:hover:not(.active) {
    background: #f0edd8;
    transform: translateY(-1px);
}

.filtro-botoes {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.btn-filtro {
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    background: #7a7560;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-filtro:hover {
    background: #5a5540;
    transform: translateY(-1px);
}

.btn-filtro.limpar {
    background: #8a8560;
}

.btn-filtro.limpar:hover {
    background: #6a6540;
}

/* Remove a animação de mudança de cor */
.filtros-wrapper {
    animation: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .filtros-container {
        padding: 0 10px;
        margin: 6px auto 6px auto;
    }
    
    .filtros-wrapper {
        padding: 10px 12px;
    }
    
    .filtros-linha {
        gap: 8px;
    }
    
    .filtro-grupo {
        min-width: 120px;
        flex: 1;
    }
    
    .filtro-tipo-botoes {
        flex-direction: column;
        width: 100%;
        gap: 4px;
    }
    
    .btn-tipo {
        width: 100%;
        text-align: center;
    }
      .filtro-input {
        font-size: 16px; /* Melhora a experiência de digitação no mobile */
        min-height: 44px; /* Tamanho mínimo para toque fácil */
    }  
    
    
    
    
    .filtro-botoes {
        flex-direction: column;
        width: 100%;
        margin-top: 8px;
        gap: 6px;
    }
    
    .btn-filtro {
        width: 100%;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .filtro-grupo {
        min-width: 100%;
    }
    
    .filtro-select, .filtro-input {
        width: 100%;
    }
    
    .filtros-container {
        margin: 4px auto 4px auto;
    }
    
#filtro-busca {
        box-sizing: border-box;
        height: 44px; /* Altura consistente */
        padding: 12px 10px; /* Padding confortável */
    }
}